wok-next diff iptables-template/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d43bf7aae921 |
children |
line diff
1.1 --- a/iptables-template/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/iptables-template/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -3,20 +3,17 @@ 1.4 PACKAGE="iptables-template" 1.5 VERSION="20140704" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="Template for iptables setup." 1.8 +SHORT_DESC="Template for iptables setup" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="MIT" 1.11 WEB_SITE="https://gist.github.com/jirutka/3742890" 1.12 EXTRA_SOURCE_FILES="rules-both.iptables rules-ipv4.iptables rules-ipv6.ip6tables" 1.13 1.14 -# Rules to configure and make the package. 1.15 -compile_rules() 1.16 -{ 1.17 +compile_rules() { 1.18 mkdir -p $install/usr/share/iptables 1.19 - while read dir file ; do 1.20 + while read dir file; do 1.21 [ -s "$SRC/$file" ] || 1.22 - wget --no-check-certificate -P $SRC \ 1.23 - $WEB_SITE/raw/$dir/$file 1.24 + wget --no-check-certificate -P $SRC $WEB_SITE/raw/$dir/$file 1.25 cp $SRC/$file $install/usr/share/iptables/ 1.26 done <<EOT 1.27 c025b0b8c58af49aa9644982c459314c9adba157 rules-both.iptables 1.28 @@ -25,8 +22,6 @@ 1.29 EOT 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 cp -a $install/* $fs 1.37 }