aboutsummaryrefslogtreecommitdiffstats
path: root/testing/iptstate
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-02-07 15:32:06 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-02-07 15:32:06 +0000
commitd1ee78679772f9e58b871256ecda39a6187eb212 (patch)
tree2aedb4a0224565af473c565d068815689c524840 /testing/iptstate
parent01546267d5eaa456fc1735b6552acf0e39bb311d (diff)
downloadaports-d1ee78679772f9e58b871256ecda39a6187eb212.tar.bz2
aports-d1ee78679772f9e58b871256ecda39a6187eb212.tar.xz
testing/iptstate: new aport
Diffstat (limited to 'testing/iptstate')
-rw-r--r--testing/iptstate/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/iptstate/APKBUILD b/testing/iptstate/APKBUILD
new file mode 100644
index 0000000000..2b27a8be10
--- /dev/null
+++ b/testing/iptstate/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=iptstate
+pkgver=2.2.5
+pkgrel=0
+pkgdesc="top-like interface to netfilter connection-tracking table"
+url="http://www.phildev.net/iptstate/"
+arch="all"
+license="custom"
+depends=""
+depends_dev="ncurses-dev libnetfilter_conntrack-dev libnfnetlink-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ install -D -m755 $pkgname "$pkgdir"/usr/sbin/$pkgname
+ install -D -m444 $pkgname.8 "$pkgdir"/usr/share/man/man8/$pkgname.8
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+md5sums="5abe47e473bee256adaf8a48b1141a90 iptstate-2.2.5.tar.bz2"