# HG changeset patch # User Pascal Bellard # Date 1646600654 0 # Node ID bc2b9d9bed6fa5f8180ab06b839e500c4b735b9a # Parent 089bb2dd630f342af0794a32b92db36375faaec7 Update some current_version diff -r 089bb2dd630f -r bc2b9d9bed6f abiword/receipt --- a/abiword/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/abiword/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -24,10 +24,11 @@ # What is the latest version available today? current_version() { - wget -O - http://www.abisource.com/downloads/abiword/$( \ wget -O - http://www.abisource.com/downloads/abiword/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]*\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \ + sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]*\\)/.*|http://www.abisource.com/downloads/abiword/\\1/source/|" | sort -Vr | sed q > /tmp/url$$ + cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + rm -f /tmp/url$$ } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f babl/receipt --- a/babl/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/babl/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,10 +19,11 @@ # What is the latest version available today? current_version() { - wget -O - https://download.gimp.org/pub/$PACKAGE/$( \ wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|\\1|" | sort -Vr | sed q) 2>/dev/null | \ + sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | sort -Vr | sed q > /tmp/url$$ + cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + rm -f /tmp/url$$ } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f cairo-clock/receipt --- a/cairo-clock/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/cairo-clock/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|;q" + sed "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.tar.*\".*|\\1|;q" } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f cddetect/receipt --- a/cddetect/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/cddetect/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -14,8 +14,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - http://www.bellut.net/projects.html 2>/dev/null | \ + sed '/cddetect-[0-9]/!d;s|.*cddetect-||;s|.t.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f chkexploit/receipt --- a/chkexploit/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/chkexploit/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -13,7 +13,7 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + wget -O - http://ftp.pangeia.com.br/download.htm 2>/dev/null | \ sed '/chkexploit-/!d;/tar/!d;s|.*chkexploit-||;s|.tar.*||' | sort -Vr | sed q } diff -r 089bb2dd630f -r bc2b9d9bed6f chkrootkit/receipt --- a/chkrootkit/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/chkrootkit/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -13,8 +13,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed '/chkrootkit-/!d;/tar/!d;s|.*chkrootkit-||;s|.tar.*||' | sort -Vr | sed q + wget -O - http://www.chkrootkit.org/README 2>/dev/null | \ + sed '/- Version/!d; s|.*Version ||;s|[ ,].*||' | tail -n1 } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f dhid/receipt --- a/dhid/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/dhid/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - 'http://dhis.org/WebEngine.ipo?context=dhis.website.downloads' 2>/dev/null | \ + sed '/dhid-[0-9]/!d;s|.*dhid-||;s|<.*||;q' } # Handle cross comilation diff -r 089bb2dd630f -r bc2b9d9bed6f dialog/receipt --- a/dialog/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/dialog/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,10 +16,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - ftp://ftp.invisible-island.net/dialog/ 2>/dev/null | \ - sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||;s|-|_|' | sed '$!d' + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/dialog-/!d;/gz"/!d;s|.*dialog-||;s|.t.*||;s|-|_|' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f erlang/receipt --- a/erlang/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/erlang/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,10 +16,11 @@ BUILD_DEPENDS="autoconf gcc+gcj icedtea6-jdk libxslt ncurses-dev openssl-dev perl unixODBC-dev wxWidgets-dev" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed '/otp_src_[0-9]/!d;/tar/!d;/-rc/d;s|.*otp_src_\(.*\).tar.*".*|\1|' | sort -Vr | sed q + wget -O - https://github.com/erlang/otp/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f eudev/receipt --- a/eudev/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/eudev/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,10 +16,11 @@ BUILD_DEPENDS="acl-dev automake dbus-dev gperf kmod-dev libtool libxslt pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/tar.gz/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f fdupes/receipt --- a/fdupes/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/fdupes/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -14,9 +14,10 @@ DEPENDS="ncursesw pcre2" BUILD_DEPENDS="automake ncurses-dev pcre2-dev" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + wget -O - https://github.com/adrianlopezroche/fdupes/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } diff -r 089bb2dd630f -r bc2b9d9bed6f figlet/receipt --- a/figlet/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/figlet/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -13,8 +13,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/cmatsuoka/figlet/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f flac/receipt --- a/flac/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/flac/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -20,7 +20,7 @@ # What is the latest version available today? current_version() { - wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \ + wget -O - https://ftp.osuosl.org/pub/xiph/releases/flac/ 2>/dev/null | \ sed '/flac-/!d;/zip/d;s|.*flac-||;s|.tar.*||' | sort -Vr | sed q } diff -r 089bb2dd630f -r bc2b9d9bed6f freeradius/receipt --- a/freeradius/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/freeradius/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -23,8 +23,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/FreeRADIUS/freeradius-server/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f gegl/receipt --- a/gegl/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/gegl/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -18,10 +18,11 @@ # What is the latest version available today? current_version() { - wget -O - https://download.gimp.org/pub/$PACKAGE/$( \ wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|\\1|" | sort -Vr | sed q) 2>/dev/null | \ + sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1/|" | sort -Vr | sed q > /tmp/url$$ + cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + rm -f /tmp/url$$ } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f ghex/receipt --- a/ghex/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/ghex/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://gitlab.gnome.org/GNOME/ghex/-/tags 2>/dev/null | \ + sed '/item-title/!d;/alpha/d;/beta/d;/rc/d;s|.*">||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f giac/receipt --- a/giac/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/giac/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|;s|-|.|g" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f gimp/receipt --- a/gimp/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/gimp/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -21,10 +21,11 @@ # What is the latest version available today? current_version() { - wget -O - https://download.gimp.org/pub/$PACKAGE/$( \ wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;/v[0-9]/!d;s|.*href=.\\(.*\\)/.*\".*|\\1|" | sort -Vr | sed q) 2>/dev/null | \ + sed "/latest/d;/\[DIR/!d;/v[0-9]/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | sort -Vr | sed q > /tmp/url$$ + cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + rm -f /tmp/url$$ } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f git-gui/receipt --- a/git-gui/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/git-gui/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -1,4 +1,5 @@ # SliTaz package receipt. + PACKAGE="git-gui" VERSION="0.21.0" CATEGORY="development" @@ -17,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE/shortlog 2>/dev/null | \ + wget -O - https://repo.or.cz/git-gui.git/shortlog 2>/dev/null | \ sed '/||;s|/dev/null | \ - sed '/hfsutils-[0-9]/!d;/tar/!d;s|.*hfsutils-||;s|.tar.*||;q' + wget -O - ${WEB_SITE}version.html 2>/dev/null | \ + sed '/has been released/!d;s| has.*||;s|^[ \t]*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f hylafax/receipt --- a/hylafax/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/hylafax/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - http://git.hylafax.org/HylaFAX 2>/dev/null | \ + sed '/>log/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + sed "/bin/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f javascript-boulderdash/receipt --- a/javascript-boulderdash/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/javascript-boulderdash/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 089bb2dd630f -r bc2b9d9bed6f libogg/receipt --- a/libogg/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libogg/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -18,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \ + wget -O - https://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \ sed '/libogg-/!d;/zip/d;s|.*libogg-||;s|.tar.*||' | sort -Vr | sed q } diff -r 089bb2dd630f -r bc2b9d9bed6f libsdl-perl/receipt --- a/libsdl-perl/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libsdl-perl/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/SDL_Perl/!d;/tar/!d;s|.*l-v*||;s|.tar.*||' | sort -Vr | sed q + sed '/SDL_Perl/!d;/tar/!d;s|.*l-v*||;s|.tar.*||;s|_|.|g' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f libupnp/receipt --- a/libupnp/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libupnp/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://github.com/pupnp/pupnp/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[a-z]*\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f libvorbis/receipt --- a/libvorbis/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libvorbis/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,7 +19,7 @@ # What is the latest version available today? current_version() { - wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ + wget -O - https://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q } diff -r 089bb2dd630f -r bc2b9d9bed6f libwrap/receipt --- a/libwrap/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libwrap/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -8,15 +8,15 @@ LICENSE="BSD" SOURCE="tcp_wrappers" TARBALL="${SOURCE}_${VERSION}.tar.gz" -WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" +WEB_SITE="http://ftp.porcupine.org/pub/security/index.html" WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;/ipv6/d;s|.*${SOURCE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/tcp_wrappers_[0-9]/!d;s|.*tcp_wrappers_||;s|.t.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f libxml2/receipt --- a/libxml2/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/libxml2/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -25,10 +25,11 @@ ARCH_ARGS="--without-lzma" ;; esac +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE/news.html 2>/dev/null | \ - sed '/

