* [Buildroot] [PATCH] iptables: fixup multitarget binary links
@ 2011-07-22 18:02 Gustavo Zacarias
2011-07-24 17:40 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2011-07-22 18:02 UTC (permalink / raw)
To: buildroot
Newer vesions renamed iptables-multi to xtables-multi so fix
the symlinks accordingly.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/iptables/iptables.mk | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 13d2ac3..c464e6b 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
--
1.7.3.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] iptables: fixup multitarget binary links
2011-07-22 18:02 [Buildroot] [PATCH] iptables: fixup multitarget binary links Gustavo Zacarias
@ 2011-07-24 17:40 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2011-07-24 17:40 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Newer vesions renamed iptables-multi to xtables-multi so fix
Gustavo> the symlinks accordingly.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-24 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 18:02 [Buildroot] [PATCH] iptables: fixup multitarget binary links Gustavo Zacarias
2011-07-24 17:40 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox