X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f7225700a2459cd36bebc32791d62f367d620cc4..6c0284641d4c5616063664b4620468d0a8bf7aa6:/package/ipset/Makefile diff --git a/package/ipset/Makefile b/package/ipset/Makefile index b2095d668..7a2e8a1e8 100644 --- a/package/ipset/Makefile +++ b/package/ipset/Makefile @@ -18,10 +18,15 @@ PKG_MD5SUM:=d104007fdf5ea64fef774c22b1c0a97b include $(INCLUDE_DIR)/package.mk +define Package/ipset/Default + DEPENDS:= @LINUX_2_6 @(!(TARGET_ps3||TARGET_pxcab)||BROKEN) +endef + define Package/ipset +$(call Package/ipset/Default) SECTION:=net CATEGORY:=Network - DEPENDS:= @LINUX_2_6 +iptables-mod-ipset +kmod-ipt-ipset + DEPENDS+= +iptables-mod-ipset +kmod-ipt-ipset TITLE:=IPset administration utility URL:=http://ipset.netfilter.org/ endef @@ -67,9 +72,10 @@ define Package/ipset/install endef define KernelPackage/ipt-ipset +$(call Package/ipset/Default) SUBMENU:=Netfilter Extensions 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) AUTOLOAD:=$(call AutoLoad,46,$(IPSET_MODULES)) endef