<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/44adc11d5add0152562002381348708ee41555f8">https://github.com/macports/macports-ports/commit/44adc11d5add0152562002381348708ee41555f8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 44adc11d5ad various go ports: do not manipulate GOPROXY directly - use go.offline_build instead
</span>44adc11d5ad is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 44adc11d5add0152562002381348708ee41555f8
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Aug 14 23:37:00 2023 -0400

<span style='display:block; white-space:pre;color:#404040;'>    various go ports: do not manipulate GOPROXY directly - use go.offline_build instead
</span>---
 devel/go-critic/Portfile  | 5 +----
 devel/goreleaser/Portfile | 5 +----
 devel/hof/Portfile        | 5 +----
 devel/waypoint/Portfile   | 5 +----
 net/consul/Portfile       | 5 +----
 security/trivy/Portfile   | 7 +------
 6 files changed, 6 insertions(+), 26 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/go-critic/Portfile b/devel/go-critic/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index acb6387009a..d59c42925a7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/go-critic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/go-critic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/go-critic/go-critic 0.9.0 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> github.tarball_from archive
 revision            0
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,10 +26,6 @@ checksums           rmd160  1651c9a7e680b3ec945b3c06aa5953ebe52b0966 \
</span>                     sha256  d2e266aa6f7e7390a12144c159f616a7eaa2c37a4834a169b2debd33e601467a \
                     size    180726
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Allow Go to fetch dependencies at run-time
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.cmd           make
 build.pre_args-append \
                     GOCRITIC_VERSION=${version}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/goreleaser/Portfile b/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6979a63e8da..71c6a9a521a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/goreleaser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/goreleaser/goreleaser 1.20.0 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> github.tarball_from archive
 revision            0
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,10 +27,6 @@ checksums           rmd160  c74932a7731e98c1b5dcbe221563f011939e188d \
</span> 
 set build_script    ${worksrcpath}/_build.sh
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Allow deps to be fetched at build-time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.cmd           ${build_script}
 build.pre_args      {}
 build.args          {}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/hof/Portfile b/devel/hof/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1e60f146de6..922d7bdde08 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/hof/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/hof/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/hofstadter-io/hof 0.6.8 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> github.tarball_from archive
 revision            0
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,10 +37,6 @@ checksums           rmd160  e9331f1232b4445ff2352982dc287c8d055ea81d \
</span>                     sha256  c476bb2aac73a57c5d8aefc6ed9a70003db04652cd267f0c4713b764b178c6b4 \
                     size    1711508
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Allow Go to fetch dependencies at build-time
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> build.pre_args-append \
     -ldflags \" \
         -X ${go.package}/cmd/${name}/verinfo.BuildArch=${goarch}    \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/waypoint/Portfile b/devel/waypoint/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1ee9c65dcbb..669c1450e88 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/waypoint/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/waypoint/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/hashicorp/waypoint 0.11.4 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> github.tarball_from archive
 revision            0
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,10 +32,6 @@ checksums           rmd160  412a282be713262db85d00d8ba4d3f3938d63e7b \
</span>                     sha256  e2526a621880fdc92c285250242532d2e9c5053fd53d2df9ad4ca7efa6b951a3 \
                     size    24896635
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Do not restrict Go from downloading dependencies at build time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build-append port:go-bindata
 
 build.cmd           make
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/consul/Portfile b/net/consul/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4a605a83d56..e8cc65d6f88 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/consul/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/consul/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/hashicorp/consul 1.16.1 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> revision            0
 
 homepage            https://www.consul.io
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,10 +31,6 @@ maintainers         {gmail.com:herby.gillot @herbygillot} \
</span> # Consul's build process requires the git repository.
 fetch.type          git
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Do not restrict Go from downloading dependencies at build time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # The "dev" build target must be used to build just the binary for this
 # platform, instead of for ALL platforms
 # - https://www.consul.io/docs/install/index.html#compiling-from-source
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/trivy/Portfile b/security/trivy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a438a2eb0b7..892a8c44b64 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/trivy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/trivy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> PortGroup           golang 1.0
 
 go.setup            github.com/aquasecurity/trivy 0.44.1 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+go.offline_build    no
</span> github.tarball_from archive
 revision            0
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,12 +46,6 @@ platform freebsd {
</span>     build.args-append --id=build-bsd
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# FIXME: This port currently can't be built without allowing go mod to fetch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# dependencies during the build phase. See
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://trac.macports.org/ticket/61192
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-delete    GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env-replace   GOPROXY=off GOPROXY=https://proxy.golang.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> destroot {
     xinstall -m 0755 \
         [glob ${worksrcpath}/dist/build-*/${name}] ${destroot}${prefix}/bin/
</pre><pre style='margin:0'>

</pre>