# HG changeset patch # User Pascal Bellard # Date 1644516242 0 # Node ID 17091bc7c3010bbd094994d124e3039c1b2a35ca # Parent 3abeffdae80bda400bde0ecee0e203c325092108 Add some current_version diff -r 3abeffdae80b -r 17091bc7c301 coreutils-multicall/receipt --- a/coreutils-multicall/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/coreutils-multicall/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="acl attr glibc-base gmp libcap" BUILD_DEPENDS="automake gmp-dev libcap-dev xz" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/latest/d;/coreutils-/!d;/tar/!d;s|.*coreutils-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 coreutils/receipt --- a/coreutils/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/coreutils/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -23,6 +23,13 @@ DEPENDS="acl attr glibc-base gmp" BUILD_DEPENDS="automake gmp-dev libcap-dev xz" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/latest/d;/coreutils-/!d;/tar/!d;s|.*coreutils-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 cvs/receipt --- a/cvs/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/cvs/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libcomerr libcomerr3 libcrypto libkrb5" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 davfs2/receipt --- a/davfs2/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/davfs2/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/davfs2" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/davfs2-/!d;/bin/d;s|.*davfs2-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 ddrescue/receipt --- a/ddrescue/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/ddrescue/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="lzip" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 dmidecode/receipt --- a/dmidecode/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/dmidecode/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 exo/receipt --- a/exo/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/exo/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,13 @@ util-linux-uuid-dev libgio-dev glib-dev gtk+-dev libxfce4ui-dev libxml2-dev \ xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 exosip/receipt --- a/exosip/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/exosip/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="osip openssl" BUILD_DEPENDS="osip-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 freetype-infinality/receipt --- a/freetype-infinality/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/freetype-infinality/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="slitaz-base-files zlib" BUILD_DEPENDS="bzip2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;/doc/d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 garcon/receipt --- a/garcon/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/garcon/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \ util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gigolo/receipt --- a/gigolo/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gigolo/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gnubg/receipt --- a/gnubg/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gnubg/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -9,13 +9,20 @@ WEB_SITE="https://www.gnu.org/software/gnubg/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz" +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$PACKAGE-release-$VERSION-sources.tar.gz" DEPENDS="gmp gtk+ libcanberra libltdl libvorbis ncurses python" BUILD_DEPENDS="autoconf automake bison cairo-dev flex freetype-dev glib-dev gmp-dev gtk+-dev gtkglext-dev libcanberra-dev libpng-dev libtool pkg-config python-dev readline-dev sqlite-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*release-||;s|-source.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 grub/receipt --- a/grub/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/grub/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -8,11 +8,18 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/grub/" -WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL" +WGET_URL="http://alpha.gnu.org/gnu/grub/$TARBALL" CONFIG_FILES="/boot/grub" BUILD_DEPENDS="gcc3" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 grub2-efi-x64/receipt --- a/grub2-efi-x64/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/grub2-efi-x64/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -10,7 +10,7 @@ SOURCE="grub" TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL" DEPENDS="freetype grep libdevmapper libusb libusb-compat ncurses zlib" BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev @@ -21,6 +21,13 @@ AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 grub2-efi/receipt --- a/grub2-efi/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/grub2-efi/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -10,7 +10,7 @@ SOURCE="grub" TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL" DEPENDS="freetype grep libdevmapper libusb-compat libusb ncurses zlib" BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 grub2/receipt --- a/grub2/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/grub2/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -10,7 +10,7 @@ SOURCE="grub" TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL" DEPENDS="freetype grep libdevmapper libusb libusb-compat ncurses zlib" BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev @@ -20,6 +20,13 @@ SUGGESTED="os-prober" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gsl/receipt --- a/gsl/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gsl/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;/latest/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gtk-xfce-engine/receipt --- a/gtk-xfce-engine/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gtk-xfce-engine/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev libffi" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gv/receipt --- a/gv/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gv/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ghostscript xorg-libXaw3d xorg-libXinerama" BUILD_DEPENDS="xorg-libXaw3d-dev xorg-libXinerama-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 gvpe/receipt --- a/gvpe/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/gvpe/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="openssl zlib" BUILD_DEPENDS="openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 icoutils/receipt --- a/icoutils/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/icoutils/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libpng" BUILD_DEPENDS="libpng-dev libpng" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 libunwind/receipt --- a/libunwind/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/libunwind/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="liblzma" BUILD_DEPENDS="liblzma-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 libxfce4ui/receipt --- a/libxfce4ui/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/libxfce4ui/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="gtk+-dev libxfce4util-dev libxfconf-dev \ startup-notification-dev libglade-dev xcb-util-dev util-linux-uuid-dev intltool" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 libxfce4util/receipt --- a/libxfce4util/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/libxfce4util/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev intltool pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 libxfconf/receipt --- a/libxfconf/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/libxfconf/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="dbus-glib libxfce4util" BUILD_DEPENDS="dbus-glib-dev libxfce4util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 lingot/receipt --- a/lingot/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/lingot/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="gtk+-dev alsa-lib-dev jack-audio-connection-kit-dev \ libglade-dev intltool" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 mousepad/receipt --- a/mousepad/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/mousepad/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool libgio-dev libxfconf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 normalize/receipt --- a/normalize/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/normalize/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="libmad-dev audiofile-dev" DEPENDS="libmad audiofile" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 octave/receipt --- a/octave/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/octave/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -20,6 +20,13 @@ lapack libdrm-dev libxml2-dev mesa-dev ncurses-dev pcre-dev perl \ readline-dev tar texinfo xorg-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 orage/receipt --- a/orage/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/orage/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="dbus-dev gtk+-dev intltool libnotify-dev libxfcegui4-dev \ popt-dev xfce4-panel-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 ortp/receipt --- a/ortp/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/ortp/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://freecode.com/projects/ortp" WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/$PACKAGE/sources/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 parole/receipt --- a/parole/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/parole/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -17,6 +17,14 @@ libnotify-dev gstreamer-dev util-linux-uuid-dev coreutils-operations \ gtk+-dev libxml2-dev orc-dev libxfconf-dev libxfce4ui-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 pth/receipt --- a/pth/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/pth/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -8,10 +8,17 @@ LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/pth/" -WGET_URL="ftp://ftp.ossp.org/pkg/lib/pth/$TARBALL" +WGET_URL="http://ftp.ossp.org/pkg/lib/pth/$TARBALL" DEPENDS="libltdl" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 quilt/receipt --- a/quilt/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/quilt/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="bash perl" BUILD_DEPENDS="diffutils sed" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 ratpoison/receipt --- a/ratpoison/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/ratpoison/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="microperl xorg-libXinerama xorg-libXtst" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 sonata/receipt --- a/sonata/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/sonata/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \ pkg-config acl libcroco python-dev gtk+-dev libffi-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.nongnu.org/sonata/download.html 2>/dev/null | \ + sed '/source/!d;s|.*/v||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 tcc/receipt --- a/tcc/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/tcc/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -20,6 +20,13 @@ arm) BUILD_DEPENDS="" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 terminal/receipt --- a/terminal/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/terminal/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -17,6 +17,14 @@ BUILD_DEPENDS="libexo-dev gtk+-dev vte-dev dbus-dev startup-notification-dev \ intltool pkg-config util-linux-uuid-dev libxfce4ui-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 thunar-archive-plugin/receipt --- a/thunar-archive-plugin/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/thunar-archive-plugin/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="intltool thunar-dev libexo-dev libxfce4ui-dev \ xfconf-dev startup-notification-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 thunar-vfs/receipt --- a/thunar-vfs/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/thunar-vfs/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,13 @@ startup-notification-dev xfce4-panel-dev zlib-dev intltool libexo-dev dbus-glib-dev \ util-linux-uuid-dev hal-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 thunar/receipt --- a/thunar/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/thunar/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Thunar File Manager" MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -SOURCE="Thunar" +SOURCE="thunar" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="https://www.xfce.org" WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" @@ -18,6 +18,14 @@ libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \ startup-notification-dev util-linux-uuid-dev libnotify-dev libxfconf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 tumbler/receipt --- a/tumbler/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/tumbler/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -18,6 +18,14 @@ CONFIG_FILES="/etc/xdg/tumbler/tumbler.rc" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 vcdimager/receipt --- a/vcdimager/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/vcdimager/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -8,12 +8,19 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.vcdimager.org/" -WGET_URL="ftp://ftp.gnu.org/gnu/vcdimager/$TARBALL" +WGET_URL="http://ftp.gnu.org/gnu/vcdimager/$TARBALL" TAGS="multimedia video vcd" DEPENDS="libcdio libxml2 popt" BUILD_DEPENDS="libcdio libcdio-dev libxml2-dev popt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xbindkeys/receipt --- a/xbindkeys/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xbindkeys/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="xorg-libX11" BUILD_DEPENDS="xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() diff -r 3abeffdae80b -r 17091bc7c301 xcb-util-cursor/receipt --- a/xcb-util-cursor/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xcb-util-cursor/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="libxcb xcb-util-image xcb-util-renderutil" BUILD_DEPENDS="libxcb-dev xcb-util-dev xcb-util-image-dev xcb-util-renderutil-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xcb-util-renderutil/receipt --- a/xcb-util-renderutil/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xcb-util-renderutil/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -18,6 +18,13 @@ DEPENDS="libxcb" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfburn/receipt --- a/xfburn/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfburn/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+ libburn libexo libisofs libxfce4ui" BUILD_DEPENDS="intltool libburn-dev libexo-dev libisofs-dev libxfce4ui-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-appfinder/receipt --- a/xfce4-appfinder/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-appfinder/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="intltool libxfce4util-dev libxfce4ui-dev garcon-dev xfconf-dev \ startup-notification-dev dbus-glib-dev util-linux-uuid-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-dev-tools/receipt --- a/xfce4-dev-tools/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-dev-tools/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="subversion autoconf automake intltool pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-icon-theme/receipt --- a/xfce4-icon-theme/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-icon-theme/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="" BUILD_DEPENDS="intltool" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-mixer/receipt --- a/xfce4-mixer/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-mixer/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,14 @@ gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \ util-linux-uuid-dev libxml2-dev libunique-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-notifyd/receipt --- a/xfce4-notifyd/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-notifyd/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="libxfce4ui" BUILD_DEPENDS="libxfce4ui-dev libxfconf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-panel/receipt --- a/xfce4-panel/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-panel/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev libxml2-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-ristretto/receipt --- a/xfce4-ristretto/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-ristretto/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="xfce4-dev-tools intltool libexif-dev dbus-glib-dev libxfce4util-dev \ libxfce4ui-dev xfconf-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-session/receipt --- a/xfce4-session/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-session/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,14 @@ dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev \ xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-settings/receipt --- a/xfce4-settings/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-settings/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,14 @@ dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \ intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-taskmanager/receipt --- a/xfce4-taskmanager/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-taskmanager/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -14,6 +14,14 @@ BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev startup-notification-dev \ intltool gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfce4-volumed/receipt --- a/xfce4-volumed/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfce4-volumed/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="libxfconf-dev gstreamer-dev gst-plugins-base-dev \ libkeybinder-dev libxml2-dev libnotify-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfconf/receipt --- a/xfconf/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfconf/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+ libxfce4util dbus-glib" BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfdesktop/receipt --- a/xfdesktop/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfdesktop/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ xfconf-dev libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool \ util-linux-uuid-dev dbus-glib libxfce4ui-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfmpc/receipt --- a/xfmpc/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfmpc/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ libxfce4ui-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \ xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfprint/receipt --- a/xfprint/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfprint/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -16,6 +16,13 @@ dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \ xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xfwm4/receipt --- a/xfwm4/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xfwm4/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \ libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev xcb-util-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xorg-cf-files/receipt --- a/xorg-cf-files/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xorg-cf-files/receipt Thu Feb 10 18:04:02 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 "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3abeffdae80b -r 17091bc7c301 xsane/receipt --- a/xsane/receipt Thu Feb 10 11:43:39 2022 +0000 +++ b/xsane/receipt Thu Feb 10 18:04:02 2022 +0000 @@ -15,7 +15,7 @@ current_version() { - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + wget -O - "${WGET_URL%/arch*}/tags?sort=updated_desc" 2>/dev/null | \ sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q' }