summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-07-22 15:02:48 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-24 19:23:59 +0200
commit332dd196cad4fa1a9b0257b08091b902efa5a7c2 (patch)
tree69916b52c385f1ff994785acee04e20db30829ef /package
parentaa7a46d612654f7a03b19edacc9a8b1416012295 (diff)
downloadbuildroot-novena-332dd196cad4fa1a9b0257b08091b902efa5a7c2.tar.gz
buildroot-novena-332dd196cad4fa1a9b0257b08091b902efa5a7c2.zip
iptables: fixup multitarget binary links
Newer vesions renamed iptables-multi to xtables-multi so fix the symlinks accordingly. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/iptables/iptables.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 13d2ac309..c464e6b48 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -14,15 +14,15 @@ IPTABLES_DEPENDENCIES = host-pkg-config
IPTABLES_CONF_OPT = --libexecdir=/usr/lib --with-kernel=$(LINUX_HEADERS_DIR)
define IPTABLES_TARGET_SYMLINK_CREATE
- ln -sf iptables-multi $(TARGET_DIR)/usr/sbin/iptables
- ln -sf iptables-multi $(TARGET_DIR)/usr/sbin/iptables-save
- ln -sf iptables-multi $(TARGET_DIR)/usr/sbin/iptables-restore
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/iptables
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/iptables-save
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/iptables-restore
endef
define IPTABLES_TARGET_IPV6_SYMLINK_CREATE
- ln -sf ip6tables-multi $(TARGET_DIR)/usr/sbin/ip6tables
- ln -sf ip6tables-multi $(TARGET_DIR)/usr/sbin/ip6tables-save
- ln -sf ip6tables-multi $(TARGET_DIR)/usr/sbin/ip6tables-restore
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/ip6tables
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/ip6tables-save
+ ln -sf xtables-multi $(TARGET_DIR)/usr/sbin/ip6tables-restore
endef
define IPTABLES_TARGET_IPV6_REMOVE
@@ -40,6 +40,7 @@ endif
define IPTABLES_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/iptables-xml
rm -f $(TARGET_DIR)/usr/sbin/iptables* $(TARGET_DIR)/usr/sbin/ip6tables*
+ rm -f $(TARGET_DIR)/usr/sbin/xtables-multi
rm -rf $(TARGET_DIR)/usr/lib/xtables
endef