mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-05 22:07:37 +03:00
Package ip6tables-utils as well (#2318)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8636 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7459ff18ad
commit
55807e35d6
@ -181,6 +181,13 @@ define Package/ip6tables
|
|||||||
TITLE:=IPv6 firewall administration tool
|
TITLE:=IPv6 firewall administration tool
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/ip6tables-utils
|
||||||
|
$(call Package/iptables/Default)
|
||||||
|
DEPENDS:=ip6tables
|
||||||
|
CATEGORY:=Network
|
||||||
|
TITLE:=ip6tables save and restore utilities
|
||||||
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
rm -f $(PKG_BUILD_DIR)/.configured*
|
rm -f $(PKG_BUILD_DIR)/.configured*
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
@ -196,7 +203,7 @@ define Build/Compile
|
|||||||
LDFLAGS="-rdynamic -static-libgcc" \
|
LDFLAGS="-rdynamic -static-libgcc" \
|
||||||
KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \
|
KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||||
all install
|
all experimental install install-experimental
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
@ -252,6 +259,11 @@ define Package/ip6tables/install
|
|||||||
)
|
)
|
||||||
endef
|
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 BuildPlugin
|
||||||
define Package/$(1)/install
|
define Package/$(1)/install
|
||||||
$(INSTALL_DIR) $$(1)/usr/lib/iptables
|
$(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-iprange,$(IPT_IPRANGE-m)))
|
||||||
$(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
|
$(eval $(call BuildPlugin,iptables-mod-ulog,$(IPT_ULOG-m)))
|
||||||
$(eval $(call BuildPackage,ip6tables))
|
$(eval $(call BuildPackage,ip6tables))
|
||||||
|
$(eval $(call BuildPackage,ip6tables-utils))
|
||||||
|
Loading…
Reference in New Issue
Block a user