wok-next view iptables-template/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 5b16e60b3d24 |
children | d5aab818505e |
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 mkdir -p $install/usr/share/iptables
16 while read dir file ; do
17 [ -s "$SRC/$file" ] ||
18 wget --no-check-certificate -P $SRC \
19 $WEB_SITE/raw/$dir/$file
20 cp $SRC/$file $install/usr/share/iptables/
21 done <<EOT
22 c025b0b8c58af49aa9644982c459314c9adba157 rules-both.iptables
23 622104b0e46e0e7134a69bb7ce24850943b8d2a7 rules-ipv4.iptables
24 3b92a873bf750a6df32331657c641078adc5906e rules-ipv6.ip6tables
25 EOT
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }