wok-current rev 24396

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 12:15:27 2022 +0000 (2022-02-08)
parents fbdafd10b728
children 351381d7a506
files cabextract/receipt calcurse/receipt obexftp/receipt ogmrip/receipt open-cobol/receipt opencore-amr/receipt openmotif/receipt opensp/receipt optipng/receipt osmo/receipt p910nd/receipt pam_mount/receipt pam_ssh/receipt pamtester/receipt parcellite/receipt partclone/receipt partimage-pam/receipt partimage/receipt pcmanfm-legacy/receipt pcre2/receipt plotdrop/receipt ploticus/receipt pngcrush/receipt pngnq-s9/receipt pnm2ppa/receipt ponyprog/receipt poptop/receipt portmidi/receipt portsentry/receipt pptpclient/receipt prboom/receipt privoxy/receipt proxytunnel/receipt psyco/receipt pwgen/receipt pxe-kexec/receipt py3k-distutils-extra/receipt pysdm/receipt pysolfc/receipt python-distutils-extra/receipt python-mysql/receipt python-pyxml/receipt python-webdav/receipt python-xlib/receipt python-zsi/receipt
line diff
     1.1 --- a/cabextract/receipt	Tue Feb 08 10:23:22 2022 +0100
     1.2 +++ b/cabextract/receipt	Tue Feb 08 12:15:27 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://www.cabextract.org.uk/$TARBALL"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed '/ source /!d;s|.*cabextract ||;s| source.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/calcurse/receipt	Tue Feb 08 10:23:22 2022 +0100
     2.2 +++ b/calcurse/receipt	Tue Feb 08 12:15:27 2022 +0000
     2.3 @@ -15,6 +15,13 @@
     2.4  DEPENDS="ncurses ncursesw"
     2.5  BUILD_DEPENDS="ncurses-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.11 +	sed '/source/!d;s|.*calcurse ||;s| .*||'
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/obexftp/receipt	Tue Feb 08 10:23:22 2022 +0100
     3.2 +++ b/obexftp/receipt	Tue Feb 08 12:15:27 2022 +0000
     3.3 @@ -14,6 +14,14 @@
     3.4  DEPENDS="bluez openobex fuse expat"
     3.5  BUILD_DEPENDS="cmake bluez-dev openobex-dev fuse-dev expat-dev"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://sourceforge.net/projects/openobex/files/obexftp/ 2>/dev/null | \
    3.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    3.12 +	sed '/scope="row/!d;s|.*/obexftp/||;s|/.*||;q'
    3.13 +}
    3.14 +
    3.15  # Rules to configure and make the package.
    3.16  compile_rules()
    3.17  {
     4.1 --- a/ogmrip/receipt	Tue Feb 08 10:23:22 2022 +0100
     4.2 +++ b/ogmrip/receipt	Tue Feb 08 12:15:27 2022 +0000
     4.3 @@ -16,6 +16,15 @@
     4.4  	libglade-dev libnotify-dev libxml2-dev mencoder mplayer pkg-config \
     4.5  	tiff-dev zlib-dev" 
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://sourceforge.net/projects/ogmrip/files/ogmrip/ 2>/dev/null | \
    4.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    4.12 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    4.13 +	sed '/scope="row/!d;s|.*/ogmrip-||;s|.tar.*||;q'
    4.14 +}
    4.15 +
    4.16  compile_rules()
    4.17  {
    4.18  	./configure			\
     5.1 --- a/open-cobol/receipt	Tue Feb 08 10:23:22 2022 +0100
     5.2 +++ b/open-cobol/receipt	Tue Feb 08 12:15:27 2022 +0000
     5.3 @@ -13,6 +13,14 @@
     5.4  DEPENDS="gmp ncurses db gcc"
     5.5  BUILD_DEPENDS="$DEPENDS ncurses-dev gmp-dev db-dev bison flex"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://sourceforge.net/projects/gnucobol/files/open-cobol/ 2>/dev/null | \
    5.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    5.12 +	sed '/scope="row/!d;s|.*/open-cobol/||;s|/.*||;q'
    5.13 +}
    5.14 +
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
     6.1 --- a/opencore-amr/receipt	Tue Feb 08 10:23:22 2022 +0100
     6.2 +++ b/opencore-amr/receipt	Tue Feb 08 12:15:27 2022 +0000
     6.3 @@ -14,6 +14,13 @@
     6.4  DEPENDS=""
     6.5  BUILD_DEPENDS=""
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://sourceforge.net/projects/opencore-amr/files/opencore-amr/ 2>/dev/null | \
    6.11 +	sed '/scope="row/!d;/tar/!d;s|.*/opencore-amr-||;s|.tar.*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/openmotif/receipt	Tue Feb 08 10:23:22 2022 +0100
     7.2 +++ b/openmotif/receipt	Tue Feb 08 12:15:27 2022 +0000
     7.3 @@ -18,6 +18,14 @@
     7.4  	xorg-libXrender-dev xorg-libXt-dev xorg-printproto xorg-xbitmaps \
     7.5  	xorg-xextproto xorg-xproto"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://sourceforge.net/projects/motif/files/ 2>/dev/null | \
    7.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    7.12 +	sed '/scope="row/!d;s|.*/Motif%20||;s|%20.*||;q'
    7.13 +}
    7.14 +
    7.15  # Rules to configure and make the package.
    7.16  compile_rules()
    7.17  {
     8.1 --- a/opensp/receipt	Tue Feb 08 10:23:22 2022 +0100
     8.2 +++ b/opensp/receipt	Tue Feb 08 12:15:27 2022 +0000
     8.3 @@ -14,6 +14,14 @@
     8.4  DEPENDS=""
     8.5  BUILD_DEPENDS="make gcc perl"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://sourceforge.net/projects/openjade/files/opensp/ 2>/dev/null | \
    8.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    8.12 +	sed '/scope="row/!d;s|.*/opensp/||;s|/.*||;q'
    8.13 +}
    8.14 +
    8.15  # Rules to configure and make the package.
    8.16  compile_rules()
    8.17  {
     9.1 --- a/optipng/receipt	Tue Feb 08 10:23:22 2022 +0100
     9.2 +++ b/optipng/receipt	Tue Feb 08 12:15:27 2022 +0000
     9.3 @@ -15,6 +15,14 @@
     9.4  DEPENDS="libpng+apng"
     9.5  BUILD_DEPENDS="libpng+apng-dev zlib-dev"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://sourceforge.net/projects/optipng/files/OptiPNG/ 2>/dev/null | \
    9.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.12 +	sed '/scope="row/!d;/tar/!d;s|.*/optipng-||;s|.tar.*||;q'
    9.13 +}
    9.14 +
    9.15  # Rules to configure and make the package.
    9.16  compile_rules()
    9.17  {
    10.1 --- a/osmo/receipt	Tue Feb 08 10:23:22 2022 +0100
    10.2 +++ b/osmo/receipt	Tue Feb 08 12:15:27 2022 +0000
    10.3 @@ -15,6 +15,14 @@
    10.4  BUILD_DEPENDS="gtk+ gtk+-dev libwebkit-dev libxml2-dev libnotify-dev \
    10.5  libical-dev gettext-tools"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://sourceforge.net/projects/osmo-pim/files/osmo-pim/ 2>/dev/null | \
   10.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   10.12 +	sed '/scope="row/!d;s|.*/osmo-||;s|.tar.*||;q'
   10.13 +}
   10.14 +
   10.15  # Rules to configure and make the package.
   10.16  compile_rules()
   10.17  {
    11.1 --- a/p910nd/receipt	Tue Feb 08 10:23:22 2022 +0100
    11.2 +++ b/p910nd/receipt	Tue Feb 08 12:15:27 2022 +0000
    11.3 @@ -12,6 +12,13 @@
    11.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    11.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - https://github.com/kenyapcomau/p910nd/tags 2>/dev/null | \
   11.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/pam_mount/receipt	Tue Feb 08 10:23:22 2022 +0100
    12.2 +++ b/pam_mount/receipt	Tue Feb 08 12:15:27 2022 +0000
    12.3 @@ -14,6 +14,14 @@
    12.4  util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev"
    12.5  DEPENDS="pam libcrypto libxml2 libhx zlib"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \
   12.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   12.12 +	sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q'
   12.13 +}
   12.14 +
   12.15  # Rules to configure and make the package.
   12.16  compile_rules()
   12.17  {
    13.1 --- a/pam_ssh/receipt	Tue Feb 08 10:23:22 2022 +0100
    13.2 +++ b/pam_ssh/receipt	Tue Feb 08 12:15:27 2022 +0000
    13.3 @@ -14,6 +14,14 @@
    13.4  DEPENDS="pam libcrypto openssh-pam"
    13.5  BUILD_DEPENDS="pam-dev file openssl-dev openssh-pam automake"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://sourceforge.net/projects/pam-ssh/files/pam_ssh/ 2>/dev/null | \
   13.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   13.12 +	sed '/scope="row/!d;s|.*/pam_ssh/||;s|/.*||;q'
   13.13 +}
   13.14 +
   13.15  # Rules to configure and make the package.
   13.16  compile_rules()
   13.17  {
    14.1 --- a/pamtester/receipt	Tue Feb 08 10:23:22 2022 +0100
    14.2 +++ b/pamtester/receipt	Tue Feb 08 12:15:27 2022 +0000
    14.3 @@ -13,6 +13,14 @@
    14.4  DEPENDS="pam"
    14.5  BUILD_DEPENDS="pam pam-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://sourceforge.net/projects/pamtester/files/pamtester/ 2>/dev/null | \
   14.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   14.12 +	sed '/scope="row/!d;s|.*/pamtester/||;s|/.*||;q'
   14.13 +}
   14.14 +
   14.15  # Rules to configure and make the package.
   14.16  compile_rules()
   14.17  {
    15.1 --- a/parcellite/receipt	Tue Feb 08 10:23:22 2022 +0100
    15.2 +++ b/parcellite/receipt	Tue Feb 08 12:15:27 2022 +0000
    15.3 @@ -16,6 +16,14 @@
    15.4  
    15.5  HOST_ARCH="i486 arm"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - https://sourceforge.net/projects/parcellite/files/parcellite/ 2>/dev/null | \
   15.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   15.12 +	sed '/scope="row/!d;s|.*/parcellite-||;s|.tar.*||;q'
   15.13 +}
   15.14 +
   15.15  # Rules to configure and make the package.
   15.16  compile_rules()
   15.17  {	
    16.1 --- a/partclone/receipt	Tue Feb 08 10:23:22 2022 +0100
    16.2 +++ b/partclone/receipt	Tue Feb 08 12:15:27 2022 +0000
    16.3 @@ -15,6 +15,13 @@
    16.4  BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev libxslt e2fsprogs-dev \
    16.5   ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://sourceforge.net/projects/partclone/files/source/ 2>/dev/null | \
   16.11 +	sed '/scope="row/!d;s|.*/partclone-||;s|.tar.*||;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/partimage-pam/receipt	Tue Feb 08 10:23:22 2022 +0100
    17.2 +++ b/partimage-pam/receipt	Tue Feb 08 12:15:27 2022 +0000
    17.3 @@ -15,6 +15,14 @@
    17.4  DEPENDS="newt bzip2 openssl slitaz-base-files zlib pam gcc-lib-base"
    17.5  BUILD_DEPENDS="newt newt-dev slang-dev bzip2-dev openssl-dev pam pam-dev"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - https://sourceforge.net/projects/partimage/files/stable/ 2>/dev/null | \
   17.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   17.12 +	sed '/scope="row/!d;s|.*/stable/||;s|/.*||;q'
   17.13 +}
   17.14 +
   17.15  # Rules to configure and make the package.
   17.16  compile_rules()
   17.17  {
    18.1 --- a/partimage/receipt	Tue Feb 08 10:23:22 2022 +0100
    18.2 +++ b/partimage/receipt	Tue Feb 08 12:15:27 2022 +0000
    18.3 @@ -13,6 +13,14 @@
    18.4  DEPENDS="newt bzip2 openssl slitaz-base-files zlib gcc-lib-base"
    18.5  BUILD_DEPENDS="newt newt-dev slang-dev bzip2-dev openssl-dev zlib-dev"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - https://sourceforge.net/projects/partimage/files/stable/ 2>/dev/null | \
   18.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   18.12 +	sed '/scope="row/!d;s|.*/stable/||;s|/.*||;q'
   18.13 +}
   18.14 +
   18.15  # Rules to configure and make the package.
   18.16  compile_rules()
   18.17  {
    19.1 --- a/pcmanfm-legacy/receipt	Tue Feb 08 10:23:22 2022 +0100
    19.2 +++ b/pcmanfm-legacy/receipt	Tue Feb 08 12:15:27 2022 +0000
    19.3 @@ -22,6 +22,13 @@
    19.4  dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \
    19.5  xcb-util"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - 'https://sourceforge.net/projects/pcmanfm/files/PCManFM %2B Libfm (tarball release)/PCManFM/' 2>/dev/null | \
   19.11 +	sed '/scope="row/!d;s|.*/pcmanfm-||;s|.tar.*||;q'
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/pcre2/receipt	Tue Feb 08 10:23:22 2022 +0100
    20.2 +++ b/pcre2/receipt	Tue Feb 08 12:15:27 2022 +0000
    20.3 @@ -13,6 +13,14 @@
    20.4  
    20.5  HOST_ARCH="i486 arm"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://sourceforge.net/projects/pcre/files/pcre2/ 2>/dev/null | \
   20.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   20.12 +	sed '/scope="row/!d;s|.*/pcre2/||;s|/.*||;q'
   20.13 +}
   20.14 +
   20.15  # Rules to configure and make the package.
   20.16  compile_rules()
   20.17  {
    21.1 --- a/plotdrop/receipt	Tue Feb 08 10:23:22 2022 +0100
    21.2 +++ b/plotdrop/receipt	Tue Feb 08 12:15:27 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  DEPENDS="expat gnuplot gtk+ libglade libxml2 xorg-libX11"
    21.5  BUILD_DEPENDS="glib-dev libglade-dev"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://sourceforge.net/projects/plotdrop/files/ 2>/dev/null | \
   21.11 +	sed '/scope="row/!d;/plotdrop/!d;/tar/!d;s|.*/plotdrop-||;s|.tar.*||;q'
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/ploticus/receipt	Tue Feb 08 10:23:22 2022 +0100
    22.2 +++ b/ploticus/receipt	Tue Feb 08 12:15:27 2022 +0000
    22.3 @@ -15,6 +15,14 @@
    22.4  DEPENDS="zlib xorg libpng"
    22.5  BUILD_DEPENDS="zlib-dev xorg-dev libpng-dev"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://sourceforge.net/projects/ploticus/files/ploticus/ 2>/dev/null | \
   22.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   22.12 +	sed '/scope="row/!d;s|.*/ploticus/||;s|/.*||;q'
   22.13 +}
   22.14 +
   22.15  # Rules to configure and make the package.
   22.16  compile_rules()
   22.17  {
    23.1 --- a/pngcrush/receipt	Tue Feb 08 10:23:22 2022 +0100
    23.2 +++ b/pngcrush/receipt	Tue Feb 08 12:15:27 2022 +0000
    23.3 @@ -12,6 +12,14 @@
    23.4  
    23.5  DEPENDS="glibc-base"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://sourceforge.net/projects/pmt/files/pngcrush/ 2>/dev/null | \
   23.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   23.12 +	sed '/scope="row/!d;s|.*/pngcrush/||;s|/.*||;q'
   23.13 +}
   23.14 +
   23.15  # Rules to configure and make the package.
   23.16  compile_rules()
   23.17  {
    24.1 --- a/pngnq-s9/receipt	Tue Feb 08 10:23:22 2022 +0100
    24.2 +++ b/pngnq-s9/receipt	Tue Feb 08 12:15:27 2022 +0000
    24.3 @@ -13,6 +13,13 @@
    24.4  DEPENDS="zlib libpng"
    24.5  BUILD_DEPENDS="zlib-dev libpng-dev"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - https://sourceforge.net/projects/pngnqs9/files/ 2>/dev/null | \
   24.11 +	sed '/scope="row/!d;/pngnq/!d;/tar.gz/!d;s|.*/pngnq-s9-||;s|.tar.*||;q'
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/pnm2ppa/receipt	Tue Feb 08 10:23:22 2022 +0100
    25.2 +++ b/pnm2ppa/receipt	Tue Feb 08 12:15:27 2022 +0000
    25.3 @@ -14,6 +14,14 @@
    25.4  DEPENDS="cups foomatic-filters ghostscript"
    25.5  BUILD_DEPENDS="ghostscript-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://sourceforge.net/projects/pnm2ppa/files/pnm2ppa/ 2>/dev/null | \
   25.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   25.12 +	sed '/scope="row/!d;s|.*/pnm2ppa/||;s|/.*||;q'
   25.13 +}
   25.14 +
   25.15  # Rules to configure and make the package.
   25.16  compile_rules()
   25.17  {
    26.1 --- a/ponyprog/receipt	Tue Feb 08 10:23:22 2022 +0100
    26.2 +++ b/ponyprog/receipt	Tue Feb 08 12:15:27 2022 +0000
    26.3 @@ -13,6 +13,14 @@
    26.4  
    26.5  DEPENDS="xorg-libXaw"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - https://sourceforge.net/projects/ponyprog/files/PonyProg%20sources/ 2>/dev/null | \
   26.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   26.12 +	sed '/scope="row/!d;s|.*/PonyProg%20sources/||;s|/.*||;q'
   26.13 +}
   26.14 +
   26.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.16  genpkg_rules()
   26.17  {
    27.1 --- a/poptop/receipt	Tue Feb 08 10:23:22 2022 +0100
    27.2 +++ b/poptop/receipt	Tue Feb 08 12:15:27 2022 +0000
    27.3 @@ -19,6 +19,14 @@
    27.4  
    27.5  CONFIG_FILES="/etc/pptpd.conf /etc/ppp/options.pptpd"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://sourceforge.net/projects/poptop/files/pptpd/ 2>/dev/null | \
   27.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   27.12 +	sed '/scope="row/!d;s|.*/pptpd-||;s|.tar.*||;q'
   27.13 +}
   27.14 +
   27.15  # Rules to configure and make the package.
   27.16  compile_rules()
   27.17  {
    28.1 --- a/portmidi/receipt	Tue Feb 08 10:23:22 2022 +0100
    28.2 +++ b/portmidi/receipt	Tue Feb 08 12:15:27 2022 +0000
    28.3 @@ -13,6 +13,14 @@
    28.4  DEPENDS="alsa-lib"
    28.5  BUILD_DEPENDS="alsa-lib-dev cmake unzip"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - https://sourceforge.net/projects/portmedia/files/portmidi/ 2>/dev/null | \
   28.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   28.12 +	sed '/scope="row/!d;s|.*/portmidi/||;s|/.*||;q'
   28.13 +}
   28.14 +
   28.15  # Rules to configure and make the package.
   28.16  compile_rules()
   28.17  {
    29.1 --- a/portsentry/receipt	Tue Feb 08 10:23:22 2022 +0100
    29.2 +++ b/portsentry/receipt	Tue Feb 08 12:15:27 2022 +0000
    29.3 @@ -13,6 +13,14 @@
    29.4  DEPENDS=""
    29.5  BUILD_DEPENDS=""
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://sourceforge.net/projects//sentrytools/files/portsentry%201.x/ 2>/dev/null | \
   29.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   29.12 +	sed '/scope="row/!d;s|.*/portsentry-||;s|.tar.*||;q'
   29.13 +}
   29.14 +
   29.15  # Rules to configure and make the package.
   29.16  compile_rules()
   29.17  {
    30.1 --- a/pptpclient/receipt	Tue Feb 08 10:23:22 2022 +0100
    30.2 +++ b/pptpclient/receipt	Tue Feb 08 12:15:27 2022 +0000
    30.3 @@ -18,6 +18,14 @@
    30.4  BUILD_DEPENDS="ppp"
    30.5  CONFIG_FILES="/etc/ppp/options.pptp"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://sourceforge.net/projects/pptpclient/files/pptp/ 2>/dev/null | \
   30.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   30.12 +	sed '/scope="row/!d;s|.*/pptp-||;s|.tar.*||;q'
   30.13 +}
   30.14 +
   30.15  # Rules to configure and make the package.
   30.16  compile_rules()
   30.17  {
    31.1 --- a/prboom/receipt	Tue Feb 08 10:23:22 2022 +0100
    31.2 +++ b/prboom/receipt	Tue Feb 08 12:15:27 2022 +0000
    31.3 @@ -15,6 +15,14 @@
    31.4  BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mesa-dev libglu-mesa \
    31.5  libpng-dev"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://sourceforge.net/projects/prboom/files/prboom%20stable/ 2>/dev/null | \
   31.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   31.12 +	sed '/scope="row/!d;s|.*/prboom%20stable/||;s|/.*||;q'
   31.13 +}
   31.14 +
   31.15  # Rules to configure and make the package.
   31.16  compile_rules()
   31.17  {
    32.1 --- a/privoxy/receipt	Tue Feb 08 10:23:22 2022 +0100
    32.2 +++ b/privoxy/receipt	Tue Feb 08 12:15:27 2022 +0000
    32.3 @@ -15,6 +15,14 @@
    32.4  BUILD_DEPENDS="autoconf coreutils m4 perl zlib-dev"
    32.5  CONFIG_FILES="/etc/privoxy/config"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://sourceforge.net/projects/ijbswa/files/Sources/ 2>/dev/null | \
   32.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   32.12 +	sed '/scope="row/!d;s|.*/Sources/||;s|%20.*/.*||;q'
   32.13 +}
   32.14 +
   32.15  # Rules to configure and make the package.
   32.16  compile_rules()
   32.17  {
    33.1 --- a/proxytunnel/receipt	Tue Feb 08 10:23:22 2022 +0100
    33.2 +++ b/proxytunnel/receipt	Tue Feb 08 12:15:27 2022 +0000
    33.3 @@ -13,6 +13,14 @@
    33.4  DEPENDS="libcrypto libssl gzip"
    33.5  BUILD_DEPENDS="openssl-dev"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \
   33.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   33.12 +	sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q'
   33.13 +}
   33.14 +
   33.15  # Rules to configure and make the package.
   33.16  compile_rules()
   33.17  {
    34.1 --- a/psyco/receipt	Tue Feb 08 10:23:22 2022 +0100
    34.2 +++ b/psyco/receipt	Tue Feb 08 12:15:27 2022 +0000
    34.3 @@ -13,6 +13,14 @@
    34.4  DEPENDS="python"
    34.5  BUILD_DEPENDS="python-dev"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - https://sourceforge.net/projects/psyco/files/psyco/ 2>/dev/null | \
   34.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   34.12 +	sed '/scope="row/!d;s|.*/psyco/||;s|/.*||;q'
   34.13 +}
   34.14 +
   34.15  # Rules to configure and make the package.
   34.16  compile_rules()
   34.17  {
    35.1 --- a/pwgen/receipt	Tue Feb 08 10:23:22 2022 +0100
    35.2 +++ b/pwgen/receipt	Tue Feb 08 12:15:27 2022 +0000
    35.3 @@ -11,6 +11,14 @@
    35.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    35.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - https://sourceforge.net/projects/pwgen/files/pwgen/ 2>/dev/null | \
   35.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   35.12 +	sed '/scope="row/!d;s|.*/pwgen/||;s|/.*||;q'
   35.13 +}
   35.14 +
   35.15  # Rules to configure and make the package.
   35.16  compile_rules()
   35.17  {
    36.1 --- a/pxe-kexec/receipt	Tue Feb 08 10:23:22 2022 +0100
    36.2 +++ b/pxe-kexec/receipt	Tue Feb 08 12:15:27 2022 +0000
    36.3 @@ -13,6 +13,13 @@
    36.4  DEPENDS="curl readline kexec-tools gcc-lib-base"
    36.5  BUILD_DEPENDS="cmake curl-dev ncurses-dev"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - https://sourceforge.net/projects/pxe-kexec.berlios/files/ 2>/dev/null | \
   36.11 +	sed '/scope="row/!d;s|.*/pxe-kexec-||;s|.tar.*||;q'
   36.12 +}
   36.13 +
   36.14  # Rules to configure and make the package.
   36.15  compile_rules()
   36.16  {
    37.1 --- a/py3k-distutils-extra/receipt	Tue Feb 08 10:23:22 2022 +0100
    37.2 +++ b/py3k-distutils-extra/receipt	Tue Feb 08 12:15:27 2022 +0000
    37.3 @@ -17,6 +17,13 @@
    37.4  
    37.5  HOST_ARCH="i486 arm"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   37.11 +	sed '/atest version/!d;s|.* is ||;q'
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/pysdm/receipt	Tue Feb 08 10:23:22 2022 +0100
    38.2 +++ b/pysdm/receipt	Tue Feb 08 12:15:27 2022 +0000
    38.3 @@ -13,6 +13,14 @@
    38.4  DEPENDS="pygtk"
    38.5  BUILD_DEPENDS="python python-dev"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - https://sourceforge.net/projects/pysdm/files/pysdm/ 2>/dev/null | \
   38.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   38.12 +	sed '/scope="row/!d;/tar/!d;s|.*/pysdm-||;s|.tar.*||;q'
   38.13 +}
   38.14 +
   38.15  # Rules to configure and make the package.
   38.16  compile_rules()
   38.17  {
    39.1 --- a/pysolfc/receipt	Tue Feb 08 10:23:22 2022 +0100
    39.2 +++ b/pysolfc/receipt	Tue Feb 08 12:15:27 2022 +0000
    39.3 @@ -14,6 +14,14 @@
    39.4  DEPENDS="python tk"
    39.5  BUILD_DEPENDS="$DEPENDS"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - https://sourceforge.net/projects/pysolfc/files/PySolFC/ 2>/dev/null | \
   39.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   39.12 +	sed '/scope="row/!d;s|.*/PySolFC/PySolFC-||;s|/.*||;q'
   39.13 +}
   39.14 +
   39.15  # Rules to configure and make the package.
   39.16  compile_rules()
   39.17  {
    40.1 --- a/python-distutils-extra/receipt	Tue Feb 08 10:23:22 2022 +0100
    40.2 +++ b/python-distutils-extra/receipt	Tue Feb 08 12:15:27 2022 +0000
    40.3 @@ -16,6 +16,13 @@
    40.4  
    40.5  HOST_ARCH="i486 arm"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   40.11 +	sed '/atest version/!d;s|.* is ||;q'
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/python-mysql/receipt	Tue Feb 08 10:23:22 2022 +0100
    41.2 +++ b/python-mysql/receipt	Tue Feb 08 12:15:27 2022 +0000
    41.3 @@ -14,6 +14,14 @@
    41.4  DEPENDS="python libmysqlclient zlib openssl"
    41.5  BUILD_DEPENDS="python-dev python-setuptools mysql-dev"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - https://sourceforge.net/projects/mysql-python/files/mysql-python/ 2>/dev/null | \
   41.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   41.12 +	sed '/scope="row/!d;s|.*/mysql-python/||;s|/.*||;q'
   41.13 +}
   41.14 +
   41.15  # Rules to configure and make the package.
   41.16  compile_rules()
   41.17  {
    42.1 --- a/python-pyxml/receipt	Tue Feb 08 10:23:22 2022 +0100
    42.2 +++ b/python-pyxml/receipt	Tue Feb 08 12:15:27 2022 +0000
    42.3 @@ -14,6 +14,14 @@
    42.4  DEPENDS="python"
    42.5  BUILD_DEPENDS="python python-dev"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - https://sourceforge.net/projects/python-xlib/files/python-xlib/ 2>/dev/null | \
   42.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   42.12 +	sed '/scope="row/!d;s|.*/python-xlib/||;s|/.*||;q'
   42.13 +}
   42.14 +
   42.15  # Rules to configure and make the package.
   42.16  compile_rules()
   42.17  {
    43.1 --- a/python-webdav/receipt	Tue Feb 08 10:23:22 2022 +0100
    43.2 +++ b/python-webdav/receipt	Tue Feb 08 12:15:27 2022 +0000
    43.3 @@ -13,6 +13,13 @@
    43.4  DEPENDS="python"
    43.5  BUILD_DEPENDS="python-dev python"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://sourceforge.net/projects/python-webdav/files/ 2>/dev/null | \
   43.11 +	sed '/scope="row/!d;/tar.gz/!d;s|.*/python-webdav_||;s|.tar.*||;q'
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/python-xlib/receipt	Tue Feb 08 10:23:22 2022 +0100
    44.2 +++ b/python-xlib/receipt	Tue Feb 08 12:15:27 2022 +0000
    44.3 @@ -13,6 +13,14 @@
    44.4  DEPENDS="python"
    44.5  BUILD_DEPENDS="python"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - https://sourceforge.net/projects/python-xlib/files/python-xlib/ 2>/dev/null | \
   44.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   44.12 +	sed '/scope="row/!d;s|.*/python-xlib/||;s|/.*||;q'
   44.13 +}
   44.14 +
   44.15  # Rules to configure and make the package.
   44.16  compile_rules()
   44.17  {
    45.1 --- a/python-zsi/receipt	Tue Feb 08 10:23:22 2022 +0100
    45.2 +++ b/python-zsi/receipt	Tue Feb 08 12:15:27 2022 +0000
    45.3 @@ -14,6 +14,14 @@
    45.4  DEPENDS="python python-pyxml"
    45.5  BUILD_DEPENDS="python-dev python-setuptools"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - https://sourceforge.net/projects/pywebsvcs/files/ZSI/ 2>/dev/null | \
   45.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   45.12 +	sed '/scope="row/!d;s|.*/ZSI/ZSI-||;s|/.*||;s|_|-|;q'
   45.13 +}
   45.14 +
   45.15  # Rules to configure and make the package.
   45.16  compile_rules()
   45.17  {