# HG changeset patch # User Pascal Bellard # Date 1625654101 0 # Node ID ee53899c61892536649de0066db6942ef5069914 # Parent 3cdc90c472a208cb24e97d3405ff48bb182e5aa1 Add some current_version diff -r 3cdc90c472a2 -r ee53899c6189 alsaplayer/receipt --- a/alsaplayer/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/alsaplayer/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -23,8 +23,8 @@ current_version() { - wget -O - ${WEB_SITE}download.php 2>/dev/null | \ - sed '/alsaplayer-/!d;s|.*alsaplayer-||;s|.tar.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Released/!d;s|.*: ||;s|<.*||' } # Rules to configure and make the package. diff -r 3cdc90c472a2 -r ee53899c6189 beaver/receipt --- a/beaver/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/beaver/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -19,8 +19,8 @@ current_version() { - wget -O - ${WEB_SITE}download.html 2>/dev/null | \ - sed '/tar/!d;s|.*beaver-||;s|.tar.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Stable/!d;s|.*Beaver ||;s| Stable.*||;q' } # Rules to configure and make the package. diff -r 3cdc90c472a2 -r ee53899c6189 flac/receipt --- a/flac/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/flac/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sed '$!d' + sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sort -V | sed '$!d' } # Rules to configure and make the package. diff -r 3cdc90c472a2 -r ee53899c6189 gpicview/receipt --- a/gpicview/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/gpicview/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libgio-dev libpng-dev jpeg-dev" HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lcms2/receipt --- a/lcms2/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lcms2/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev" SPLIT="lcms2-apps" +current_version() +{ + wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libcddb/receipt --- a/libcddb/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libcddb/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://libcddb.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libfm-extra/receipt --- a/libfm-extra/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libfm-extra/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="glib glibc-base libgio" BUILD_DEPENDS="automake gtk-doc libtool intltool" +current_version() +{ + wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \ + sed "/libfm-/!d;/tar/!d;s|.*libfm-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libfm/receipt --- a/libfm/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libfm/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -25,6 +25,12 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool vala" esac +current_version() +{ + wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libkeybinder/receipt --- a/libkeybinder/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libkeybinder/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \ pygtk-dev pygobject-dev automake autoconf libtool lua5.1-dev" +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tags.v.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libmad/receipt --- a/libmad/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libmad/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -11,6 +11,13 @@ WGET_URL="$SF_MIRROR/mad/$TARBALL" HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/mad/files/libmad/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 libpng/receipt --- a/libpng/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/libpng/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -19,6 +19,14 @@ arm) BUILD_DEPENDS="" ;; esac +current_version() +{ + wget -O - https://sourceforge.net/projects/libpng/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxappearance-obconf/receipt --- a/lxappearance-obconf/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxappearance-obconf/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -20,6 +20,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance%20Obconf/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxappearance/receipt --- a/lxappearance/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxappearance/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="gtk+" BUILD_DEPENDS="xorg-libX11-dev gtk+-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXAppearance/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxde-icon-theme/receipt --- a/lxde-icon-theme/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxde-icon-theme/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="" BUILD_DEPENDS="coreutils" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXDE%20Icon%20Theme/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxdm/receipt --- a/lxdm/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxdm/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="xorg-libX11 gtk+ slitaz-configs" BUILD_DEPENDS="xorg-dev gtk+-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxinput/receipt --- a/lxinput/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxinput/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -18,6 +18,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXInput%20%28Kbd%20and%20amp_%20mouse%20config%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxlauncher/receipt --- a/lxlauncher/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxlauncher/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -18,6 +18,13 @@ menu-cache-dev startup-notification \ startup-notification-dev xorg-libX11-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXLauncher%20%28for%20Asus%20EeePC%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxmenu-data/receipt --- a/lxmenu-data/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxmenu-data/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxpanel/receipt --- a/lxpanel/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxpanel/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -27,6 +27,13 @@ pluglist="netstatus,volumealsa,cpu,batt,xkb,thermal,cpufreq,monitors" ;; esac +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXPanel%20%28desktop%20panel%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxpolkit/receipt --- a/lxpolkit/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxpolkit/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="gtk+ polkit" BUILD_DEPENDS="gtk+-dev polkit-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXPolkit/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxrandr/receipt --- a/lxrandr/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxrandr/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXRandR%20%28monitor%20config%20tool%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxsession-edit/receipt --- a/lxsession-edit/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxsession-edit/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,13 @@ DEPENDS="gtk+ lxsession" BUILD_DEPENDS="gtk+-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20Edit/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxsession/receipt --- a/lxsession/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxsession/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20%28session%20manager%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxshortcut/receipt --- a/lxshortcut/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxshortcut/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="pkg-config gettext intltool gtk+-dev \ xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXShortcut%20%28edit%20app%20shortcut%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxtask/receipt --- a/lxtask/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxtask/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXTask%20%28task%20manager%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lxterminal/receipt --- a/lxterminal/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lxterminal/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,13 @@ DEPENDS="gtk+ vte" BUILD_DEPENDS="gtk+-dev intltool vte-dev vte-terminal" +current_version() +{ + wget -O - https://sourceforge.net/projects/lxde/files/LXTerminal%20%28terminal%20emulator%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 lzma/receipt --- a/lzma/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/lzma/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,13 @@ DEPENDS="lzlib zlib gcc-lib-base" +current_version() +{ + wget -O - https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.\\)\\(.*\\).tar.*\".*|\\1.\\2|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 mate-notification-daemon/receipt --- a/mate-notification-daemon/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/mate-notification-daemon/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,12 @@ libcanberra-dev libwnck-dev libnotify-dev intltool" GENERIC_MENUS="no" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 memtest/receipt --- a/memtest/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/memtest/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -13,6 +13,12 @@ BUILD_DEPENDS="xz" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/tar.gz"/!d;s|.*memtest86.-||;s|.tar.*||;q' +} + tune_lzma() { cp $stuff/*.S $stuff/pack . diff -r 3cdc90c472a2 -r ee53899c6189 menu-cache/receipt --- a/menu-cache/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/menu-cache/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="glib glibc-base libfm-extra libgio" # slitaz-menus ? BUILD_DEPENDS="gtk-doc libtool libfm-extra-dev" +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 mhwaveedit/receipt --- a/mhwaveedit/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/mhwaveedit/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -19,6 +19,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 midori/receipt --- a/midori/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/midori/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -26,6 +26,12 @@ librsvg-apps python vala" esac +current_version() +{ + wget -O - https://github.com/midori-browser/core/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 mtdev/receipt --- a/mtdev/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/mtdev/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -13,6 +13,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 mtpaint/receipt --- a/mtpaint/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/mtpaint/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -18,6 +18,12 @@ #HOST_ARCH="i486 arm" +current_version() +{ + wget -O - ${WEB_SITE}download.html 2>/dev/null | \ + sed '/HERE/!d;s|.*files.mtpaint.||;s|.">.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 nano/receipt --- a/nano/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/nano/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -24,6 +24,12 @@ arm*) BUILD_DEPENDS="ncursesw-dev zlib-dev" ;; esac +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/^[0-9]/!d;s|&.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 ncurses/receipt --- a/ncurses/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/ncurses/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -20,6 +20,12 @@ # @maintainer: Please update also: libform libmenu libpanel libtic libtinfo +current_version() +{ + wget -O - https://invisible-mirror.net/archives/ncurses/ 2>/dev/null | \ + sed '/ncurses-/!d;s|.*ncurses-||;s|.tar.*||' | sed '$!d' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 ncursesw/receipt --- a/ncursesw/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/ncursesw/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -21,6 +21,12 @@ arm) BUILD_DEPENDS="" ;; esac +current_version() +{ + wget -O - https://invisible-mirror.net/archives/ncurses/ 2>/dev/null | \ + sed '/ncurses-/!d;s|.*ncurses-||;s|.tar.*||' | sed '$!d' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 nettle/receipt --- a/nettle/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/nettle/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -22,6 +22,12 @@ ARCH_ARGS="--enable-arm-neon" ;; esac +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 ntfs-3g/receipt --- a/ntfs-3g/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/ntfs-3g/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="fuse attr" BUILD_DEPENDS="fuse-dev attr-dev util-linux-uuid-dev libtool" +current_version() +{ + wget -O - https://github.com/tuxera/ntfs-3g/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 ntfsprogs/receipt --- a/ntfsprogs/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/ntfsprogs/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,13 @@ DEPENDS="fuse ntfs-3g util-linux-uuid" BUILD_DEPENDS="fuse" +current_version() +{ + wget -O - https://sourceforge.net/projects/linux-ntfs/files/NTFS%20Tools%20and%20Library/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 obconf/receipt --- a/obconf/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/obconf/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,12 @@ BUILD_DEPENDS="gtk+-dev libglade-dev openbox-dev gdk-pixbuf-dev \ startup-notification-dev xorg-libXft-dev" +current_version() +{ + wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 openbox/receipt --- a/openbox/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/openbox/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -29,6 +29,12 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS startup-notification-dev xorg-dev" ;; esac +current_version() +{ + wget -O - http://openbox.org/wiki/Openbox:Download 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 pcmanfm/receipt --- a/pcmanfm/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/pcmanfm/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -24,6 +24,12 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;; esac +current_version() +{ + wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 pcre/receipt --- a/pcre/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/pcre/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -13,6 +13,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/pcre/files/pcre/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 posixovl/receipt --- a/posixovl/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/posixovl/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="attr fuse" BUILD_DEPENDS="attr-dev autoconf automake fuse-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/posixovl-/!d;s|.*posixovl-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 rp-pppoe/receipt --- a/rp-pppoe/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/rp-pppoe/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="i486" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 sakura/receipt --- a/sakura/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/sakura/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -20,6 +20,12 @@ i?86) BUILD_DEPENDS="$BUILD_DEPENDS gettext cmake wget" ;; esac +current_version() +{ + wget -O - https://launchpad.net/sakura 2>/dev/null | \ + sed '/Latest version/!d;s|.* is ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 slim/receipt --- a/slim/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/slim/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -29,6 +29,12 @@ LIBS=/cross/$ARCH/sysroot/usr/lib ;; esac +current_version() +{ + wget -O - https://github.com/iwamatsu/slim/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 sysfsutils/receipt --- a/sysfsutils/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/sysfsutils/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -12,6 +12,13 @@ DEPENDS="linux" +current_version() +{ + wget -O - https://sourceforge.net/projects/linux-diag/files/sysfsutils/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 terminus-font-base/receipt --- a/terminus-font-base/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/terminus-font-base/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - https://sourceforge.net/projects/terminus-font/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 ttf-dejavu/receipt --- a/ttf-dejavu/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/ttf-dejavu/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -17,6 +17,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://github.com/dejavu-fonts/dejavu-fonts/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 wireless_tools/receipt --- a/wireless_tools/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/wireless_tools/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -15,6 +15,12 @@ TAGS="wireless wifi network" DEPENDS="" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/tar.gz/!d;s|.*"wireless_tools.||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 yad-gtk2-html/receipt --- a/yad-gtk2-html/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/yad-gtk2-html/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -18,6 +18,12 @@ libgio libsoup libwebkit pango pcre zlib" BUILD_DEPENDS="gtk+-dev libwebkit-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \ + sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 yad-gtk2/receipt --- a/yad-gtk2/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/yad-gtk2/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -20,6 +20,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \ + sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 3cdc90c472a2 -r ee53899c6189 yad-gtk3/receipt --- a/yad-gtk3/receipt Tue Jul 06 14:28:49 2021 +0000 +++ b/yad-gtk3/receipt Wed Jul 07 10:35:01 2021 +0000 @@ -18,6 +18,12 @@ zlib" BUILD_DEPENDS="gtk+3-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/yad-dialog/files/ 2>/dev/null | \ + sed "/yad-/!d;/tar/!d;s|.*yad-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() {