wok-current view ufw/receipt @ rev 25444
Up firefox-official (104.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 04 18:56:05 2022 +0000 (23 months ago) |
parents | 1bd2c6414e5a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ufw"
4 VERSION="0.36.1"
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 SUGGESTED="ufw-lang"
16 DEPENDS="iptables python"
17 BUILD_DEPENDS="iptables python"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/Latest version is/!d;s|.*is ||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py build &&
30 python setup.py install --root=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders etc
37 cook_copy_folders iptables
38 cook_copy_folders lib
39 cook_copy_folders sbin
40 }