# HG changeset patch # User Pascal Bellard # Date 1662449932 0 # Node ID 4b3fc3102e2d385f72b1c13630a1a20979dc7db4 # Parent eecd62c545254db7c7260a3c296d73f6879017c5 itaka: fix wget_url diff -r eecd62c54525 -r 4b3fc3102e2d ftop/receipt --- a/ftop/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/ftop/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -7,7 +7,7 @@ MAINTAINER="paul@slitaz.org" LICENSE="GPL2.1" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://sourceforge.net/projects/ftop/" +WEB_SITE="https://code.google.com/archive/p/ftop/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="ncurses" diff -r eecd62c54525 -r 4b3fc3102e2d itaka/receipt --- a/itaka/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/itaka/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://web.archive.org/web/20140701101226/http://itaka.jardinpresente.com.ar/" -WGET_URL="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$TARBALL" +WGET_URL="https://web.archive.org/web/20140704050407if_/http://hivelocity.dl.sourceforge.net/project/itaka/$PACKAGE/$VERSION/$TARBALL" TAGS="screenshot" DEPENDS="pygtk twisted" diff -r eecd62c54525 -r 4b3fc3102e2d linux64-wireguard/receipt --- a/linux64-wireguard/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/linux64-wireguard/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -17,8 +17,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://git.zx2c4.com/wireguard-linux-compat/ 2>/dev/null | \ + sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q' +} + # Rules to configure and make the package. - compile_rules() { cd src diff -r eecd62c54525 -r 4b3fc3102e2d lzop/receipt --- a/lzop/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/lzop/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.lzop.org/" +WEB_SITE="https://www.lzop.org/" WGET_URL="${WEB_SITE}download/$TARBALL" HOST_ARCH="i486 arm" diff -r eecd62c54525 -r 4b3fc3102e2d mitter/receipt --- a/mitter/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/mitter/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -8,10 +8,17 @@ LICENSE="GPL3" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20120808040147/http://code.google.com/p/mitter" -WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" +WGET_URL="https://src.fedoraproject.org/repo/pkgs/$PACKAGE/$TARBALL" DEPENDS="python pygtk python-simplejson" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://src.fedoraproject.org/repo/pkgs/$PACKAGE/ 2>/dev/null | \ + sed '/compressed.gif/!d;s|.*mitter-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r eecd62c54525 -r 4b3fc3102e2d wireguard-tools/receipt --- a/wireguard-tools/receipt Sun Sep 04 18:56:05 2022 +0000 +++ b/wireguard-tools/receipt Tue Sep 06 07:38:52 2022 +0000 @@ -13,8 +13,14 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://git.zx2c4.com/wireguard-tools/ 2>/dev/null | \ + sed '/tag\/.h=/!d;s|.*h=v||;s|.>.*||;q' +} + # Rules to configure and make the package. - compile_rules() { cd src &&