mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-21 01:52:25 +03:00
[package] ipset: use a common DEPENDS for both ipset and kmod-ipset packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18902 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e2e9524460
commit
c7e71368f7
@ -18,10 +18,15 @@ PKG_MD5SUM:=d104007fdf5ea64fef774c22b1c0a97b
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/ipset/Default
|
||||||
|
DEPENDS:= @LINUX_2_6
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/ipset
|
define Package/ipset
|
||||||
|
$(call Package/ipset/Default)
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:= @LINUX_2_6 +iptables-mod-ipset +kmod-ipt-ipset
|
DEPENDS+= +iptables-mod-ipset +kmod-ipt-ipset
|
||||||
TITLE:=IPset administration utility
|
TITLE:=IPset administration utility
|
||||||
URL:=http://ipset.netfilter.org/
|
URL:=http://ipset.netfilter.org/
|
||||||
endef
|
endef
|
||||||
@ -67,9 +72,10 @@ define Package/ipset/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ipt-ipset
|
define KernelPackage/ipt-ipset
|
||||||
|
$(call Package/ipset/Default)
|
||||||
SUBMENU:=Netfilter Extensions
|
SUBMENU:=Netfilter Extensions
|
||||||
TITLE:=IPset netfilter modules
|
TITLE:=IPset netfilter modules
|
||||||
DEPENDS:= @LINUX_2_6 kmod-ipt-core
|
DEPENDS+= kmod-ipt-core
|
||||||
FILES:=$(foreach mod,$(IPSET_MODULES),$(PKG_BUILD_DIR)/kernel/$(mod).ko)
|
FILES:=$(foreach mod,$(IPSET_MODULES),$(PKG_BUILD_DIR)/kernel/$(mod).ko)
|
||||||
AUTOLOAD:=$(call AutoLoad,46,$(IPSET_MODULES))
|
AUTOLOAD:=$(call AutoLoad,46,$(IPSET_MODULES))
|
||||||
endef
|
endef
|
||||||
|
Loading…
Reference in New Issue
Block a user