The original golang.org has been deprecated, all links has been redirected to go.dev
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Good catch! I'm definitely in favor of switching, but:
- They'll need to leave the server up for basically ever because of all the programs and libraries depending on packages in the golang.org namespace
- That URL has to be mentioned in more than just the lang/go* Makefiles. Have you checked for other Makefiles, pkg-descrs, pkg-message, pkg-message.in, etc? I fully agree about switching to go.dev, but it'd be a long-term win to switch the tree as a whole.
Thanks for review,
This change only affect download source code and binary for go itself.
The https://golang.org/dl/*.src.tar.gz redirect (HTTP 301) to go.dev/dl then Google blob file server.
Other golang.org namespace library (golang.org/x) won't change AFAIK.
I was unclear before: I'm saying that other ports need this change too. "golang.org" appears in some pkg-descr files, it appears in WWW in a number of ports, it appears in Mk/Uses/go.mk, etc.
Before approving and committing this patch, I wanted to encourage you to take a stab at extending this change for other ports too, if you're interested.
Thanks for review, I use p5-ack to search "https://golang.org", and find two more matches than the first diff.