wok diff ufw/receipt @ rev 25443

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 03 09:28:15 2022 +0000 (2022-09-03)
parents 1bd2c6414e5a
children
line diff
     1.1 --- a/ufw/receipt	Sat Feb 12 19:02:42 2022 +0000
     1.2 +++ b/ufw/receipt	Sat Sep 03 09:28:15 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ufw"
     1.7 -VERSION="0.36"
     1.8 +VERSION="0.36.1"
     1.9  CATEGORY="security"
    1.10  TAGS="firewall"
    1.11  SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter."
    1.12 @@ -10,10 +10,11 @@
    1.13  WEB_SITE="https://launchpad.net/ufw"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL"
    1.17 +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
    1.18  
    1.19 -DEPENDS="python iptables"
    1.20 -BUILD_DEPENDS="python iptables"
    1.21 +SUGGESTED="ufw-lang"
    1.22 +DEPENDS="iptables python"
    1.23 +BUILD_DEPENDS="iptables python"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -25,12 +26,15 @@
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	python setup.py build
    1.32 +	python setup.py build &&
    1.33  	python setup.py install --root=$DESTDIR
    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 +	cook_copy_folders	etc
    1.41 +	cook_copy_folders	iptables
    1.42 +	cook_copy_folders	lib
    1.43 +	cook_copy_folders	sbin
    1.44  }