diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 10:34:02 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-04-04 10:34:02 +0200 |
| commit | 5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch) | |
| tree | cd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/iptables-snmp | |
| parent | 401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff) | |
| parent | 4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts:
BUGS
package/autoconf/Makefile
Diffstat (limited to 'package/iptables-snmp')
| -rw-r--r-- | package/iptables-snmp/Config.in | 11 | ||||
| -rw-r--r-- | package/iptables-snmp/Makefile | 4 | ||||
| -rw-r--r-- | package/iptables-snmp/patches/patch-libiptc_libip6tc_c | 11 |
3 files changed, 12 insertions, 14 deletions
diff --git a/package/iptables-snmp/Config.in b/package/iptables-snmp/Config.in deleted file mode 100644 index 80a49552b..000000000 --- a/package/iptables-snmp/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config ADK_PACKAGE_IPTABLES_SNMP - prompt "export iptables information via snmp" - tristate - default ADK_PACKAGE_IPTABLES - depends on ADK_PACKAGE_SNMPD - help - This is a library for the netkit snmp daemon, allowing it to export - various iptables information. - - To use this, add the following line to snmpd.conf: - dlmod iptables /root/iptables-snmp-0.1/iptables-snmp.so diff --git a/package/iptables-snmp/Makefile b/package/iptables-snmp/Makefile index a05a07d4d..cebcfc057 100644 --- a/package/iptables-snmp/Makefile +++ b/package/iptables-snmp/Makefile @@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= iptables-snmp PKG_VERSION:= 0.1 PKG_RELEASE:= 1 +PKG_BUILDDEP+= net-snmp PKG_MD5SUM:= 8370d2f0c899461a053da491400119d1 PKG_DESCR:= iptables support for net-snmp PKG_SECTION:= net @@ -16,9 +17,6 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,IPTABLES_SNMP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIGURE_STYLE= gnu -BUILD_STYLE= auto -INSTALL_STYLE= auto FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}" post-install: diff --git a/package/iptables-snmp/patches/patch-libiptc_libip6tc_c b/package/iptables-snmp/patches/patch-libiptc_libip6tc_c new file mode 100644 index 000000000..68ae9cf7f --- /dev/null +++ b/package/iptables-snmp/patches/patch-libiptc_libip6tc_c @@ -0,0 +1,11 @@ +--- iptables-snmp-0.1.orig/libiptc/libip6tc.c 2005-07-05 00:11:28.000000000 +0200 ++++ iptables-snmp-0.1/libiptc/libip6tc.c 2009-11-13 23:18:45.195701184 +0100 +@@ -111,7 +111,7 @@ typedef unsigned int socklen_t; + #include "libiptc.c" + + #define BIT6(a, l) \ +- ((ntohl(a->in6_u.u6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1) ++ ((ntohl(a->s6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1) + + int + ipv6_prefix_length(const struct in6_addr *a) |
