Bug 268612 - net-mgmt/netdata: missing slash when downloading source archive
Summary: net-mgmt/netdata: missing slash when downloading source archive
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-28 10:46 UTC by Trond Endrestøl
Modified: 2022-12-29 00:32 UTC (History)
2 users (show)

See Also:


Attachments
Patch for net-mgmt/netdata/Makefile adding a trailing slash for the download URL (559 bytes, patch)
2022-12-28 10:47 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2022-12-28 10:46:05 UTC
===>   netdata-1.37.1 depends on file: /usr/local/sbin/pkg - found
=> netdata-v1.37.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://github.com/netdata/netdata/releases/download/v1.37.1netdata-v1.37.1.tar.gz
fetch: https://github.com/netdata/netdata/releases/download/v1.37.1netdata-v1.37.1.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/netdata-v1.37.1.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/netdata-v1.37.1.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Solved by manual download:
fetch -o /usr/ports/distfiles/netdata-v1.37.1.tar.gz https://github.com/netdata/netdata/releases/download/v1.37.1/netdata-v1.37.1.tar.gz
Comment 1 Trond Endrestøl 2022-12-28 10:47:15 UTC
Created attachment 239083 [details]
Patch for net-mgmt/netdata/Makefile adding a trailing slash for the download URL
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-12-28 23:37:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1de26c726690f5947b21d73fc44b06988134ad94

commit 1de26c726690f5947b21d73fc44b06988134ad94
Author:     Trond Endrestol <Trond.Endrestol@ximalas.info>
AuthorDate: 2022-12-28 23:35:04 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-12-28 23:35:09 +0000

    net-mgmt/netdata: Unbreak fetch

    Add missing trailing slash to MASTER_SITES

    PR:             268612
    Approved by:    portmgr (blanket)

 net-mgmt/netdata/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-12-28 23:37:27 UTC
Fixed, thanks!
Comment 4 Ben Woods freebsd_committer freebsd_triage 2022-12-29 00:32:24 UTC
My bad - sorry - thanks for the quick fix