# HG changeset patch # User Pascal Bellard # Date 1644493419 0 # Node ID 3abeffdae80bda400bde0ecee0e203c325092108 # Parent 917b747d9625db99202742fb7eae1e468c7337b8 Update some current_version diff -r 917b747d9625 -r 3abeffdae80b alpine/receipt --- a/alpine/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/alpine/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/Release version /!d;s|.*version ||;s|<.*||;q' + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/alpine/!d;/tar/!d;s|.*alpine-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b ansible/receipt --- a/ansible/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/ansible/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -16,10 +16,11 @@ CONFIG_FILES="/etc/ansible" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b backup-manager/receipt --- a/backup-manager/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/backup-manager/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b flac/receipt --- a/flac/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/flac/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}feeds/feed.xml 2>/dev/null | \ - sed '/released/!d;s|.*FLAC ||;s| rel.*||;q' + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \ + sed '/flac-/!d;/zip/d;s|.*flac-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b ftgl/receipt --- a/ftgl/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/ftgl/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -18,7 +18,7 @@ { wget -O - https://sourceforge.net/projects/ftgl/files/FTGL%20Source/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*ource/||;s|/.*||;q' + sed '/scope="row/!d;s|.*ource/||;s|/.*||;s|~|-|;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b graphviz/receipt --- a/graphviz/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/graphviz/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,10 +19,11 @@ python-dev ruby-dev swig tcl-dev tk-dev util-linux-uuid-dev xorg-dev zlib-dev automake sed" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|;q' + sed '/tar.gz/!d;s|.*/graphviz-\(.*\).tar.gz".*|\1|' | sed '/^[0-9]/!d'| sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b guacamole/receipt --- a/guacamole/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/guacamole/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -22,8 +22,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/guacamole/files/current/source/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*/guacamole-client-||;s|.tar.*||;q' + wget -O - https://guacamole.apache.org/releases/ 2>/dev/null | \ + sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b kompozer/receipt --- a/kompozer/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/kompozer/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -14,11 +14,20 @@ DEPENDS="gtk+ libxml2" BUILD_DEPENDS="coreutils findutils gtk+-dev gtk-girepository libIDL libXaw3dXft-dev libxml2-dev nspr-dev pango-dev pkg-config - perl xorg-libXft-dev zip" + perl xorg-libXft-dev zip pangox-compat-dev" + +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/kompozer/files/current/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/current/||;s|/.*||;q' +} # Rules to configure and make the package. compile_rules() { + grep -l 'uname -m' * | xargs sed -i 's|uname -m|echo i686|' echo ac_add_options --enable-application=composer > .mozconfig cp -a security/coreconf/Linux2.6.mk security/coreconf/Linux3.16.mk diff -r 917b747d9625 -r 3abeffdae80b libogg/receipt --- a/libogg/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/libogg/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -18,10 +18,11 @@ # What is the latest version available today? current_version() { - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \ + sed '/libogg-/!d;/zip/d;s|.*libogg-||;s|.tar.*||' | sort -Vr | sed q } + # Rules to configure and make the package. compile_rules() { diff -r 917b747d9625 -r 3abeffdae80b libquicktime/receipt --- a/libquicktime/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/libquicktime/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -17,7 +17,7 @@ { wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" + sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b libtkimg/receipt --- a/libtkimg/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/libtkimg/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,7 +19,7 @@ { wget -O - https://sourceforge.net/projects/tkimg/files/tkimg/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/tkimg/||;s|/.*||;q' + sed '/scope="row/!d;s|.*/tkimg%20||;s|/.*||;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b libvorbis/receipt --- a/libvorbis/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/libvorbis/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ + sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b nethack/receipt --- a/nethack/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/nethack/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -16,9 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version/!d;s|.*sion ||;s|<.*||' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b opus-tools/receipt --- a/opus-tools/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/opus-tools/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ - sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||;q' + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ + sed '/opus-tools/!d;/tar/!d;s|.*/opus-tools-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b opus/receipt --- a/opus/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/opus/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ - sed '/Opus/!d;/tar/!d;s|.*/opus-||;s|.tar.*||;q' + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ + sed '/opus-[0-9]/!d;/tar/!d;s|.*/opus-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b opusfile/receipt --- a/opusfile/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/opusfile/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ - sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||;q' + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/opus/ 2>/dev/null | \ + sed '/opusfile/!d;/tar/!d;s|.*/opusfile-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b perl-fuse/receipt --- a/perl-fuse/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/perl-fuse/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -17,8 +17,8 @@ current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/release-name/!d;s|.*-v*||;s|<.*||;q' + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/Fuse-/!d;/tar/!d;s|.*Fuse-||;s|.tar.*||;s|_|.|' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b python-click/receipt --- a/python-click/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/python-click/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -17,7 +17,7 @@ current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' + wget -O - $WEB_SITE 2>/dev/null | sed '/click [0-9]/!d;s|.*click ||;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b python-oauth2/receipt --- a/python-oauth2/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/python-oauth2/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' + wget -O - https://pypi.org/project/oauth2/ 2>/dev/null | \ + sed '/oauth2 [0-9]/!d;s|.*oauth2 ||;q' } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b reiser4progs/receipt --- a/reiser4progs/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/reiser4progs/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/reiser4/files/reiser4-utils/reiser4progs/ 2>/dev/null | \ - sed '/scope="row/!d;/tar/!d;s|.*/reiser4progs-||;s|.tar.*||;q' + wget -O - https://mirrors.edge.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \ + sed '/v[0-9]/!d;/x/d;s|.*"v||;s|/.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 917b747d9625 -r 3abeffdae80b vorbis-tools/receipt --- a/vorbis-tools/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/vorbis-tools/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ + sed '/vorbis-tools-/!d;/tar/!d;s|.*vorbis-tools-\(.*\).tar.*".*|\1|' | sort -Vr | sed q } diff -r 917b747d9625 -r 3abeffdae80b wicd/receipt --- a/wicd/receipt Thu Feb 10 07:54:25 2022 +0100 +++ b/wicd/receipt Thu Feb 10 11:43:39 2022 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/wicd/files/wicd-stable/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/wicd-stable/wicd-||;s|/.*||;q' + wget -O - https://launchpad.net/wicd 2>/dev/null | \ + sed '/Latest version/!d;s|.* is ||' } # Rules to configure and make the package.