30 lines
731 B
Bash
30 lines
731 B
Bash
# Template file for 'ufw'
|
|
pkgname=ufw
|
|
version=0.36
|
|
revision=1
|
|
noarch=yes
|
|
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"
|
|
short_desc="Uncomplicated Firewall"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
homepage="https://launchpad.net/ufw"
|
|
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
|
|
}
|