wok-next view iptables-template/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents d43bf7aae921
children
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables-template"
4 VERSION="20140704"
5 CATEGORY="system-tools"
6 SHORT_DESC="Template for iptables setup"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://gist.github.com/jirutka/3742890"
10 EXTRA_SOURCE_FILES="rules-both.iptables rules-ipv4.iptables rules-ipv6.ip6tables"
12 compile_rules() {
13 mkdir -p $install/usr/share/iptables
14 while read dir file; do
15 [ -s "$SRC/$file" ] ||
16 wget --no-check-certificate -P $SRC $WEB_SITE/raw/$dir/$file
17 cp $SRC/$file $install/usr/share/iptables/
18 done <<EOT
19 c025b0b8c58af49aa9644982c459314c9adba157 rules-both.iptables
20 622104b0e46e0e7134a69bb7ce24850943b8d2a7 rules-ipv4.iptables
21 3b92a873bf750a6df32331657c641078adc5906e rules-ipv6.ip6tables
22 EOT
23 }
25 genpkg_rules() {
26 cp -a $install/* $fs
27 }