diff options
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" |