# HG changeset patch # User Pascal Bellard # Date 1643393961 0 # Node ID 71360a13cd94e54350e27626bba08552248fc31a # Parent 6f4496f6c83c2bfe757715d83b83bf18f6b02035 Add some current_version diff -r 6f4496f6c83c -r 71360a13cd94 a2ps/receipt --- a/a2ps/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/a2ps/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="gperf" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 acct/receipt --- a/acct/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/acct/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc-lib-base glibc" BUILD_DEPENDS="glibc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 autoconf-archive/receipt --- a/autoconf-archive/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/autoconf-archive/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + compile_rules() { ./configure \ diff -r 6f4496f6c83c -r 71360a13cd94 autofs/receipt --- a/autofs/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/autofs/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -19,6 +19,14 @@ TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 automake/receipt --- a/automake/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/automake/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="autoconf" BUILD_DEPENDS="autoconf bison flex" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { diff -r 6f4496f6c83c -r 71360a13cd94 bash/receipt --- a/bash/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/bash/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -22,6 +22,13 @@ DEPENDS="libtinfo" BUILD_DEPENDS="bison texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/alpha/d;/doc/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + patch_bash() { for i in $BASHPATCHES diff -r 6f4496f6c83c -r 71360a13cd94 binutils/receipt --- a/binutils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/binutils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -27,6 +27,13 @@ # @maintainer: Please update also: libbfd +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 bluez/receipt --- a/bluez/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/bluez/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -19,6 +19,13 @@ CONFIG_FILES="/etc/bluetooth" +# 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 6f4496f6c83c -r 71360a13cd94 bridge-utils/receipt --- a/bridge-utils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/bridge-utils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="automake" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 commoncpp2/receipt --- a/commoncpp2/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/commoncpp2/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="glibc-base gcc-lib-base zlib" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 cpio/receipt --- a/cpio/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/cpio/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="glibc-base" BUILD_DEPENDS="slitaz-toolchain" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 cpufrequtils/receipt --- a/cpufrequtils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/cpufrequtils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="sysfsutils linux-cpufreq" BUILD_DEPENDS="libtool gettext sed" +# 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 -nr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 cssc/receipt --- a/cssc/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/cssc/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 ddd/receipt --- a/ddd/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/ddd/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -16,6 +16,13 @@ xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils" BUILD_DEPENDS="gawk lesstif-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 diffutils/receipt --- a/diffutils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/diffutils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 ed/receipt --- a/ed/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/ed/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="" BUILD_DEPENDS="lzip" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 emacs/receipt --- a/emacs/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/emacs/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -21,6 +21,13 @@ libgnutls libpng-dev librsvg-dev ncurses-dev pango-dev pkg-config tiff-dev xorg-dev xorg-dev-proto" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/lisp/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 findutils/receipt --- a/findutils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/findutils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base slitaz-base-files" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gawk/receipt --- a/gawk/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gawk/receipt Fri Jan 28 18:19:21 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 "/doc/d;/ps/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { diff -r 6f4496f6c83c -r 71360a13cd94 gdb-python/receipt --- a/gdb-python/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gdb-python/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses expat glibc-dev python" BUILD_DEPENDS="ncurses-dev python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gdb/receipt --- a/gdb/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gdb/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses expat glibc-dev" BUILD_DEPENDS="ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gettext/receipt --- a/gettext/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gettext/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -24,6 +24,13 @@ ARCH_ARGS="--disable-acl" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 git/receipt --- a/git/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/git/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -18,6 +18,13 @@ CROSS_BUGS="bug: can't run test and make package." #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 6f4496f6c83c -r 71360a13cd94 gnubik/receipt --- a/gnubik/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gnubik/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="mesa-dev gtk+-dev gtkglext-dev guile-dev" SUGGESTED="mesa-dri" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gnuchess/receipt --- a/gnuchess/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gnuchess/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses readline" BUILD_DEPENDS="ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gnugo/receipt --- a/gnugo/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gnugo/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gperf/receipt --- a/gperf/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gperf/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 grep/receipt --- a/grep/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/grep/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pcre" BUILD_DEPENDS="pcre-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 groff/receipt --- a/groff/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/groff/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="ghostscript texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gsasl/receipt --- a/gsasl/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gsasl/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ libtasn1 ncurses readline zlib" BUILD_DEPENDS="libgcrypt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 guile/receipt --- a/guile/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/guile/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gmp readline ncurses libltdl" BUILD_DEPENDS="libtool gmp-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/oops/d;/www/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 gxmessage/receipt --- a/gxmessage/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/gxmessage/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="expat gtk+ xorg-libXdamage" BUILD_DEPENDS="gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 h8300-binutils/receipt --- a/h8300-binutils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/h8300-binutils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,15 +14,25 @@ BUILD_DEPENDS="slitaz-toolchain bison flex" -# Configuration only needs included if we're in the build/wok environment -if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then - . $WOK/h8300-toolchain/stuff/h8300.conf -fi +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + +h8300_conf() +{ + # Configuration only needs included if we're in the build/wok environment + if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then + . $WOK/h8300-toolchain/stuff/h8300.conf + fi +} # Rules to configure and make the package. compile_rules() { - cd $src + h8300_conf ./configure \ --target=$H8300_TARGET \ --prefix=/usr \ @@ -37,6 +47,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + h8300_conf mkdir -p $fs/usr $fs$H8300_ROOT cp -a $install/usr/bin $fs/usr cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT diff -r 6f4496f6c83c -r 71360a13cd94 h8300-gdb/receipt --- a/h8300-gdb/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/h8300-gdb/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -19,9 +19,20 @@ . $WOK/h8300-toolchain/stuff/h8300.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { + # Configuration only needs included if we're in the build/wok environment + if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then + . $WOK/h8300-toolchain/stuff/h8300.conf + fi mkdir -p $SOURCE-$VERSION-build cd $SOURCE-$VERSION-build $src/configure \ diff -r 6f4496f6c83c -r 71360a13cd94 help2man/receipt --- a/help2man/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/help2man/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="perl" DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 i2c-tools/receipt --- a/i2c-tools/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/i2c-tools/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,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 6f4496f6c83c -r 71360a13cd94 indent/receipt --- a/indent/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/indent/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 iproute2/receipt --- a/iproute2/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/iproute2/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="db iptables" BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-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 6f4496f6c83c -r 71360a13cd94 iw/receipt --- a/iw/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/iw/receipt Fri Jan 28 18:19:21 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;/$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 6f4496f6c83c -r 71360a13cd94 kexec-tools/receipt --- a/kexec-tools/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/kexec-tools/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="zlib" BUILD_DEPENDS="wget zlib-dev liblzma-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/rc/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 6f4496f6c83c -r 71360a13cd94 libcdio/receipt --- a/libcdio/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libcdio/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc-lib-base libcddb ncurses" BUILD_DEPENDS="gcc-lib-base libcddb libcddb-dev ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/paranoia/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 libextractor/receipt --- a/libextractor/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libextractor/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="zlib" BUILD_DEPENDS="flac-dev gettext lcms-dev libogg-dev libtool zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$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 6f4496f6c83c -r 71360a13cd94 libffcall/receipt --- a/libffcall/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libffcall/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 libmicrohttpd/receipt --- a/libmicrohttpd/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libmicrohttpd/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libgcrypt libgnutls" BUILD_DEPENDS="gmp-dev gnutls-dev libgcrypt-dev libtasn1-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 libraw1394/receipt --- a/libraw1394/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libraw1394/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL" +# 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 6f4496f6c83c -r 71360a13cd94 libsbc/receipt --- a/libsbc/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libsbc/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -10,6 +10,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.kernel.org/pub/linux/bluetooth/sbc-$VERSION.tar.xz" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/sbc-[0-9]/!d;/tar/!d;s|.*sbc-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 libsigsegv/receipt --- a/libsigsegv/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libsigsegv/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 libtool/receipt --- a/libtool/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/libtool/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -21,6 +21,13 @@ arm) BUILD_DEPENDS="" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 m4/receipt --- a/m4/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/m4/receipt Fri Jan 28 18:19:21 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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 make/receipt --- a/make/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/make/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm x86_64" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 man-pages/receipt --- a/man-pages/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/man-pages/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL" +# 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 6f4496f6c83c -r 71360a13cd94 module-init-tools/receipt --- a/module-init-tools/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/module-init-tools/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod" BUILD_DEPENDS="wget zlib-dev lzlib-dev lzlib" +# 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 6f4496f6c83c -r 71360a13cd94 mpc-library/receipt --- a/mpc-library/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/mpc-library/receipt Fri Jan 28 18:19:21 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-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + compile_rules() { ./configure $CONFIGURE_ARGS && diff -r 6f4496f6c83c -r 71360a13cd94 mtools/receipt --- a/mtools/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/mtools/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 obexd/receipt --- a/obexd/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/obexd/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="bluez libusb libical glib dbus" BUILD_DEPENDS="wget bluez-dev libusb-dev libical-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 6f4496f6c83c -r 71360a13cd94 osip/receipt --- a/osip/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/osip/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -12,6 +12,13 @@ TARBALL="$SOURCE-$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 "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 parallel/receipt --- a/parallel/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/parallel/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -12,6 +12,13 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 patch/receipt --- a/patch/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/patch/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 pem/receipt --- a/pem/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/pem/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 rcs/receipt --- a/rcs/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/rcs/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="diffutils" BUILD_DEPENDS="diffutils ed" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 rfkill/receipt --- a/rfkill/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/rfkill/receipt Fri Jan 28 18:19:21 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 6f4496f6c83c -r 71360a13cd94 screen-pam/receipt --- a/screen-pam/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/screen-pam/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -19,6 +19,13 @@ DEPENDS="elfutils pam" BUILD_DEPENDS="ncursesw-extra texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 screen/receipt --- a/screen/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/screen/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="elfutils" BUILD_DEPENDS="ncursesw-extra texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 sed/receipt --- a/sed/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/sed/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 sharutils/receipt --- a/sharutils/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/sharutils/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 tar/receipt --- a/tar/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/tar/receipt Fri Jan 28 18:19:21 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;/tar..z/!d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 texinfo/receipt --- a/texinfo/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/texinfo/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to compile & install the temporary toolchain by Tazwok. cook_tmp_toolchain() { diff -r 6f4496f6c83c -r 71360a13cd94 units/receipt --- a/units/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/units/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses readline" BUILD_DEPENDS="ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 wget/receipt --- a/wget/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/wget/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -23,6 +23,13 @@ arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 which/receipt --- a/which/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/which/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6f4496f6c83c -r 71360a13cd94 xfsprogs/receipt --- a/xfsprogs/receipt Fri Jan 28 16:53:40 2022 +0100 +++ b/xfsprogs/receipt Fri Jan 28 18:19:21 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="e2fsprogs-dev gettext libdevmapper-dev libtool util-linux-blkid-dev util-linux-uuid-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() {