# Maintainer: Daniel Micay # Contributor: Jonathan Liu # Contributor: henning mueller # Contributor: s1gma # Contributor: Ahmad24 # Contributor: maxrp # ALARM: Kevin Mihelich # - comment LIBS mistreatment of ARM in makefile pkgname=gradm _version=3.0 _timestamp=201408301734 pkgver=3.0.$_timestamp pkgrel=1 pkgdesc="Administration utility for grsecurity's Role Based Access Control (RBAC)" arch=(i686 x86_64) url=https://grsecurity.net/ license=(GPL2) depends=(pam) source=(https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz.sig learn_config policy) sha256sums=('b190e5afecdf3ac5020a4e5e4b698645f1c01b20d036129dd8b609c4bd0c319c' 'SKIP' '23862daef9b00cdc91367d3a8039fc41627312a6c3d1f34054519f599514379c' '73cf31add3da55b539777d736764a40c6b30041cc259e1d0372c867b87070440') prepare() { cd $pkgname sed -i -e 's/^CFLAGS :=/CFLAGS +=/' -e 's:sbin:usr/bin:' Makefile sed -i 's/^LIBS/#LIBS/' Makefile } build() { cd $pkgname make } package() { cd $pkgname make DESTDIR="$pkgdir" install cp "$srcdir"/{learn_config,policy} "$pkgdir/etc/grsec" rm -r "$pkgdir/dev" }