summaryrefslogtreecommitdiff
path: root/community/pax-utils/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pax-utils/PKGBUILD')
-rw-r--r--community/pax-utils/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/pax-utils/PKGBUILD b/community/pax-utils/PKGBUILD
new file mode 100644
index 000000000..6298b812a
--- /dev/null
+++ b/community/pax-utils/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 88483 2013-04-18 13:24:39Z tredaelli $
+# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
+# Contributor: sh0 <mee@sh0.org>
+# Contributor: Maxwel <msg.maxwel@gmail.com>
+
+pkgname=pax-utils
+pkgver=0.7
+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')
+checkdepends=('python')
+source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz")
+sha256sums=('1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make USE_CAP='yes'
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}