wok-next view iptables/receipt @ rev 21405

updated php again (7.4.4 -> 7.4.5)
author Hans-G?nter Theisgen
date Tue Apr 21 10:56:40 2020 +0100 (2020-04-21)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="iptables"
4 VERSION="1.6.1"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="security"
7 SHORT_DESC="Packet filtering framework (Firewall)"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://netfilter.org/projects/iptables/"
11 LFS="http://www.linuxfromscratch.org/blfs/view/svn/postlfs/iptables.html"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL"
15 TARBALL_SHA1="b2592490ca7a6c2cd0f069e167a4337c86acdf91"
17 BUILD_DEPENDS="linux-module-headers libmnl-dev libnftnl-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 # Set the right Kernel path to compile.
22 KERNEL_PATH="/usr/src/linux" # TODO: KERNEL_DIR? (see INSTALL)
23 ./configure \
24 --sbindir=/sbin \
25 --disable-nftables \
26 --enable-libipq \
27 --with-xtlibdir=/lib/xtables \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install || return 1
33 ln -sfv ../../sbin/xtables-multi $install/usr/bin/iptables-xml
35 for file in ip4tc ip6tc ipq iptc xtables; do
36 mv -v $install/usr/lib/lib$file.so.* $install/lib
37 ln -sfv ../../lib/$(readlink $install/usr/lib/lib$file.so) \
38 $install/usr/lib/lib$file.so
39 done
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 iptables)
45 copy @std
46 DEPENDS="linux-netfilter"
47 TAGS="firewall"
48 ;;
49 *-dev)
50 copy @dev
51 ;;
52 esac
53 }