wok-6.x view iptables-template/receipt @ rev 17575
Up: nano 2.3.6
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 21:34:36 2015 +0000 (2015-02-07) |
parents | 845cb0b3d966 |
children | 5b16e60b3d24 |
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 configure and make the package.
14 compile_rules()
15 {
16 mkdir -p $install/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 $install/usr/share/iptables/$(basename $i) $WEB_SITE/raw/$i
23 done
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }