Parcourir la source

Update ipset to version 3.2

SVN-Revision: 17764
Hauke Mehrtens il y a 16 ans
Parent
commit
e014faf13f

+ 3 - 0
include/netfilter.mk

@@ -203,11 +203,14 @@ $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET, $(P_V4)ip_set))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPHASH, $(P_V4)ip_set_iphash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPHASH, $(P_V4)ip_set_iphash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPMAP, $(P_V4)ip_set_ipmap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPMAP, $(P_V4)ip_set_ipmap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPPORTHASH, $(P_V4)ip_set_ipporthash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPPORTHASH, $(P_V4)ip_set_ipporthash))
+$(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPPORTIPHASH, $(P_V4)ip_set_ipportiphash))
+$(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPPORTNETHASH, $(P_V4)ip_set_ipportnethash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPTREE, $(P_V4)ip_set_iptree))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPTREE, $(P_V4)ip_set_iptree))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPTREEMAP, $(P_V4)ip_set_iptreemap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_IPTREEMAP, $(P_V4)ip_set_iptreemap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_MACIPMAP, $(P_V4)ip_set_macipmap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_MACIPMAP, $(P_V4)ip_set_macipmap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_NETHASH, $(P_V4)ip_set_nethash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_NETHASH, $(P_V4)ip_set_nethash))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_PORTMAP, $(P_V4)ip_set_portmap))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_PORTMAP, $(P_V4)ip_set_portmap))
+$(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_SET_SETLIST, $(P_V4)ip_set_setlist))
 
 
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_MATCH_SET, $(P_V4)ipt_set))
 $(eval $(call nf_add,IPT_IPSET,CONFIG_IP_NF_MATCH_SET, $(P_V4)ipt_set))
 
 

+ 8 - 4
package/ipset/Makefile

@@ -6,14 +6,15 @@
 #
 #
 #
 #
 include $(TOPDIR)/rules.mk
 include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
 
 
 PKG_NAME:=ipset
 PKG_NAME:=ipset
-PKG_VERSION:=2.3.0
+PKG_VERSION:=3.2
 PKG_RELEASE:=1
 PKG_RELEASE:=1
 
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-20070828.tar.bz2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://ipset.netfilter.org
 PKG_SOURCE_URL:=http://ipset.netfilter.org
-PKG_MD5SUM:=9e17798dfd8ed87c63a1f3498f9fe64d
+PKG_MD5SUM:=0fd83af3efae5f72f5e5b55d07582941
 
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/package.mk
 
 
@@ -28,8 +29,11 @@ endef
 define Build/Compile
 define Build/Compile
 	$(call Build/Compile/Default, \
 	$(call Build/Compile/Default, \
 		COPT_FLAGS="$(TARGET_CFLAGS)" \
 		COPT_FLAGS="$(TARGET_CFLAGS)" \
+		LDFLAGS="-rdynamic -static-libgcc" \
 		KERNEL_DIR="$(LINUX_DIR)" \
 		KERNEL_DIR="$(LINUX_DIR)" \
 		PREFIX="/usr" \
 		PREFIX="/usr" \
+		DESTDIR="$(PKG_INSTALL_DIR)" \
+		binaries \
 	)
 	)
 endef
 endef
 
 
@@ -37,7 +41,7 @@ define Package/ipset/install
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 		DESTDIR="$(1)" \
 		DESTDIR="$(1)" \
 		PREFIX="/usr" \
 		PREFIX="/usr" \
-		install
+		binaries_install
 	rm -rf $(1)/usr/man
 	rm -rf $(1)/usr/man
 endef
 endef
 
 

+ 3 - 0
package/kernel/modules/netfilter.mk

@@ -316,11 +316,14 @@ define KernelPackage/ipt-ipset/description
  - ip_set_iphash
  - ip_set_iphash
  - ip_set_ipmap
  - ip_set_ipmap
  - ip_set_ipporthash
  - ip_set_ipporthash
+ - ip_set_ipportiphash
+ - ip_set_ipportnethash
  - ip_set_iptree
  - ip_set_iptree
  - ip_set_iptreemap
  - ip_set_iptreemap
  - ip_set_macipmap
  - ip_set_macipmap
  - ip_set_nethash
  - ip_set_nethash
  - ip_set_portmap
  - ip_set_portmap
+ - ip_set_setlist
  - ipt_set
  - ipt_set
  - ipt_SET
  - ipt_SET
 endef
 endef

Fichier diff supprimé car celui-ci est trop grand
+ 766 - 40
target/linux/generic-2.6/patches-2.6.21/130-netfilter_ipset.patch


+ 1 - 1
target/linux/generic-2.6/patches-2.6.21/160-netfilter_route.patch

@@ -538,7 +538,7 @@
 +module_exit(fini);
 +module_exit(fini);
 --- a/net/ipv4/netfilter/Kconfig
 --- a/net/ipv4/netfilter/Kconfig
 +++ b/net/ipv4/netfilter/Kconfig
 +++ b/net/ipv4/netfilter/Kconfig
-@@ -801,5 +801,22 @@ config IP_NF_TARGET_SET
+@@ -825,5 +825,22 @@ config IP_NF_TARGET_SET
  	  To compile it as a module, choose M here.  If unsure, say N.
  	  To compile it as a module, choose M here.  If unsure, say N.
  
  
  
  

Fichier diff supprimé car celui-ci est trop grand
+ 766 - 40
target/linux/generic-2.6/patches-2.6.25/130-netfilter_ipset.patch


Fichier diff supprimé car celui-ci est trop grand
+ 705 - 65
target/linux/generic-2.6/patches-2.6.27/130-netfilter_ipset.patch


Fichier diff supprimé car celui-ci est trop grand
+ 705 - 65
target/linux/generic-2.6/patches-2.6.28/130-netfilter_ipset.patch


Fichier diff supprimé car celui-ci est trop grand
+ 705 - 65
target/linux/generic-2.6/patches-2.6.30/130-netfilter_ipset.patch


Fichier diff supprimé car celui-ci est trop grand
+ 705 - 65
target/linux/generic-2.6/patches-2.6.31/130-netfilter_ipset.patch


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff