[arch-commits] Commit in pax-utils/repos/community-x86_64 (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue May 8 23:31:36 UTC 2018
Date: Tuesday, May 8, 2018 @ 23:31:35
Author: anthraxx
Revision: 319722
archrelease: copy trunk to community-x86_64
Added:
pax-utils/repos/community-x86_64/PKGBUILD
(from rev 319721, pax-utils/trunk/PKGBUILD)
Deleted:
pax-utils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-08 23:31:26 UTC (rev 319721)
+++ PKGBUILD 2018-05-08 23:31:35 UTC (rev 319722)
@@ -1,37 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: sh0 <mee at sh0.org>
-# Contributor: Maxwel <msg.maxwel at gmail.com>
-
-pkgname=pax-utils
-pkgver=1.2.3
-pkgrel=1
-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')
-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
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- LD_LIBRARY_PATH=/usr/lib _make check
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- _make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: pax-utils/repos/community-x86_64/PKGBUILD (from rev 319721, pax-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-08 23:31:35 UTC (rev 319722)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: sh0 <mee at sh0.org>
+# Contributor: Maxwel <msg.maxwel at gmail.com>
+
+pkgname=pax-utils
+pkgver=1.2.3
+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' 'libseccomp' 'python-pyelftools')
+source=(https://dev.gentoo.org/~slyfox/distfiles/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('d231b1a34aea2b9205c24fada79a8251d4c3fbcce49367fc055fe43e4c9783b2')
+sha512sums=('efcbce49aa7e5cd433f9b3fbc8fa82f6d7b0eb80ec40aafde453d6fe96e3565e066e5020f04d71537d8d4e820147f4203c0df2dd330ebb1358a26def3dd5484c')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --with-caps \
+ --with-seccomp \
+ --with-python
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ LD_LIBRARY_PATH=/usr/lib make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list