wok-6.x diff ipset/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents ad8b9ff412d2
children
line diff
     1.1 --- a/ipset/receipt	Sat Feb 12 18:42:31 2022 +0000
     1.2 +++ b/ipset/receipt	Fri Sep 02 16:30:36 2022 +0000
     1.3 @@ -1,18 +1,18 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ipset"
     1.7 -VERSION="7.6"
     1.8 +VERSION="7.15"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="High speed match for an entry against a set of firewall rules."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://ipset.netfilter.org/"
    1.14 +WEB_SITE="https://ipset.netfilter.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="${WEB_SITE}$TARBALL"
    1.18  
    1.19  DEPENDS="libmnl"
    1.20 -BUILD_DEPENDS="libltdl libmnl-dev linux-module-headers pkg-config"
    1.21 +BUILD_DEPENDS="linux-module-headers libltdl libmnl-dev pkg-config"
    1.22  
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25 @@ -25,21 +25,18 @@
    1.26  compile_rules()
    1.27  {
    1.28  	KVERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)-slitaz
    1.29 -	sed -i "s/uname -r/echo $KVERSION/" \
    1.30 -		configure
    1.31 +	sed -i "s|uname -r|echo $KVERSION|"	configure
    1.32  
    1.33  	./configure		\
    1.34  		--prefix=/usr	\
    1.35  		$CONFIGURE_ARGS &&
    1.36 -	make -j 1 &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make &&
    1.39 +	make install DESTDIR=$DESTDIR
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr/lib
    1.46 -
    1.47 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.48 -	cp -a $install/usr/sbin		$fs/usr
    1.49 +	cook_copy_folders	sbin
    1.50 +	cook_copy_files		*.so*
    1.51  }