iptables: override broken symlinks, fixes issue #34.
This commit is contained in:
parent
447ae951ec
commit
316936b82a
1 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'iptables'
|
# Template file for 'iptables'
|
||||||
pkgname=iptables
|
pkgname=iptables
|
||||||
version=1.4.11
|
version=1.4.11
|
||||||
|
revision=1
|
||||||
distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2"
|
distfiles="http://www.iptables.org/projects/iptables/files/$pkgname-$version.tar.bz2"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Linux IPv[46] packet filtering ruleset"
|
short_desc="Linux IPv[46] packet filtering ruleset"
|
||||||
|
@ -56,4 +57,11 @@ do_install()
|
||||||
vinstall ${f} 644 etc/iptables
|
vinstall ${f} 644 etc/iptables
|
||||||
done
|
done
|
||||||
vmkdir var/lib/iptables
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue