remove ipset support from core, it is now provided by xtables-addons from the packages feed
SVN-Revision: 17844
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
#
|
||||
# Copyright (C) 2007 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
|
||||
PKG_NAME:=ipset
|
||||
PKG_VERSION:=3.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://ipset.netfilter.org
|
||||
PKG_MD5SUM:=0fd83af3efae5f72f5e5b55d07582941
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/ipset
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=@!TARGET_etrax @LINUX_2_6
|
||||
TITLE:=Netfilter ip sets administration utility
|
||||
URL:=http://ipset.netfilter.org/
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, \
|
||||
COPT_FLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="-rdynamic -static-libgcc" \
|
||||
KERNEL_DIR="$(LINUX_DIR)" \
|
||||
PREFIX="/usr" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
binaries \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/ipset/install
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(1)" \
|
||||
PREFIX="/usr" \
|
||||
binaries_install
|
||||
rm -rf $(1)/usr/man
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ipset))
|
||||
@@ -207,11 +207,6 @@ define Package/iptables-mod-extra/description
|
||||
- libipt_NOTRACK
|
||||
endef
|
||||
|
||||
define Package/iptables-mod-ipset
|
||||
$(call Package/iptables/Module, +kmod-ipt-ipset)
|
||||
TITLE:=IPset extension
|
||||
endef
|
||||
|
||||
define Package/iptables-utils
|
||||
$(call Package/iptables/Module, )
|
||||
TITLE:=iptables save and restore utilities
|
||||
@@ -365,7 +360,6 @@ $(eval $(call BuildPackage,iptables-utils))
|
||||
$(eval $(call BuildPlugin,iptables-mod-conntrack,$(IPT_CONNTRACK-m)))
|
||||
$(eval $(call BuildPlugin,iptables-mod-conntrack-extra,$(IPT_CONNTRACK_EXTRA-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)))
|
||||
|
||||
@@ -300,37 +300,6 @@ endef
|
||||
$(eval $(call KernelPackage,ipt-iprange))
|
||||
|
||||
|
||||
define KernelPackage/ipt-ipset
|
||||
SUBMENU:=$(NF_MENU)
|
||||
TITLE:=IPSET Modules
|
||||
KCONFIG:=$(KCONFIG_IPT_IPSET)
|
||||
FILES:=$(foreach mod,$(IPT_IPSET-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
|
||||
AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_IPSET-m)))
|
||||
DEPENDS:= kmod-ipt-core
|
||||
endef
|
||||
|
||||
define KernelPackage/ipt-ipset/description
|
||||
Netfilter kernel modules for ipset
|
||||
Includes:
|
||||
- ip_set
|
||||
- ip_set_iphash
|
||||
- ip_set_ipmap
|
||||
- ip_set_ipporthash
|
||||
- ip_set_ipportiphash
|
||||
- ip_set_ipportnethash
|
||||
- ip_set_iptree
|
||||
- ip_set_iptreemap
|
||||
- ip_set_macipmap
|
||||
- ip_set_nethash
|
||||
- ip_set_portmap
|
||||
- ip_set_setlist
|
||||
- ipt_set
|
||||
- ipt_SET
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,ipt-ipset))
|
||||
|
||||
|
||||
define KernelPackage/ipt-extra
|
||||
SUBMENU:=$(NF_MENU)
|
||||
TITLE:=Extra modules
|
||||
|
||||
Reference in New Issue
Block a user