diff options
Diffstat (limited to 'system/pax-utils/APKBUILD')
-rw-r--r-- | system/pax-utils/APKBUILD | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/system/pax-utils/APKBUILD b/system/pax-utils/APKBUILD index 9d306faf2..9b64e2668 100644 --- a/system/pax-utils/APKBUILD +++ b/system/pax-utils/APKBUILD @@ -1,28 +1,31 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Zach van Rijn <me@zv.io> pkgname=pax-utils -pkgver=1.3.4 +pkgver=1.3.8 pkgrel=0 -pkgdesc="ELF related utils for ELF 32/64 binaries" +pkgdesc="ELF utils that can check files for security relevant properties" url="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities" arch="all" -options="!check" # depends on nx package(s) +options="!check" # depends on unpackaged py3-pyelftools license="GPL-2.0-only" depends="scanelf" -makedepends="linux-headers libcap-dev" -# ATTENTION MAINTAINERS: Generate a new tarball from upstream sources: -# git clone https://anongit.gentoo.org/git/proj/pax-utils.git -# cd pax-utils -# ./make-tarball.sh v$pkgver -source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.xz" +makedepends="linux-headers libcap-dev muon xmlto" +source="https://dev.gentoo.org/~sam/distfiles/app-misc/$pkgname/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc scanelf:_scanelf" build() { - make USE_CAP=yes + muon setup \ + -Dprefix=/usr \ + -Dlddtree_implementation=sh \ + -Duse_libcap=enabled \ + -Dbuild_manpages=enabled \ + -Duse_fuzzing=false \ + build + muon -C build samu } package() { - make DESTDIR="$pkgdir/" install + DESTDIR="$pkgdir" muon -C build install # Don't conflict with lddtree package rm -f "$pkgdir"/usr/bin/lddtree @@ -36,4 +39,4 @@ _scanelf() { mv "$pkgdir"/usr/bin/scanelf "$subpkgdir"/usr/bin/ } -sha512sums="44a475860823e8b70b1d09d69e5fba3ed8298511d07e1e7b09ce62237cb8b1ecee8fc2fc550d6853d0b9f8db3c350bf78ced49d5f210997b294dc10e36627fcd pax-utils-1.3.4.tar.xz" +sha512sums="0dde95f86802729d80b7b38af84dec636e973f6abc70600633edcb05d3d5f95c1b2861300ce478dd7f798c7a1e5eccb1011c06c53adba38e11a996b69d463656 pax-utils-1.3.8.tar.xz" |