<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/1a0af5059ab07dfa7dce2b76bda12956483d99f5">https://github.com/macports/macports-ports/commit/1a0af5059ab07dfa7dce2b76bda12956483d99f5</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 1a0af5059ab delve: update to 1.7.3
</span>1a0af5059ab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1a0af5059ab07dfa7dce2b76bda12956483d99f5
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Nov 17 16:06:57 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> delve: update to 1.7.3
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - switch to building using Delve's build process instead of directly
</span><span style='display:block; white-space:pre;color:#404040;'> invoking "go build"
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - patch the build process Go script to not make any calls to git so
</span><span style='display:block; white-space:pre;color:#404040;'> that we can build from extracted archives
</span>---
devel/delve/Portfile | 98 ++++++++++++++++++-----------
devel/delve/files/patch-no-git-make.go.diff | 14 +++++
2 files changed, 77 insertions(+), 35 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/delve/Portfile b/devel/delve/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b3af1c1e2f4..05f3045ee1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/delve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/delve/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,9 @@
</span> PortSystem 1.0
PortGroup golang 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup github.com/go-delve/delve 1.7.2 v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+go.setup github.com/go-delve/delve 1.7.3 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
description Delve is a debugger for the Go programming language.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,27 +21,29 @@ installs_libs no
</span> license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs x86_64
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.pre_args -tags=macnative -ldflags \"-s\"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args ./cmd/dlv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# The build process requires Go modules. So remove the environment setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# GO111MODULE=off:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env-delete GO111MODULE=off
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd make
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target build
</span>
set delve_doc_dir ${prefix}/share/doc/${name}
notes "delve is installed as dlv"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-no-git-make.go.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
xinstall -m 755 ${worksrcpath}/dlv ${destroot}${prefix}/bin/
xinstall -d ${destroot}${delve_doc_dir}
copy {*}[glob ${worksrcpath}/Documentation/*] ${destroot}${delve_doc_dir}/
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> checksums ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 86f66be4106536191b9f97678b2812c4b3c3038b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c2eb068d5677e114286b38f57f784b3792dbd2db06743bb57217611a092b31f2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 8527848
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 75a4758dcc9578d11396912751cccc5e153bc8d0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 961642eb4cd97e11093dda81273971a45e64abb2fe7db39165072c7145f4fcec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 9002476
</span>
go.vendors gopkg.in/yaml.v3 \
lock 9f266ea9e77c \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -57,16 +60,26 @@ go.vendors gopkg.in/yaml.v3 \
</span> rmd160 b63165c8909a27edc15dda210df66a1b49efb49e \
sha256 7e5547c6471cc48da89a7c87f965b20ca5311f43fc4d883ca62f9fccf7551630 \
size 31597 \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ golang.org/x/xerrors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock 5ec99f83aff1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 6e8267f353e153297f205e4be219236d6ae43880 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 9a500a49d83a09e7de6c71b215d1c14b81e315d26884530ef327c95ddf1f2d28 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13667 \
</span> golang.org/x/tools \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock ecd32218bd7f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 de8bdfba54182b8a09bd0e58f4f93bcd8c317374 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 af6893e63b91a9616a00860860c6f889c0d64b2ee7901949f4662d1c62afe008 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2278439 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock 8de2a7fd1736 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 2f0bd1657a99ca9f602d0a3d1ff4b87e25e7e241 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2efffccb3060099d33684b616e4fa7afef387a30953edbf34ff0a608609d7d79 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2914822 \
</span> golang.org/x/sys \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock e8d321eab015 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 f18f5ad298e3d94ad73a5b7e0b870f40d45ab21c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3fb36d1dac0ad9275147cffff99ac3b4fd1b54d00ce4036cc4bd5d3de5a7b9b2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1193410 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock 9d821ace8654 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 0083c14ef6fbe926f16a26bf12042191ffad1f41 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b0a23217fb3ee77e377e9dfb3b5e400269421643738b42887ea91063f5b2b690 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1218925 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ golang.org/x/mod \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.5.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 6aac73c99cc5111f9b4675fbfeee0871ecea71a7 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1c5e2438581c6755be6c984375c51f93cee56b00de0898cdd61ce3d64c938d38 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 112675 \
</span> golang.org/x/arch \
lock 4e8777c89be4 \
rmd160 7fb99a3dc1b8eaa06e9ad5d0e04a0a95e7a1bce9 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -114,10 +127,15 @@ go.vendors gopkg.in/yaml.v3 \
</span> sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
size 11409 \
github.com/peterh/liner \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock 88609521dc4b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 e40dc76a2832e6de627c4aa01eb9203349072b6b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 865cd97e570cfafd61f90d360cdd4be2d310e886a59fbb006a58f61548ab415e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 20384 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.2.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 efbc6c78e70965e836cf3b4b590f3e2554501304 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e288d01fd01b14b50ff93cbc0181d3494b51b70d22f3e1982b4f76e06f6e6b80 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 21161 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/mattn/go-runewidth \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.0.3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 5b1087f86f7a8dd42ef3283422bd8a8328620b77 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7c77123cf4b3f419076c06d0ad33daf3da018ecdae2af02e2bd5b4ab0657b7e0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 22972 \
</span> github.com/mattn/go-isatty \
lock v0.0.3 \
rmd160 52fa78fd66eb44112b174b03b1dcbe9648059280 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -134,10 +152,10 @@ go.vendors gopkg.in/yaml.v3 \
</span> sha256 5ed970aad0da3cba3cffacdb4d154a162a8968655ee6d6f7b627e71b869efaf6 \
size 8691 \
github.com/kr/pretty \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock v0.1.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 9aa7a5aad4c48840eecfd0f80186d1fb5ded0fd6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f6c3f89667c63e5b7f1fc6ee2c06b6a6bfdce88f3a965ccd395b64c6f95c9a47 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 8553 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.2.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 eaf5b58a46b962079cbafddbc3ef83bdbf02b31e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 253c4a190c9337800e08aba66b77ea3db0835e3ae61289d80093995a649eb7ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 8769 \
</span> github.com/konsorten/go-windows-terminal-sequences \
lock v1.0.3 \
rmd160 26e90ab69813fa0a56d0dae2738c5289487932bb \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,10 +172,20 @@ go.vendors gopkg.in/yaml.v3 \
</span> sha256 c358bb5050adae91e443f59ff70b7c0ad6906fc4abe1b30066bf0c408fdf9b5c \
size 13435 \
github.com/google/go-dap \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lock c91b005e3987 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 6e06841945c7de38b82827873e73b1d8d95b7c78 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d8a80635239d6d5e283bb60aef3fbbc10d3bd481105e9a58f2d3f9ea4d85cf20 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 68410 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.6.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 b892044b66145f217fb874ffd846ae077d689e0c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5829a37eea8bd7de386e75052eb19e15e533ae888414d27ddc3183bc58c96f1a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 70483 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/google/go-cmp \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.5.4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 e53e85e2f7651ce4e0dd20f8621380a60d9d5cc0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4b3ea98b1c2c83814a405d824c68521315dbddd9dada9a9992d1abebd2cca290 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 101028 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/frankban/quicktest \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v1.11.3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 868e9ab4f8908df866a0c15ddfe5f7f6d87cc871 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 671d7c8dbf860fcf11d82bc232ed66d2b2e52fa0ccfd1b14f101cf627dfa39e0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 35831 \
</span> github.com/derekparker/trie \
lock 1fdf38b7b0e9 \
rmd160 7596b5f601e834f9d2a1db72d87c87fcbbe6d201 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -183,8 +211,8 @@ go.vendors gopkg.in/yaml.v3 \
</span> rmd160 6716960684ae439d09c8cf372abef219dc8cfc68 \
sha256 181d0d9d50277529d088a6c797b03b544d882b48196195f8b24da81a6e747b82 \
size 5687 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.com/aquasecurity/libbpfgo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lock 4928d36fafac \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4f5ea4c469379ed99ad9392ac3ffb03669cfe627 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 e99ca2a4e009bf2318ad625b9f715a510470fba433e3fc9deaccf7b62ffdca35 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 171645
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.com/cilium/ebpf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lock v0.7.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 52521906d075babc2b2aa0866f86c340fed8837b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c73f9e4c563a83fd5f3ed6104fca29aba8451b6da09ac712a96c493cb532dc15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1452756
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/delve/files/patch-no-git-make.go.diff b/devel/delve/files/patch-no-git-make.go.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c62b6ba3f4d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/delve/files/patch-no-git-make.go.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- _scripts/make.go 2021-11-17 15:52:32.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ _scripts/make.go 2021-11-17 15:57:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -291,10 +291,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ func buildFlags() []string {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- buildSHA, err := exec.Command("git", "rev-parse", "HEAD").CombinedOutput()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if err != nil {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- log.Fatal(err)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ buildSHA := ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ldFlags := "-X main.Build=" + strings.TrimSpace(string(buildSHA))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if runtime.GOOS == "darwin" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ldFlags = "-s " + ldFlags
</span></pre><pre style='margin:0'>
</pre>