wok-current diff libQtMimeTypes/receipt @ rev 25687

Up expat CVE-2024-28757
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 15 07:23:20 2024 +0000 (9 months ago)
parents 4ce52a0b72fd
children 5926178cd6fa
line diff
     1.1 --- a/libQtMimeTypes/receipt	Wed Mar 16 10:01:11 2022 +0000
     1.2 +++ b/libQtMimeTypes/receipt	Fri Mar 15 07:23:20 2024 +0000
     1.3 @@ -1,15 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libQtMimeTypes"
     1.7 -BRANCH="123e5255daf5bc780f8ecfa62f796a2aedef9a13"
     1.8 -VERSION="1.0.1_${BRANCH:1:7}"
     1.9 +VERSION="1.0.1"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="A Qt4 backport of the Qt5 mimetypes API"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="LGPL2.1"
    1.14 -WEB_SITE="https://web.archive.org/web/20121025184403/http://qt.gitorious.org/qtplayground/mimetypes"
    1.15 -TARBALL="$PACKAGE-$BRANCH.tar.gz"
    1.16 -WGET_URL="$WEB_SITE/archive/$BRANCH.tar.gz"
    1.17 +WEB_SITE="https://github.com/qtproject/playground-mimetypes"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
    1.20  
    1.21  DEPENDS="libQtCore"
    1.22  BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
    1.23 @@ -17,8 +16,8 @@
    1.24  # What is the latest version available today?
    1.25  current_version()
    1.26  {
    1.27 -	wget -O - https://code.qt.io/cgit/playground/mimetypes.git/refs/ 2>/dev/null | \
    1.28 -	sed '/\/tag\//!d;s|.*h=v||;s|.>.*||;q'
    1.29 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.30 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.31  }
    1.32  
    1.33  # Rules to configure and make the package.