wok-next diff ufw/receipt @ rev 21278
updated giac (1.4.9 -> 1.5.0.75)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 16:47:36 2019 +0100 (2019-12-07) |
parents | f42912c1cf7b |
children |
line diff
1.1 --- a/ufw/receipt Fri Feb 12 18:20:52 2016 +0100 1.2 +++ b/ufw/receipt Sat Dec 07 16:47:36 2019 +0100 1.3 @@ -1,28 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ufw" 1.8 -VERSION="0.34" 1.9 +VERSION="0.35" 1.10 CATEGORY="security" 1.11 -SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter" 1.12 +SHORT_DESC="Uncomplicated Firewall, a CLI for managing netfilter" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL3" 1.15 +WEB_SITE="https://launchpad.net/ufw" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="https://launchpad.net/ufw" 1.19 WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL" 1.20 -TAGS="firewall" 1.21 1.22 -DEPENDS="python iptables" 1.23 BUILD_DEPENDS="python iptables" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - python setup.py build 1.29 - python setup.py install --root=$DESTDIR 1.30 +compile_rules() { 1.31 + python -B setup.py install --root=$install || return 1 1.32 + 1.33 + find $install -type f -exec chmod g-w '{}' \; # 664->644; 775->755 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - cp -a $install/* $fs/ 1.40 +genpkg_rules() { 1.41 + copy @std 1.42 + DEPENDS="python iptables" 1.43 + TAGS="firewall" 1.44 }