wok view iptables/receipt @ rev 24947

updated nagios-nrpe (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:39:55 2022 +0100 (2022-04-22)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="iptables"
4 VERSION="1.8.7"
5 CATEGORY="security"
6 TAGS="firewall"
7 SHORT_DESC="Packet filtering framework (Firewall)."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.netfilter.org/projects/iptables/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}files/$TARBALL"
15 DEPENDS="linux-netfilter"
16 BUILD_DEPENDS="libmnl-dev linux-module-headers"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Set the right Kernel path to compile.
29 KERNEL_PATH="/usr/src/linux"
31 ./configure \
32 --prefix=/usr \
33 --libexecdir=/usr/lib/iptables \
34 --mandir=/usr/share/man \
35 --disable-nftables \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 EXTRAVERSION=_${kvers}
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/sbin $fs/usr
49 cp -a $install/usr/lib/lib* $fs/usr/lib
50 cp -a $install/usr/lib/xtables $fs/usr/lib
51 }