wok diff libmad/receipt @ rev 25678

Patch ghostscript CVE-2023-36664
author Stanislas Leduc <shann@slitaz.org>
date Fri Mar 08 14:12:03 2024 +0100 (7 months ago)
parents ee53899c6189
children
line diff
     1.1 --- a/libmad/receipt	Wed Jul 07 10:35:01 2021 +0000
     1.2 +++ b/libmad/receipt	Fri Mar 08 14:12:03 2024 +0100
     1.3 @@ -11,10 +11,11 @@
     1.4  WGET_URL="$SF_MIRROR/mad/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - https://sourceforge.net/projects/mad/files/libmad/ 2>/dev/null | \
    1.11 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    1.13  	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.14  }
    1.15