iptables: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 23:08:17 +02:00
parent 349ed1734b
commit 239d18a991

View File

@ -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 <xtraeme@gmail.com>"
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