From 9bcb59fff62d0100e93a2f672ef7f856230bf8bc Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 21 Nov 2012 00:09:19 -0200 Subject: gradm: adding new package to [kernels] repo --- kernels/gradm/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 kernels/gradm/PKGBUILD (limited to 'kernels/gradm') 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 +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: -- cgit v1.2.3-54-g00ecf