wok diff mpv/receipt @ rev 25638
Up tinyssh (20240101 CVE-2023-48795)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 05 10:31:44 2024 +0000 (10 months ago) |
parents | 5ea0ce1cecc0 |
children |
line diff
1.1 --- a/mpv/receipt Tue Jun 08 08:46:05 2021 +0000 1.2 +++ b/mpv/receipt Fri Jan 05 10:31:44 2024 +0000 1.3 @@ -30,10 +30,11 @@ 1.4 xorg-libXinerama-dev xorg-libXrandr-dev xorg-libXrender-dev \ 1.5 xorg-libXv-dev xorg-libXxf86vm-dev yasm zlib-dev" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.