aboutsummaryrefslogtreecommitdiffstats
path: root/main/xtables-addons
diff options
context:
space:
mode:
Diffstat (limited to 'main/xtables-addons')
-rw-r--r--main/xtables-addons/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/xtables-addons/APKBUILD b/main/xtables-addons/APKBUILD
new file mode 100644
index 0000000000..febbcdd72e
--- /dev/null
+++ b/main/xtables-addons/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=xtables-addons
+pkgver=1.17
+pkgrel=0
+pkgdesc="Netfilter userspace extensions for iptables"
+url="http://xtables-addons.sourceforge.net/"
+license="GPL"
+depends="iptables"
+makedepends="iptables-dev pkgconfig bash"
+install=
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --without-kbuild
+
+ # we dont want to build or install modules. We hack the makefile
+ sed -i -e '/^all:/s/modules//; /^install:/s/modules_install//' \
+ extensions/GNUmakefile
+
+ make CC="${CC-gcc}" || return 1
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="eca2e3f4f4904814e3a301539876fae6 xtables-addons-1.17.tar.bz2"