summaryrefslogtreecommitdiff
path: root/recipes/iptstate/iptstate.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iptstate/iptstate.inc')
-rw-r--r--recipes/iptstate/iptstate.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/iptstate/iptstate.inc b/recipes/iptstate/iptstate.inc
new file mode 100644
index 0000000000..0988eb1433
--- /dev/null
+++ b/recipes/iptstate/iptstate.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "IPTState is a top-like interface to your netfilter connection-tracking table."
+HOMEPAGE = "http://www.phildev.net/iptstate/"
+SECTION = "console/network"
+LICENSE = "zlib"
+DEPENDS = "ncurses"
+INC_PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/iptstate/iptstate-${PV}.tar.bz2"
+
+#
+# Make it use it's old style proc interface - these should be removed
+# once libnetfilter_conntrack and libnfnetlink are added to OE.
+#
+CPPFLAGS += " -DIPTSTATE_USE_PROC -L${STAGING_LIBDIR}"
+export LIBS = "-lncurses"
+
+do_install () {
+ oe_runmake install SBIN=${D}/${sbindir} MAN=${D}/${mandir}
+}