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 }