wok-current view iptables/receipt @ rev 16900

libpng: sec. CVE-2011-3048 CVE-2012-3386 & MemLeak fixes,oth.. Up from 1.2.47 to 1.2.51
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Jul 15 02:56:01 2014 +0300 (2014-07-15)
parents c0c7aa3e94a6
children acbbbf3f4e52
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.4.16.2"
5 CATEGORY="security"
6 SHORT_DESC="Packet filtering framework (Firewall)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netfilter.org/"
11 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
12 TAGS="firewall"
14 DEPENDS="linux-netfilter"
15 BUILD_DEPENDS="linux-module-headers"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux"
23 ./configure \
24 --prefix=/usr \
25 --libexecdir=/usr/lib/iptables \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 EXTRAVERSION=_${kvers}
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib/lib* $fs/usr/lib
38 cp -a $install/usr/lib/xtables $fs/usr/lib
39 }