ufw: move to usr/bin; remove systemd support.

This commit is contained in:
Juan RP 2015-06-03 10:08:54 +02:00
parent 4d53b2ef74
commit e83a526f4b
2 changed files with 3 additions and 16 deletions

View File

@ -1,11 +0,0 @@
[Unit]
Description=CLI Netfilter Manager
[Service]
Type=oneshot
ExecStart=/usr/lib/ufw/ufw-init start
ExecStop=/usr/lib/ufw/ufw-init stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target

View File

@ -1,8 +1,7 @@
# Template file for 'ufw'
pkgname=ufw
version=0.33
revision=3
build_options="systemd"
revision=4
build_style=python-module
hostmakedepends="python iptables"
depends="${hostmakedepends}"
@ -17,8 +16,7 @@ distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${versio
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
post_install() {
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
fi
vmkdir usr/bin
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
}