diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-14 06:51:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-14 07:40:25 +0000 |
commit | e3042106c1e1fc1df2455968a6f0ca10a4566da3 (patch) | |
tree | 4374fe63d12f205eb95423fcf6eb1855e9d30148 /main/xtables-addons-grsec | |
parent | d9d1089663d3b68f600845967fc4906d852452b5 (diff) | |
download | aports-e3042106c1e1fc1df2455968a6f0ca10a4566da3.tar.bz2 aports-e3042106c1e1fc1df2455968a6f0ca10a4566da3.tar.xz |
main/xtables-addons-grsec: upgrade to 1.37 and use install_if
Diffstat (limited to 'main/xtables-addons-grsec')
-rw-r--r-- | main/xtables-addons-grsec/APKBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD index 898230188b..bdc4e3b87c 100644 --- a/main/xtables-addons-grsec/APKBUILD +++ b/main/xtables-addons-grsec/APKBUILD @@ -12,8 +12,8 @@ _kpkgrel=$pkgrel pkgname=${_realname}-${_flavor} pkgver=${pkgver} -_realver=1.36 -_mypkgrel=1 +_realver=1.37 +_mypkgrel=2 pkgrel=$(($_kpkgrel + $_mypkgrel)) pkgdesc="Iptables extensions kernel modules" url="http://xtables-addons.sourceforge.net/" @@ -22,6 +22,7 @@ license="GPL" depends="linux-${_flavor}=${_kernelver}" makedepends="linux-${_flavor}-dev=${_kernelver} iptables-dev pkgconfig" install= +install_if="linux-$_flavor=$_kernelver $_realname" subpackages= source="http://downloads.sourceforge.net/$_realname/$_realname-$_realver.tar.xz" @@ -36,6 +37,7 @@ build() { --with-kbuild=/usr/src/linux-headers-${_abi_release} cd extensions + export GCC_SPECS=/usr/share/gcc/hardenednopie.specs make CC="${CC:-gcc}" modules || return 1 } @@ -44,4 +46,4 @@ package() { make DESTDIR="$pkgdir" modules_install } -md5sums="2b976f502f626ed2245d276d83efc451 xtables-addons-1.36.tar.xz" +md5sums="bfb0adba948fa885fffa6443eeaee28a xtables-addons-1.37.tar.xz" |