# HG changeset patch # User Pascal Bellard # Date 1644339546 0 # Node ID afae00265386661e1cdeb10f5a6c114c7e21a9a3 # Parent f2701f2b47f2ff91f921b65ddabab30627aee98a Add some current_version diff -r f2701f2b47f2 -r afae00265386 cadaver/receipt --- a/cadaver/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/cadaver/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="openssl libkrb5 krb5 expat neon readline zlib libcomerr3" BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev readline-dev" +# What is the latest version available today? +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 f2701f2b47f2 -r afae00265386 cairo-clock/receipt --- a/cairo-clock/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/cairo-clock/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \ libcroco gcc3" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 cairo-dock/receipt --- a/cairo-dock/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/cairo-dock/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://launchpad.net/cairo-dock-core/ 2>/dev/null | \ + sed '/Latest version/!d;s|.* is ||' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 cairo-gl/receipt --- a/cairo-gl/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/cairo-gl/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -23,6 +23,13 @@ SPLIT="cairo-gl-tools" SIBLINGS="cairo" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/\"$SOURCE-/!d;/5c/d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ccid/receipt --- a/ccid/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ccid/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base libusb pcsc-lite" BUILD_DEPENDS="gcc83 libusb-dev pcsc-lite-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WEB_SITE}files 2>/dev/null | \ + sed '/ccid-/!d;s|.*ccid-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 cgames/receipt --- a/cgames/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/cgames/receipt Tue Feb 08 16:59:06 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 '/cgames-/!d;s|.*cgames-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mailsync/receipt --- a/mailsync/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mailsync/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,14 @@ DEPENDS="libssl" BUILD_DEPENDS="c-client openssl-dev bash" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mailsync/files/mailsync/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mailsync/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mailx/receipt --- a/mailx/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mailx/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="sendmail" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 matio/receipt --- a/matio/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/matio/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="zlib" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/matio/files/matio/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/matio/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 maxima/receipt --- a/maxima/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/maxima/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="tk rlwrap" BUILD_DEPENDS="clisp texinfo" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/maxima/files/Maxima-source/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/Maxima-source/||;s|-source/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mdbtools/receipt --- a/mdbtools/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mdbtools/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="ncurses readline glib libunixODBC libltdl" BUILD_DEPENDS="bison flex unixODBC-dev glib-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mdbtools/files/mdbtools/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mdbtools/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mfstool/receipt --- a/mfstool/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mfstool/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -10,6 +10,14 @@ WEB_SITE="http://mfstool.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mfstool/files/mfstool/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mfstool/||;s|/.*||;s|-||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mhash/receipt --- a/mhash/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mhash/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -10,6 +10,14 @@ WEB_SITE="http://mhash.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mhash/files/mhash/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mhash/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mikmod/receipt --- a/mikmod/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mikmod/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="libmikmod ncurses" BUILD_DEPENDS="libmikmod-dev ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mikmod/files/mikmod/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mikmod/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-binutils/receipt --- a/mingw32-binutils/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-binutils/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -20,6 +20,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/binutils-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-gcc-c/receipt --- a/mingw32-gcc-c/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-gcc-c/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -22,6 +22,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gcc-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-gcc/receipt --- a/mingw32-gcc/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-gcc/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -27,6 +27,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/gcc-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-runtime-headers/receipt --- a/mingw32-runtime-headers/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-runtime-headers/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -19,6 +19,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-runtime/receipt --- a/mingw32-runtime/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-runtime/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -20,6 +20,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-w32api-headers/receipt --- a/mingw32-w32api-headers/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-w32api-headers/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -19,6 +19,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/w32api-||;s|-src.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mingw32-w32api/receipt --- a/mingw32-w32api/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mingw32-w32api/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -20,6 +20,14 @@ . $WOK/mingw32-toolchain/stuff/mingw32.conf fi +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/w32api-||;s|-src.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 minidlna/receipt --- a/minidlna/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/minidlna/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,14 @@ libid3tag-dev libogg-dev libvorbis-dev sqlite-dev" CONFIG_FILES="/etc/minidlna.conf" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/minidlna/files/minidlna/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/minidlna/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mjpegtools/receipt --- a/mjpegtools/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mjpegtools/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,14 @@ xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage" BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev jpeg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mjpeg/files/mjpegtools/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mjpegtools/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 moonshiner/receipt --- a/moonshiner/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/moonshiner/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="python pygtk ghostscript" BUILD_DEPENDS="python-dev pygtk-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/moonshiner/files/moonshiner/ 2>/dev/null | \ + sed '/scope="row/!d;/snapshot/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/moonshiner/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mp3gain/receipt --- a/mp3gain/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mp3gain/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="mpg123" BUILD_DEPENDS="mpg123-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mp3gain/files/mp3gain/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mp3gain/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mp3val/receipt --- a/mp3val/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mp3val/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mp3val/files/mp3val/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mp3val/mp3val%20||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mrxvt/receipt --- a/mrxvt/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mrxvt/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,14 @@ xorg-libXft xorg-libXpm xorg-libXrender zlib" BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://sourceforge.net/projects/materm/files/mrxvt source/' 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*source/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ms-sys/receipt --- a/ms-sys/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ms-sys/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="" BUILD_DEPENDS="gettext" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://sourceforge.net/projects/ms-sys/files/ms-sys stable/' 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*stable/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mscore/receipt --- a/mscore/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mscore/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \ libsndfile-dev freetype-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mscore/files/mscore/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*Score-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mt-daapd/receipt --- a/mt-daapd/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mt-daapd/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gdbm libid3tag zlib" BUILD_DEPENDS="gdbm-dev libid3tag-dev glib" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mt-daapd/files/mt-daapd/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mt-daapd/||;s|/.*||;q' +} + # Rules to configure and make the package. # compile_rules() diff -r f2701f2b47f2 -r afae00265386 mtop/receipt --- a/mtop/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mtop/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="perl-curses perl-dbd-mysql" BUILD_DEPENDS="perl-curses perl-dbd-mysql" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mtop/files/mtop/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mtop/v||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 muninlite/receipt --- a/muninlite/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/muninlite/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -12,6 +12,14 @@ BUILD_DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://sourceforge.net/projects/muninlite/files/muninlite - stable/' 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*stable/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 mygestures/receipt --- a/mygestures/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/mygestures/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,14 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/mygestures/files/mygestures/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/mygestures/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 n2nc/receipt --- a/n2nc/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/n2nc/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="zlib libcrypto gcc-lib-base" BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev automake autoconf libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/n2nc/files/n2nc/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/n2nc/||;s|/.*||;s|-|_|;q' +} # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nagios-nsca/receipt --- a/nagios-nsca/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nagios-nsca/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev" DEPENDS="libmcrypt" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \ + sed '/scope="row/!d;/nsca-/!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 '/scope="row/!d;s|.*/nsca-||;s|.tar.*||;q' +} # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nagios/receipt --- a/nagios/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nagios/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,15 @@ BUILD_DEPENDS="jpeg-dev libgd-dev libpng-dev libtool procps unzip" # busybox ps and unzip do not supply the required options +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \ + sed '/scope="row/!d;/nagios-/!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 '/scope="row/!d;s|.*/nagios-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nail/receipt --- a/nail/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nail/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,14 @@ DEPENDS="openssl" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nanoshot/receipt --- a/nanoshot/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nanoshot/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \ dbus-python python-pil bash sed" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nanoshot/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|.*/nanoshot-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 navit/receipt --- a/navit/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/navit/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,13 @@ libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \ xorg-libXi-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/navit/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/files/v\.*||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nbd/receipt --- a/nbd/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nbd/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,14 @@ CONFIG_FILES="/etc/nbd-server" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nbd/files/nbd/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/nbd/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nconf/receipt --- a/nconf/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nconf/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -12,6 +12,14 @@ DEPENDS="mysql php-apache nagios perl perl-dbi perl-dbd-mysql" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nconf/files/nconf/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/nconf/||;s|/.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r f2701f2b47f2 -r afae00265386 ndiswrapper-driver/receipt --- a/ndiswrapper-driver/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ndiswrapper-driver/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="linux" BUILD_DEPENDS="linux-module-headers xz" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ndiswrapper/files/stable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ndiswrapper-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ndiswrapper-driver64/receipt --- a/ndiswrapper-driver64/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ndiswrapper-driver64/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -19,6 +19,14 @@ AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ndiswrapper/files/stable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ndiswrapper-||;s|.tar.*||;q' +} + +# Rules to configure and make the package. # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ndoutils/receipt --- a/ndoutils/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ndoutils/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -16,6 +16,15 @@ CONFIG_FILES="/etc/nagios" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects//nagios/files/ 2>/dev/null | \ + sed '/scope="row/!d;/ndoutils-/!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 '/scope="row/!d;s|.*/ndoutils-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 net-snmp/receipt --- a/net-snmp/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/net-snmp/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="openssl" BUILD_DEPENDS="file openssl-dev perl" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/net-snmp/files/net-snmp/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/net-snmp/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 netatalk-pam/receipt --- a/netatalk-pam/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/netatalk-pam/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -17,6 +17,14 @@ libwrap zlib pam libcomerr3" BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 netatalk/receipt --- a/netatalk/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/netatalk/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,14 @@ libwrap zlib libcomerr3" BUILD_DEPENDS="db-dev libcrypto-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nethack/receipt --- a/nethack/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nethack/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev bison flex" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 netrik/receipt --- a/netrik/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/netrik/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="glibc-base ncursesw readline" BUILD_DEPENDS="readline-dev ncursesw-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/netrik/files/stable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/stable/||;s|%20.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nfs-utils/receipt --- a/nfs-utils/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nfs-utils/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -31,6 +31,14 @@ --without-tcp-wrappers CC_FOR_BUILD=${HOST_SYSTEM}-gcc" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nfs/files/nfs-utils/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/nfs-utils/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ninvaders/receipt --- a/ninvaders/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ninvaders/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev libtinfo" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ninvaders/files/ninvaders/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ninvaders/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 njconnect/receipt --- a/njconnect/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/njconnect/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.tar.xz" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/njconnect/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/njconnect-||;s|.tar.*||;q' +} + DEPENDS="jack-audio-connection-kit ncursesw" BUILD_DEPENDS="jack-audio-connection-kit-dev ncursesw ncursesw-dev" diff -r f2701f2b47f2 -r afae00265386 nmon/receipt --- a/nmon/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nmon/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncursesw" BUILD_DEPENDS="glibc-base linux-api-headers ncursesw-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nmon/files/ 2>/dev/null | \ + sed '/scope="row/!d;/lmon/!d;/c.down/!d;s|.*files/lmon||;s|.c/down.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 nomacs/receipt --- a/nomacs/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/nomacs/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev" SUGGESTED="xdg-utils qtconfig" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/nomacs/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/nomacs-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 notecase/receipt --- a/notecase/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/notecase/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -15,6 +15,14 @@ BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \ pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/notecase/files/notecase/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/notecase/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 npush/receipt --- a/npush/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/npush/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/npush/files/npush/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/npush/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f2701f2b47f2 -r afae00265386 ntlmaps/receipt --- a/ntlmaps/receipt Tue Feb 08 17:05:29 2022 +0100 +++ b/ntlmaps/receipt Tue Feb 08 16:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ntlmaps/files/ntlmaps/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/ntlmaps-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() {