2011-07-16 15:35:11 +02:00
|
|
|
# Template file for 'ufw'
|
|
|
|
pkgname=ufw
|
|
|
|
version=0.30.1
|
2011-07-16 19:26:30 +02:00
|
|
|
revision=2
|
2011-07-16 16:53:33 +02:00
|
|
|
distfiles="http://launchpad.net/ufw/0.30/$version/+download/$pkgname-$version.tar.gz"
|
|
|
|
build_style=python-module
|
2011-07-16 15:35:11 +02:00
|
|
|
short_desc="Uncomplicated Firewall"
|
|
|
|
maintainer="Mike Rosset <mike.rosset@gmail.com>"
|
|
|
|
homepage="https://launchpad.net/ufw"
|
|
|
|
license="GPL-3"
|
|
|
|
checksum=98da13fe3e9aa8ff29611f20ef6e8b15be42bcdc43c8ef3145755b220f3bae1a
|
|
|
|
long_desc="
|
|
|
|
Ufw stands for Uncomplicated Firewall, and is program for managing a netfilter firewall.
|
|
|
|
It provides a command line interface and aims to be uncomplicated and easy to use.
|
|
|
|
"
|
|
|
|
|
2011-07-16 16:53:33 +02:00
|
|
|
noarch=yes
|
|
|
|
conf_files="/etc/default/ufw /etc/ufw/ufw.conf"
|
|
|
|
openrc_services="ufw default false"
|
|
|
|
|
2011-07-16 15:35:11 +02:00
|
|
|
Add_dependency run iptables
|
|
|
|
Add_dependency run python
|
|
|
|
Add_dependency build python
|
|
|
|
Add_dependency build iptables
|
2011-07-16 16:53:33 +02:00
|
|
|
Add_dependency build gettext
|
2011-07-16 15:35:11 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# OpenRC service to start/stop ufw.
|
2011-07-16 16:53:33 +02:00
|
|
|
vinstall ${FILESDIR}/ufw.rc 755 etc/init.d ufw
|
2011-07-16 15:35:11 +02:00
|
|
|
}
|