wok view iptables/receipt @ rev 22958

updated iptables and iptables-dev again (1.4.21 -> 1.8.4)
author Hans-G?nter Theisgen
date Fri Feb 28 15:50:53 2020 +0100 (2020-02-28)
parents c0a400c412be
children 5aa9b0045ecd
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.8.4"
5 CATEGORY="security"
6 TAGS="firewall"
7 SHORT_DESC="Packet filtering framework (Firewall)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.netfilter.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
15 DEPENDS="linux-netfilter"
16 BUILD_DEPENDS="libmnl-dev linux-module-headers"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux"
24 ./configure \
25 --prefix=/usr \
26 --libexecdir=/usr/lib/iptables \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 EXTRAVERSION=_${kvers}
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib/lib* $fs/usr/lib
42 cp -a $install/usr/lib/xtables $fs/usr/lib
43 }