From 35d1063a759bf86c75d05994e441dd8cd892660f Mon Sep 17 00:00:00 2001 From: Tim Yardley Date: Thu, 7 Jun 2007 15:30:59 +0000 Subject: package ipset for use SVN-Revision: 7517 --- package/iptables/Makefile | 9 +++++++++ package/kernel/modules/netfilter.mk | 11 +++++++++++ 2 files changed, 20 insertions(+) (limited to 'package') diff --git a/package/iptables/Makefile b/package/iptables/Makefile index bd85322ff3..bfd28a16aa 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 d3b3396e86..ad6066fc86 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:=\ -- cgit v1.2.3