|
|
|
@ -256,7 +256,7 @@ define Package/iptables/install |
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
|
$(INSTALL_DATA) ./files/firewall.awk $(1)/usr/lib
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/iptables
|
|
|
|
|
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
|
|
|
|
|
$(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(1)/usr/lib/iptables/ \
|
|
|
|
@ -265,12 +265,12 @@ endef |
|
|
|
|
|
|
|
|
|
define Package/iptables-utils/install |
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
define Package/ip6tables/install |
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/iptables
|
|
|
|
|
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
|
|
|
|
|
$(CP) libip6t_*.so $(1)/usr/lib/iptables/ \
|
|
|
|
@ -279,7 +279,7 @@ endef |
|
|
|
|
|
|
|
|
|
define Package/ip6tables-utils/install |
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-{save,restore} $(1)/usr/sbin/
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-{save,restore} $(1)/usr/sbin/
|
|
|
|
|
endef |
|
|
|
|
|
|
|
|
|
define BuildPlugin |
|
|
|
|