# HG changeset patch # User Pascal Bellard # Date 1645099366 0 # Node ID 535c806240cc2d94ad401c4ac990ec0ca96085d6 # Parent 44b38e4dce38b487360f8e3aba0a87be0b50b1fd Add some current_version diff -r 44b38e4dce38 -r 535c806240cc 8086tiny/receipt --- a/8086tiny/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/8086tiny/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -20,6 +20,13 @@ arm*) BUILD_DEPENDS="libsdl-dev" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/adriancable/8086tiny/commits/master 2>/dev/null | \ + sed '/Revision/!d;s|.*sion ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc dargui/receipt --- a/dargui/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/dargui/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,14 @@ DEPENDS="at bash dar gtk+ xterm" BUILD_DEPENDS="gettext-tools" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/dargui/files/dargui/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/dargui/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc dega/receipt --- a/dega/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/dega/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsdl" BUILD_DEPENDS="nasm libsdl-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 44b38e4dce38 -r 535c806240cc esound/receipt --- a/esound/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/esound/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,15 @@ DEPENDS="audiofile alsa-lib" BUILD_DEPENDS="audiofile-dev alsa-lib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$( \ + wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ + sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||') 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc ez-ipupdate/receipt --- a/ez-ipupdate/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/ez-ipupdate/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -11,6 +11,14 @@ WGET_URL="${WEB_SITE}dist/$TARBALL" TAGS="DNS" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ez-ipupdate/files/ez-ipupdate/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ez-ipupdate/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc fbgrab/receipt --- a/fbgrab/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/fbgrab/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="libpng-dev zlib-dev" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/GunnarMonell/fbgrab/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc icewm-xdgmenu/receipt --- a/icewm-xdgmenu/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/icewm-xdgmenu/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -1,19 +1,26 @@ # SliTaz package receipt. PACKAGE="icewm-xdgmenu" -VERSION="0.7.6" +VERSION="0.7.6-9" CATEGORY="x-window" SHORT_DESC="icewm App-Menu generator (pl/py-free version)" MAINTAINER="psychomaniak@xakep.ru" LICENSE="GPL2" WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680" -SOURCE="xdg_puppy-0.7.6-9.tar.bz2" -TARBALL=$SOURCE +SOURCE="xdg_puppy" +TARBALL="$SOURCE-$VERSION.tar.bz2" WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL" DEPENDS="gnome-menus slitaz-menus icewm" BUILD_DEPENDS="gnome-menus gnome-menus-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-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc icinga/receipt --- a/icinga/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/icinga/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Icinga/icinga2/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc libarchive/receipt --- a/libarchive/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/libarchive/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev \ openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/libarchive/libarchive/releases 2>/dev/null | \ + sed '/libarchive-[0-9]/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc libee/receipt --- a/libee/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/libee/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -6,13 +6,20 @@ SHORT_DESC="An Event Expression Library inspired by CEE" MAINTAINER="erjo@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://web.archive.org/web/20181206220018/http://www.libee.org/" +WEB_SITE="http://www.libee.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.libee.org/files/download/$TARBALL" DEPENDS="libestr" BUILD_DEPENDS="libestr-dev automake" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.libee.org/download/ 2>/dev/null | \ + sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc lionwiki/receipt --- a/lionwiki/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/lionwiki/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -7,13 +7,20 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="https://web.archive.org/web/20180705201748/http://lionwiki.0o.cz/index.php?page=Main+page" +WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page" WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL" CONFIG_FILES="/var/www/lionwikiss/config.php" HOST_ARCH="any" DEPENDS="lighttpd php" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed 's||&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc monkey/receipt --- a/monkey/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/monkey/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="necrophcodr@necrophcodr.me" LICENSE="APL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://web.archive.org/web/20200229054452/http://monkey-project.com/" +WEB_SITE="http://monkey-project.com/" WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL" DEPENDS="" BUILD_DEPENDS="findutils" +# What is the latest version available today? +current_version() +{ + wget -O - http://monkey-project.com/downloads/ 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 44b38e4dce38 -r 535c806240cc net-tools/receipt --- a/net-tools/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/net-tools/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://web.archive.org/web/20130512153334if_/http://www.tazenda.demon.co.uk/phil/net-tools" WGET_URL="$WEB_SITE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/net-tools/files/ 2>/dev/null | \ + sed '/scope="row/!d;/net-tools-/!d;s|.*/net-tools-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc obex-data-server/receipt --- a/obex-data-server/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/obex-data-server/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="D-Bus service providing high-level OBEX functionality." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://web.archive.org/web/20181010135741/http://wiki.muiline.com/obex-data-server" +WEB_SITE="http://wiki.muiline.com/obex-data-server" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/software/$TARBALL" TAGS="bluetooth" @@ -14,6 +14,13 @@ DEPENDS="libusb dbus-glib bluez" BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-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 44b38e4dce38 -r 535c806240cc rsh/receipt --- a/rsh/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/rsh/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="ncurses-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 44b38e4dce38 -r 535c806240cc sgmixer/receipt --- a/sgmixer/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/sgmixer/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|
  • |\n&|g' | \ + 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 44b38e4dce38 -r 535c806240cc sharedance/receipt --- a/sharedance/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/sharedance/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libevent" BUILD_DEPENDS="libevent-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 44b38e4dce38 -r 535c806240cc spandsp/receipt --- a/spandsp/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/spandsp/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://web.archive.org/web/20190804211734/https://www.soft-switch.org/" +WEB_SITE="https://www.soft-switch.org/" WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL" DEPENDS="tiff zlib jpeg" BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.soft-switch.org/downloads/spandsp/ 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 44b38e4dce38 -r 535c806240cc squidguard/receipt --- a/squidguard/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/squidguard/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -8,11 +8,18 @@ LICENSE="GPL" SOURCE="squidGuard" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://web.archive.org/web/20190123164915/http://www.squidguard.org/" +WEB_SITE="http://www.squidguard.org/" WGET_URL="${WEB_SITE}Downloads/$TARBALL" DEPENDS="squid libdb" BUILD_DEPENDS="db-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 44b38e4dce38 -r 535c806240cc warmux/receipt --- a/warmux/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/warmux/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Warmux game" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" -WEB_SITE="https://www.wormux.org/" +WEB_SITE="https://www.warmux.org/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="http://download.gna.org/warmux/$TARBALL" PROVIDE="wormux" @@ -18,6 +18,13 @@ libsdl-net-dev libsdl-ttf-dev curl-dev freetype-dev libxml2-dev libxml++-dev \ pkg-config" +# 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 44b38e4dce38 -r 535c806240cc web-google-services/receipt --- a/web-google-services/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/web-google-services/receipt Thu Feb 17 12:02:46 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 "/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 44b38e4dce38 -r 535c806240cc web-picozu/receipt --- a/web-picozu/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/web-picozu/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="tazweb" BUILD_DEPENDS="wget" +# 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-||;s|.tar.*||;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc web-skype/receipt --- a/web-skype/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/web-skype/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="firefox-official" 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 44b38e4dce38 -r 535c806240cc web-telegram/receipt --- a/web-telegram/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/web-telegram/receipt Thu Feb 17 12:02:46 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 "/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 44b38e4dce38 -r 535c806240cc web-whatsapp/receipt --- a/web-whatsapp/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/web-whatsapp/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="firefox-official" 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 44b38e4dce38 -r 535c806240cc webalizer/receipt --- a/webalizer/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/webalizer/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,12 @@ DEPENDS="apache db libgd zlib" BUILD_DEPENDS="db-dev libgd-dev zlib-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-||;s|-src.*||;s|-|.|;q" +} # Rules to configure and make the package. compile_rules() diff -r 44b38e4dce38 -r 535c806240cc wine-rt/receipt --- a/wine-rt/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wine-rt/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -18,6 +18,13 @@ BUILD_DEPENDS="alsa-lib-dev bison flex freetype-dev jpeg-dev lcms-dev libglu-mesa-dev libpng-dev libtool libxml2-dev libxslt-dev mesa-dev prelink tiff-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/announce/!d;s|.*;||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc wine/receipt --- a/wine/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wine/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -18,6 +18,13 @@ libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev mesa-dev prelink" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/announce/!d;s|.*;||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc wireshark/receipt --- a/wireshark/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wireshark/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \ libgcrypt-dev flex libtasn1-dev bison perl wget libgnutls" +# 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 44b38e4dce38 -r 535c806240cc wiringpi-pibrella/receipt --- a/wiringpi-pibrella/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wiringpi-pibrella/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="wiringpi" # wiringpi + wiringpi-dev must be installed in sysroot +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/updated/!d;s|.* to ||;s|[ <].*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc wiringpi/receipt --- a/wiringpi/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wiringpi/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ RELATED="wiringpi-dev wiringpi-piglow wiringpi-piface" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/updated/!d;s|.* to ||;s|[ <].*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc wv/receipt --- a/wv/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/wv/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glib libgsf libpng libxml2 zlib" BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ + sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc x264/receipt --- a/x264/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/x264/receipt Thu Feb 17 12:02:46 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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[st].*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc x265/receipt --- a/x265/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/x265/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,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 44b38e4dce38 -r 535c806240cc xalan-c/receipt --- a/xalan-c/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xalan-c/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c" BUILD_DEPENDS="xerces-c-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/xalan_c-[0-9]/!d;/tar/!d;s|.*xalan_c-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xalan-xerces-j/receipt --- a/xalan-xerces-j/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xalan-xerces-j/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ SUGGESTED="java-jre" BUILD_DEPENDS="tar" +# 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}_\\(.*\\).bin.*|\\1|;s|_|.|g" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xcb-proto/receipt --- a/xcb-proto/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xcb-proto/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -22,6 +22,13 @@ # @maintainer: Please update also: libxcb and libxcb-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 44b38e4dce38 -r 535c806240cc xcb-util-image/receipt --- a/xcb-util-image/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xcb-util-image/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libxcb xcb-util" BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-util-macros" +# 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 44b38e4dce38 -r 535c806240cc xcb-util-keysyms/receipt --- a/xcb-util-keysyms/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xcb-util-keysyms/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,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 44b38e4dce38 -r 535c806240cc xcb-util-wm/receipt --- a/xcb-util-wm/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xcb-util-wm/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -16,6 +16,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 44b38e4dce38 -r 535c806240cc xchat-plugin/receipt --- a/xchat-plugin/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xchat-plugin/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage" BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Source:/!d;s|.*rce: ||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xchat/receipt --- a/xchat/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xchat/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage" BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Source:/!d;s|.*rce: ||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xdg-user-dirs/receipt --- a/xdg-user-dirs/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xdg-user-dirs/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="libtool gawk" +# 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 44b38e4dce38 -r 535c806240cc xdg-utils/receipt --- a/xdg-utils/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xdg-utils/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="docbook-xsl lynx util-linux-getopt xmlto" +# 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 44b38e4dce38 -r 535c806240cc xdigger/receipt --- a/xdigger/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xdigger/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg" BUILD_DEPENDS="xorg-imake xorg-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 44b38e4dce38 -r 535c806240cc xerces-c/receipt --- a/xerces-c/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xerces-c/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/available/!d;s|.*sion ||;s| is .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xfmedia/receipt --- a/xfmedia/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xfmedia/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="libexo-dev util-linux-uuid-dev xine-lib-dev intltool libxfcegui4-dev \ startup-notification-dev libxcb-dev xcb-util-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 44b38e4dce38 -r 535c806240cc xlockmore/receipt --- a/xlockmore/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xlockmore/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev \ xorg-libXt-dev openmotif-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 44b38e4dce38 -r 535c806240cc xmgrace/receipt --- a/xmgrace/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xmgrace/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libjpeg libpng fftw lesstif" BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison" +# What is the latest version available today? +current_version() +{ + wget -O - https://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ 2>/dev/null | \ + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + compile_rules() { sed -i 's|/man/|/share&|' doc/Makefile* diff -r 44b38e4dce38 -r 535c806240cc xneur/receipt --- a/xneur/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xneur/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/xneur/xneurrc" +# What is the latest version available today? +current_version() +{ + wget -O - https://xneur.ru/downloads/ 2>/dev/null | \ + sed "/latest/d;/XNeur-[0-9]/!d;/tar/!d;s|.*XNeur-\\(.*\\).orig.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 44b38e4dce38 -r 535c806240cc xpat2/receipt --- a/xpat2/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xpat2/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" +# 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 44b38e4dce38 -r 535c806240cc xrestop/receipt --- a/xrestop/receipt Thu Feb 17 11:06:13 2022 +0100 +++ b/xrestop/receipt Thu Feb 17 12:02:46 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses xorg-libXres libtinfo" BUILD_DEPENDS="ncurses-dev xorg-libXres-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() {