From 316936b82a03bb95d568171f9c899fc70f27eab1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 16 Jul 2011 09:04:17 +0200 Subject: [PATCH] iptables: override broken symlinks, fixes issue #34. --- srcpkgs/iptables/template | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/srcpkgs/iptables/template b/srcpkgs/iptables/template index b702d7239f..4818757d91 100644 --- a/srcpkgs/iptables/template +++ b/srcpkgs/iptables/template @@ -1,6 +1,7 @@ # Template file for 'iptables' pkgname=iptables version=1.4.11 +revision=1 distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2" build_style=custom-install short_desc="Linux IPv[46] packet filtering ruleset" @@ -56,4 +57,11 @@ do_install() vinstall ${f} 644 etc/iptables done vmkdir var/lib/iptables + + # Override wrong symlinks from xtables_multi. + for f in iptables iptables-restore iptables-save ip6tables \ + ip6tables-restore ip6tables-save; do + ln -sf /sbin/xtables-multi ${DESTDIR}/sbin/${f} + done + ln -sf /sbin/xtables-multi ${DESTDIR}/usr/bin/iptables-xml }