wok-6.x diff iptables-template/receipt @ rev 17326
Add sshpass
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 09:25:00 2014 +0100 (2014-11-05) |
parents | 845cb0b3d966 |
children | 5b16e60b3d24 |
line diff
1.1 --- a/iptables-template/receipt Fri Jul 04 13:03:36 2014 +0200 1.2 +++ b/iptables-template/receipt Wed Nov 05 09:25:00 2014 +0100 1.3 @@ -10,15 +10,21 @@ 1.4 1.5 BUILD_DEPENDS="wget" 1.6 1.7 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.8 -genpkg_rules() 1.9 +# Rules to configure and make the package. 1.10 +compile_rules() 1.11 { 1.12 - mkdir -p $fs/usr/share/iptables 1.13 + mkdir -p $install/usr/share/iptables 1.14 for i in c025b0b8c58af49aa9644982c459314c9adba157/rules-both.iptables \ 1.15 622104b0e46e0e7134a69bb7ce24850943b8d2a7/rules-ipv4.iptables \ 1.16 3b92a873bf750a6df32331657c641078adc5906e/rules-ipv6.ip6tables 1.17 do 1.18 wget --no-check-certificate \ 1.19 - -O $fs/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i 1.20 + -O $install/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i 1.21 done 1.22 } 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + cp -a $install/* $fs 1.28 +}