wok-current rev 25562

ext4magic: add current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 01 08:21:00 2023 +0000 (20 months ago)
parents 10f03f0226ad
children 41581d281860
files aaphoto/receipt ext4magic/receipt rp-pppoe/receipt ypserv/receipt
line diff
     1.1 --- a/aaphoto/receipt	Sun Apr 30 06:26:09 2023 +0100
     1.2 +++ b/aaphoto/receipt	Mon May 01 08:21:00 2023 +0000
     1.3 @@ -11,7 +11,7 @@
     1.4  WEB_SITE="https://web.archive.org/web/20220728233436/http://log69.com/aaphoto_en.html"
     1.5  #WEB_SITE="https://github.com/log69/aaphoto"
     1.6  #WGET_URL="http://log69.com/downloads/$TARBALL"
     1.7 -WGET_URL="http://ftp.twaren.net/Linux/Gentoo/distfiles/88/$TARBALL"
     1.8 +WGET_URL="http://deb.debian.org/debian/pool/main/a/aaphoto/aaphoto_$VERSION.orig.tar.gz"
     1.9  TAGS="photo jpeg jpg png bmp"
    1.10  
    1.11  DEPENDS="jasper jpeg libpng zlib"
     2.1 --- a/ext4magic/receipt	Sun Apr 30 06:26:09 2023 +0100
     2.2 +++ b/ext4magic/receipt	Mon May 01 08:21:00 2023 +0000
     2.3 @@ -7,7 +7,7 @@
     2.4  SHORT_DESC="Recover deleted or overwritten files on ext3 and ext4 filesystems."
     2.5  MAINTAINER="maintainer@slitaz.org"
     2.6  LICENSE="GPL2+"
     2.7 -WEB_SITE="https://sourceforge.net/projects/ext4magic"
     2.8 +WEB_SITE="https://sourceforge.net/projects/ext4magic/"
     2.9  
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.12 @@ -16,6 +16,13 @@
    2.13  BUILD_DEPENDS="e2fsprogs e2fsprogs-dev file libmagic-dev 
    2.14  	util-linux-blkid-dev util-linux-uuid-dev zlib-dev"
    2.15  
    2.16 +# What is the latest version available today?
    2.17 +current_version()
    2.18 +{
    2.19 +	wget -O - https://sourceforge.net/projects/ext4magic/files/ 2>/dev/null | \
    2.20 +	sed '/ext4magic-/!d;s|.*ext4magic-||;s|.tar.*||;q'
    2.21 +}
    2.22 +
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
     3.1 --- a/rp-pppoe/receipt	Sun Apr 30 06:26:09 2023 +0100
     3.2 +++ b/rp-pppoe/receipt	Mon May 01 08:21:00 2023 +0000
     3.3 @@ -10,12 +10,13 @@
     3.4  WEB_SITE="https://dianne.skoll.ca/projects/rp-pppoe/"
     3.5  
     3.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.7 -WGET_URL="${WEB_SITE}download/$TARBALL"
     3.8 +WGET_URL="https://web.archive.org/web/20230128134207if_/https://dianne.skoll.ca/projects/rp-pppoe/download/$TARBALL"
     3.9  
    3.10  BUILD_DEPENDS="ppp"
    3.11  
    3.12  HOST_ARCH="i486"
    3.13  
    3.14 +# What is the latest version available today?
    3.15  current_version()
    3.16  {
    3.17  	wget -O - $WEB_SITE 2>/dev/null | \
     4.1 --- a/ypserv/receipt	Sun Apr 30 06:26:09 2023 +0100
     4.2 +++ b/ypserv/receipt	Mon May 01 08:21:00 2023 +0000
     4.3 @@ -8,7 +8,7 @@
     4.4  LICENSE="GPL2"
     4.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.6  WEB_SITE="http://www.linux-nis.org/"
     4.7 -WGET_URL="https://www.thkukuk.de/nis/download/$PACKAGE/$TARBALL"
     4.8 +WGET_URL="https://web.archive.org/web/20230428155639if_/https://www.thkukuk.de/nis/download/$PACKAGE/$TARBALL"
     4.9  
    4.10  DEPENDS="gdbm portmap"
    4.11  BUILD_DEPENDS="gdbm-dev"