ufw: fix configuration paths (close #2184).
This commit is contained in:
parent
fb567e868d
commit
69f5703862
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue