wok-next view iptables/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 0e7893ac206d |
children | f48456621a9d |
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="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.netfilter.org/projects/iptables/"
11 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="iptables-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 }