diff options
author | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-19 23:15:04 +0000 |
commit | eefecc8813e0c062a2058b33209cb30830f824b6 (patch) | |
tree | f2dd237a65b4a8a3587da4cb6ac211ae6048911f /community/pax-utils | |
parent | 3e2075427791725d8e6a007feba107d94c017caf (diff) |
Thu Jan 19 23:15:03 UTC 2012
Diffstat (limited to 'community/pax-utils')
-rw-r--r-- | community/pax-utils/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/pax-utils/PKGBUILD b/community/pax-utils/PKGBUILD new file mode 100644 index 000000000..25e86bdbf --- /dev/null +++ b/community/pax-utils/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 62235 2012-01-18 17:21:27Z tredaelli $ +# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com> +# Contributor: sh0 <mee@sh0.org> +# Contributor: Maxwel <msg.maxwel@gmail.com> + +pkgname=pax-utils +pkgver=0.2.3 +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=('python2') +source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz") +md5sums=('d2d27891742d14d81b205cf4e42de28a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/python /python2 /' tests/source/dotest + make USE_CAP='yes' +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |