summaryrefslogtreecommitdiff
path: root/kernels/gradm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kernels/gradm/PKGBUILD')
-rw-r--r--kernels/gradm/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/kernels/gradm/PKGBUILD b/kernels/gradm/PKGBUILD
new file mode 100644
index 000000000..b75f8286a
--- /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' 'mips64el')
+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: