diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-18 01:56:34 +0000 |
commit | 8185891e28635bdb83fdf4ba4391030912dae596 (patch) | |
tree | 66a946535bdd228514750233b2cc99dd1866ff64 /kernels/gradm/PKGBUILD | |
parent | 60a11f87366fdfbd114cdc91ff813518858e5f8d (diff) |
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'kernels/gradm/PKGBUILD')
-rw-r--r-- | kernels/gradm/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/kernels/gradm/PKGBUILD b/kernels/gradm/PKGBUILD new file mode 100644 index 000000000..52e0582b7 --- /dev/null +++ b/kernels/gradm/PKGBUILD @@ -0,0 +1,39 @@ +# Contributors: +# Jonathan Liu <net147@gmail.com> +# henning mueller <henning@orgizm.net> +# s1gma, Ahmad24, maxrp + +pkgname=gradm +pkgver=3.0 +_timestamp=201311242038 +pkgrel=2 +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 + usr.patch + learn_config + policy +) + +build() { + cd "$srcdir/$pkgname" + patch -Np1 < ../usr.patch + sed -i -e 's/^CFLAGS :=/CFLAGS +=/' -e 's:sbin:usr/bin:' Makefile + make +} + +package() { + cd "$srcdir/$pkgname" + make DESTDIR="$pkgdir" install + cp "$startdir"/{learn_config,policy} "$pkgdir/etc/grsec" + rm -rf "$pkgdir/dev" +} + +sha256sums=('9d9040ef2be90b6a4db5b68ba5b7bc658cbbcdb8c71c643b8f95373e4a892e55' + '7342323d2da3724afe745506690a1a5b194f3f0e959811ca320d820bf74c9ffa' + 'ec8e824e8a29a67be76bf853814ee85e80c4063009e5693d5db8cdb45bd45813' + '61c0e84098e8386e5496dafce559558adef32e2a4a1241a9fa3bd56eab192dcd') |