mirror of https://github.com/hak5/openwrt.git
parent
03d741736e
commit
ae3a5724fe
|
@ -199,13 +199,11 @@ define Package/iptables/install
|
|||
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
|
||||
$(CP) $(patsubst %,lib%.so,$(IPT_BUILTIN:xt_%=ipt_%)) $(1)/usr/lib/iptables/ \
|
||||
)
|
||||
$(RSTRIP) $(1)
|
||||
endef
|
||||
|
||||
define Package/iptables-utils/install
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-{save,restore} $(1)/usr/sbin/
|
||||
$(RSTRIP) $(1)
|
||||
endef
|
||||
|
||||
define Package/ip6tables/install
|
||||
|
@ -215,7 +213,6 @@ define Package/ip6tables/install
|
|||
(cd $(PKG_INSTALL_DIR)/usr/lib/iptables ; \
|
||||
$(CP) libip6t_*.so $(1)/usr/lib/iptables/ \
|
||||
)
|
||||
$(RSTRIP) $(1)
|
||||
endef
|
||||
|
||||
define BuildPlugin
|
||||
|
@ -225,7 +222,6 @@ define Package/$(1)/install
|
|||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib$$$$$$$${m}.so $$(1)/usr/lib/iptables/ ; \
|
||||
done
|
||||
$(3)
|
||||
$(RSTRIP) $$(1)
|
||||
endef
|
||||
|
||||
$$(eval $$(call BuildPackage,$(1)))
|
||||
|
|
|
@ -151,7 +151,6 @@ endef
|
|||
define Package/pppstats/install
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
install -m0755 $(PKG_INSTALL_DIR)/usr/sbin/pppstats $(1)/usr/sbin/
|
||||
$(RSTRIP) $(1)
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,ppp))
|
||||
|
|
Loading…
Reference in New Issue