1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/Mk
Dave Cottlehuber 1225f3cf10 Ensure go modules cannot fetch missing modules via network
Notes from go help modules:

If GOPROXY is set to the string "direct", downloads use a direct connection to
source control servers. Setting GOPROXY to "off" disallows downloading modules
from any source. Otherwise, GOPROXY is expected to be list of module proxy URLs
separated by either comma (,) or pipe (|) characters, which control error
fallback behavior. For each request, the go command tries each proxy in
sequence. If there is an error, the go command will try the next proxy in the
list if the error is a 404 or 410 HTTP response or if the current proxy is
followed by a pipe character, indicating it is safe to fall back on any error.

The GOPRIVATE and GONOPROXY environment variables allow bypassing
the proxy for selected modules. See 'go help module-private' for details.

No matter the source of the modules, the go command checks downloads against
known checksums, to detect unexpected changes in the content of any specific
module version from one day to the next. This check first consults the current
module's go.sum file but falls back to the Go checksum database, controlled by
the GOSUMDB and GONOSUMDB environment variables. See 'go help module-auth'
for details.

Reviewed by:	dmgk
Sponsored by:	SkunkWerks, GmbH
Differential Revision:	https://reviews.freebsd.org/D26860
2020-11-12 08:15:43 +00:00
..
Scripts Ignore grep return value. 2020-11-11 13:30:03 +00:00
Uses Ensure go modules cannot fetch missing modules via network 2020-11-12 08:15:43 +00:00
Wrappers Remove the -L argument that crept in by accident 2020-03-10 14:22:50 +00:00
bsd.ccache.mk
bsd.commands.mk
bsd.default-versions.mk Update comment: add pgsql 13 2020-10-15 20:20:17 +00:00
bsd.destdir.mk
bsd.gcc.mk Simplify a comment after r531883 | gerald | 2020-04-16 (which in turn 2020-06-20 21:57:57 +00:00
bsd.gecko.mk www/firefox: update to 83.0 2020-11-12 00:10:27 +00:00
bsd.gstreamer.mk bsd.gstreamer.mk: remove expired py-gstreamer plugin. 2020-09-30 15:23:09 +00:00
bsd.java.mk Add support for openjdk15 2020-09-07 18:34:28 +00:00
bsd.ldap.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.local.mk
bsd.ocaml.mk Use @rmempty 2020-10-22 12:48:20 +00:00
bsd.octave.mk - Update master_sites for older packages. 2020-08-11 00:34:06 +00:00
bsd.options.desc.mk Reword INFO_DESC to better reflect that it's about documentation in GNU 2019-12-28 21:23:52 +00:00
bsd.options.mk
bsd.port.mk Fix a typo 2020-11-03 14:36:15 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.ruby.mk Add libunwind for aarch64, powerpc64 and powerpc64le. 2020-10-12 18:25:13 +00:00
bsd.sanity.mk
bsd.sites.mk bsd.sites.mk: Unify MASTER_SITE_PHP and switch to HTTPS 2020-10-15 03:38:05 +00:00
bsd.ssp.mk Use ARCH instead of MACHINE to check for mips. 2019-12-20 01:11:41 +00:00
bsd.tex.mk
bsd.wx.mk Finish py-wxPython28 removal and unbreak INDEX 2020-08-15 13:30:07 +00:00