ufw: fix configuration paths (close #2184).

This commit is contained in:
Juan RP 2015-08-08 06:25:04 +02:00
parent fb567e868d
commit 69f5703862

View file

@ -1,8 +1,7 @@
# Template file for 'ufw'
pkgname=ufw
version=0.33
revision=4
build_style=python-module
revision=5
hostmakedepends="python iptables"
depends="${hostmakedepends}"
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
@ -15,8 +14,9 @@ license="GPL-3"
distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${version}.tar.gz"
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
post_install() {
do_install() {
sed -e 's|/lib|/usr/lib|' -i setup.py
python2 setup.py install --root=$DESTDIR
vmkdir usr/bin
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
}