summaryrefslogtreecommitdiff
path: root/package/iptables-snmp
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/iptables-snmp
Initial import
Diffstat (limited to 'package/iptables-snmp')
-rw-r--r--package/iptables-snmp/Config.in10
-rw-r--r--package/iptables-snmp/Makefile27
-rw-r--r--package/iptables-snmp/ipkg/iptables-snmp.control5
3 files changed, 42 insertions, 0 deletions
diff --git a/package/iptables-snmp/Config.in b/package/iptables-snmp/Config.in
new file mode 100644
index 000000000..f4472ee61
--- /dev/null
+++ b/package/iptables-snmp/Config.in
@@ -0,0 +1,10 @@
+config ADK_PACKAGE_IPTABLES_SNMP
+ prompt "iptables-snmp..................... An snmpd plugin to access iptables rules"
+ tristate
+ default n
+ select ADK_PACKAGE_SNMPD
+ help
+ This is a plugin that makes iptables rules accessable from snmpd.
+
+ http://www.nobiscuit.com/iptables-snmp/
+
diff --git a/package/iptables-snmp/Makefile b/package/iptables-snmp/Makefile
new file mode 100644
index 000000000..3f8deecfc
--- /dev/null
+++ b/package/iptables-snmp/Makefile
@@ -0,0 +1,27 @@
+# $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:= iptables-snmp
+PKG_VERSION:= 0.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 8370d2f0c899461a053da491400119d1
+MASTER_SITES:= http://www.nobiscuit.com/iptables-snmp/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE= gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}"
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/iptables-snmp/ipkg/iptables-snmp.control b/package/iptables-snmp/ipkg/iptables-snmp.control
new file mode 100644
index 000000000..cd92ffeb5
--- /dev/null
+++ b/package/iptables-snmp/ipkg/iptables-snmp.control
@@ -0,0 +1,5 @@
+Package: iptables-snmp
+Priority: optional
+Section: net
+Depends: snmpd
+Description: An snmpd plugin to access iptables rules \ No newline at end of file