v/!d;s|.*

v||;s|:.*||;q' + wget -O - "https://gitlab.gnome.org/GNOME/libxml2/-/tags/?sort=updated_desc" 2>/dev/null | \ + sed '/item-title/!d;s|.*">v*||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f lshw/receipt --- a/lshw/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/lshw/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/lshw-/!d;s|.*lshw-||;s|.tar.*||' | sort -Vr | sed q + wget -O - https://ezix.org/src/pkg/lshw/tags 2>/dev/null | \ + sed '/src\/tag/!d;s|.*">||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f luafilesystem/receipt --- a/luafilesystem/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/luafilesystem/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - $WEB_SITE/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' } SUGGESTED="lua" diff -r 089bb2dd630f -r bc2b9d9bed6f magicpoint/receipt --- a/magicpoint/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/magicpoint/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -22,8 +22,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/magicpoint-[0-9]/!d;s|.*magicpoint-||;s|.tar.*||' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mesa-demos/receipt --- a/mesa-demos/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mesa-demos/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - 'https://gitlab.freedesktop.org/mesa/demos/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mesa/receipt --- a/mesa/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mesa/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -25,8 +25,8 @@ # What is the latest version available today? current_version() { - wget -O - ftp://ftp.freedesktop.org/pub/mesa/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mesa7/receipt --- a/mesa7/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mesa7/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -23,8 +23,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ - sed '/7.x\/7/!d;s|.*/7.x/||;s|/.*||' | sort -Vr | sed q + wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc&search=mesa-7' 2>/dev/null | \ + sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mindi/receipt --- a/mindi/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mindi/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" WEB_SITE="http://www.mondorescue.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" +WGET_URL="http://www.mondorescue.org/ftp/src/$TARBALL" DEPENDS="syslinux syslinux-extra" BUILD_DEPENDS="" diff -r 089bb2dd630f -r bc2b9d9bed6f mondo/receipt --- a/mondo/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mondo/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -9,7 +9,7 @@ WEB_SITE="http://www.mondorescue.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL" +WGET_URL="http://www.mondorescue.org/ftp/src/$TARBALL" DEPENDS="afio coreutils-disk gawk mindi newt" BUILD_DEPENDS="newt-dev" diff -r 089bb2dd630f -r bc2b9d9bed6f mp3info/receipt --- a/mp3info/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mp3info/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/mp3info-/!d;s|.*mp3info-||;s|.t.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mpd/receipt --- a/mpd/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mpd/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -21,10 +21,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - sed '/released/!d;s|.*MPD ||;s| .*||;q' + sed '/released/!d;/MPD [0-9]/!d;s|.*MPD ||;s| .*||;q' } # Handle SliTaz arch diff -r 089bb2dd630f -r bc2b9d9bed6f mtr/receipt --- a/mtr/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mtr/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/traviscross/mtr/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mutt/receipt --- a/mutt/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mutt/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://gitlab.com/muttmua/mutt/-/tags 2>/dev/null | \ + sed '/item-title/!d;s|.*">[a-z-]*||;s|-rel<.*||;s|-|.|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f mysql/receipt --- a/mysql/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/mysql/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -22,7 +22,7 @@ current_version() { wget -O - https://github.com/mysql/mysql-server/tags 2>/dev/null | \ - sed '/mysql-[0-9]/!d;/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' + sed '/mysql-[0-9]/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f ncftp/receipt --- a/ncftp/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/ncftp/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/FF0000/!d;s|.*0000">||;s|/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - 'https://gitlab.com/openconnect/openconnect/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f openldap/receipt --- a/openldap/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/openldap/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/stable/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q + wget -O - 'https://git.openldap.org/openldap/openldap/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">[A-Z_]*||;s|<.*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f openvpn/receipt --- a/openvpn/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/openvpn/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,8 +19,8 @@ current_version() { - wget -O - $WEB_SITE/community-downloads/ 2>/dev/null | \ - sed '/releases/!d;/tar/!d;s|.*openvpn-\(.*\).tar.*|\1|;q' + wget -O - https://github.com/OpenVPN/openvpn/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f opus-tools/receipt --- a/opus-tools/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/opus-tools/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - 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 + wget -O - https://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 089bb2dd630f -r bc2b9d9bed6f opus/receipt --- a/opus/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/opus/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - 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 + wget -O - https://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 089bb2dd630f -r bc2b9d9bed6f opusfile/receipt --- a/opusfile/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/opusfile/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - 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 + wget -O - https://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 089bb2dd630f -r bc2b9d9bed6f proftpd-tls/receipt --- a/proftpd-tls/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/proftpd-tls/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/proftpd-[0-9]/!d;/tar/!d;/rc[1-9]/d;s|.*proftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/proftpd/proftpd/releases 2>/dev/null | \ + sed '/archive.*tar/!d;/rc[0-9]/d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f proftpd/receipt --- a/proftpd/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/proftpd/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/[0-9]rc[0-9]/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/proftpd/proftpd/releases 2>/dev/null | \ + sed '/archive.*tar/!d;/rc[0-9]/d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f snapper/receipt --- a/snapper/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/snapper/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -22,8 +22,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/openSUSE/snapper/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f speakup-utils/receipt --- a/speakup-utils/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/speakup-utils/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|_.*||" | sort -Vr | sed q + wget -O - http://linux-speakup.org/speakup.git/info/refs 2>/dev/null | \ + tail -n1 | sed 's|.*tags/v||' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 089bb2dd630f -r bc2b9d9bed6f syslinux/stuff/iso2exe/iso2exe.sh --- a/syslinux/stuff/iso2exe/iso2exe.sh Sun Mar 06 17:15:50 2022 +0100 +++ b/syslinux/stuff/iso2exe/iso2exe.sh Sun Mar 06 21:04:14 2022 +0000 @@ -142,10 +142,11 @@ r="$(sed '/rootfs[0-9]/!d;s|.* initrd=||;s|/boot/||g;s| .*||' \ /tmp/mnt$$/boot/isolinux/isolinux.cfg | tail -n1)" if grep -qs rootfs /tmp/mnt$$/boot/isolinux/isolinux.cfg ; then - echo -n "image=/boot/bzImage initrd=${r:-rootfs.gz},! autologin rdinit=/init.exe" + echo "image=/boot/bzImage initrd=${r:-rootfs.gz},! autologin rdinit=/init.exe" else - echo -n "$(sed '/KERNEL/!d;s|.*KERNEL *|image=|;q' /tmp/mnt$$/boot/isolinux/isolinux.cfg)" - fi | ddn bs=1 of=$1 conv=notrunc seek=$((i-134)) + sed '/[kK][eE][rR][nN][eE][lL]/!d;s|^[ \t]*[^ \t]*||;q' /tmp/mnt$$/boot/isolinux/isolinux.cfg + sed '/[aA][pP][pP][eE][nN][dD]/!d;s|^[ \t]*[^ \t]*||;q' /tmp/mnt$$/boot/isolinux/isolinux.cfg + fi | xargs | ddn bs=1 of=$1 conv=notrunc seek=$((i-134)) fi umount /tmp/mnt$$ rmdir /tmp/mnt$$ diff -r 089bb2dd630f -r bc2b9d9bed6f tacacs+/receipt --- a/tacacs+/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/tacacs+/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -9,7 +9,7 @@ WEB_SITE="http://www.shrubbery.net/tac_plus" TARBALL="${PACKAGE/+/}-F$VERSION.tar.gz" -WGET_URL="ftp://ftp.shrubbery.net/pub/tac_plus/$TARBALL" +WGET_URL="https://shrubbery.net/pub/tac_plus/$TARBALL" DEPENDS="libwrap pam" BUILD_DEPENDS="libwrap-dev pam-dev" diff -r 089bb2dd630f -r bc2b9d9bed6f tree/receipt --- a/tree/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/tree/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -9,7 +9,7 @@ WEB_SITE="https://github.com/pyr/tree" TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL" +WGET_URL="http://mama.indstate.edu/users/ice/tree/$TARBALL" # What is the latest version available today? current_version() diff -r 089bb2dd630f -r bc2b9d9bed6f tzdata/receipt --- a/tzdata/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/tzdata/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE[0-9]/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/eggert/tz/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 089bb2dd630f -r bc2b9d9bed6f vanessa_adt/receipt --- a/vanessa_adt/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/vanessa_adt/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.vergenet.net/linux/vanessa" +WEB_SITE="https://projects.horms.net/projects/vanessa/" WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" DEPENDS="vanessa_logger" diff -r 089bb2dd630f -r bc2b9d9bed6f vanessa_logger/receipt --- a/vanessa_logger/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/vanessa_logger/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://www.vergenet.net/linux/vanessa" +WEB_SITE="https://projects.horms.net/projects/vanessa/" WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" BUILD_DEPENDS="file" diff -r 089bb2dd630f -r bc2b9d9bed6f vorbis-tools/receipt --- a/vorbis-tools/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/vorbis-tools/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -19,7 +19,7 @@ # What is the latest version available today? current_version() { - wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \ + wget -O - https://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 089bb2dd630f -r bc2b9d9bed6f xcursor-comix/receipt --- a/xcursor-comix/receipt Sun Mar 06 17:15:50 2022 +0100 +++ b/xcursor-comix/receipt Sun Mar 06 21:04:14 2022 +0000 @@ -15,10 +15,11 @@ DEPENDS="xorg-libXcursor" BUILD_DEPENDS="" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/tar.bz2/!d;s|.*"ComixCursors-Opaque-\([0-9].*\).tar.bz2".*|\1|;q' + wget -O - 'https://gitlab.com/limitland/comixcursors/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg.