void-packages/srcpkgs/ufw/template
2019-12-24 12:24:51 +01:00

28 lines
704 B
Bash

# Template file for 'ufw'
pkgname=ufw
version=0.36
revision=3
archs=noarch
build_style=python3-module
pycompile_module="ufw"
conf_files="
/etc/ufw/*.conf
/etc/ufw/*.rules
/etc/ufw/applications.d/*"
hostmakedepends="python3-setuptools iptables"
depends="iptables python3"
short_desc="Uncomplicated Firewall"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://launchpad.net/ufw"
distfiles="https://launchpad.net/ufw/${version}/${version}/+download/ufw-${version}.tar.gz"
checksum=754b22ae5edff0273460ac9f57509c3938187e0cf4fb9692c6a02833fff33cfc
pre_configure() {
sed -i -e 's|/lib|/usr/lib|' setup.py
sed -i -e 's|sbin|bin|' setup.py
}
post_install() {
vsv ufw
}