# HG changeset patch # User Pascal Bellard # Date 1644666176 0 # Node ID 83b97236db323bc105c0b87356a5d9b346e92e98 # Parent a89966b4677df5ca90cf3b20c3953830a4b2a1eb Add some current_version diff -r a89966b4677d -r 83b97236db32 centerim/receipt --- a/centerim/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/centerim/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="ncursesw-dev curl-dev openssl-dev libidn-dev libgpg-error-dev \ gpgme-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/petrpavlu/centerim5/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 chillispot/receipt --- a/chillispot/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/chillispot/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="${WEB_SITE}download/$TARBALL" CONFIG_FILES="/etc/chilli.conf" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.chillispot.org/download.html 2>/dev/null | \ + sed '/Released/!d;s|.*hillispot ||;s| Released.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 cmatrix/receipt --- a/cmatrix/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/cmatrix/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="cmake ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 conntrack-tools/receipt --- a/conntrack-tools/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/conntrack-tools/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -17,6 +17,13 @@ libnetfilter_cthelper-dev libnetfilter_cttimeout-dev libnetfilter_queue-dev libnfnetlink-dev pkg-config" +# 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 a89966b4677d -r 83b97236db32 elinks-small/receipt --- a/elinks-small/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/elinks-small/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="bzip2 zlib libidn expat" BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/current/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 elinks/receipt --- a/elinks/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/elinks/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \ expat-dev gpm-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 enet/receipt --- a/enet/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/enet/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/download/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/projectnumber/!d;s|.*>v||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 fpm2/receipt --- a/fpm2/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/fpm2/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ xorg-libXrandr xorg-libXrender xorg-libXdamage" BUILD_DEPENDS="gtk+-dev libxml2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/anager/!d;/span/!d;s|.*>v||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 freetds/receipt --- a/freetds/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/freetds/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libunixODBC ncurses readline" BUILD_DEPENDS="readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/patch/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 fswebcam/receipt --- a/fswebcam/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/fswebcam/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="libgd" BUILD_DEPENDS="libgd-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 fwknop/receipt --- a/fwknop/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/fwknop/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="iptables gpgme gnupg libgpg-error" BUILD_DEPENDS="libpcap-dev gpgme-dev gnupg iptables" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/dep/d;/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 a89966b4677d -r 83b97236db32 gliv/receipt --- a/gliv/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/gliv/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ gtkglext gettext-base pangox-compat" BUILD_DEPENDS="gtk+-dev gtkglext gtkglext-dev bison mesa-dev pangox-compat-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/gliv-/!d;/rpm/!d;s|.*gliv-||;s|-.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 gnupg/receipt --- a/gnupg/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/gnupg/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -17,6 +17,13 @@ libgpg-error-dev libksba-dev libusb-compat-dev libusb-dev npth-dev openldap-dev pth-dev readline-dev sqlite-dev zlib-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 a89966b4677d -r 83b97236db32 gvfb/receipt --- a/gvfb/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/gvfb/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+" BUILD_DEPENDS="cmake gtk+-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - ${WEB_SITE}download 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 a89966b4677d -r 83b97236db32 haproxy/receipt --- a/haproxy/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/haproxy/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pcre" BUILD_DEPENDS="pcre-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/dev/d;/LATEST/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\([0-9\\.]*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 hiawatha/receipt --- a/hiawatha/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/hiawatha/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/hiawatha" +# 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 a89966b4677d -r 83b97236db32 i3/receipt --- a/i3/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/i3/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -21,6 +21,13 @@ xcb-util-keysyms-dev xcb-util-renderutil-dev xcb-util-wm-dev xcb-util-xrm-dev xorg-libX11-dev xorg-libXcursor-dev yajl" +# 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 a89966b4677d -r 83b97236db32 iftop/receipt --- a/iftop/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/iftop/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="libpcap-dev ncurses-dev" DEPENDS="libpcap ncurses" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/dev/d;/LATEST/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\([0-9\\.]*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 imagemagick/receipt --- a/imagemagick/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/imagemagick/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -24,6 +24,13 @@ librsvg-dev libtool libxml2-dev openexr-dev pango-dev perl \ tiff-dev util-linux-uuid-dev xorg-libXext-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|;s|-|.|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 incron/receipt --- a/incron/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/incron/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/doc/d;/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 a89966b4677d -r 83b97236db32 iotop/receipt --- a/iotop/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/iotop/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 jbigkit/receipt --- a/jbigkit/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/jbigkit/receipt Sat Feb 12 11:42:56 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 a89966b4677d -r 83b97236db32 libdaq/receipt --- a/libdaq/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libdaq/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libpcap" BUILD_DEPENDS="automake bison flex libpcap-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-v\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 libnetfilter_cthelper/receipt --- a/libnetfilter_cthelper/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libnetfilter_cthelper/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libmnl" BUILD_DEPENDS="pkg-config glib-dev libmnl-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 a89966b4677d -r 83b97236db32 libnetfilter_cttimeout/receipt --- a/libnetfilter_cttimeout/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libnetfilter_cttimeout/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libmnl" BUILD_DEPENDS="pkg-config glib-dev libmnl-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 a89966b4677d -r 83b97236db32 libnetfilter_queue/receipt --- a/libnetfilter_queue/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libnetfilter_queue/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libnfnetlink" BUILD_DEPENDS="libmnl-dev libnfnetlink-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 a89966b4677d -r 83b97236db32 libnfnetlink/receipt --- a/libnfnetlink/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libnfnetlink/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/" WGET_URL="${WEB_SITE}files/$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 a89966b4677d -r 83b97236db32 libnl1/receipt --- a/libnl1/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libnl1/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="flex" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/-rc/d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 libproxy/receipt --- a/libproxy/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libproxy/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl \ gtk+-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/libproxy/libproxy/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 libsndfile/receipt --- a/libsndfile/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libsndfile/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -26,6 +26,13 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/test/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 libssh2/receipt --- a/libssh2/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/libssh2/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libgcrypt libgpg-error libssl zlib" BUILD_DEPENDS="libgcrypt-dev openssl-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 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 a89966b4677d -r 83b97236db32 lilo/receipt --- a/lilo/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/lilo/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="dev86 libdevmapper" DEPENDS="libdevmapper" +# 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 a89966b4677d -r 83b97236db32 lzop/receipt --- a/lzop/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/lzop/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="lzo" BUILD_DEPENDS="lzo-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Version/!d;s|.*sion ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 masqmail/receipt --- a/masqmail/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/masqmail/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="glib glib-dev pkg-config" +# 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 a89966b4677d -r 83b97236db32 mcabber/receipt --- a/mcabber/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/mcabber/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libcrypto openssl glib gpgme libgpg-error ncurses" BUILD_DEPENDS="ncurses-dev glib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 memcached/receipt --- a/memcached/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/memcached/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libevent" BUILD_DEPENDS="libevent-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/id="ver"/!d;s|.*>v||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 miniupnpd/receipt --- a/miniupnpd/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/miniupnpd/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="iptables libssl" BUILD_DEPENDS="iptables-dev libnfnetlink-dev openssl-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]*\.[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 mpg123/receipt --- a/mpg123/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/mpg123/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -22,6 +22,13 @@ arm*) ARCH_ARGS="--with-cpu=arm_nofpu" ;; 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 a89966b4677d -r 83b97236db32 nginx-extras/receipt --- a/nginx-extras/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/nginx-extras/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -9,7 +9,7 @@ WEB_SITE="http://nginx.org/" TARBALL="nginx-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}download//$TARBALL" +WGET_URL="${WEB_SITE}download/$TARBALL" PROVIDE="lighttpd" CONFLICT="nginx" @@ -20,6 +20,13 @@ CONFIG_FILES="/etc/nginx" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/latest/d;/nginx-/!d;/tar/!d;s|.*nginx-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 nginx/receipt --- a/nginx/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/nginx/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -18,6 +18,13 @@ CONFIG_FILES="/etc/nginx" +# 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 a89966b4677d -r 83b97236db32 nim/receipt --- a/nim/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/nim/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc glibc-base readline" BUILD_DEPENDS="gcc glibc-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/released/!d;s|.*Version ||;s| released.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 physfs/receipt --- a/physfs/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/physfs/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="cmake" +# 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 a89966b4677d -r 83b97236db32 pidgin-musictracker/receipt --- a/pidgin-musictracker/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/pidgin-musictracker/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="pidgin-dev gettext libpurple-dev pcre-dev dbus-glib-dev \ gtk+-dev glib-dev pkg-config libffi" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/develop/d;/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 a89966b4677d -r 83b97236db32 prosody/receipt --- a/prosody/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/prosody/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -21,6 +21,13 @@ arm*) luapath="/cross/$ARCH/sysroot" ;; 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 a89966b4677d -r 83b97236db32 qiv/receipt --- a/qiv/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/qiv/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ imlib2 lcms2 libexif" BUILD_DEPENDS="gtk+-dev imlib2-dev lcms2-dev libexif-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/x.y.z/d;/pre/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 remind/receipt --- a/remind/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/remind/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="tcl tcllib tk xorg-libXss" +# 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 a89966b4677d -r 83b97236db32 rsnapshot/receipt --- a/rsnapshot/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/rsnapshot/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/rsnapshot.conf" +# 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 a89966b4677d -r 83b97236db32 scrollz/receipt --- a/scrollz/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/scrollz/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="ncursesw-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/ScrollZ-/!d;/tar/!d;s|.*ScrollZ-\(.*\).tar.*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 snort/receipt --- a/snort/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/snort/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="flex libdaq-dev libdnet-dev libpcap-dev luajit-dev openssl-dev pcre-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed "/openappid/d;/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 a89966b4677d -r 83b97236db32 socat/receipt --- a/socat/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/socat/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="i486" +# 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 a89966b4677d -r 83b97236db32 stunnel/receipt --- a/stunnel/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/stunnel/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ CONFIG_FILES="/etc/stunnel/stunnel.conf" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}.html 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 a89966b4677d -r 83b97236db32 tahoe-lafs/receipt --- a/tahoe-lafs/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/tahoe-lafs/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -17,6 +17,13 @@ twisted zopeinterface" BUILD_DEPENDS="gmp-dev openssl-dev python-dev python-setuptools" +# 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 a89966b4677d -r 83b97236db32 task/receipt --- a/task/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/task/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev ncurses-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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 ucl/receipt --- a/ucl/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/ucl/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -10,6 +10,13 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/download/$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 a89966b4677d -r 83b97236db32 urlgrabber/receipt --- a/urlgrabber/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/urlgrabber/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="pycurl python" BUILD_DEPENDS="pycurl python-dev python-setuptools python-six" +# 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 a89966b4677d -r 83b97236db32 wimlib/receipt --- a/wimlib/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/wimlib/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="attr-dev cabextract cdrkit fuse-dev libxml2-dev mtools ntfs-3g-dev openssl-dev pkg-config syslinux" +# 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 a89966b4677d -r 83b97236db32 workerfm/receipt --- a/workerfm/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/workerfm/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -19,6 +19,13 @@ hal-dev libmagic-dev liblzma-dev util-linux-uuid-dev xorg-libX11-dev xorg-libXft-dev xorg-libXinerama-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed '/worker-[0-9]/!d;s|.*worker-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r a89966b4677d -r 83b97236db32 xbill/receipt --- a/xbill/receipt Sat Feb 12 11:04:56 2022 +0100 +++ b/xbill/receipt Sat Feb 12 11:42:56 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ xorg-libXaw lesstif" BUILD_DEPENDS="gtk+-dev xorg-libXaw-dev 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() {