diff options
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/gradm/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kernels/gradm/PKGBUILD b/kernels/gradm/PKGBUILD new file mode 100644 index 000000000..8d61b2689 --- /dev/null +++ b/kernels/gradm/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Jonathan Liu <net147@gmail.com> +pkgname=gradm +pkgver=2.9.1 +_timestamp=201207201554 +pkgrel=1 +pkgdesc="Administrative interface for the grsecurity Role Based Access Control system" +arch=('i686' 'x86_64') +url="http://grsecurity.net/" +license=('GPL2') +depends=('pam') +source=("http://grsecurity.net/stable/${pkgname}-${pkgver}-${_timestamp}.tar.gz") +md5sums=('b0ae140e30629988a773decf27638e0c') + +build() { + cd "${srcdir}/${pkgname}2" + sed -i -e "s/^CFLAGS :=/CFLAGS +=/" "Makefile" + make +} + +package() { + cd "${srcdir}/${pkgname}2" + make DESTDIR="${pkgdir}" install + rm "${pkgdir}"/dev/grsec > /dev/null + rmdir "${pkgdir}"/dev > /dev/null +} + +# vim:set ts=2 sw=2 et: |