mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
ufw: added systemd build option (off).
This commit is contained in:
parent
02839a908b
commit
28c6a295e6
1 changed files with 5 additions and 3 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'ufw'
|
# Template file for 'ufw'
|
||||||
pkgname=ufw
|
pkgname=ufw
|
||||||
version=0.33
|
version=0.33
|
||||||
revision=2
|
revision=3
|
||||||
|
build_options="systemd"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python iptables"
|
hostmakedepends="python iptables"
|
||||||
makedepends="${hostmakedepends}"
|
|
||||||
depends="${hostmakedepends}"
|
depends="${hostmakedepends}"
|
||||||
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
|
@ -17,6 +17,8 @@ distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${versio
|
||||||
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
|
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
|
if [ "$build_option_systemd" ]; then
|
||||||
|
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue