wok-current annotate iptables/receipt @ rev 22957

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