blob: 6ca4aacd9d8e69de9ab5e1f64c989121d388c38e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributors:
# Jonathan Liu <net147@gmail.com>
# henning mueller <henning@orgizm.net>
# s1gma, Ahmad24, maxrp
pkgname=gradm
pkgver=3.0
_timestamp=201401291757
pkgrel=4
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
learn_config
policy
)
build() {
cd "$srcdir/$pkgname"
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=('9c99714e6d10797a7348c6ffe2561dfcfe5e7659c9d86118d381b8bdb09ae7a6'
'ec8e824e8a29a67be76bf853814ee85e80c4063009e5693d5db8cdb45bd45813'
'61c0e84098e8386e5496dafce559558adef32e2a4a1241a9fa3bd56eab192dcd')
|