wok-current rev 25378

updated ufw (0.36 -> 0.36.1)
author Hans-G?nter Theisgen
date Sat Jul 30 15:14:33 2022 +0100 (2022-07-30)
parents 0235fd8c4128
children 348478407936
files ufw-lang/receipt ufw/description.txt ufw/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ufw-lang/receipt	Sat Jul 30 15:14:33 2022 +0100
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ufw-lang"
     1.7 +VERSION="0.36.1"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/ufw"
    1.13 +
    1.14 +WANTED="ufw"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	for msgfile in $(ls $install/usr/share/ufw/messages/*.mo)
    1.20 +	  do
    1.21 +		lang=$(basename $msgfile)
    1.22 +		lang=${lang%.mo}
    1.23 +		mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
    1.24 +		cp -a	$msgfile \
    1.25 +			$fs/usr/share/locale/$lang/LC_MESSAGES/ufw.mo
    1.26 +	done
    1.27 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ufw/description.txt	Sat Jul 30 15:14:33 2022 +0100
     2.3 @@ -0,0 +1,4 @@
     2.4 +Ufw stands for Uncomplicated Firewall, and is program for managing
     2.5 +a netfilter firewall.
     2.6 +It provides a command line interface and aims to be uncomplicated
     2.7 +and easy to use.
     3.1 --- a/ufw/receipt	Sat Jul 30 11:20:37 2022 +0100
     3.2 +++ b/ufw/receipt	Sat Jul 30 15:14:33 2022 +0100
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="ufw"
     3.7 -VERSION="0.36"
     3.8 +VERSION="0.36.1"
     3.9  CATEGORY="security"
    3.10  TAGS="firewall"
    3.11  SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter."
    3.12 @@ -10,10 +10,11 @@
    3.13  WEB_SITE="https://launchpad.net/ufw"
    3.14  
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL"
    3.17 +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL"
    3.18  
    3.19 -DEPENDS="python iptables"
    3.20 -BUILD_DEPENDS="python iptables"
    3.21 +SUGGESTED="ufw-lang"
    3.22 +DEPENDS="iptables python"
    3.23 +BUILD_DEPENDS="iptables python"
    3.24  
    3.25  # What is the latest version available today?
    3.26  current_version()
    3.27 @@ -25,12 +26,15 @@
    3.28  # Rules to configure and make the package.
    3.29  compile_rules()
    3.30  {
    3.31 -	python setup.py build
    3.32 +	python setup.py build &&
    3.33  	python setup.py install --root=$DESTDIR
    3.34  }
    3.35  
    3.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.37  genpkg_rules()
    3.38  {
    3.39 -	cp -a $install/* $fs/
    3.40 +	cook_copy_folders	etc
    3.41 +	cook_copy_folders	iptables
    3.42 +	cook_copy_folders	lib
    3.43 +	cook_copy_folders	sbin
    3.44  }