From 8895421c8a3778abc94ebd6904c8c60b94fcf7a8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 25 Feb 2024 17:19:33 +0100 Subject: iptables-snmp: remove package --- package/iptables-snmp/Makefile | 30 ---------------------- package/iptables-snmp/patches/patch-Makefile_in | 11 -------- .../iptables-snmp/patches/patch-iptables-snmp_c | 12 --------- .../iptables-snmp/patches/patch-libiptc_libip6tc_c | 11 -------- 4 files changed, 64 deletions(-) delete mode 100644 package/iptables-snmp/Makefile delete mode 100644 package/iptables-snmp/patches/patch-Makefile_in delete mode 100644 package/iptables-snmp/patches/patch-iptables-snmp_c delete mode 100644 package/iptables-snmp/patches/patch-libiptc_libip6tc_c diff --git a/package/iptables-snmp/Makefile b/package/iptables-snmp/Makefile deleted file mode 100644 index c771132e2..000000000 --- a/package/iptables-snmp/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(ADK_TOPDIR)/rules.mk - -PKG_NAME:= iptables-snmp -PKG_VERSION:= 0.1 -PKG_RELEASE:= 1 -PKG_HASH:= 3275bb3820809a311b9f92ea32f071888b9a92f60c831417490e811f46ec4d54 -PKG_DESCR:= iptables support for net-snmp -PKG_SECTION:= net/misc -PKG_BUILDDEP:= net-snmp -PKG_URL:= http://www.nobiscuit.com/iptables-snmp/ -PKG_SITES:= http://www.nobiscuit.com/iptables-snmp/ - -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz - -PKG_LIBC_DEPENDS:= uclibc-ng glibc - -include $(ADK_TOPDIR)/mk/package.mk - -$(eval $(call PKG_template,IPTABLES_SNMP,iptables-snmp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -FAKE_FLAGS+= INSTALL_PREFIX="${WRKINST}" - -iptables-snmp-install: - ${INSTALL_DIR} ${IDIR_IPTABLES_SNMP}/usr/lib - ${CP} ${WRKINST}/usr/lib/iptables-snmp.so ${IDIR_IPTABLES_SNMP}/usr/lib - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk diff --git a/package/iptables-snmp/patches/patch-Makefile_in b/package/iptables-snmp/patches/patch-Makefile_in deleted file mode 100644 index 164003986..000000000 --- a/package/iptables-snmp/patches/patch-Makefile_in +++ /dev/null @@ -1,11 +0,0 @@ ---- iptables-snmp-0.1.orig/Makefile.in 2005-11-02 13:00:10.000000000 +0100 -+++ iptables-snmp-0.1/Makefile.in 2011-01-12 15:44:48.000000000 +0100 -@@ -67,7 +67,7 @@ OTHER = -Iinclude -DIPTABLES_VERSION=$( - - all: iptables-snmp.so - --iptables-snmp.so: $(OBJS) libiptc.a Makefile -+iptables-snmp.so: $(OBJS) Makefile - $(CC) $(CFLAGS) $(OTHER) $(DFLAGS) -shared -o $@ $(OBJS) $(LDFLAGS) - - libiptc.a: $(LIBIPTC_OBJS) Makefile diff --git a/package/iptables-snmp/patches/patch-iptables-snmp_c b/package/iptables-snmp/patches/patch-iptables-snmp_c deleted file mode 100644 index c129ff0e9..000000000 --- a/package/iptables-snmp/patches/patch-iptables-snmp_c +++ /dev/null @@ -1,12 +0,0 @@ ---- iptables-snmp-0.1.orig/iptables-snmp.c 2005-11-02 12:10:54.000000000 +0100 -+++ iptables-snmp-0.1/iptables-snmp.c 2011-01-12 15:46:19.000000000 +0100 -@@ -37,6 +37,9 @@ - - #include "libiptc/libiptc.h" - -+/* For backward compatibility */ -+//typedef struct iptc_handle *iptc_handle_t; -+ - static oid agent_version_oid[] = { - BASE_OID, 1, 0, AGENT_VERSION_INDEX - }; diff --git a/package/iptables-snmp/patches/patch-libiptc_libip6tc_c b/package/iptables-snmp/patches/patch-libiptc_libip6tc_c deleted file mode 100644 index 68ae9cf7f..000000000 --- a/package/iptables-snmp/patches/patch-libiptc_libip6tc_c +++ /dev/null @@ -1,11 +0,0 @@ ---- 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) -- cgit v1.2.3