diff options
author | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-07 15:30:59 +0000 |
---|---|---|
committer | pavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-07 15:30:59 +0000 |
commit | a5799cd9ad758bfcb8ee777b3aed221cb0faf0c0 (patch) | |
tree | c7d1e5dd81716f20e1def00a357d339bd31bf97c /package | |
parent | 6f76b601ee82c0bb4e08f21707ca1679a969a397 (diff) |
package ipset for use
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7517 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/iptables/Makefile | 9 | ||||
-rw-r--r-- | package/kernel/modules/netfilter.mk | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index bd85322ff..bfd28a16a 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -160,6 +160,14 @@ define Package/iptables-mod-extra - libipt_NOTRACK endef +define Package/iptables-mod-ipset + $(call Package/iptables/Default) + DEPENDS:=iptables +kmod-ipt-ipset + TITLE:=ipset iptables extension + DESCRIPTION:=\ + ipset +endef + define Package/iptables-utils $(call Package/iptables/Default) DEPENDS:=iptables @@ -263,6 +271,7 @@ $(eval $(call BuildPackage,iptables)) $(eval $(call BuildPackage,iptables-utils)) $(eval $(call BuildPlugin,iptables-mod-conntrack,$(IPT_CONNTRACK-m))) $(eval $(call BuildPlugin,iptables-mod-extra,$(IPT_EXTRA-m))) +$(eval $(call BuildPlugin,iptables-mod-ipset,$(IPT_IPSET-m))) $(eval $(call BuildPlugin,iptables-mod-filter,$(IPT_FILTER-m),$(L7_INSTALL))) $(eval $(call BuildPlugin,iptables-mod-imq,$(IPT_IMQ-m))) $(eval $(call BuildPlugin,iptables-mod-ipopt,$(IPT_IPOPT-m))) diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index d3b3396e8..ad6066fc8 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -174,6 +174,17 @@ define KernelPackage/ipt-iprange endef $(eval $(call KernelPackage,ipt-iprange)) +define KernelPackage/ipt-ipset + TITLE:=IPSET Modules + DESCRIPTION:=\ + Netfilter kernel modules for ipset + FILES:=$(foreach mod,$(IPT_IPSET-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) + SUBMENU:=$(NFMENU) + AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_IPSET-m))) +endef +$(eval $(call KernelPackage,ipt-ipset)) + + define KernelPackage/ipt-extra TITLE:=Extra modules DESCRIPTION:=\ |