Page MenuHomeFreeBSD

lang/go*,devel/go-perf: update default website to go.dev
ClosedPublic

Authored by mengzhuo1203_gmail.com on May 29 2025, 8:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 21, 12:11 AM
Unknown Object (File)
Sun, Aug 17, 9:07 PM
Unknown Object (File)
Mon, Aug 11, 6:35 AM
Unknown Object (File)
Thu, Aug 7, 12:12 AM
Unknown Object (File)
Wed, Aug 6, 11:59 PM
Unknown Object (File)
Fri, Jul 25, 8:38 AM
Unknown Object (File)
Jul 24 2025, 1:33 PM
Unknown Object (File)
Jul 16 2025, 5:05 AM
Subscribers

Details

Summary

The original golang.org has been deprecated, all links has been redirected to go.dev

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Good catch! I'm definitely in favor of switching, but:

    1. 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
  1. 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.

Good catch! I'm definitely in favor of switching, but:

    1. 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
  1. 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.

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.

mengzhuo1203_gmail.com retitled this revision from lang/go@: update default website to go.dev to lang/go*,devel/go-perf: update default website to go.dev.

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.

@adamw Hi, is my patch OK or do I need more work on it?

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Aug 6, 11:59 PM
This revision was automatically updated to reflect the committed changes.

Sorry about the really long silence there. I rolled this into today's updates to go124 and go123. I opted not to change anything lower than that because those ports are EOL upstream and shouldn't exist (it's my fault that they still do). Thank you for submitting this!

Please remember to MFH these updates so that Go ports in the quarterly branch too get security updates!