# HG changeset patch # User Pascal Bellard # Date 1645827331 0 # Node ID e3079653b462e2dfbdd60b99cce1023bba1d198f # Parent c11594098e34b20c6750d23ece3a9ee8ec7dcd13 Add some current_version diff -r c11594098e34 -r e3079653b462 blazekiss/receipt --- a/blazekiss/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/blazekiss/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="lighttpd php" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/krisxoofoo/blazekiss/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 fatattr/receipt --- a/fatattr/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/fatattr/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://www.kernel.org/" WGET_URL="http://www.eu.kernel.org/pub/linux/utils/fs/fat/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://gitlab.com/Terseus/fatattr/-/commits/master 2>/dev/null | \ + sed '/commits-row/!d;s|.*day="||;s|".*||;s|-||g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 nimrod/receipt --- a/nimrod/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/nimrod/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc glibc-base readline" BUILD_DEPENDS="gcc glibc-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://nim-lang.org/install.html 2>/dev/null | \ + sed '/source/!d;s|.*nim-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 qarte/receipt --- a/qarte/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/qarte/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python PyQt-x11-gpl notify-python rtmpdump" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - http://oqapy.eu/download?lang=fr 2>/dev/null | \ + sed '/qarte-/!d;s|.*qarte-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 ttysnoop/receipt --- a/ttysnoop/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/ttysnoop/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://freecode.com/projects/ttysnoop" WGET_URL="http://sysd.org/stas/files/active/0/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/iovisor/bcc/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 wvdial/receipt --- a/wvdial/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/wvdial/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ppp gcc-lib-base wvstreams" BUILD_DEPENDS="wvstreams-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://en.wikipedia.org/wiki/WvDial 2>/dev/null | \ + sed '/Stable release/!d;s|.*">||' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 xautomation/receipt --- a/xautomation/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/xautomation/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="xorg-libX11 libpng" BUILD_DEPENDS="xorg-libX11-dev libpng-dev" +# What is the latest version available today? +current_version() +{ + wget --no-check-certificate -O - https://www.hoopajoo.net/projects/xautomation.html 2>/dev/null | \ + sed '/xautomation-/!d;s|.*xautomation-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r c11594098e34 -r e3079653b462 xscreensaver/receipt --- a/xscreensaver/receipt Fri Feb 25 18:06:36 2022 +0000 +++ b/xscreensaver/receipt Fri Feb 25 22:15:31 2022 +0000 @@ -18,6 +18,13 @@ xorg-libXpm-dev xorg-libXrandr-dev xorg-libXt-dev xorg-libXxf86vm-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://en.wikipedia.org/wiki/XScreenSaver 2>/dev/null | \ + sed '/Stable release/!d;s|.*">||' +} + # Rules to configure and make the package. compile_rules() {