2014-04-18 01:55:37 +00:00
|
|
|
# Maintainer: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
# Contributor: Jonathan Liu <net147@gmail.com>
|
|
|
|
# Contributor: henning mueller <henning@orgizm.net>
|
|
|
|
# Contributor: s1gma <s1gma@mindslicer.com>
|
|
|
|
# Contributor: Ahmad24 <myitrayan@gmail.com>
|
|
|
|
# Contributor: maxrp <maxp@pdx.edu>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - comment LIBS mistreatment of ARM in makefile
|
|
|
|
|
|
|
|
pkgname=gradm
|
2015-02-24 01:54:55 +00:00
|
|
|
_version=3.1
|
2016-03-20 17:56:43 +00:00
|
|
|
_timestamp=201603152148
|
2015-02-24 01:54:55 +00:00
|
|
|
pkgver=$_version.$_timestamp
|
|
|
|
pkgrel=1
|
2014-04-18 01:55:37 +00:00
|
|
|
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
|
2014-05-29 00:48:13 +00:00
|
|
|
https://grsecurity.net/stable/$pkgname-$_version-$_timestamp.tar.gz.sig
|
2014-04-18 01:55:37 +00:00
|
|
|
learn_config
|
|
|
|
policy)
|
2016-03-20 17:56:43 +00:00
|
|
|
sha256sums=('07f4decbc95ddfb8a88a35ab2960705fb48d0daf108afc09c2b752e2e86fd7b5'
|
2014-05-29 00:48:13 +00:00
|
|
|
'SKIP'
|
2015-01-26 02:13:41 +00:00
|
|
|
'61c3042879ec2303b713f57f751fb66a95e2cc4737fbbd6d95879829c7b7d3c0'
|
2014-09-02 05:26:28 +00:00
|
|
|
'73cf31add3da55b539777d736764a40c6b30041cc259e1d0372c867b87070440')
|
2015-01-26 02:13:41 +00:00
|
|
|
validpgpkeys=(
|
|
|
|
'DE9452CE46F42094907F108B44D1C0F82525FE49' # Bradley Spengler
|
|
|
|
)
|
2014-04-18 01:55:37 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|