# HG changeset patch # User Pascal Bellard # Date 1644691351 0 # Node ID ad8b9ff412d2e26c3c15cde2f6fcdbe643317018 # Parent ec0d5b9e9b24eef9bee7fd67cf2749ea4ef58ea8 Add some current_version diff -r ec0d5b9e9b24 -r ad8b9ff412d2 a2ps/receipt --- a/a2ps/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/a2ps/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r ec0d5b9e9b24 -r ad8b9ff412d2 chemtool/receipt --- a/chemtool/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/chemtool/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev xorg-xproto" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\),.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 cocoalib/receipt --- a/cocoalib/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/cocoalib/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -17,6 +17,13 @@ libboost-iostreams-dev libboost-system-dev libboost-thread-dev libboost-tr1-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/d;/CoCoALib-[0-9]/!d;/tgz/!d;s|.*CoCoALib-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 collectd/receipt --- a/collectd/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/collectd/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/collectd/collectd.conf" +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 cryptopp/receipt --- a/cryptopp/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/cryptopp/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -8,9 +8,16 @@ LICENSE="MIT PublicDomain" WEB_SITE="https://www.cryptopp.com" -TARBALL="${PACKAGE}800.zip" +TARBALL="${PACKAGE}${VERSION//./}.zip" WGET_URL="$WEB_SITE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/cryptopp[0-9]*.zip/!d;s|.*cryptopp\(.*\).zip.*|\1|;s|.|&.|g;s|.$||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 doxygen/receipt --- a/doxygen/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/doxygen/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="bison cmake flex gcc83 python" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/doxygen/doxygen/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/Release_\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 dvd+rw-tools/receipt --- a/dvd+rw-tools/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/dvd+rw-tools/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="cdrkit" BUILD_DEPENDS="cdrkit gcc-lib-base m4" +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 echinus/receipt --- a/echinus/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/echinus/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev xorg-libXrandr-dev" DEPENDS="xorg-libX11 xorg-libXft" +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 evilvte/receipt --- a/evilvte/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/evilvte/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ ncurses vte" BUILD_DEPENDS="gtk+-dev ncurses-dev vte-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 exiftool/receipt --- a/exiftool/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/exiftool/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 fdutils/receipt --- a/fdutils/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/fdutils/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="flex" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/download.html 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 feh/receipt --- a/feh/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/feh/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -19,6 +19,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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 fslint/receipt --- a/fslint/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/fslint/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ python libglade pygtk findutils cpio" BUILD_DEPENDS="gettext" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pixelb/fslint/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 ftp-proxy/receipt --- a/ftp-proxy/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/ftp-proxy/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -7,7 +7,7 @@ SHORT_DESC="Application level proxy for the FTP protocol." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="ftp://ftp.suse.com/pub/projects/proxy-suite/src" +WEB_SITE="http://ftp.suse.com/pub/projects/proxy-suite/src" TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/$TARBALL" CONFIG_FILES="/etc/proxy-suite/ftp-proxy.conf" @@ -15,6 +15,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 getmail/receipt --- a/getmail/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/getmail/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-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 ec0d5b9e9b24 -r ad8b9ff412d2 gweled/receipt --- a/gweled/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/gweled/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ librsvg libmikmod" BUILD_DEPENDS="wget intltool gtk+-dev librsvg-dev libmikmod-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 ec0d5b9e9b24 -r ad8b9ff412d2 ipset/receipt --- a/ipset/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/ipset/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libmnl" BUILD_DEPENDS="libltdl libmnl-dev linux-module-headers pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/install.html 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 jhead/receipt --- a/jhead/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/jhead/receipt Sat Feb 12 18:42:31 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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 john/receipt --- a/john/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/john/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -18,6 +18,13 @@ #PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz" #EXTRA_SOURCE_FILES="$PATCH" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/openwall/john/tags 2>/dev/null | \ + sed '/archive.*tar/!d;/tags\/[0-9\.]*.tar/!d;s|.*/\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 jpegtran/receipt --- a/jpegtran/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/jpegtran/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/current version is release/!d;s|.*release ||;s| of.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 jpilot/receipt --- a/jpilot/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/jpilot/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ gettext pilot-link" BUILD_DEPENDS="gtk+-dev gettext pilot-link-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/latest/d;/release-/!d;s|.*/release-||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 jwm/receipt --- a/jwm/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/jwm/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -28,6 +28,13 @@ DEPENDS="$DEPENDS compton nano" ;; esac +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 keepalived/receipt --- a/keepalived/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/keepalived/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libnl libssl" BUILD_DEPENDS="glib libnl-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Release [0-9]/!d;s|.*elease ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 leptonica/receipt --- a/leptonica/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/leptonica/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="autoconf automake giflib-dev jpeg-dev libpng-dev libtool tiff-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/DanBloomberg/leptonica/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 libdbusmenu-qt/receipt --- a/libdbusmenu-qt/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/libdbusmenu-qt/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="dbus" BUILD_DEPENDS="cmake qmake Qt4-dev libQtCore libQtDBus libQtGui dbus-dev wget" +# 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.*||" +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 libnetfilter_conntrack/receipt --- a/libnetfilter_conntrack/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/libnetfilter_conntrack/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libmnl libnfnetlink" BUILD_DEPENDS="libmnl-dev libnfnetlink-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.netfilter.org/pub/libnetfilter_conntrack/ 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 ec0d5b9e9b24 -r ad8b9ff412d2 libotr/receipt --- a/libotr/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/libotr/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Allows you to have private conversations over messenger." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2 LGPL2.1" -WEB_SITE="https://www.cypherpunks.ca/otr/" +WEB_SITE="https://otr.cypherpunks.ca/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE$TARBALL" @@ -14,6 +14,13 @@ DEPENDS="libgcrypt libgpg-error" BUILD_DEPENDS="libgcrypt-dev libgpg-error-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 lutris/receipt --- a/lutris/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/lutris/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="py3k python-xdg pygobject python-pyyaml libsoup" BUILD_DEPENDS="py3k python-setuptools python-xdg" +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 memtester/receipt --- a/memtester/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/memtester/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -17,6 +17,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 ec0d5b9e9b24 -r ad8b9ff412d2 micro_proxy/receipt --- a/micro_proxy/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/micro_proxy/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -11,6 +11,14 @@ TARBALL="${PACKAGE}_14Aug2014.tar.gz" WGET_URL="${WEB_SITE}$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | \ + sort -Vr | sed q | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 modsecurity-apache/receipt --- a/modsecurity-apache/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/modsecurity-apache/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="apache-dev apr-dev apr-util-dev curl-dev libxml2-dev \ pcre-dev util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/SpiderLabs/ModSecurity/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 monitorix/receipt --- a/monitorix/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/monitorix/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -16,6 +16,13 @@ perl-libwww perl-mailtools perl-mime-lite perl-xml-simple rrdtool-perl" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mikaku/Monitorix/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 mosh/receipt --- a/mosh/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/mosh/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="libcrypto-dev ncursesw-dev openssl-dev pkg-config protobuf-dev \ zlib-dev automake 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 ec0d5b9e9b24 -r ad8b9ff412d2 msmtp/receipt --- a/msmtp/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/msmtp/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libssl" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://marlam.de/msmtp/download/ 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 ec0d5b9e9b24 -r ad8b9ff412d2 nagvis/receipt --- a/nagvis/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/nagvis/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ SUGGESTED="graphviz" DEPENDS="mk-livestatus nagios ndoutils php-gd php-mysql" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/has been released/!d;s|.*NagVis ||;s| has been.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 nasm/receipt --- a/nasm/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/nasm/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/releasebuilds/!d;s|.*releasebuilds/||;s|/.*||;/[0-9]/!d;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 ntl/receipt --- a/ntl/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/ntl/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="gcc83 gcc83-lib-base gf2x-dev glibc-dev gmp-dev libtool perl" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/libntl/ntl/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 ntpclient/receipt --- a/ntpclient/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/ntpclient/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="${WEB_SITE}$TARBALL" 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 ec0d5b9e9b24 -r ad8b9ff412d2 nvclock/receipt --- a/nvclock/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/nvclock/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="autoconf automake" +# 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 ec0d5b9e9b24 -r ad8b9ff412d2 openmpi/receipt --- a/openmpi/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/openmpi/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc gfortran libtool openssh valgrind" BUILD_DEPENDS="$DEPENDS file valgrind-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Open MPI v[0-9\.]* released/!d;s|.*Open MPI v||;s| released.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 openvswitch/receipt --- a/openvswitch/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/openvswitch/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libssl zlib py3k bash" BUILD_DEPENDS="openssl-dev zlib-dev py3k" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.openvswitch.org/download/ 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 ec0d5b9e9b24 -r ad8b9ff412d2 pidgin-otr/receipt --- a/pidgin-otr/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/pidgin-otr/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="glib-dev gtk+-dev intltool libgcrypt-dev libgpg-error-dev libotr-dev libpurple-dev pidgin-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 pjsip/receipt --- a/pjsip/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/pjsip/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libssl opus" BUILD_DEPENDS="python-dev openssl-dev opus-dev alsa-lib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pjsip/pjproject/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 pngquant/receipt --- a/pngquant/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/pngquant/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="lcms2 libpng" BUILD_DEPENDS="lcms2-dev libpng-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kornelski/pngquant/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 primateplunge/receipt --- a/primateplunge/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/primateplunge/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libsdl-mixer" BUILD_DEPENDS="libsdl-mixer-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 ec0d5b9e9b24 -r ad8b9ff412d2 pxz/receipt --- a/pxz/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/pxz/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="liblzma libgomp" BUILD_DEPENDS="liblzma-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/node3.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 ec0d5b9e9b24 -r ad8b9ff412d2 python-aeroolib/receipt --- a/python-aeroolib/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/python-aeroolib/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="wget python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Latest version is /!d;s|.* is ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 python-pyrex/receipt --- a/python-pyrex/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/python-pyrex/receipt Sat Feb 12 18:42:31 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 ec0d5b9e9b24 -r ad8b9ff412d2 retty/receipt --- a/retty/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/retty/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 sockets/receipt --- a/sockets/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/sockets/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="e2fsprogs-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version/!d;s|version ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 stfl/receipt --- a/stfl/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/stfl/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -12,6 +12,13 @@ BUILD_DEPENDS="ncursesw-dev swig python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 stuntman/receipt --- a/stuntman/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/stuntman/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc-lib-base libcrypto zlib" BUILD_DEPENDS="libboost-dev openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/stunserver-[0-9]/!d;s|.*stunserver-\(.*\).tgz.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r ec0d5b9e9b24 -r ad8b9ff412d2 thttpd/receipt --- a/thttpd/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/thttpd/receipt Sat Feb 12 18:42:31 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 ec0d5b9e9b24 -r ad8b9ff412d2 xautolock/receipt --- a/xautolock/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/xautolock/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libXss libxcb xlockmore" BUILD_DEPENDS="xorg-imake xorg-libXScrnSaver-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 ec0d5b9e9b24 -r ad8b9ff412d2 xgalaga++/receipt --- a/xgalaga++/receipt Sat Feb 12 17:34:21 2022 +0100 +++ b/xgalaga++/receipt Sat Feb 12 18:42:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXpm" BUILD_DEPENDS="xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() {