summaryrefslogtreecommitdiff
path: root/system/pax-utils
diff options
context:
space:
mode:
Diffstat (limited to 'system/pax-utils')
-rw-r--r--system/pax-utils/APKBUILD12
-rw-r--r--system/pax-utils/fix-eitype.patch6
2 files changed, 8 insertions, 10 deletions
diff --git a/system/pax-utils/APKBUILD b/system/pax-utils/APKBUILD
index e3f4e7601..6c121b48a 100644
--- a/system/pax-utils/APKBUILD
+++ b/system/pax-utils/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer:
pkgname=pax-utils
-pkgver=1.2.3
+pkgver=1.2.4
pkgrel=0
pkgdesc="ELF related utils for ELF 32/64 binaries"
url="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities"
@@ -12,17 +12,15 @@ depends="scanelf"
makedepends_build=""
makedepends_host="linux-headers libcap-dev"
makedepends="$makedepends_build $makedepends_host"
-source="https://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz
+source="http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz
fix-eitype.patch"
subpackages="$pkgname-doc scanelf:_scanelf"
build() {
- cd "$builddir"
make USE_CAP=yes
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir/" install
# Don't conflict with lddtree package
@@ -31,11 +29,11 @@ package() {
_scanelf() {
pkgdesc="Scan ELF binaries for stuff"
- depends=
+ depends=""
replaces="pax-utils"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/scanelf "$subpkgdir"/usr/bin/
}
-sha512sums="efcbce49aa7e5cd433f9b3fbc8fa82f6d7b0eb80ec40aafde453d6fe96e3565e066e5020f04d71537d8d4e820147f4203c0df2dd330ebb1358a26def3dd5484c pax-utils-1.2.3.tar.xz
-7150f162a64d9095fab4f73c4a0c531550e2286d6e09a686c62b3a692353b9e33a770ad196f647b5f26b5acafcdef05187dc9d40b40b46d508900dc3e33324a6 fix-eitype.patch"
+sha512sums="03b84054c59e8ce64d2c07276c61245c8e9b3eca2fc430269531e2dafe120009b541ebb6adc4ff54c13a1da63caf0755fb026ba272cf17d04f75e06b893a3e95 pax-utils-1.2.4.tar.xz
+8076d3a7ae17b49945fb21bb2aa1f488f12cdca31514cc7d9b1195c93448a627dd58234fe8495c29206816d5bd04f409b2349fc050717bc8884657aaadbc1707 fix-eitype.patch"
diff --git a/system/pax-utils/fix-eitype.patch b/system/pax-utils/fix-eitype.patch
index fe54ee887..a9ea57963 100644
--- a/system/pax-utils/fix-eitype.patch
+++ b/system/pax-utils/fix-eitype.patch
@@ -23,6 +23,6 @@ diff -ru pax-utils-1.2.2.orig/paxelf.h pax-utils-1.2.2/paxelf.h
extern void unreadelf(elfobj *elf);
-extern const char *get_elfeitype(int ei_type, int type);
+extern const char *get_elfeitype(int ei_type, unsigned char type);
- extern const char *get_elfetype(elfobj *elf);
- extern const char *get_endian(elfobj *elf);
- extern const char *get_elfosabi(elfobj *elf);
+ extern const char *get_elfetype(const elfobj *elf);
+ extern const char *get_endian(const elfobj *elf);
+ extern const char *get_elfosabi(const elfobj *elf);