summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-02-20 16:15:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-02-20 16:15:27 +0000
commitc0881272b451d57c536f4046bd24ff66b7491b50 (patch)
treee6ddd6bc151444751d13c68b7d66c45ea765a378
parentb0019101f4af54d663f200c4a57eeacdd7250f4a (diff)
downloadaports-c0881272b451d57c536f4046bd24ff66b7491b50.tar.bz2
aports-c0881272b451d57c536f4046bd24ff66b7491b50.tar.xz
extra/conntrack-tools: new aport
Connection tracking userspace tools http://conntrack-tools.netfilter.org
-rw-r--r--extra/conntrack-tools/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/conntrack-tools/APKBUILD b/extra/conntrack-tools/APKBUILD
new file mode 100644
index 00000000..96a402a2
--- /dev/null
+++ b/extra/conntrack-tools/APKBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=conntrack-tools
+pkgver=0.9.10
+pkgrel=0
+pkgdesc="Connection tracking userspace tools"
+url="http://conntrack-tools.netfilter.org"
+license="GPL-2"
+subpackages="$pkgname-doc"
+depends="uclibc libnfnetlink libnetfilter_conntrack"
+makedepends="pkgconfig libnfnetlink-dev libnetfilter_conntrack-dev"
+source="http://www.netfilter.org/projects/conntrack-tools/files/$pkgname-$pkgver.tar.bz2
+ conntrackd.initd
+ conntrackd.confd
+ "
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR="$pkgdir" install || return 1
+
+ install -Dm755 ../conntrackd.initd "$pkgdir"/etc/init.d/conntrackd
+ install -Dm644 ../conntrackd.confd "$pkgdir"/etc/conf.d/conntrackd
+ install -Dm644 doc/stats/conntrackd.conf "$pkgdir"/etc/conntrackd
+}
+md5sums="cd46ed2d5cd4797add0cd444a209c1e7 conntrack-tools-0.9.10.tar.bz2
+144831a8a79561ef184b84ba94f0837b conntrackd.initd
+8ebf3838b69d20e6bb4a173844502039 conntrackd.confd"