wok-current diff conntrack-tools/receipt @ rev 24353

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 03 12:55:23 2022 +0000 (2022-02-03)
parents 02f84d387161
children 83b97236db32
line diff
     1.1 --- a/conntrack-tools/receipt	Tue Apr 23 18:26:21 2019 +0200
     1.2 +++ b/conntrack-tools/receipt	Thu Feb 03 12:55:23 2022 +0000
     1.3 @@ -1,36 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="conntrack-tools"
     1.7 -VERSION="1.4.2"
     1.8 +VERSION="1.4.5"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="userspace tools to interact with the Connection Tracking System."
    1.11 +SHORT_DESC="Userspace tools to interact with the Connection Tracking System."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.netfilter.org/projects/conntrack-tools/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://$PACKAGE.netfilter.org/"
    1.18 -WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    1.19 +WGET_URL="${WEB_SITE}files/$TARBALL"
    1.20  
    1.21 -DEPENDS="libnfnetlink libnetfilter_conntrack libnetfilter_queue \
    1.22 -libnetfilter_cthelper libmnl"
    1.23 -BUILD_DEPENDS="glib-dev libnfnetlink-dev libmnl-dev libnetfilter_conntrack-dev \
    1.24 -libnetfilter_cttimeout-dev libnetfilter_cthelper-dev libnetfilter_queue-dev \
    1.25 -bison flex pkg-config"
    1.26 +DEPENDS="libmnl libnetfilter_conntrack libnetfilter_cthelper 
    1.27 +	libnetfilter_queue libnfnetlink"
    1.28 +BUILD_DEPENDS="bison flex glib-dev libmnl-dev libnetfilter_conntrack-dev 
    1.29 +	libnetfilter_cthelper-dev libnetfilter_cttimeout-dev 
    1.30 +	libnetfilter_queue-dev libnfnetlink-dev pkg-config"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed -i '/enum ip_conntrack_info {/,/};/d' include/helper.h
    1.36 -	./configure \
    1.37 -		--prefix=/usr \
    1.38 -		--mandir=/usr/share/man \
    1.39 +	sed -i '/enum ip_conntrack_info {/,/};/d' \
    1.40 +		include/helper.h
    1.41 +
    1.42 +	./configure			\
    1.43 +		--prefix=/usr		\
    1.44 +		--mandir=/usr/share/man	\
    1.45  		$CONFIGURE_ARGS &&
    1.46 -	make && make DESTDIR=$DESTDIR install
    1.47 +	make &&
    1.48 +	make DESTDIR=$DESTDIR install
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54  	mkdir -p $fs/usr
    1.55 -	cp -a $install/usr/sbin $fs/sbin
    1.56 -	cp -a $install/usr/lib $fs/usr
    1.57 +
    1.58 +	cp -a $install/usr/sbin	$fs/sbin
    1.59 +	cp -a $install/usr/lib	$fs/usr
    1.60  }