# HG changeset patch # User Christophe Lincoln # Date 1246222963 -7200 # Node ID 90ba3f41867b73791941b092127e4ad04a06e6a9 # Parent e96b5bb3b6635aee4badb8b695fd7de41fbf56d3 Up: iptables (1.4.4) diff -r e96b5bb3b663 -r 90ba3f41867b iptables/receipt --- a/iptables/receipt Sun Jun 28 22:50:25 2009 +0200 +++ b/iptables/receipt Sun Jun 28 23:02:43 2009 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="iptables" -VERSION="1.4.1.1" +VERSION="1.4.4" CATEGORY="security" SHORT_DESC="Packet filtering framework (Firewall)." MAINTAINER="pankso@slitaz.org" @@ -9,13 +9,7 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.netfilter.org/" WGET_URL="http://www.netfilter.org/projects/iptables/files/$TARBALL" - -# Extract EXTRAVERSION from linux package -get_version() -{ - kver=$(grep "kernel version" $WOK/linux/$(ls $WOK/linux/taz)/.config) - EXTRAVERSION=_${kver##* } -} +EXTRAVERSION="_`grep ^VERSION= $WOK/linux/receipt | cut -d '\"' -f 2`" # Rules to configure and make the package. compile_rules() @@ -25,7 +19,7 @@ tazwok cook linux fi # Set the right Kernel path to compile. - KERNEL_PATH="$WOK/linux/$(ls $WOK/linux/taz)" + KERNEL_PATH="$WOK/linux/linux-*" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/iptables \