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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 29 May 2021 07:15:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256235

            Bug ID: 256235
           Summary: deskutils/gnome-todo: fetch fails - wrong path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

=> 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
@@ -4,6 +4,7 @@ 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@FreeBSD.org


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


p.s. portlint gives:

WARN: Makefile: "USES" has to appear earlier.

-- 
You are receiving this mail because:
You are the assignee for the bug.