wok rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents eecd62c54525
children b8195d50d79f
files ftop/receipt itaka/receipt linux64-wireguard/receipt lzop/receipt mitter/receipt wireguard-tools/receipt
line diff
     1.1 --- a/ftop/receipt	Sun Sep 04 18:56:05 2022 +0000
     1.2 +++ b/ftop/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="paul@slitaz.org"
     1.5  LICENSE="GPL2.1"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://sourceforge.net/projects/ftop/"
     1.8 +WEB_SITE="https://code.google.com/archive/p/ftop/"
     1.9  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.10  
    1.11  DEPENDS="ncurses"
     2.1 --- a/itaka/receipt	Sun Sep 04 18:56:05 2022 +0000
     2.2 +++ b/itaka/receipt	Tue Sep 06 07:38:52 2022 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  LICENSE="GPL2"
     2.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     2.6  WEB_SITE="https://web.archive.org/web/20140701101226/http://itaka.jardinpresente.com.ar/"
     2.7 -WGET_URL="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$TARBALL"
     2.8 +WGET_URL="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$VERSION/$TARBALL"
     2.9  TAGS="screenshot"
    2.10  
    2.11  DEPENDS="pygtk twisted"
     3.1 --- a/linux64-wireguard/receipt	Sun Sep 04 18:56:05 2022 +0000
     3.2 +++ b/linux64-wireguard/receipt	Tue Sep 06 07:38:52 2022 +0000
     3.3 @@ -17,8 +17,14 @@
     3.4  
     3.5  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://git.zx2c4.com/wireguard-linux-compat/ 2>/dev/null | \
    3.11 +	sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15 -
    3.16  compile_rules()
    3.17  {
    3.18  	cd src
     4.1 --- a/lzop/receipt	Sun Sep 04 18:56:05 2022 +0000
     4.2 +++ b/lzop/receipt	Tue Sep 06 07:38:52 2022 +0000
     4.3 @@ -7,7 +7,7 @@
     4.4  MAINTAINER="pascal.bellard@slitaz.org"
     4.5  LICENSE="GPL2"
     4.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.7 -WEB_SITE="http://www.lzop.org/"
     4.8 +WEB_SITE="https://www.lzop.org/"
     4.9  WGET_URL="${WEB_SITE}download/$TARBALL"
    4.10  HOST_ARCH="i486 arm"
    4.11  
     5.1 --- a/mitter/receipt	Sun Sep 04 18:56:05 2022 +0000
     5.2 +++ b/mitter/receipt	Tue Sep 06 07:38:52 2022 +0000
     5.3 @@ -8,10 +8,17 @@
     5.4  LICENSE="GPL3"
     5.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.6  WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter"
     5.7 -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL"
     5.8 +WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL"
     5.9  DEPENDS="python pygtk python-simplejson"
    5.10  BUILD_DEPENDS="python-dev"
    5.11  
    5.12 +# What is the latest version available today?
    5.13 +current_version()
    5.14 +{
    5.15 +	wget -O - https://src.fedoraproject.org/repo/pkgs/$PACKAGE/ 2>/dev/null | \
    5.16 +	sed '/compressed.gif/!d;s|.*mitter-||;s|.tar.*||' | sort -Vr | sed q
    5.17 +}
    5.18 +
    5.19  # Rules to configure and make the package.
    5.20  compile_rules()
    5.21  {
     6.1 --- a/wireguard-tools/receipt	Sun Sep 04 18:56:05 2022 +0000
     6.2 +++ b/wireguard-tools/receipt	Tue Sep 06 07:38:52 2022 +0000
     6.3 @@ -13,8 +13,14 @@
     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://git.zx2c4.com/wireguard-tools/ 2>/dev/null | \
    6.11 +	sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15 -
    6.16  compile_rules()
    6.17  {
    6.18  	cd src &&