wok-current view ufw/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 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 }