summaryrefslogtreecommitdiff
path: root/kernels
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-21 00:09:19 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-21 00:09:19 -0200
commit9bcb59fff62d0100e93a2f672ef7f856230bf8bc (patch)
tree1723cba00a4bb2384c5cd597b1b8158995161532 /kernels
parentfe5202f246d8188869dc5a6262f9f9e9b9e7e763 (diff)
downloadabslibre-9bcb59fff62d0100e93a2f672ef7f856230bf8bc.tar.gz
abslibre-9bcb59fff62d0100e93a2f672ef7f856230bf8bc.tar.bz2
abslibre-9bcb59fff62d0100e93a2f672ef7f856230bf8bc.zip
gradm: adding new package to [kernels] repo
Diffstat (limited to 'kernels')
-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..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: