ufw: added systemd build option (off).

This commit is contained in:
Juan RP 2014-12-18 22:02:12 +01:00
parent 02839a908b
commit 28c6a295e6
1 changed files with 5 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'ufw'
pkgname=ufw
version=0.33
revision=2
revision=3
build_options="systemd"
build_style=python-module
hostmakedepends="python iptables"
makedepends="${hostmakedepends}"
depends="${hostmakedepends}"
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
noarch="yes"
@ -17,6 +17,8 @@ distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${versio
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
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/
}