void-packages/srcpkgs/ufw/template

32 lines
882 B
Text

# Template file for 'ufw'
pkgname=ufw
version=0.33
revision=1
build_style=python-module
makedepends="iptables python"
short_desc="Uncomplicated Firewall"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://launchpad.net/ufw"
license="GPL-3"
distfiles="http://launchpad.net/ufw/${version}/${version}/+download/ufw-${version}.tar.gz"
checksum=5f85a8084ad3539b547bec097286948233188c971f498890316dec170bdd1da8
long_desc="
Ufw stands for Uncomplicated Firewall, and is a program for managing a
netfilter firewall. It provides a command line interface and ims to be
uncomplicated and easy to use."
post_install() {
vinstall ${FILESDIR}/ufw.service 644 usr/lib/systemd/system
vmove "lib/*" usr/lib
}
ufw_package() {
depends="${makedepends}"
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
noarch="yes"
pycompile_module="ufw"
pkg_install() {
vmove etc
vmove usr
}
}