wok-next diff iptables/receipt @ rev 20142
vlc: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:06:02 2017 +0100 (2017-11-01) |
parents | acbbbf3f4e52 |
children | d247e85339a4 |
line diff
1.1 --- a/iptables/receipt Tue Feb 24 09:28:25 2015 +0100 1.2 +++ b/iptables/receipt Wed Nov 01 11:06:02 2017 +0100 1.3 @@ -1,29 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="iptables" 1.8 -VERSION="1.4.21" 1.9 +VERSION="1.6.1" 1.10 +EXTRAVERSION=_$kvers 1.11 CATEGORY="security" 1.12 -SHORT_DESC="Packet filtering framework (Firewall)." 1.13 +SHORT_DESC="Packet filtering framework (Firewall)" 1.14 MAINTAINER="pankso@slitaz.org" 1.15 LICENSE="GPL2" 1.16 +WEB_SITE="http://www.netfilter.org/projects/iptables/" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://www.netfilter.org/" 1.20 -WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" 1.21 -TAGS="firewall" 1.22 +WGET_URL="${WEB_SITE}files/$TARBALL" 1.23 +TARBALL_SHA1="b2592490ca7a6c2cd0f069e167a4337c86acdf91" 1.24 1.25 -DEPENDS="linux-netfilter" 1.26 -BUILD_DEPENDS="linux-module-headers" 1.27 +BUILD_DEPENDS="linux-module-headers libmnl-dev libnftnl-dev" 1.28 +SPLIT="iptables-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - cd $src 1.34 # Set the right Kernel path to compile. 1.35 KERNEL_PATH="/usr/src/linux" 1.36 ./configure \ 1.37 - --prefix=/usr \ 1.38 --libexecdir=/usr/lib/iptables \ 1.39 - --mandir=/usr/share/man \ 1.40 $CONFIGURE_ARGS && 1.41 make && make DESTDIR=$DESTDIR install 1.42 } 1.43 @@ -31,9 +30,14 @@ 1.44 # Rules to gen a SliTaz package suitable for Tazpkg. 1.45 genpkg_rules() 1.46 { 1.47 - EXTRAVERSION=_${kvers} 1.48 - mkdir -p $fs/usr/lib 1.49 - cp -a $install/usr/sbin $fs/usr 1.50 - cp -a $install/usr/lib/lib* $fs/usr/lib 1.51 - cp -a $install/usr/lib/xtables $fs/usr/lib 1.52 + case $PACKAGE in 1.53 + iptables) 1.54 + copy @std 1.55 + DEPENDS="linux-netfilter" 1.56 + TAGS="firewall" 1.57 + ;; 1.58 + *-dev) 1.59 + copy @dev 1.60 + ;; 1.61 + esac 1.62 }