[arch-commits] Commit in pax-utils/trunk (PKGBUILD)
Timothy Redaelli
tredaelli at archlinux.org
Tue Feb 14 15:35:14 UTC 2017
Date: Tuesday, February 14, 2017 @ 15:35:13
Author: tredaelli
Revision: 212383
upgpkg: pax-utils 1.2.2-1
Modified:
pax-utils/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-14 15:28:15 UTC (rev 212382)
+++ PKGBUILD 2017-02-14 15:35:13 UTC (rev 212383)
@@ -4,27 +4,31 @@
# Contributor: Maxwel <msg.maxwel at gmail.com>
pkgname=pax-utils
-pkgver=1.1.6
-pkgrel=2
+pkgver=1.2.2
+pkgrel=1
pkgdesc='ELF related utils for ELF 32/64 binaries that can check files for security relevant properties'
url='http://hardened.gentoo.org/pax-utils.xml'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('bash' 'libcap')
+depends=('bash' 'libcap' 'libseccomp' 'python-pyelftools')
source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz")
-sha256sums=('f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12')
+sha256sums=('7f4a7f8db6b4743adde7582fa48992ad01776796fcde030683732f56221337d9')
+_make() {
+ make USE_CAP='yes' USE_PYTHON='yes' USE_SECCOMP='yes' "$@"
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make USE_CAP='yes' USE_PYTHON='no'
+ _make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
- LD_LIBRARY_PATH="/usr/lib" make check USE_PYTHON='no'
+ LD_LIBRARY_PATH="/usr/lib" _make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make USE_PYTHON='no' DESTDIR="${pkgdir}" install
+ _make DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list