# HG changeset patch # User Pascal Bellard # Date 1647282189 0 # Node ID b7f1bd1b9ac718c78845e646271b40433c002e18 # Parent 146694a9ddfa780853ee978ec7f4c8f1e975ca1c Add some current_version diff -r 146694a9ddfa -r b7f1bd1b9ac7 ntk/receipt --- a/ntk/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/ntk/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -20,6 +20,13 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS git python" esac +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/falkTX/ntk/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 picoblog/receipt --- a/picoblog/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/picoblog/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="php" +# What is the latest version available today? +current_version() +{ + wget -O - $WGET_URL 2> /dev/null | \ + sed '/const VERSION/!d;s|.*= [^0-9]||;s|[^0-9\.].*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 pypar2/receipt --- a/pypar2/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/pypar2/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="pygtk par2 python-pyxml python-vte" BUILD_DEPENDS="findutils" +# What is the latest version available today? +current_version() +{ + wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \ + sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 python-ecore/receipt --- a/python-ecore/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/python-ecore/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="ecore-dev python-dev python-cython autoconf automake git \ subversion libtool file" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/python-ecore/ 2>/dev/null | \ + sed '/python-ecore [0-9]/!d;s|.*re ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 python-edje/receipt --- a/python-edje/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/python-edje/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="file edje-dev python-evas-dev \ python-cython autoconf automake git subversion libtool libxml2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/python-edje/ 2>/dev/null | \ + sed '/python-edje [0-9]/!d;s|.*je ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 python-elementary/receipt --- a/python-elementary/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/python-elementary/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="elementary-dev python-evas-dev python-cython \ autoconf automake git subversion libtool file" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/python-elementary/ 2>/dev/null | \ + sed '/python-elementary [0-9]/!d;s|.*ry ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 qemu-light/receipt --- a/qemu-light/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/qemu-light/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -17,6 +17,12 @@ BUILD_DEPENDS="perl alsa-lib-dev libsdl-dev util-linux-uuid-dev python \ libgio-dev glib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://qemu.org/ 2>/dev/null | sed '/tar..z/!d;s|.*">||;s|/dev/null | \ + sed '/Latest version/!d;s|.*is ||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 rgzip/receipt --- a/rgzip/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/rgzip/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="busybox" # gzip TAGS="compression" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/[0-9], [12][0-9]/!d;s|.*|"&"|' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 sawman/receipt --- a/sawman/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/sawman/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="directfb" BUILD_DEPENDS="directfb-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/schenkmi/DirectFB/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 scratch/receipt --- a/scratch/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/scratch/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,15 @@ DEPENDS="pango shared-mime-info squeak-vm" BUILD_DEPENDS="pango-dev shared-mime-info-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/redshaderobotics?tab=repositories 2>/dev/null | \ + sed '/-linux/!d;/codeRepository/!d;s|.*href="|https://github.com/|;s|".*|/releases|' | \ + sort -Vr | sed q | xargs wget -O - 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 sheerdns/receipt --- a/sheerdns/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/sheerdns/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="${WEB_SITE}$TARBALL" CONFIG_FILES="/var/sheerdns" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/taraszka/sheerdns-ng/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 slim-theme-clean/receipt --- a/slim-theme-clean/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/slim-theme-clean/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="slim" BUILD_DEPENDS="imagemagick" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/roqstr/blurry-clean/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 smx/receipt --- a/smx/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/smx/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="apache-dev apr-dev apr-util-dev unixODBC-dev \ sqlite libgd-dev openssl-dev perl libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/earonesty/smx/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 snort-mysql/receipt --- a/snort-mysql/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/snort-mysql/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="pcre-dev libpcap-dev libdaq-dev libdnet-dev wget zlib-dev \ mysql-dev flex" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.snort.org/downloads 2>/dev/null | \ + sed '/tar.gz/!d;/snort[0-9]*-[0-9]/!d;s|.*snort[0-9]*-||;s|.t.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 stoqlib/receipt --- a/stoqlib/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/stoqlib/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \ psycopg2 stoqdrivers python-pil python-reportlab python-dateutil" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/stoq/stoq/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 trafshow/receipt --- a/trafshow/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/trafshow/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses libpcap" BUILD_DEPENDS="ncurses-dev libpcap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://fossies.org/linux/misc/old/ 2>/dev/null | \ + sed '/trafshow-/!d;s|.*trafshow-||;s|.t.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 ttf-inconsolata-dz/receipt --- a/ttf-inconsolata-dz/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/ttf-inconsolata-dz/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://media.nodnod.net/Inconsolata-dz.otf.zip" TAGS="font otf" +# What is the latest version available today? +current_version() +{ + wget -O - https://nodnod.net/posts/inconsolata-dz/ 2>/dev/null | \ + sed '/Update/!d;s|.*Update |"|;s|:.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 ubuntu-font-family/receipt --- a/ubuntu-font-family/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/ubuntu-font-family/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.zip" WGET_URL="https://assets.ubuntu.com/v1/0cef8205-$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://design.ubuntu.com/font/ 2>/dev/null | \ + gunzip | sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 ufr2/receipt --- a/ufr2/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/ufr2/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="cups cairo cndrvcups-common cups" BUILD_DEPENDS="autoconf automake cairo-dev gtk+-dev cndrvcups-common-dev cups-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/vicamo/cndrvcups-lb/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 146694a9ddfa -r b7f1bd1b9ac7 umplayer-svn/receipt --- a/umplayer-svn/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/umplayer-svn/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="mplayer libQtCore libQtGui libQtXml" BUILD_DEPENDS="subversion qt4 Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/p/umplayer/code/HEAD/tree/ 2>/dev/null | \ + sed '/umplayer\/code\/[0-9]/!d;s|.*code/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 varka/receipt --- a/varka/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/varka/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+3" BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala" +# What is the latest version available today? +current_version() +{ + wget -O - https://code.launchpad.net/varka 2>/dev/null | \ + sed '/varka\/[0-9]/!d;s|.*varka/||;s|/files.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 webkit-r/receipt --- a/webkit-r/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/webkit-r/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -20,6 +20,13 @@ gst-plugins-base-dev gstreamer-dev util-linux-uuid-dev \ jpeg-dev libjpeg libpng-dev pango-dev gtk+-dev orc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://svn.webkit.org/repository/webkit/ 2>/dev/null | \ + sed '/rev="[0-9]/!d;s|.*rev="||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 wvstreams/receipt --- a/wvstreams/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/wvstreams/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ppp libssl xplc readline" BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev bash" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/apenwarr/wvstreams/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 146694a9ddfa -r b7f1bd1b9ac7 xfce-utils/receipt --- a/xfce-utils/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/xfce-utils/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \ util-linux-uuid-dev dbus-glib-dev libxfcegui4-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://gitlab.xfce.org/xfce/libxfce4util/-/tags?sort=updated_desc 2>/dev/null | \ + sed '/item-title/!d;s|.*util-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 146694a9ddfa -r b7f1bd1b9ac7 xstroke/receipt --- a/xstroke/receipt Mon Mar 14 17:50:02 2022 +0100 +++ b/xstroke/receipt Mon Mar 14 18:23:09 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="xorg-libX11" BUILD_DEPENDS="xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/jeevesmkii/xstroke/master/NEWS 2>/dev/null | \ + sed '/^xstroke-/!d;s|xstroke-||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() {