# HG changeset patch # User Pascal Bellard # Date 1644757782 0 # Node ID 2a0479881723c0145b89cb823628e5ddcceae62f # Parent 5f0a41dd58c134854566583fc718dc455e3725dd Add some current_version diff -r 5f0a41dd58c1 -r 2a0479881723 caps/receipt --- a/caps/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/caps/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - http://quitte.de/dsp/caps.html 2>/dev/null | \ + sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cd-discid/receipt --- a/cd-discid/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cd-discid/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ 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-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cddetect/receipt --- a/cddetect/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cddetect/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://www.bellut.net/files/$TARBALL" TAGS="CD DVD" +# 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 5f0a41dd58c1 -r 2a0479881723 chmlib/receipt --- a/chmlib/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/chmlib/receipt Sun Feb 13 13:09:42 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 5f0a41dd58c1 -r 2a0479881723 chocolate-doom/receipt --- a/chocolate-doom/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/chocolate-doom/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net" BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev libsdl2-net-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/chocolate-doom/chocolate-doom/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 5f0a41dd58c1 -r 2a0479881723 ckermit/receipt --- a/ckermit/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/ckermit/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/^[0-9]/!d;s|||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 clonezilla/receipt --- a/clonezilla/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/clonezilla/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -15,6 +15,13 @@ coreutils-disk coreutils-redirection util-linux-setterm parted" 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 5f0a41dd58c1 -r 2a0479881723 cmake/receipt --- a/cmake/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cmake/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base libidn openssl" BUILD_DEPENDS="gcc83 gcc83-lib-base ncurses-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/d;/-rc/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-av.*\".*|\\1|;s|-|.|g" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cmix/receipt --- a/cmix/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cmix/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/byronknoll/cmix/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() diff -r 5f0a41dd58c1 -r 2a0479881723 collectd-bind/receipt --- a/collectd-bind/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/collectd-bind/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="libcurl libxml2" BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-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 5f0a41dd58c1 -r 2a0479881723 compface/receipt --- a/compface/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/compface/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,6 +12,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 5f0a41dd58c1 -r 2a0479881723 conky-theme-onsea/receipt --- a/conky-theme-onsea/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/conky-theme-onsea/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -20,6 +20,13 @@ BAK_DIR=".conky-backup" BAK_FILE="old_conkyrc" +# 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 5f0a41dd58c1 -r 2a0479881723 connman/receipt --- a/connman/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/connman/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -18,6 +18,13 @@ iptables-dev libgnutls libnl-dev ncursesw-dev openconnect openvpn ppp-dev readline-dev udev-dev wpa_supplicant" +# 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 5f0a41dd58c1 -r 2a0479881723 coova-chilli/receipt --- a/coova-chilli/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/coova-chilli/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libssl curl libidn" BUILD_DEPENDS="openssl-dev curl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/coova/coova-chilli/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cpige/receipt --- a/cpige/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cpige/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -15,7 +15,6 @@ DEPENDS="gtk+" BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev" - # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cppunit/receipt --- a/cppunit/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cppunit/receipt Sun Feb 13 13:09:42 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 5f0a41dd58c1 -r 2a0479881723 cpuspeed/receipt --- a/cpuspeed/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cpuspeed/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,11 +12,18 @@ WGET_URL="https://www.carlthompson.net/downloads/$PACKAGE/$TARBALL" TAGS="power-management" +# 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() { - cd $src - make +compile_rules() +{ + cd $src + make } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 5f0a41dd58c1 -r 2a0479881723 cromfs/receipt --- a/cromfs/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cromfs/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="fuse lzma lzo libgomp" BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl" +# 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 5f0a41dd58c1 -r 2a0479881723 cups-filters/receipt --- a/cups-filters/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cups-filters/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \ cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-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 5f0a41dd58c1 -r 2a0479881723 cyrus-imapd/receipt --- a/cyrus-imapd/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cyrus-imapd/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/imapd.conf /etc/cyrus.conf" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/cyrusimap/cyrus-imapd/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cyrus-sasl-pam/receipt --- a/cyrus-sasl-pam/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cyrus-sasl-pam/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam" BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 cyrus-sasl/receipt --- a/cyrus-sasl/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/cyrus-sasl/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl" BUILD_DEPENDS="db-dev openldap-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 dciutil/receipt --- a/dciutil/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/dciutil/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="file glib-dev libdrm-dev libtool libusb-dev pkg-config python-dev udev-dev xorg-dev xorg-xrandr" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s| .*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 exiv2/receipt --- a/exiv2/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/exiv2/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://exiv2.org/download.html 2>/dev/null | \ + sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 fping/receipt --- a/fping/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/fping/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}dist/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/schweikert/fping/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 frozen-bubble/receipt --- a/frozen-bubble/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/frozen-bubble/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl" BUILD_DEPENDS="perl-locale-gettext gettext glib-dev libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-net-dev freetype-dev libsdl-ttf-dev libsdl-mixer-dev libsdl-pango-dev libsmpeg-dev pkg-config libsdl-perl mesa-dev glibc-locale" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.frozen-bubble.org/downloads/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/beta/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 geany-plugins/receipt --- a/geany-plugins/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/geany-plugins/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -21,6 +21,13 @@ BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev vte-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 5f0a41dd58c1 -r 2a0479881723 kamailio/receipt --- a/kamailio/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/kamailio/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -19,6 +19,13 @@ CONFIG_FILES="/etc/kamailio" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.kamailio.org/pub/kamailio/latest/src/ 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 5f0a41dd58c1 -r 2a0479881723 krb5/receipt --- a/krb5/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/krb5/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/krb5" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Current release/!d;/.*krb5-[0-9]/!d;s|.*>krb5-||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 libedit/receipt --- a/libedit/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/libedit/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gettext ncurses-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-[0-9]*-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 libpthread-stubs/receipt --- a/libpthread-stubs/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/libpthread-stubs/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="$WEB_SITE/dist/$TARBALL" 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 5f0a41dd58c1 -r 2a0479881723 logsurfer/receipt --- a/logsurfer/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/logsurfer/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://www.crypt.gen.nz/logsurfer/" WGET_URL="$WEB_SITE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Logsurfer .* Features/!d;/div/d;s|.*Logsurfer ||;s| Features.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 megatools/receipt --- a/megatools/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/megatools/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glib libcurl openssl gmp" BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-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 5f0a41dd58c1 -r 2a0479881723 mpfr/receipt --- a/mpfr/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/mpfr/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.mpfr.org/mpfr-current/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib #--with-gmp-include=/cross/$ARCH/sysroot/usr/include diff -r 5f0a41dd58c1 -r 2a0479881723 nathive/receipt --- a/nathive/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/nathive/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ python" BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.nathive.org/download 2>/dev/null | \ + sed '/ource tarball/d;/.*nathive-[0-9]/!d;/tgz/!d;s|.*nathive-||;s|.tgz.*||;/-/d;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 nmap/receipt --- a/nmap/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/nmap/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -17,6 +17,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 5f0a41dd58c1 -r 2a0479881723 nut/receipt --- a/nut/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/nut/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \ neon-dev openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/networkupstools/nut/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 openal/receipt --- a/openal/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/openal/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="gcc83-lib-base libatomic" BUILD_DEPENDS="cmake gcc83 libatomic" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/OpenAL Soft [0-9]/!d;s|.*OpenAL Soft ||;s| is.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 openttd-opengfx/receipt --- a/openttd-opengfx/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/openttd-opengfx/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL" PROVIDE="opengfx" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 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 5f0a41dd58c1 -r 2a0479881723 pan/receipt --- a/pan/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/pan/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="cairo gcc-lib-base glibc-base gmime gtk+ gtkspell pcre" BUILD_DEPENDS="gettext glib-dev gmime-dev gtk+-dev gtkspell-dev intltool itstool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/\/releases\//!d;s|.*releases/||;s|/source.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 perdition-pam/receipt --- a/perdition-pam/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/perdition-pam/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Fully featured POP3 and IMAP4 proxy server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.vergenet.net/linux/perdition" +WEB_SITE="https://projects.horms.net/projects/perdition" SOURCE="perdition" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -19,6 +19,13 @@ openldap-dev pam pam-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev" CONFIG_FILES="/etc/perdition" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 perdition/receipt --- a/perdition/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/perdition/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Fully featured POP3 and IMAP4 proxy server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.vergenet.net/linux/$PACKAGE" +WEB_SITE="https://projects.horms.net/projects/perdition" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/perdition" BUGS="Very slow: more than 10 seconds for login with squirrelmail, why ?" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 radvd/receipt --- a/radvd/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/radvd/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/radvd.conf" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/radvd-project/radvd/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 samba/receipt --- a/samba/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/samba/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -19,6 +19,13 @@ DEPENDS="libldap samba-common glibc-base ncursesw popt zlib cifs-utils acl \ krb5 libcups" +# 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 5f0a41dd58c1 -r 2a0479881723 scilab/receipt --- a/scilab/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/scilab/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -17,6 +17,13 @@ hdf5-dev lapack libxml2-dev matio-dev ncursesw-dev ocaml pcre-dev \ pkg-config tcl-dev tk-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed 's|>|>\n|g' | sed '/\/download\//!d;s|.*scilab-||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 unifont/receipt --- a/unifont/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/unifont/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.ttf" WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*/*} 2>/dev/null | \ + sed '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 usb-modeswitch/receipt --- a/usb-modeswitch/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/usb-modeswitch/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="libusb" BUILD_DEPENDS="libusb-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 5f0a41dd58c1 -r 2a0479881723 vanessa_adt/receipt --- a/vanessa_adt/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/vanessa_adt/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="vanessa_logger" BUILD_DEPENDS="vanessa_logger-dev vanessa_logger" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/\/vanessa_adt\//!d;s|.*vanessa_adt/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 vanessa_logger/receipt --- a/vanessa_logger/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/vanessa_logger/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,6 +12,13 @@ BUILD_DEPENDS="file" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/\/vanessa_logger\//!d;s|.*vanessa_logger/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 5f0a41dd58c1 -r 2a0479881723 wmctrl/receipt --- a/wmctrl/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/wmctrl/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="glib" BUILD_DEPENDS="glib-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 5f0a41dd58c1 -r 2a0479881723 xa/receipt --- a/xa/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/xa/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -12,6 +12,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}dists/$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 5f0a41dd58c1 -r 2a0479881723 xcircuit/receipt --- a/xcircuit/receipt Sun Feb 13 07:06:09 2022 +0100 +++ b/xcircuit/receipt Sun Feb 13 13:09:42 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="cairo tcl tk xorg-libXpm zlib" BUILD_DEPENDS="automake cairo-dev tcl-dev tk-dev xorg-libXpm-dev xorg-libXt-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;s|.*$PACKAGE-||;s|.t.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() {