diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 18:24:11 +0000 |
commit | 2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd (patch) | |
tree | a63d3b3b1c89018b5419358eed5c2bb0acf1cd92 /main/xtables-addons-grsec | |
parent | e374901731eb35599bd6735de4dd38560e3a79b8 (diff) | |
download | aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.bz2 aports-2d2ddf507bf1ae2f4cc595b23b8e018398cbe8dd.tar.xz |
move core/* to main/
added maintainer to several packages as well
Diffstat (limited to 'main/xtables-addons-grsec')
-rw-r--r-- | main/xtables-addons-grsec/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/xtables-addons-grsec/APKBUILD b/main/xtables-addons-grsec/APKBUILD new file mode 100644 index 0000000000..59521d59c7 --- /dev/null +++ b/main/xtables-addons-grsec/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_flavor=${FLAVOR:-grsec} +_realname=xtables-addons + +# source the kernel version +if [ -f ../linux-$_flavor/APKBUILD ]; then + . ../linux-$_flavor/APKBUILD +fi +_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=1 +pkgdesc="Iptables extensions kernel modules" +url="http://xtables-addons.sourceforge.net/" +license="GPL" +depends= +makedepends="linux-${_flavor}-dev iptables-dev pkgconfig" +install= +subpackages= +source="http://downloads.sourceforge.net/$_realname/$_realname-$pkgver.tar.bz2" + +build() { + cd "$srcdir/$_realname-$pkgver" + + ./configure --prefix=/usr \ + --with-kbuild=/usr/src/linux-headers-${_abi_release} + + cd extensions + make CC="${CC:-gcc}" modules || return 1 + make DESTDIR="$pkgdir" modules_install +} + +md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2" |