maintainer-feedback requested: [Bug 256235] deskutils/gnome-todo: fetch fails - wrong path

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 May 2021 07:15:36 +0000
Bugzilla Automation <bugzilla_at_FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome_at_FreeBSD.org> for maintainer-feedback:
Bug 256235: deskutils/gnome-todo: fetch fails - wrong path
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256235



--- Description ---
=> gnome-todo-40.0.tar.xz doesn't seem to exist in /usr/ports/distfiles/gnome3.
=> Attempting to fetch
https://download.gnome.org/sources/gnome-todo/40.0/gnome-todo-40.0.tar.xz
fetch:
https://download.gnome.org/sources/gnome-todo/40.0/gnome-todo-40.0.tar.xz: Not
Found
=> Attempting to fetch
http://download.gnome.org/sources/gnome-todo/40.0/gnome-todo-40.0.tar.xz
fetch:
http://download.gnome.org/sources/gnome-todo/40.0/gnome-todo-40.0.tar.xz: Not
Found


Upstream location is https://download.gnome.org/sources/gnome-todo/40  (not
.../40.0).

Possible patch:

=======================

diff --git a/deskutils/gnome-todo/Makefile b/deskutils/gnome-todo/Makefile
index 236f210eb7ca..a4e16e040ae4 100644
--- a/deskutils/gnome-todo/Makefile
+++ b/deskutils/gnome-todo/Makefile
_at__at_ -4,6 +4,7 _at__at_ PORTNAME=	gnome-todo
 PORTVERSION=	40.0
 CATEGORIES=	deskutils gnome
 MASTER_SITES=	GNOME
+MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
 DIST_SUBDIR=	gnome3

 MAINTAINER=	gnome_at_FreeBSD.org


=======================


p.s. portlint gives:

WARN: Makefile: "USES" has to appear earlier.
Received on Sat May 29 2021 - 07:15:36 UTC

Original text of this message