diff --git a/srcpkgs/iptables/template b/srcpkgs/iptables/template index 6d52900c927..9d9895b05d2 100644 --- a/srcpkgs/iptables/template +++ b/srcpkgs/iptables/template @@ -1,10 +1,10 @@ # Template file for 'iptables' pkgname=iptables version=1.4.14 +revision=2 build_style=gnu-configure configure_args="--enable-libipq --enable-shared --enable-static" subpackages="$pkgname-devel" -revision=1 short_desc="Linux IPv[46] packet filtering ruleset" maintainer="Juan RP " homepage="http://www.netfilter.org/" @@ -23,10 +23,10 @@ long_desc=" post_install() { # systemd services. - vinstall ${FILESDIR}/iptables.service 644 lib/systemd/system - vinstall ${FILESDIR}/ip6tables.service 644 lib/systemd/system + vmkdir usr/lib/systemd/system + install -m644 ${FILESDIR}/*.service ${DESTDIR}/usr/lib/systemd/system vinstall ${FILESDIR}/iptables-flush.scripts 755 \ - lib/systemd/scripts iptables-flush + usr/lib/systemd/scripts iptables-flush # Configuration files and rules. for f in empty.rules simple_firewall.rules; do