iptables: switch to /usr.
This commit is contained in:
parent
349ed1734b
commit
239d18a991
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'iptables'
|
# Template file for 'iptables'
|
||||||
pkgname=iptables
|
pkgname=iptables
|
||||||
version=1.4.14
|
version=1.4.14
|
||||||
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-libipq --enable-shared --enable-static"
|
configure_args="--enable-libipq --enable-shared --enable-static"
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
revision=1
|
|
||||||
short_desc="Linux IPv[46] packet filtering ruleset"
|
short_desc="Linux IPv[46] packet filtering ruleset"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.netfilter.org/"
|
homepage="http://www.netfilter.org/"
|
||||||
|
@ -23,10 +23,10 @@ long_desc="
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
# systemd services.
|
# systemd services.
|
||||||
vinstall ${FILESDIR}/iptables.service 644 lib/systemd/system
|
vmkdir usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/ip6tables.service 644 lib/systemd/system
|
install -m644 ${FILESDIR}/*.service ${DESTDIR}/usr/lib/systemd/system
|
||||||
vinstall ${FILESDIR}/iptables-flush.scripts 755 \
|
vinstall ${FILESDIR}/iptables-flush.scripts 755 \
|
||||||
lib/systemd/scripts iptables-flush
|
usr/lib/systemd/scripts iptables-flush
|
||||||
|
|
||||||
# Configuration files and rules.
|
# Configuration files and rules.
|
||||||
for f in empty.rules simple_firewall.rules; do
|
for f in empty.rules simple_firewall.rules; do
|
||||||
|
|
Loading…
Reference in a new issue