wok diff jq/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 f9a649f31165
children 20ad21d5532c
line diff
     1.1 --- a/jq/receipt	Sat Feb 29 15:17:59 2020 +0100
     1.2 +++ b/jq/receipt	Fri Dec 02 10:26:08 2022 +0000
     1.3 @@ -12,6 +12,12 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/stedolan/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/jq-\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {