summaryrefslogtreecommitdiff
path: root/package/netstat-nat
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/netstat-nat
Initial import
Diffstat (limited to 'package/netstat-nat')
-rw-r--r--package/netstat-nat/Config.in13
-rw-r--r--package/netstat-nat/Makefile26
-rw-r--r--package/netstat-nat/ipkg/netstat-nat.control7
3 files changed, 46 insertions, 0 deletions
diff --git a/package/netstat-nat/Config.in b/package/netstat-nat/Config.in
new file mode 100644
index 000000000..b6a885693
--- /dev/null
+++ b/package/netstat-nat/Config.in
@@ -0,0 +1,13 @@
+config ADK_PACKAGE_NETSTAT_NAT
+ prompt "netstat-nat....................... A netstat variant for NAT connections"
+ tristate
+ default n
+ help
+ Netstat-nat is a small program written in C.
+ It displays NAT connections, managed by netfilter/iptables which comes
+ with the > 2.4.x linux kernels.
+ The program reads its information from '/proc/net/ip_conntrack', which
+ is the temporary conntrack-storage of netfilter.
+
+ http://tweegy.demon.nl/projects/netstat-nat/
+
diff --git a/package/netstat-nat/Makefile b/package/netstat-nat/Makefile
new file mode 100644
index 000000000..a35784769
--- /dev/null
+++ b/package/netstat-nat/Makefile
@@ -0,0 +1,26 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= netstat-nat
+PKG_VERSION:= 1.4.9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 45e8d0f47623f619c22a6b894cd03cbc
+MASTER_SITES:= http://www.tweegy.nl/download/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,NETSTAT_NAT,netstat-nat,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_NETSTAT_NAT}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/netstat-nat ${IDIR_NETSTAT_NAT}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/netstat-nat/ipkg/netstat-nat.control b/package/netstat-nat/ipkg/netstat-nat.control
new file mode 100644
index 000000000..dea7d633d
--- /dev/null
+++ b/package/netstat-nat/ipkg/netstat-nat.control
@@ -0,0 +1,7 @@
+Package: netstat-nat
+Priority: optional
+Section: net
+Description: a netstat variant for NAT connections
+ Netstat-nat displays NAT connections, managed by netfilter/iptables which
+ comes with the > 2.4.x linux kernels.
+