# HG changeset patch # User Hans-G?nter Theisgen # Date 1659190473 -3600 # Node ID 72e28a828ce2712b2592160cb2f9b0aef8b3fa87 # Parent 0235fd8c4128c0b6b471080722b5c2c4f8e2a141 updated ufw (0.36 -> 0.36.1) diff -r 0235fd8c4128 -r 72e28a828ce2 ufw-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ufw-lang/receipt Sat Jul 30 15:14:33 2022 +0100 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="ufw-lang" +VERSION="0.36.1" +CATEGORY="localization" +SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL3" +WEB_SITE="https://launchpad.net/ufw" + +WANTED="ufw" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + for msgfile in $(ls $install/usr/share/ufw/messages/*.mo) + do + lang=$(basename $msgfile) + lang=${lang%.mo} + mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES + cp -a $msgfile \ + $fs/usr/share/locale/$lang/LC_MESSAGES/ufw.mo + done +} diff -r 0235fd8c4128 -r 72e28a828ce2 ufw/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ufw/description.txt Sat Jul 30 15:14:33 2022 +0100 @@ -0,0 +1,4 @@ +Ufw stands for Uncomplicated Firewall, and is program for managing +a netfilter firewall. +It provides a command line interface and aims to be uncomplicated +and easy to use. diff -r 0235fd8c4128 -r 72e28a828ce2 ufw/receipt --- a/ufw/receipt Sat Jul 30 11:20:37 2022 +0100 +++ b/ufw/receipt Sat Jul 30 15:14:33 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ufw" -VERSION="0.36" +VERSION="0.36.1" CATEGORY="security" TAGS="firewall" SHORT_DESC="Uncomplicated Firewall, a cli for managing netfilter." @@ -10,10 +10,11 @@ WEB_SITE="https://launchpad.net/ufw" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$WEB_SITE/$VERSION/$VERSION/+download/$TARBALL" +WGET_URL="$WEB_SITE/${VERSION%.*}/$VERSION/+download/$TARBALL" -DEPENDS="python iptables" -BUILD_DEPENDS="python iptables" +SUGGESTED="ufw-lang" +DEPENDS="iptables python" +BUILD_DEPENDS="iptables python" # What is the latest version available today? current_version() @@ -25,12 +26,15 @@ # Rules to configure and make the package. compile_rules() { - python setup.py build + python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs/ + cook_copy_folders etc + cook_copy_folders iptables + cook_copy_folders lib + cook_copy_folders sbin }