diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-09-05 21:40:11 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-09-05 21:40:11 +0000 |
commit | 22282193a9e49c10bc35f180f27c330d37fde92b (patch) | |
tree | 3aa501d46ad70719233766cef9564b05e0157bdb /package/iptables/Makefile | |
parent | c0033f360c83e306048dd7d019cb72a132cd0adf (diff) | |
download | upstream-22282193a9e49c10bc35f180f27c330d37fde92b.tar.gz upstream-22282193a9e49c10bc35f180f27c330d37fde92b.tar.bz2 upstream-22282193a9e49c10bc35f180f27c330d37fde92b.zip |
Package ip6tables-utils as well (#2318)
SVN-Revision: 8636
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r-- | package/iptables/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 83f6152501..70b6161cea 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -181,6 +181,13 @@ define Package/ip6tables TITLE:=IPv6 firewall administration tool endef +define Package/ip6tables-utils + $(call Package/iptables/Default) + DEPENDS:=ip6tables + CATEGORY:=Network + TITLE:=ip6tables save and restore utilities +endef + define Build/Configure rm -f $(PKG_BUILD_DIR)/.configured* $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -196,7 +203,7 @@ define Build/Compile LDFLAGS="-rdynamic -static-libgcc" \ KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ DESTDIR="$(PKG_INSTALL_DIR)" \ - all install + all experimental install install-experimental endef define Build/InstallDev @@ -252,6 +259,11 @@ define Package/ip6tables/install ) endef +define Package/ip6tables-utils/install + $(INSTALL_DIR) $(1)/usr/sbin + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-{save,restore} $(1)/usr/sbin/ +endef + define BuildPlugin define Package/$(1)/install $(INSTALL_DIR) $$(1)/usr/lib/iptables @@ -281,3 +293,4 @@ $(eval $(call BuildPlugin,iptables-mod-nat,$(IPT_NAT-m))) $(eval $(call BuildPlugin,iptables-mod-iprange,$(IPT_IPRANGE-m))) $(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m))) $(eval $(call BuildPackage,ip6tables)) +$(eval $(call BuildPackage,ip6tables-utils)) |