# HG changeset patch # User Pascal Bellard # Date 1645731136 0 # Node ID b9659e3c211124e36153ddbdb2d255a3b9903838 # Parent 63d5c5001e689e5efed899e56dd7b743d15b71a3 Add some current_version diff -r 63d5c5001e68 -r b9659e3c2111 BootProg/receipt --- a/BootProg/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/BootProg/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -6,9 +6,7 @@ SHORT_DESC="FAT12/16/32 Bootsector for .COMs/.EXEs" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -#TARBALL="$PACKAGE-$VERSION.tar.zip" WEB_SITE="https://wiki.osdev.org/BootProg" -#WGET_URL="$WEB_SITE/archive/refs/heads/master.zip" BUILD_DEPENDS="nasm" diff -r 63d5c5001e68 -r b9659e3c2111 dfbterm/receipt --- a/dfbterm/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/dfbterm/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="directfb lite freetype" BUILD_DEPENDS="directfb-dev lite-dev freetype-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pld-linux/DFBTerm/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/DFBTerm-\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 fbff/receipt --- a/fbff/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/fbff/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="ffmpeg-dev zlib-dev libgnutls" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/shortlog 2>/dev/null | \ + sed '/||;s|/dev/null | \ + sed '/||;s|/dev/null | \ + sed '/||;s|/dev/null | \ + sed '/||;s|/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 gecko-mediaplayer/receipt --- a/gecko-mediaplayer/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/gecko-mediaplayer/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gnome-mplayer dbus-glib gcc-lib-base" BUILD_DEPENDS="firefox-dev dbus-dev dbus-glib-dev nspr-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rstorelli/gecko-mediaplayer/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 git-gui/receipt --- a/git-gui/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/git-gui/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="tk git" BUILD_DEPENDS="$DEPENDS" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/shortlog 2>/dev/null | \ + sed '/||;s|/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { ./configure \ diff -r 63d5c5001e68 -r b9659e3c2111 guichan/receipt --- a/guichan/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/guichan/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libsdl libsdl-image" BUILD_DEPENDS="libsdl-dev libsdl-image-dev mesa-dev" +# What is the latest version available today? +current_version() +{ + wget --no-check-certificate -O - https://gitorious.org/guichan/mainline 2>/dev/null | \ + sed '/table class="tags"/,/table class="heads"/!d;/class="list name"/!d;s|.*">v||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 itaka/receipt --- a/itaka/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/itaka/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="pygtk twisted" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/marcetcheverry/Itaka/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 jnettop/receipt --- a/jnettop/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/jnettop/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="ncurses libpcap libdb" BUILD_DEPENDS="ncurses-dev libpcap-dev pkg-config glib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/jnettop/files/jnettop/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar.gz/!d;s|.*/jnettop-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 kdelibs/receipt --- a/kdelibs/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/kdelibs/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -20,6 +20,13 @@ qca-dev qmake Qt4-dev shared-mime-info-dev soprano-dev strigi-dev udev-dev udisks2-dev udisks2" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/KDE/kdelibs/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 listpatron/receipt --- a/listpatron/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/listpatron/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/fboender/listpatron/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 mozplugger/receipt --- a/mozplugger/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/mozplugger/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libX11" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/unix-junkie/mozplugger/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 murrine-themes/receipt --- a/murrine-themes/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/murrine-themes/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk2-engine-murrine" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Pardus-Kurumsal/murrine-themes/tags 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 63d5c5001e68 -r b9659e3c2111 naim/receipt --- a/naim/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/naim/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jwise/naim/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 63d5c5001e68 -r b9659e3c2111 obfsproxy/receipt --- a/obfsproxy/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/obfsproxy/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libevent libssl" BUILD_DEPENDS="git wget libevent-dev openssl-dev autoconf automake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/isislovecruft/obfsproxy-legacy/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 63d5c5001e68 -r b9659e3c2111 openbox-imlib2/receipt --- a/openbox-imlib2/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/openbox-imlib2/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -20,6 +20,13 @@ BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev \ xorg-libXft-dev util-linux-uuid-dev libxml2-dev imlib2-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 openbox/receipt --- a/openbox/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/openbox/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -29,6 +29,7 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS startup-notification-dev xorg-dev" ;; esac +# What is the latest version available today? current_version() { wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \ diff -r 63d5c5001e68 -r b9659e3c2111 ovz-web-panel/receipt --- a/ovz-web-panel/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/ovz-web-panel/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="ruby-enterprise sqlite3-ruby" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Bickets/ovz-web-panel/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 pdnsd/receipt --- a/pdnsd/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/pdnsd/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kwarunek/pdnsd/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 polkit-qt/receipt --- a/polkit-qt/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/polkit-qt/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="polkit" BUILD_DEPENDS="qmake Qt4-dev automoc4 polkit-dev libgio-dev glib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/KDE/polkit-qt-1/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 puppet-dashboard/receipt --- a/puppet-dashboard/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/puppet-dashboard/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ruby puppet" BUILD_DEPENDS="ruby-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/sodabrew/puppet-dashboard/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 63d5c5001e68 -r b9659e3c2111 py3k-dbus/receipt --- a/py3k-dbus/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/py3k-dbus/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="py3k" BUILD_DEPENDS="dbus-dev py3k-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/freedesktop/dbus-python/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 63d5c5001e68 -r b9659e3c2111 python-cherrypy/receipt --- a/python-cherrypy/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/python-cherrypy/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/cherrypy/cherrypy/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 python-cssutils/receipt --- a/python-cssutils/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/python-cssutils/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jaraco/cssutils/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 pywebkitgtk/receipt --- a/pywebkitgtk/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/pywebkitgtk/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libwebkit pygtk libxslt" BUILD_DEPENDS="libwebkit-dev pygtk-dev libxslt-dev python-dev util-linux-uuid-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jmalonzo/pywebkitgtk/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 63d5c5001e68 -r b9659e3c2111 qtpanel/receipt --- a/qtpanel/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/qtpanel/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libQtGui xorg-libXdamage xorg-libXcomposite" BUILD_DEPENDS="wget cacerts Qt4-dev qmake cmake" +# What is the latest version available today? +current_version() +{ + wget --no-check-certificate -O - 'https://gitorious.org/qtpanel/qtpanel?p=qtpanel:qtpanel.git;a=shortlog' 2>/dev/null | \ + sed '/td title/!d;s|.*||;s|<.*||;s|-||g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 qtwitter/receipt --- a/qtwitter/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/qtwitter/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -15,6 +15,13 @@ libQtOpenGL libQtSql libQtWebkit qoauth qca" BUILD_DEPENDS="qmake xorg-dev dbus-dev Qt4-dev qoauth qca-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ayoy/qtwitter/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 rubygems/receipt --- a/rubygems/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/rubygems/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -18,6 +18,13 @@ HOST_ARCH="i486 arm" # ARM: ruby-dev libruby-extras build host must be installed +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rubygems/rubygems/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 secure-delete/receipt --- a/secure-delete/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/secure-delete/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/cryptisk-grs/thc-secure-delete/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 stoq/receipt --- a/stoq/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/stoq/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho" BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib" +# 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 63d5c5001e68 -r b9659e3c2111 vidalia/receipt --- a/vidalia/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/vidalia/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="tor libQtGui libQtXml libegl-mesa" BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/BrentonEarl/vidalia/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 63d5c5001e68 -r b9659e3c2111 visualnqc/receipt --- a/visualnqc/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/visualnqc/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="nqc" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/BrickBot/VisualNQC/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 xbattle/receipt --- a/xbattle/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/xbattle/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="xorg" BUILD_DEPENDS="xorg-imake xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/mikemayer67/xbattle/master/README 2>/dev/null | \ + sed '/^XBATTLE/!d;s|XBATTLE ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 63d5c5001e68 -r b9659e3c2111 zonecheck/receipt --- a/zonecheck/receipt Thu Feb 24 15:42:47 2022 +0100 +++ b/zonecheck/receipt Thu Feb 24 19:32:16 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ruby" BUILD_DEPENDS="rubygems" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/sdelafond/zonecheck/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() {