[arch-commits] Commit in pax-utils/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue May 8 23:31:27 UTC 2018


    Date: Tuesday, May 8, 2018 @ 23:31:26
  Author: anthraxx
Revision: 319721

upgpkg: pax-utils 1.2.3-2 (adding libseccomp)

Modified:
  pax-utils/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-08 23:18:13 UTC (rev 319720)
+++ PKGBUILD	2018-05-08 23:31:26 UTC (rev 319721)
@@ -5,33 +5,34 @@
 
 pkgname=pax-utils
 pkgver=1.2.3
-pkgrel=1
+pkgrel=2
 pkgdesc='ELF utils that can check files for security relevant properties'
 url='https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities'
 arch=('x86_64')
 license=('GPL2')
-depends=('bash' 'libcap' 'python-pyelftools')
+depends=('bash' 'libcap' 'libseccomp' 'python-pyelftools')
 source=(https://dev.gentoo.org/~slyfox/distfiles/${pkgname}-${pkgver}.tar.xz)
 sha256sums=('d231b1a34aea2b9205c24fada79a8251d4c3fbcce49367fc055fe43e4c9783b2')
 sha512sums=('efcbce49aa7e5cd433f9b3fbc8fa82f6d7b0eb80ec40aafde453d6fe96e3565e066e5020f04d71537d8d4e820147f4203c0df2dd330ebb1358a26def3dd5484c')
 
-_make() {
-  make USE_CAP=yes USE_PYTHON=yes "$@"
-}
-
 build() {
   cd ${pkgname}-${pkgver}
-  _make
+  ./configure \
+    --prefix=/usr \
+    --with-caps \
+    --with-seccomp \
+    --with-python
+  make
 }
 
 check() {
   cd ${pkgname}-${pkgver}
-  LD_LIBRARY_PATH=/usr/lib _make check
+  LD_LIBRARY_PATH=/usr/lib make check
 }
 
 package() {
   cd ${pkgname}-${pkgver}
-  _make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list