# HG changeset patch # User Pascal Bellard # Date 1644848063 0 # Node ID af8d823a3077175b78996f3ba7ce07e49fcc0acf # Parent 92bbd9147f9b349aa3113b7460867ad774f834fb Add some current_version diff -r 92bbd9147f9b -r af8d823a3077 firefox-official-da/receipt --- a/firefox-official-da/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/firefox-official-da/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -19,6 +19,13 @@ HOST_ARCH="i486" +# What is the latest version available today? +current_version() +{ + wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \ + sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gajim/receipt --- a/gajim/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gajim/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gettext xcb-util-dev enchant-dev xorg-scrnsaverproto \ xorg-xextproto python-dev libffi-dev intltool pygtk-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Gajim [0-9]/!d;s|.*ajim ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gammu/receipt --- a/gammu/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gammu/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="bluez libcurl libusb-compat sqlite" BUILD_DEPENDS="$DEPENDS cmake" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/gammu-[0-9]/!d;s|.*gammu-||;s|/.*||;s|-|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gcompris/receipt --- a/gcompris/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gcompris/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \ gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file" +# 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 92bbd9147f9b -r af8d823a3077 geany/receipt --- a/geany/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/geany/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -28,6 +28,13 @@ arm*) ARCH_ARGS="--disable-vte" ;; 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 92bbd9147f9b -r af8d823a3077 gentorrent/receipt --- a/gentorrent/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gentorrent/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="py3k" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \ + sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92bbd9147f9b -r af8d823a3077 geoip/receipt --- a/geoip/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/geoip/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="zlib" BUILD_DEPENDS="zlib-dev automake autoconf libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/maxmind/geoip-api-c/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 geos/receipt --- a/geos/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/geos/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83" +# 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 92bbd9147f9b -r af8d823a3077 gftp/receipt --- a/gftp/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gftp/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+-dev gtk+" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/masneyb/gftp/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 ghex/receipt --- a/ghex/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/ghex/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \ libgnomeprintui-dev intltool" +# 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 92bbd9147f9b -r af8d823a3077 gnutls/receipt --- a/gnutls/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gnutls/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -33,6 +33,13 @@ --without-p11-kit --disable-rpath" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/GnuTLS [0-9]/!d;s|.*TLS ||;s|<.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gobby/receipt --- a/gobby/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gobby/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="intltool libxml++-dev cairomm-dev glibmm-dev gtkmm-dev net6-dev \ obby-dev gtksourceview-dev gnutls-dev libsigc++-dev gtk+-dev libgnutls" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/gobby/gobby/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gogglesmm/receipt --- a/gogglesmm/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gogglesmm/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -16,6 +16,13 @@ sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \ xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/gogglesmm/gogglesmm/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gpa/receipt --- a/gpa/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gpa/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gpgme-dev gtk+-dev libassuan-dev libgpg-error-dev" SPLIT="gpa-langpack" +# 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 92bbd9147f9b -r af8d823a3077 gpgme/receipt --- a/gpgme/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gpgme/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base gnupg libassuan" BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-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 92bbd9147f9b -r af8d823a3077 gpick/receipt --- a/gpick/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gpick/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \ dbus-glib-dev lua-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/thezbyg/gpick/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gpm/receipt --- a/gpm/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gpm/receipt Mon Feb 14 14:14:23 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 92bbd9147f9b -r af8d823a3077 grooms/receipt --- a/grooms/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/grooms/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="php" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 grsync/receipt --- a/grsync/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/grsync/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="acl gtk+ rsync xorg-libXdamage" BUILD_DEPENDS="gtk+-dev intltool perl-xml-parser xorg-xproto" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.opbyte.it/grsync/download.html 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 92bbd9147f9b -r af8d823a3077 gsmartcontrol/receipt --- a/gsmartcontrol/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gsmartcontrol/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="pcre glib gtk+ cairomm gtkmm smartmontools" BUILD_DEPENDS="pcre-dev glib-dev gtk+-dev cairomm-dev gtkmm-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ashaduri/gsmartcontrol/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gsynaptics/receipt --- a/gsynaptics/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gsynaptics/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="dbus-glib GConf gtk+ libglade ORBit2" BUILD_DEPENDS="dbus-glib-dev gtk+-dev libglade-dev GConf-dev gnome-doc-utils-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://osdn.net/projects/gsynaptics/releases/ 2>/dev/null | \ + sed '/GSynaptics-[0-9]/!d;s|.*GSynaptics-||;s|. .*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gtick/receipt --- a/gtick/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gtick/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ xorg-libXdamage libsndfile libogg" BUILD_DEPENDS="gtk+-dev pkg-config pulseaudio-dev xorg-xproto" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s| rel.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gtk-sharp/receipt --- a/gtk-sharp/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gtk-sharp/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -18,6 +18,13 @@ xorg-libXrender zlib" BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://download.mono-project.com/sources/gtk-sharp212/ 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 92bbd9147f9b -r af8d823a3077 gtkballs/receipt --- a/gtkballs/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gtkballs/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed 's|>|>\n|g' | sed '/^gtkballs-/!d;/tar/!d;s|gtkballs-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gtklife/receipt --- a/gtklife/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gtklife/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" +# 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 92bbd9147f9b -r af8d823a3077 gvim/receipt --- a/gvim/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gvim/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -18,6 +18,13 @@ BUILD_DEPENDS="gtk+-dev" CONFIG_FILES="/etc/vim/vimrc" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 gxneur/receipt --- a/gxneur/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/gxneur/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="xneur GConf gtk+" BUILD_DEPENDS="xorg-libX11-dev intltool gettext perl xneur-dev gtk+-dev GConf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://xneur.ru/downloads/ 2>/dev/null | \ + sed '/gxneur_[0-9]/!d;/tar/!d;s|.*/gxneur_||;s|.[ot].*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 hal-info/receipt --- a/hal-info/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hal-info/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="hal hal-extra" BUILD_DEPENDS="hal-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;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 hal/receipt --- a/hal/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hal/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -27,6 +27,13 @@ hald-probe-pc-floppy hald-probe-printer" +# 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 92bbd9147f9b -r af8d823a3077 harfbuzz-icu/receipt --- a/harfbuzz-icu/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/harfbuzz-icu/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="freetype gcc83-lib-base glib icu" BUILD_DEPENDS="freetype-dev gcc83 glib-dev icu-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 92bbd9147f9b -r af8d823a3077 hd2u/receipt --- a/hd2u/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hd2u/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="popt" BUILD_DEPENDS="popt-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 92bbd9147f9b -r af8d823a3077 hexchat-plugin/receipt --- a/hexchat-plugin/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hexchat-plugin/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python" BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info 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 92bbd9147f9b -r af8d823a3077 hexchat/receipt --- a/hexchat/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hexchat/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ harfbuzz" BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info" +# 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 92bbd9147f9b -r af8d823a3077 hfsprescue/receipt --- a/hfsprescue/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hfsprescue/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base libcrypto zlib" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.plop.at/en/hfsprescue/download.html 2>/dev/null | \ + sed '/hfsprescue-[0-9]/!d;/tar/!d;/precompiled/d;s|.*hfsprescue-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 hfsutils/receipt --- a/hfsutils/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hfsutils/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://www.mars.org/home/rob/proj/hfs/" WGET_URL="ftp://ftp.mars.org/pub/hfs/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/hfsutils-[0-9]/!d;/tar/!d;s|.*hfsutils-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 homebank/receipt --- a/homebank/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/homebank/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="intltool 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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 hostapd/receipt --- a/hostapd/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hostapd/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="openssl libnl" BUILD_DEPENDS="openssl-dev libnl-dev" +# 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 92bbd9147f9b -r af8d823a3077 html2text/receipt --- a/html2text/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/html2text/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/grobian/html2text/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 httping/receipt --- a/httping/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/httping/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses fftw openssl" BUILD_DEPENDS="ncurses-dev fftw-dev gettext 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;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 httrack/receipt --- a/httrack/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/httrack/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="bash zlib libssl" BUILD_DEPENDS="zlib-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.httrack.com/page/2/ 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 92bbd9147f9b -r af8d823a3077 hubbub/receipt --- a/hubbub/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hubbub/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libparserutils" BUILD_DEPENDS="libparserutils-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-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 hylafax/receipt --- a/hylafax/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/hylafax/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ghostscript jpeg mgetty postfix tiff tiff-apps zlib" BUILD_DEPENDS="ghostscript mgetty tiff-apps tiff-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 92bbd9147f9b -r af8d823a3077 iasl/receipt --- a/iasl/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/iasl/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="bison flex" +# What is the latest version available today? +current_version() +{ + wget -O - https://acpica.org/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 92bbd9147f9b -r af8d823a3077 icon-naming-utils/receipt --- a/icon-naming-utils/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/icon-naming-utils/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,20 @@ DEPENDS="perl perl-xml-simple" BUILD_DEPENDS="perl perl-xml-simple" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/icecast-/!d;/tar/!d;/-beta/d;s|.*icecast-||;s|.tar.*||' | sort -Vr | sed q +} + +# 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 92bbd9147f9b -r af8d823a3077 icu/receipt --- a/icu/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/icu/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL" #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://icu.unicode.org/download 2>/dev/null | \ + sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 ii/receipt --- a/ii/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/ii/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://tools.suckless.org/ii" WGET_URL="http://dl.suckless.org/tools/$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 92bbd9147f9b -r af8d823a3077 ijs/receipt --- a/ijs/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/ijs/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="wget" +# 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 92bbd9147f9b -r af8d823a3077 inkscape/receipt --- a/inkscape/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/inkscape/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -23,6 +23,13 @@ COOKOPTS="!svgz !fixdesktops" +# What is the latest version available today? +current_version() +{ + wget -O - https://inkscape.org/release/ 2>/dev/null | \ + sed '/Inkscape [0-9]/!d;s|.*Inkscape ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 input-utils/receipt --- a/input-utils/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/input-utils/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://git.kraxel.org/cgit/input/ 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 92bbd9147f9b -r af8d823a3077 ipcalc/receipt --- a/ipcalc/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/ipcalc/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="perl" 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 gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 92bbd9147f9b -r af8d823a3077 iptables/receipt --- a/iptables/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/iptables/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="linux-netfilter" BUILD_DEPENDS="libmnl-dev linux-module-headers" +# 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 92bbd9147f9b -r af8d823a3077 iptraf/receipt --- a/iptraf/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/iptraf/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://iptraf.seul.org/download.html 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 92bbd9147f9b -r af8d823a3077 itstool/receipt --- a/itstool/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/itstool/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libxml2-python python" BUILD_DEPENDS="libxml2-python" +# 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 92bbd9147f9b -r af8d823a3077 jack-audio-connection-kit/receipt --- a/jack-audio-connection-kit/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jack-audio-connection-kit/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev db-dev util-linux-uuid-dev" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk6-jaf/receipt --- a/jdk6-jaf/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk6-jaf/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL" COOK_OPT="!unpack !repack_src !fs" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + BUILD_DEPENDS="wget" # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 92bbd9147f9b -r af8d823a3077 jdk6-jaxp/receipt --- a/jdk6-jaxp/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk6-jaxp/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk6-jaxws/receipt --- a/jdk6-jaxws/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk6-jaxws/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-corba/receipt --- a/jdk7-corba/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-corba/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-hotspot/receipt --- a/jdk7-hotspot/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-hotspot/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-jaf/receipt --- a/jdk7-jaf/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-jaf/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-jaxp/receipt --- a/jdk7-jaxp/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-jaxp/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-jaxws/receipt --- a/jdk7-jaxws/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-jaxws/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jdk7-langtools/receipt --- a/jdk7-langtools/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jdk7-langtools/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 jed/receipt --- a/jed/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/jed/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="slang" BUILD_DEPENDS="slang-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.jedsoft.org/releases/jed/ 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 92bbd9147f9b -r af8d823a3077 kismet/receipt --- a/kismet/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/kismet/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="dbus libnl libpcap ncurses pcre libcap attr" BUILD_DEPENDS="pkg-config libpcap-dev ncurses-dev libnl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/kismet-[0-9]/!d;/tar/!d;s|.*kismet-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 92bbd9147f9b -r af8d823a3077 kobodeluxe/receipt --- a/kobodeluxe/receipt Mon Feb 14 10:09:02 2022 +0100 +++ b/kobodeluxe/receipt Mon Feb 14 14:14:23 2022 +0000 @@ -19,6 +19,13 @@ DEPENDS="libsdl libsdl-image gcc-lib-base" BUILD_DEPENDS="libsdl-dev libsdl-image-dev " +# What is the latest version available today? +current_version() +{ + wget -O - http://www.olofson.net/kobodl/download.html 2>/dev/null | \ + sed 's|>|>\n|g' | sed '/KoboDeluxe-/!d;/tar/!d;s|.*KoboDeluxe-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() {