wok-current diff rawstudio/receipt @ rev 25641

Up gnutls 3.8.3 (CVE-2024-0553, CVE-2024-0567)
author Stanislas Leduc <shann@slitaz.org>
date Tue Jan 16 22:11:37 2024 +0000 (11 months ago)
parents 2f230197370e
children
line diff
     1.1 --- a/rawstudio/receipt	Wed Feb 16 11:53:30 2022 +0000
     1.2 +++ b/rawstudio/receipt	Tue Jan 16 22:11:37 2024 +0000
     1.3 @@ -7,8 +7,8 @@
     1.4  MAINTAINER="slaxemulator@gmail.com"
     1.5  LICENSE="GPL2"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://rawstudio.org/"
     1.8 -WGET_URL="https://rawstudio.org/files/release/$TARBALL"
     1.9 +WEB_SITE="https://github.com/rawstudio/rawstudio/"
    1.10 +WGET_URL="https://github.com/rawstudio/rawstudio/releases/download/v$VERSION/$TARBALL"
    1.11  
    1.12  DEPENDS="desktop-file-utils dbus exiv2 GConf gtk+ lcms jpeg libjpeg tiff libxml2"
    1.13  BUILD_DEPENDS="exiv2-dev GConf-dev gtk+-dev dbus-dev lcms-dev jpeg-dev tiff-dev libxml2-dev"
    1.14 @@ -16,8 +16,8 @@
    1.15  # What is the latest version available today?
    1.16  current_version()
    1.17  {
    1.18 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.19 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/RC/d;/BETA/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.20 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.21 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.22  }
    1.23  
    1.24  # Rules to configure and make the package.