wok view iptables-template/receipt @ rev 16797

Add iptables-template
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 04 13:03:36 2014 +0200 (2014-07-04)
parents
children aadee5047c4e
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"
11 BUILD_DEPENDS="wget"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/iptables
17 for i in c025b0b8c58af49aa9644982c459314c9adba157/rules-both.iptables \
18 622104b0e46e0e7134a69bb7ce24850943b8d2a7/rules-ipv4.iptables \
19 3b92a873bf750a6df32331657c641078adc5906e/rules-ipv6.ip6tables
20 do
21 wget --no-check-certificate \
22 -O $fs/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i
23 done
24 }