# HG changeset patch # User Pascal Bellard # Date 1644949788 0 # Node ID 241fb98cab1c78bd08d8368bf9bb7a802631a0a6 # Parent 92d14c9730a8b3b474cdf3cb0128b09ecfec5d49 Add some current_version diff -r 92d14c9730a8 -r 241fb98cab1c a2ps/receipt --- a/a2ps/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/a2ps/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,7 +16,7 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } diff -r 92d14c9730a8 -r 241fb98cab1c airoscript-ng/receipt --- a/airoscript-ng/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/airoscript-ng/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,8 +15,8 @@ # What is the latest version available today? current_version() { - wget -O - 'https://airoscript.aircrack-ng.org/?page=download' 2>/dev/null | \ - sed '/tar/!d;s|.*ng-||;s|.tar.*||;q' + wget -O - https://www.aircrack-ng.org/ 2>/dev/null | \ + sed '/aircrack-ng/!d;/tar/!d;s|.*ng-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c cryptkeeper/receipt --- a/cryptkeeper/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/cryptkeeper/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,8 +16,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 - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/bump version to/!d;s|.* to ||;s|<.*||;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c csstidy/receipt --- a/csstidy/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/csstidy/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/C++/!d;s|.*(PHP), ||;s| (C.*||;q' + wget -O - https://github.com/Cerdic/CSSTidy/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c ecryptfs-simple/receipt --- a/ecryptfs-simple/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ecryptfs-simple/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://github.com/mhogomchungu/ecryptfs-simple/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' + wget -O - https://aur.archlinux.org/packages/ecryptfs-simple 2>/dev/null | \ + sed '/ecryptfs-simple-/!d;s|.*simple-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c exo/receipt --- a/exo/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/exo/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,7 +19,9 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ + wget -O - https://archive.xfce.org/src/xfce/exo/$( \ + wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \ + sed '/href="[0-4]/!d;s|.*">||;s|/<.*|/|' | sort -Vr | sed q) 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } diff -r 92d14c9730a8 -r 241fb98cab1c gnustep-back/receipt --- a/gnustep-back/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/gnustep-back/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,7 +16,7 @@ BUILD_DEPENDS="audiofile-dev aspell-dev cairo-dev freetype-dev giflib-dev gnustep-base-dev gnustep-gui-dev gnustep-make gnutls-dev libart_lgpl-dev libtasn1-dev util-linux-uuid-dev - xorg-libXmu-dev xorg-libXt-dev tar" + xorg-libXmu-dev xorg-libXt-dev tar libbfd" # What is the latest version available today? current_version() diff -r 92d14c9730a8 -r 241fb98cab1c gvim/receipt --- a/gvim/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/gvim/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -21,7 +21,7 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q } diff -r 92d14c9730a8 -r 241fb98cab1c httpie/receipt --- a/httpie/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/httpie/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,7 +16,7 @@ current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + wget -O - https://github.com/httpie/httpie/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } diff -r 92d14c9730a8 -r 241fb98cab1c libdvdnav/receipt --- a/libdvdnav/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/libdvdnav/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,8 +16,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://downloads.videolan.org/pub/videolan/$PACKAGE/last 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c libquicktime/receipt --- a/libquicktime/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/libquicktime/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,9 +15,9 @@ current_version() { - wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|;q' + sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c libsdl2-dev/receipt --- a/libsdl2-dev/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/libsdl2-dev/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,13 +14,6 @@ DEPENDS="libsdl2 pkg-config" WANTED="libsdl2" -# What is the latest version available today? -current_version() -{ - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/SDL-[0-9]/!d;/tar/!d;s|.*SDL-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c magicpoint/receipt --- a/magicpoint/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/magicpoint/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,6 +19,13 @@ xorg-cf-files xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev \ xorg-libXrender-dev xorg-xproto xorg-xextproto" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mana/receipt --- a/mana/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mana/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \ libsdl-ttf curl zlib libpng guichan libsdl-gfx" +# What is the latest version available today? +current_version() +{ + wget -O - https://manaplus.org/ 2>/dev/null | \ + sed '/Latest version/!d;s|.*version: ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c manaplus/receipt --- a/manaplus/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/manaplus/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -17,6 +17,13 @@ libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev \ physfs-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Latest version/!d;s|.*version: ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mapserver/receipt --- a/mapserver/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mapserver/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ fribidi-dev gdal-dev geos-dev giflib-dev jpeg-dev libgd libgd-dev libpng-dev libxml2-dev postgresql-dev proj-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mariadb/receipt --- a/mariadb/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mariadb/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -21,6 +21,13 @@ gcc-lib-base" BUILD_DEPENDS="cmake ncurses-dev bison openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Latest M/!d;s|/dev/null | \ + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-common-[0-9]/!d;s|.*="matchbox-common-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-desktop-2/receipt --- a/matchbox-desktop-2/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-desktop-2/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,15 @@ DEPENDS="gtk+ dbus dbus-glib util-linux-uuid" BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \ + sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-desktop/receipt --- a/matchbox-desktop/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-desktop/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,15 @@ DEPENDS="gtk+ startup-notification libmatchbox" BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \ + sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-panel-2/receipt --- a/matchbox-panel-2/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-panel-2/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,15 @@ BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev subversion \ autoconf automake libtool" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \ + sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-panel-manager/receipt --- a/matchbox-panel-manager/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-panel-manager/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,15 @@ DEPENDS="gtk+ matchbox-panel" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/ 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-panel-manager-[0-9]/!d;s|.*="matchbox-panel-manager-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-panel/receipt --- a/matchbox-panel/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-panel/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,15 @@ DEPENDS="gtk+ startup-notification libmatchbox wireless_tools" BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev wireless_tools-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \ + sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-themes-extra/receipt --- a/matchbox-themes-extra/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-themes-extra/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -11,6 +11,15 @@ WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/ 2>/dev/null | \ + sed '/href="[0(9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-themes-extra-[0-9]/!d;s|.*="matchbox-themes-extra-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c matchbox-window-manager/receipt --- a/matchbox-window-manager/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/matchbox-window-manager/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,15 @@ DEPENDS="gtk+ startup-notification libmatchbox" BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/ 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="matchbox-window-manager-[0-9]/!d;s|.*="matchbox-window-manager-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mb-applet-volume/receipt --- a/mb-applet-volume/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mb-applet-volume/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,15 @@ DEPENDS="gtk+ libmatchbox" BUILD_DEPENDS="gtk+-dev libmatchbox-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/$( \ + wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/ 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \ + sed '/href="mb-applet-volume-[0-9]/!d;s|.*="mb-applet-volume-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mc/receipt --- a/mc/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mc/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -21,6 +21,13 @@ HOST_ARCH="i486 arm" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mdocml/receipt --- a/mdocml/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mdocml/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base" BUILD_DEPENDS="db-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mediainfo-gui/receipt --- a/mediainfo-gui/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mediainfo-gui/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ wxWidgets" BUILD_DEPENDS="file wxWidgets-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \ + sed '/\/mediainfo-gui\//!d;s|.*mediainfo-gui/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mediainfo/receipt --- a/mediainfo/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mediainfo/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="autoconf automake curl-dev libmediainfo-dev libmms-dev \ libtool libzen" +# What is the latest version available today? +current_version() +{ + wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \ + sed '/\/mediainfo\//!d;s|.*mediainfo/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mediawiki/receipt --- a/mediawiki/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mediawiki/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="php" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.mediawiki.org/wiki/Download 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c memo/receipt --- a/memo/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/memo/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,7 +16,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE/tags 2>/dev/null | \ + wget -O - https://github.com/anttiviljami/memo/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } diff -r 92d14c9730a8 -r 241fb98cab1c mesa7/receipt --- a/mesa7/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mesa7/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -20,6 +20,13 @@ # libpthread-stubs-dev llvm xorg-dri3proto xorg-presentproto # --with-gallium-drivers= \ +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mindi/receipt --- a/mindi/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mindi/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="syslinux syslinux-extra" BUILD_DEPENDS="" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c minised/receipt --- a/minised/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/minised/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c miro/receipt --- a/miro/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/miro/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,6 +19,13 @@ libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev \ imagemagick-dev taglib-dev libboost-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pculture/miro/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mixxx/receipt --- a/mixxx/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mixxx/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -18,6 +18,13 @@ Qt4-dev alsa-lib-dev jack-audio-connection-kit-dev mesa-dev scons \ pkg-config flac-dev portmidi" +# What is the latest version available today? +current_version() +{ + wget -O - https://mixxx.org/download/ 2>/dev/null | \ + sed '/the stable/!d;s|.*stable">||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c moc/receipt --- a/moc/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/moc/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -24,6 +24,13 @@ arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;; esac +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mondo/receipt --- a/mondo/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mondo/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="afio coreutils-disk gawk mindi newt" BUILD_DEPENDS="newt-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mongodb/receipt --- a/mongodb/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mongodb/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -17,6 +17,13 @@ libboost-program-options-dev libboost-thread-dev pcre-dev \ scons spidermonkey-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mongodb/mongo/tags 2>/dev/null | \ + sed '/archive.*tar/!d;/-rc/d;/-alpha/d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mono/receipt --- a/mono/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mono/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \ gettext glib-dev perl libgdiplus-dev" +# 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 +} + # Build documentation at http://mono-project.com/Compiling_Mono # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4 diff -r 92d14c9730a8 -r 241fb98cab1c mp/receipt --- a/mp/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mp/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ttcdt/mp-5.x/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mp3info/receipt --- a/mp3info/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mp3info/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncursesw gtk+" BUILD_DEPENDS="ncursesw-dev gtk+-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mpc/receipt --- a/mpc/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mpc/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm" +# 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 +} + compile_rules() { meson . _build --prefix=/usr && diff -r 92d14c9730a8 -r 241fb98cab1c mplayer-cli/receipt --- a/mplayer-cli/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mplayer-cli/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -32,6 +32,13 @@ arm*) ARCH_ARGS="--target=arm-linux --enable-cross-compile" ;; esac +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mplayer-codecs/receipt --- a/mplayer-codecs/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mplayer-codecs/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="mplayer" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/all-[0-9]/!d;/tar/!d;s|.*all-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mplayer/receipt --- a/mplayer/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mplayer/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -41,6 +41,13 @@ ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;; esac +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mtr/receipt --- a/mtr/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mtr/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="autoconf automake linux-api-headers ncurses-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c multipath-tools/receipt --- a/multipath-tools/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/multipath-tools/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libaio libdevmapper readline udev" BUILD_DEPENDS="libaio-dev libdevmapper-dev readline-dev udev-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/opensvc/multipath-tools/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c multitail/receipt --- a/multitail/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/multitail/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/multitail.conf" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/halturin/multitail/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mutt/receipt --- a/mutt/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mutt/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/Muttrc /etc/mime.types" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mypaint/receipt --- a/mypaint/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mypaint/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="pygtk python-numpy protobuf-python" BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/MyPaint-[0-9]/!d;s|.*MyPaint-||;s|-release.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c mytop/receipt --- a/mytop/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/mytop/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey" BUILD_DEPENDS="$DEPENDS" +# 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-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ncdc/receipt --- a/ncdc/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ncdc/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="bzip2-dev glib-dev gnutls-dev libgnutls ncursesw ncursesw-dev pcre-dev sqlite-dev zlib-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ncdu/receipt --- a/ncdu/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ncdu/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncursesw" BUILD_DEPENDS="ncursesw-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ncftp/receipt --- a/ncftp/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ncftp/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ncmpc/receipt --- a/ncmpc/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ncmpc/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -18,6 +18,13 @@ HOST_ARCH="i486 arm" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ncmpcpp/receipt --- a/ncmpcpp/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ncmpcpp/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses taglib mpd curl libmpdclient ncursesw" BUILD_DEPENDS="ncurses-dev taglib taglib-dev curl-dev libmpdclient-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ndisc6/receipt --- a/ndisc6/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ndisc6/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="perl" CONFIG_FILES="/etc/rdnssd" +# 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|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c neon/receipt --- a/neon/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/neon/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="expat libcomerr3 libkrb5 libssl zlib" BUILD_DEPENDS="expat-dev libxml2-dev openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://notroj.github.io/neon/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c neonview/receipt --- a/neonview/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/neonview/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+3" BUILD_DEPENDS="gtk+3-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.tuxarena.com/neonview/download/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c net6/receipt --- a/net6/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/net6/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \ libtasn1-dev pkg-config p11-kit-dev libgnutls" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c netplug/receipt --- a/netplug/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/netplug/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://www.serpentine.com/blog/software/netplug/" WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c netsurf-sdl/receipt --- a/netsurf-sdl/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/netsurf-sdl/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -21,6 +21,13 @@ BUGS="No unicode. No https." +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c netsurf/receipt --- a/netsurf/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/netsurf/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -20,6 +20,13 @@ libxml2-dev openssl-dev pango-dev perl-html-parser perl-html-tagset re2c vim zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c newt/receipt --- a/newt/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/newt/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="popt slang tcl" BUILD_DEPENDS="popt-dev python-dev slang-dev tcl" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c node/receipt --- a/node/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/node/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ #HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://nodejs.org/en/download/ 2>/dev/null | \ + sed '/latest/d;/node-v[0-9]/!d;/tar/!d;s|.*node-v||;s|.[a-z].*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c notify-python/receipt --- a/notify-python/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/notify-python/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python libnotify" BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c npth/receipt --- a/npth/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/npth/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c nsd/receipt --- a/nsd/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/nsd/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/nsd" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c nss-ldapd/receipt --- a/nss-ldapd/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/nss-ldapd/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \ pam_ldap" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/downloads 2>/dev/null | \ + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ntp/receipt --- a/ntp/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ntp/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c o3read/receipt --- a/o3read/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/o3read/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c obby/receipt --- a/obby/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/obby/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="$DEPENDS gnutls-dev libgcrypt-dev libgnutls libgpg-error-dev \ libsigc++-dev net6-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ofono/receipt --- a/ofono/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ofono/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \ mobile-broadband-provider-info-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c oldrunner/receipt --- a/oldrunner/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/oldrunner/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c openconnect/receipt --- a/openconnect/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/openconnect/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ # Will require libtirpc when glibc is upgraded to 2.14. BUILD_DEPENDS="libxml2-dev openssl-dev pkg-config vpnc zlib" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c openjpeg/receipt --- a/openjpeg/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/openjpeg/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="glibc-base" BUILD_DEPENDS="zlib-dev tiff-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/uclouvain/openjpeg/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c openscad/receipt --- a/openscad/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/openscad/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -18,6 +18,13 @@ libboost-filesystem-dev libboost-regex-dev libboost-thread-dev \ libboost-graph-dev libboost-tr1-dev qmake" +# 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 +} + # Rules to configure and make the package. # compile_rules() diff -r 92d14c9730a8 -r 241fb98cab1c openttd/receipt --- a/openttd/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/openttd/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libsdl lzo zlib libpng icu" BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.openttd.org/downloads/openttd-releases/latest 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ori/receipt --- a/ori/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ori/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget scons pkg-config libboost-dev libboost-tr1-dev \ util-linux-uuid-dev fuse-dev libevent-dev openssl-dev gcc49 libedit-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ossp-uuid/receipt --- a/ossp-uuid/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ossp-uuid/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ #WGET_URL="ftp://ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL" WGET_URL="http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/$SOURC-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c oxygen-gtk/receipt --- a/oxygen-gtk/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/oxygen-gtk/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ glibc-base gtk+ libffi libgio libxml2 pango pcre xorg-libX11 zlib" BUILD_DEPENDS="cmake git gtk+-dev xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://invent.kde.org/plasma/oxygen-gtk/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/-\/tags\/v[0-9]/!d;s|.*tags/v||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pam/receipt --- a/pam/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pam/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="glibc-base libdb" BUILD_DEPENDS="flex db-dev libdb" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pam_krb5/receipt --- a/pam_krb5/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pam_krb5/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libcomerr libcomerr3 libkrb5 pam" BUILD_DEPENDS="krb5-dev pam-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pari/receipt --- a/pari/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pari/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ xorg-libXdmcp" BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pciutils/receipt --- a/pciutils/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pciutils/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="glibc-base pciids zlib" BUILD_DEPENDS="" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pcsc-tools/receipt --- a/pcsc-tools/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pcsc-tools/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc" BUILD_DEPENDS="pcsc-lite-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pinentry-gtk/receipt --- a/pinentry-gtk/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pinentry-gtk/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ libcap-dev gtk+-dev libgcrypt-dev" SIBLINGS="pinentry" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() diff -r 92d14c9730a8 -r 241fb98cab1c pinentry/receipt --- a/pinentry/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pinentry/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ libcap-dev libgcrypt-dev" SIBLINGS="pinentry-gtk" +# 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 +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() diff -r 92d14c9730a8 -r 241fb98cab1c pkg-config/receipt --- a/pkg-config/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pkg-config/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,6 +19,13 @@ arm) BUILD_DEPENDS="" ;; esac +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c plymouth/receipt --- a/plymouth/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/plymouth/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+3 libdrm libpng pango xorg-libpciaccess" BUILD_DEPENDS="gtk+3-dev libdrm-dev libpng-dev pango-dev xorg-libpciaccess-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pm-utils/receipt --- a/pm-utils/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pm-utils/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="bash kbd" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c polkit-pam/receipt --- a/polkit-pam/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/polkit-pam/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \ dbus-glib-dev expat-dev pam-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/polkit-[0-9]/!d;/tar/!d;s|.*polkit-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c poppler-data/receipt --- a/poppler-data/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/poppler-data/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://poppler.freedesktop.org/" WGET_URL="https://poppler.freedesktop.org/$TARBALL" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c portaudio/receipt --- a/portaudio/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/portaudio/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c postfix/receipt --- a/postfix/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/postfix/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -19,6 +19,13 @@ TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE" CONFIG_FILES="/etc/postfix" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9\.]*tar/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c postgrey/receipt --- a/postgrey/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/postgrey/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ perl-net-dns" CONFIG_FILES="/etc/postgrey" +# 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 +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c potamus/receipt --- a/potamus/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/potamus/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -30,6 +30,13 @@ arm*) ARCH_ARGS="--disable-input-flac" ;; esac +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c prelink/receipt --- a/prelink/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/prelink/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="elfutils" BUILD_DEPENDS="elfutils-dev pkg-config" +# 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;/prm/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c proftpd-tls/receipt --- a/proftpd-tls/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/proftpd-tls/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="openssl" BUILD_DEPENDS="openssl-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c proj/receipt --- a/proj/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/proj/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base sqlite" BUILD_DEPENDS="gcc83 libtool sqlite-dev" +# 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;/RC/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c ptxdist/receipt --- a/ptxdist/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/ptxdist/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses ncursesw-extra slitaz-toolchain wget" SUGGESTED="bazaar ccache elfkickers git subversion" +# 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 +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pulseaudio/receipt --- a/pulseaudio/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pulseaudio/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -23,6 +23,13 @@ CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \ /etc/pulse/default.pa" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pure-ftpd-pam/receipt --- a/pure-ftpd-pam/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pure-ftpd-pam/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="attr libcap libssl pam" BUILD_DEPENDS="openssl-dev pam pam-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/pure-ftpd-[0-9]/!d;/tar/!d;s|.*pure-ftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pure-ftpd/receipt --- a/pure-ftpd/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pure-ftpd/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="attr libcap libssl" BUILD_DEPENDS="openssl-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pycrypto/receipt --- a/pycrypto/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pycrypto/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gmp python" BUILD_DEPENDS="gmp-dev python-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c pydf/receipt --- a/pydf/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/pydf/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -11,6 +11,13 @@ WEB_SITE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/" WGET_URL="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/$TARBALL" +# 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 +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c python-babel/receipt --- a/python-babel/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/python-babel/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c python-pyprotocols/receipt --- a/python-pyprotocols/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/python-pyprotocols/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c python-pyyaml/receipt --- a/python-pyyaml/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/python-pyyaml/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev yaml-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c qimageblitz/receipt --- a/qimageblitz/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/qimageblitz/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,6 +16,13 @@ dbus-dev polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev \ exiv2-dev attica-dev" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r 92d14c9730a8 -r 241fb98cab1c shellinabox/receipt --- a/shellinabox/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/shellinabox/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -18,8 +18,8 @@ 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*}/commits/master 2>/dev/null | \ + sed '/ version /!d;s|.*version ||;s|<.*||;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c sshpass/receipt --- a/sshpass/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/sshpass/receipt Tue Feb 15 18:29:48 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 '/scope="row/!d;s|.*sshpass/||;s|/.*||;q' } # Rules to configure and make the package. diff -r 92d14c9730a8 -r 241fb98cab1c sunxi-tools/receipt --- a/sunxi-tools/receipt Tue Feb 15 17:13:46 2022 +0100 +++ b/sunxi-tools/receipt Tue Feb 15 18:29:48 2022 +0000 @@ -16,7 +16,7 @@ # What is the latest version available today? current_version() { - wget -O - https://github.com/amery/sunxi-tools/tags 2>/dev/null | \ + wget -O - https://github.com/linux-sunxi/sunxi-tools/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' }