summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2025-06-16 02:18:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2025-07-13 00:14:10 -0500
commit308bf73c83ebabf5d1245d40db1b481fb13d19e0 (patch)
tree4f2e8c619e171073b4e4f4623e3e0b9901d57b67
parent75c932308486dbda82388ac07d0bee9318098878 (diff)
downloadpackages-308bf73c83ebabf5d1245d40db1b481fb13d19e0.tar.gz
packages-308bf73c83ebabf5d1245d40db1b481fb13d19e0.tar.bz2
packages-308bf73c83ebabf5d1245d40db1b481fb13d19e0.tar.xz
packages-308bf73c83ebabf5d1245d40db1b481fb13d19e0.zip
system/pax-utils: Update to 1.3.8
Move to a Meson build system, misc bug fixes.
-rw-r--r--system/pax-utils/APKBUILD27
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"