wok-current rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 917b747d9625 |
children | 17091bc7c301 |
files | alpine/receipt ansible/receipt backup-manager/receipt flac/receipt ftgl/receipt graphviz/receipt guacamole/receipt kompozer/receipt libogg/receipt libquicktime/receipt libtkimg/receipt libvorbis/receipt nethack/receipt opus-tools/receipt opus/receipt opusfile/receipt perl-fuse/receipt python-click/receipt python-oauth2/receipt reiser4progs/receipt vorbis-tools/receipt wicd/receipt |
line diff
1.1 --- a/alpine/receipt Thu Feb 10 07:54:25 2022 +0100 1.2 +++ b/alpine/receipt Thu Feb 10 11:43:39 2022 +0000 1.3 @@ -20,8 +20,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | \ 1.8 - sed '/Release version /!d;s|.*version ||;s|<.*||;q' 1.9 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.10 + sed '/alpine/!d;/tar/!d;s|.*alpine-||;s|.tar.*||' | sort -Vr | sed q 1.11 } 1.12 1.13 # Rules to configure and make the package.
2.1 --- a/ansible/receipt Thu Feb 10 07:54:25 2022 +0100 2.2 +++ b/ansible/receipt Thu Feb 10 11:43:39 2022 +0000 2.3 @@ -16,10 +16,11 @@ 2.4 2.5 CONFIG_FILES="/etc/ansible" 2.6 2.7 +# What is the latest version available today? 2.8 current_version() 2.9 { 2.10 - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 2.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 2.13 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 2.14 } 2.15 2.16 # Rules to configure and make the package.
3.1 --- a/backup-manager/receipt Thu Feb 10 07:54:25 2022 +0100 3.2 +++ b/backup-manager/receipt Thu Feb 10 11:43:39 2022 +0000 3.3 @@ -21,7 +21,7 @@ 3.4 current_version() 3.5 { 3.6 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 3.7 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 3.8 + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|' | sort -Vr | sed q 3.9 } 3.10 3.11 # Rules to configure and make the package.
4.1 --- a/flac/receipt Thu Feb 10 07:54:25 2022 +0100 4.2 +++ b/flac/receipt Thu Feb 10 11:43:39 2022 +0000 4.3 @@ -20,8 +20,8 @@ 4.4 # What is the latest version available today? 4.5 current_version() 4.6 { 4.7 - wget -O - ${WEB_SITE}feeds/feed.xml 2>/dev/null | \ 4.8 - sed '/released/!d;s|.*FLAC ||;s| rel.*||;q' 4.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \ 4.10 + sed '/flac-/!d;/zip/d;s|.*flac-||;s|.tar.*||' | sort -Vr | sed q 4.11 } 4.12 4.13 # Rules to configure and make the package.
5.1 --- a/ftgl/receipt Thu Feb 10 07:54:25 2022 +0100 5.2 +++ b/ftgl/receipt Thu Feb 10 11:43:39 2022 +0000 5.3 @@ -18,7 +18,7 @@ 5.4 { 5.5 wget -O - https://sourceforge.net/projects/ftgl/files/FTGL%20Source/ 2>/dev/null | \ 5.6 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 5.7 - sed '/scope="row/!d;s|.*ource/||;s|/.*||;q' 5.8 + sed '/scope="row/!d;s|.*ource/||;s|/.*||;s|~|-|;q' 5.9 } 5.10 5.11 # Rules to configure and make the package.
6.1 --- a/graphviz/receipt Thu Feb 10 07:54:25 2022 +0100 6.2 +++ b/graphviz/receipt Thu Feb 10 11:43:39 2022 +0000 6.3 @@ -19,10 +19,11 @@ 6.4 python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev 6.5 xorg-dev zlib-dev automake sed" 6.6 6.7 +# What is the latest version available today? 6.8 current_version() 6.9 { 6.10 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 6.11 - sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|;q' 6.12 + sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|' | sed '/^[0-9]/!d'| sort -Vr | sed q 6.13 } 6.14 6.15 # Rules to configure and make the package.
7.1 --- a/guacamole/receipt Thu Feb 10 07:54:25 2022 +0100 7.2 +++ b/guacamole/receipt Thu Feb 10 11:43:39 2022 +0000 7.3 @@ -22,8 +22,8 @@ 7.4 # What is the latest version available today? 7.5 current_version() 7.6 { 7.7 - wget -O - https://sourceforge.net/projects/guacamole/files/current/source/ 2>/dev/null | \ 7.8 - sed '/scope="row/!d;s|.*/guacamole-client-||;s|.tar.*||;q' 7.9 + wget -O - https://guacamole.apache.org/releases/ 2>/dev/null | \ 7.10 + sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||;q' 7.11 } 7.12 7.13 # Rules to configure and make the package.
8.1 --- a/kompozer/receipt Thu Feb 10 07:54:25 2022 +0100 8.2 +++ b/kompozer/receipt Thu Feb 10 11:43:39 2022 +0000 8.3 @@ -14,11 +14,20 @@ 8.4 DEPENDS="gtk+ libxml2" 8.5 BUILD_DEPENDS="coreutils findutils gtk+-dev gtk-girepository libIDL 8.6 libXaw3dXft-dev libxml2-dev nspr-dev pango-dev pkg-config 8.7 - perl xorg-libXft-dev zip" 8.8 + perl xorg-libXft-dev zip pangox-compat-dev" 8.9 + 8.10 +# What is the latest version available today? 8.11 +current_version() 8.12 +{ 8.13 + wget -O - https://sourceforge.net/projects/kompozer/files/current/ 2>/dev/null | \ 8.14 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 8.15 + sed '/scope="row/!d;s|.*/current/||;s|/.*||;q' 8.16 +} 8.17 8.18 # Rules to configure and make the package. 8.19 compile_rules() 8.20 { 8.21 + grep -l 'uname -m' * | xargs sed -i 's|uname -m|echo i686|' 8.22 echo ac_add_options --enable-application=composer > .mozconfig 8.23 cp -a security/coreconf/Linux2.6.mk security/coreconf/Linux3.16.mk 8.24
9.1 --- a/libogg/receipt Thu Feb 10 07:54:25 2022 +0100 9.2 +++ b/libogg/receipt Thu Feb 10 11:43:39 2022 +0000 9.3 @@ -18,10 +18,11 @@ 9.4 # What is the latest version available today? 9.5 current_version() 9.6 { 9.7 - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ 9.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 9.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \ 9.10 + sed '/libogg-/!d;/zip/d;s|.*libogg-||;s|.tar.*||' | sort -Vr | sed q 9.11 } 9.12 9.13 + 9.14 # Rules to configure and make the package. 9.15 compile_rules() 9.16 {
10.1 --- a/libquicktime/receipt Thu Feb 10 07:54:25 2022 +0100 10.2 +++ b/libquicktime/receipt Thu Feb 10 11:43:39 2022 +0000 10.3 @@ -17,7 +17,7 @@ 10.4 { 10.5 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ 10.6 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 10.7 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" 10.8 + sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|;q' 10.9 } 10.10 10.11 # Rules to configure and make the package.
11.1 --- a/libtkimg/receipt Thu Feb 10 07:54:25 2022 +0100 11.2 +++ b/libtkimg/receipt Thu Feb 10 11:43:39 2022 +0000 11.3 @@ -19,7 +19,7 @@ 11.4 { 11.5 wget -O - https://sourceforge.net/projects/tkimg/files/tkimg/ 2>/dev/null | \ 11.6 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 11.7 - sed '/scope="row/!d;s|.*/tkimg/||;s|/.*||;q' 11.8 + sed '/scope="row/!d;s|.*/tkimg%20||;s|/.*||;q' 11.9 } 11.10 11.11 # Rules to configure and make the package.
12.1 --- a/libvorbis/receipt Thu Feb 10 07:54:25 2022 +0100 12.2 +++ b/libvorbis/receipt Thu Feb 10 11:43:39 2022 +0000 12.3 @@ -19,8 +19,8 @@ 12.4 # What is the latest version available today? 12.5 current_version() 12.6 { 12.7 - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ 12.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 12.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ 12.10 + sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q 12.11 } 12.12 12.13 # Rules to configure and make the package.
13.1 --- a/nethack/receipt Thu Feb 10 07:54:25 2022 +0100 13.2 +++ b/nethack/receipt Thu Feb 10 11:43:39 2022 +0000 13.3 @@ -16,9 +16,8 @@ 13.4 # What is the latest version available today? 13.5 current_version() 13.6 { 13.7 - wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \ 13.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 13.9 - sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q' 13.10 + wget -O - $WEB_SITE 2>/dev/null | \ 13.11 + sed '/version/!d;s|.*sion ||;s|<.*||' 13.12 } 13.13 13.14 # Rules to configure and make the package.
14.1 --- a/opus-tools/receipt Thu Feb 10 07:54:25 2022 +0100 14.2 +++ b/opus-tools/receipt Thu Feb 10 11:43:39 2022 +0000 14.3 @@ -17,8 +17,8 @@ 14.4 # What is the latest version available today? 14.5 current_version() 14.6 { 14.7 - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 14.8 - sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||;q' 14.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ 14.10 + sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||' | sort -Vr | sed q 14.11 } 14.12 14.13 # Rules to configure and make the package.
15.1 --- a/opus/receipt Thu Feb 10 07:54:25 2022 +0100 15.2 +++ b/opus/receipt Thu Feb 10 11:43:39 2022 +0000 15.3 @@ -16,8 +16,8 @@ 15.4 # What is the latest version available today? 15.5 current_version() 15.6 { 15.7 - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 15.8 - sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q' 15.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ 15.10 + sed '/opus-[0-9]/!d;/tar/!d;s|.*/opus-||;s|.tar.*||' | sort -Vr | sed q 15.11 } 15.12 15.13 # Rules to configure and make the package.
16.1 --- a/opusfile/receipt Thu Feb 10 07:54:25 2022 +0100 16.2 +++ b/opusfile/receipt Thu Feb 10 11:43:39 2022 +0000 16.3 @@ -16,8 +16,8 @@ 16.4 # What is the latest version available today? 16.5 current_version() 16.6 { 16.7 - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ 16.8 - sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||;q' 16.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ 16.10 + sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||' | sort -Vr | sed q 16.11 } 16.12 16.13 # Rules to configure and make the package.
17.1 --- a/perl-fuse/receipt Thu Feb 10 07:54:25 2022 +0100 17.2 +++ b/perl-fuse/receipt Thu Feb 10 11:43:39 2022 +0000 17.3 @@ -17,8 +17,8 @@ 17.4 17.5 current_version() 17.6 { 17.7 - wget -O - $WEB_SITE 2>/dev/null | \ 17.8 - sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 17.9 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 17.10 + sed '/Fuse-/!d;/tar/!d;s|.*Fuse-||;s|.tar.*||;s|_|.|' | sort -Vr | sed q 17.11 } 17.12 17.13 # Rules to configure and make the package.
18.1 --- a/python-click/receipt Thu Feb 10 07:54:25 2022 +0100 18.2 +++ b/python-click/receipt Thu Feb 10 11:43:39 2022 +0000 18.3 @@ -17,7 +17,7 @@ 18.4 18.5 current_version() 18.6 { 18.7 - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' 18.8 + wget -O - $WEB_SITE 2>/dev/null | sed '/click [0-9]/!d;s|.*click ||;q' 18.9 } 18.10 18.11 # Rules to configure and make the package.
19.1 --- a/python-oauth2/receipt Thu Feb 10 07:54:25 2022 +0100 19.2 +++ b/python-oauth2/receipt Thu Feb 10 11:43:39 2022 +0000 19.3 @@ -19,8 +19,8 @@ 19.4 # What is the latest version available today? 19.5 current_version() 19.6 { 19.7 - wget -O - $WEB_SITE/tags 2>/dev/null | \ 19.8 - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 19.9 + wget -O - https://pypi.org/project/oauth2/ 2>/dev/null | \ 19.10 + sed '/oauth2 [0-9]/!d;s|.*oauth2 ||;q' 19.11 } 19.12 19.13 # Rules to configure and make the package.
20.1 --- a/reiser4progs/receipt Thu Feb 10 07:54:25 2022 +0100 20.2 +++ b/reiser4progs/receipt Thu Feb 10 11:43:39 2022 +0000 20.3 @@ -19,8 +19,8 @@ 20.4 # What is the latest version available today? 20.5 current_version() 20.6 { 20.7 - wget -O - https://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/ 2>/dev/null | \ 20.8 - sed '/scope="row/!d;/tar/!d;s|.*/reiser4progs-||;s|.tar.*||;q' 20.9 + wget -O - https://mirrors.edge.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \ 20.10 + sed '/v[0-9]/!d;/x/d;s|.*"v||;s|/.*||' | sort -Vr | sed q 20.11 } 20.12 20.13 # Rules to configure and make the package.
21.1 --- a/vorbis-tools/receipt Thu Feb 10 07:54:25 2022 +0100 21.2 +++ b/vorbis-tools/receipt Thu Feb 10 11:43:39 2022 +0000 21.3 @@ -19,8 +19,8 @@ 21.4 # What is the latest version available today? 21.5 current_version() 21.6 { 21.7 - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ 21.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 21.9 + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ 21.10 + sed '/vorbis-tools-/!d;/tar/!d;s|.*vorbis-tools-\(.*\).tar.*".*|\1|' | sort -Vr | sed q 21.11 } 21.12 21.13
22.1 --- a/wicd/receipt Thu Feb 10 07:54:25 2022 +0100 22.2 +++ b/wicd/receipt Thu Feb 10 11:43:39 2022 +0000 22.3 @@ -17,9 +17,8 @@ 22.4 # What is the latest version available today? 22.5 current_version() 22.6 { 22.7 - wget -O - https://sourceforge.net/projects/wicd/files/wicd-stable/ 2>/dev/null | \ 22.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 22.9 - sed '/scope="row/!d;s|.*/wicd-stable/wicd-||;s|/.*||;q' 22.10 + wget -O - https://launchpad.net/wicd 2>/dev/null | \ 22.11 + sed '/Latest version/!d;s|.* is ||' 22.12 } 22.13 22.14 # Rules to configure and make the package.