wok diff libnet/receipt @ rev 25496

Up expat (2.5.0), CVE-2022-43680. Again.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 02 10:26:08 2022 +0000 (18 months ago)
parents 65d7d867e0c1
children
line diff
     1.1 --- a/libnet/receipt	Wed Feb 09 17:57:59 2022 +0000
     1.2 +++ b/libnet/receipt	Fri Dec 02 10:26:08 2022 +0000
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libnet"
     1.7 -VERSION="1.1.6"
     1.8 +VERSION="1.2"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="A library which provides API for commonly used low-level net functions."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="BSD"
    1.13 +WEB_SITE="https://github.com/libnet/libnet"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://sourceforge.net/projects/libnet-dev/"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE-dev/$TARBALL"
    1.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.19  
    1.20  # What is the latest version available today?
    1.21  current_version()
    1.22 @@ -20,18 +21,17 @@
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--infodir=/usr/share/info \
    1.29 -		--mandir=/usr/share/man \
    1.30 +	./configure				\
    1.31 +		--prefix=/usr			\
    1.32 +		--infodir=/usr/share/info	\
    1.33 +		--mandir=/usr/share/man		\
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make && make DESTDIR=$DESTDIR install
    1.36 +	make &&
    1.37 +	make install DESTDIR=$DESTDIR
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/lib
    1.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 +	cook_copy_files	*.so*
    1.46  }
    1.47 -