wok view ufw/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 6383e7884f9d
children 72e28a828ce2
line source
1 # SliTaz package receipt.
3 PACKAGE="ufw"
4 VERSION="0.36"
5 CATEGORY="security"
6 TAGS="firewall"
7 SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://launchpad.net/ufw"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL"
15 DEPENDS="python iptables"
16 BUILD_DEPENDS="python iptables"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Latest version is/!d;s|.*is ||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py build
29 python setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs/
36 }