mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
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'
|
# Template file for 'ufw'
|
||||||
pkgname=ufw
|
pkgname=ufw
|
||||||
version=0.33
|
version=0.33
|
||||||
revision=4
|
revision=5
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python iptables"
|
hostmakedepends="python iptables"
|
||||||
depends="${hostmakedepends}"
|
depends="${hostmakedepends}"
|
||||||
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
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"
|
distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${version}.tar.gz"
|
||||||
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
|
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
|
||||||
|
|
||||||
post_install() {
|
do_install() {
|
||||||
|
sed -e 's|/lib|/usr/lib|' -i setup.py
|
||||||
|
python2 setup.py install --root=$DESTDIR
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib/
|
|
||||||
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue