wok-6.x annotate ufw/receipt @ rev 24669
updated inxi (3.0.37 -> 3.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:49:52 2022 +0100 (2022-03-11) |
parents | 6383e7884f9d |
children | 72e28a828ce2 |
rev | line source |
---|---|
pascal@18891 | 1 # SliTaz package receipt. |
pascal@18891 | 2 |
pascal@18891 | 3 PACKAGE="ufw" |
Hans-G?nter@22072 | 4 VERSION="0.36" |
pascal@18891 | 5 CATEGORY="security" |
Hans-G?nter@22072 | 6 TAGS="firewall" |
Hans-G?nter@22072 | 7 SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter." |
pascal@18891 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18891 | 9 LICENSE="GPL3" |
Hans-G?nter@22072 | 10 WEB_SITE="https://launchpad.net/ufw" |
Hans-G?nter@22072 | 11 |
pascal@18891 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18891 | 13 WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL" |
pascal@18891 | 14 |
pascal@18891 | 15 DEPENDS="python iptables" |
pascal@18891 | 16 BUILD_DEPENDS="python iptables" |
pascal@18891 | 17 |
pascal@24434 | 18 # What is the latest version available today? |
pascal@24434 | 19 current_version() |
pascal@24434 | 20 { |
pascal@24434 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 22 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 23 } |
pascal@24434 | 24 |
pascal@18891 | 25 # Rules to configure and make the package. |
pascal@18891 | 26 compile_rules() |
pascal@18891 | 27 { |
pascal@18891 | 28 python setup.py build |
pascal@18891 | 29 python setup.py install --root=$DESTDIR |
pascal@18891 | 30 } |
pascal@18891 | 31 |
pascal@18891 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18891 | 33 genpkg_rules() |
pascal@18891 | 34 { |
pascal@18891 | 35 cp -a $install/* $fs/ |
pascal@18891 | 36 } |