SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ufw"

# SliTaz package receipt.

PACKAGE="ufw"
VERSION="0.36.1"
CATEGORY="security"
TAGS="firewall"
SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://launchpad.net/ufw"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"

SUGGESTED="ufw-lang"
DEPENDS="iptables python"
BUILD_DEPENDS="iptables python"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Latest version is/!d;s|.*is ||'
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build &&
    python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    etc
    cook_copy_folders    iptables
    cook_copy_folders    lib
    cook_copy_folders    sbin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)