ufw: switch to /usr.
This commit is contained in:
parent
a699edbf1b
commit
eb5561a8e1
2 changed files with 6 additions and 7 deletions
srcpkgs/ufw
|
@ -3,8 +3,8 @@ Description=CLI Netfilter Manager
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/lib/ufw/ufw-init start
|
ExecStart=/usr/lib/ufw/ufw-init start
|
||||||
ExecStop=/lib/ufw/ufw-init stop
|
ExecStop=/usr/lib/ufw/ufw-init stop
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ufw'
|
# Template file for 'ufw'
|
||||||
pkgname=ufw
|
pkgname=ufw
|
||||||
version=0.30.1
|
version=0.30.1
|
||||||
revision=5
|
revision=6
|
||||||
distfiles="http://launchpad.net/ufw/0.30/$version/+download/$pkgname-$version.tar.gz"
|
distfiles="http://launchpad.net/ufw/0.30/$version/+download/$pkgname-$version.tar.gz"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
depends="iptables python"
|
depends="iptables python"
|
||||||
|
@ -20,8 +20,7 @@ noarch=yes
|
||||||
pycompile_module="ufw"
|
pycompile_module="ufw"
|
||||||
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
post_install()
|
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
|
||||||
{
|
vmove "lib/*" usr/lib
|
||||||
vinstall ${FILESDIR}/ufw.service 644 lib/systemd/system
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue