diff options
Diffstat (limited to 'main/xtables-addons-grsec/APKBUILD')
-rw-r--r-- | main/xtables-addons-grsec/APKBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD index f068a9b6b..278d2b21b 100644 --- a/main/xtables-addons-grsec/APKBUILD +++ b/main/xtables-addons-grsec/APKBUILD @@ -9,14 +9,10 @@ fi _kernelver=$pkgver-r$pkgrel _abi_release=$pkgver-${_flavor} -# get pkgver from xtables-addons package -if [ -f ../$_realname/APKBUILD ]; then - . ../$_realname/APKBUILD -fi - pkgname=${_realname}-${_flavor} -pkgver=${pkgver:-1.17} -pkgrel=15 +pkgver=${pkgver} +_realver=1.19 +pkgrel=0 pkgdesc="Iptables extensions kernel modules" url="http://xtables-addons.sourceforge.net/" license="GPL" @@ -24,17 +20,25 @@ depends="linux-${_flavor}=${_kernelver}" makedepends="linux-${_flavor}-dev=${_kernelver} iptables-dev pkgconfig" install= subpackages= -source="http://downloads.sourceforge.net/$_realname/$_realname-$pkgver.tar.bz2" +source="http://downloads.sourceforge.net/$_realname/$_realname-$_realver.tar.bz2" -build() { - cd "$srcdir/$_realname-$pkgver" +# override kernel's prepare() +prepare() { + : +} +build() { + cd "$srcdir/$_realname-$_realver" ./configure --prefix=/usr \ --with-kbuild=/usr/src/linux-headers-${_abi_release} cd extensions make CC="${CC:-gcc}" modules || return 1 +} + +package() { + cd "$srcdir/$_realname-$_realver"/extensions make DESTDIR="$pkgdir" modules_install } -md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2" +md5sums="6b51556a853aef8a3d1ab8925db809fc xtables-addons-1.19.tar.bz2" |