diff options
author | Marcin Mankiewicz <marcin.mankiewicz@interrisk.pl> | 2013-09-16 08:36:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-16 12:12:30 +0000 |
commit | 60506008ce01c1856c13a66516237602b974b278 (patch) | |
tree | 4fbde94e1ff1957cf619cbd89275ebff8f2000d0 /testing/netstat-nat | |
parent | f092db95f1f6a563406fbdfdfdeba8a755135912 (diff) | |
download | aports-60506008ce01c1856c13a66516237602b974b278.tar.bz2 aports-60506008ce01c1856c13a66516237602b974b278.tar.xz |
testing/netstat-nat: new aport
Netstat-nat displays NAT connections, managed by netfilter/iptables
which comes with the > 2.4.x linux kernels.
http://tweegy.nl/projects/netstat-nat/
Diffstat (limited to 'testing/netstat-nat')
-rw-r--r-- | testing/netstat-nat/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/netstat-nat/APKBUILD b/testing/netstat-nat/APKBUILD new file mode 100644 index 0000000000..4adecd9b3a --- /dev/null +++ b/testing/netstat-nat/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Marcin Mankiewicz <marcin.mankiewicz@interrisk.pl> +# Maintainer: +pkgname=netstat-nat +pkgver=1.4.10 +pkgrel=0 +pkgdesc="Netstat-nat displays NAT connections, managed by netfilter/iptables which comes with the > 2.4.x linux kernels." +url="http://tweegy.nl/projects/netstat-nat/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="$depends_dev" +subpackages="$pkgname-doc" +source="http://tweegy.nl/download/netstat-nat-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure + make || return 1 +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" +} +md5sums="c1bbb3ee9774ebfa27c440e2d9dd7286 netstat-nat-1.4.10.tar.gz" +sha256sums="e945faa283a49f33af15de915a949c9273a230fc17154925364c547adab676ca netstat-nat-1.4.10.tar.gz" +sha512sums="2089119b26039e656fbe76701e556f7d766159c96b18968195f255e15072af37972c83a8f05edb0b767a12f0521598975673d10d8ba5e6ed6b754a927d4f069d netstat-nat-1.4.10.tar.gz" |