On Fri, 07 Jun 2024 17:14:45 +0100,
Tim van der Molen <t...@kariliq.nl> wrote:
> 
> Is the following approach feasible in fsutil?
>

Thanks, it defently works and much cleaner than I though.

So, I've openned a PR to upstream of fsutil:
https://github.com/tonistiigi/fsutil/pull/201 and cleaned up diff to simple
update go:

diff --git lang/go/Makefile lang/go/Makefile
index 87e960b38a5..4213793cbf5 100644
--- lang/go/Makefile
+++ lang/go/Makefile
@@ -7,7 +7,7 @@ COMMENT =               Go programming language
 
 # increment _MODGO_SYSTEM_VERSION in go.port.mk after updating to a new
 # version, to trigger updates of go-compiled ports
-VERSION =              1.22.3
+VERSION =              1.22.4
 DISTNAME =             go${VERSION}.src
 PKGNAME =              go-${VERSION}
 PKGSPEC =              ${FULLPKGNAME:S/go-/go-=/}
diff --git lang/go/distinfo lang/go/distinfo
index a70f909087a..28eabcd6e3d 100644
--- lang/go/distinfo
+++ lang/go/distinfo
@@ -4,11 +4,11 @@ SHA256 (go-openbsd-arm-bootstrap-1.20.4.tar.gz) = 
MFK9DdbKJSqyYFLANhKbD6KWT1x+wX
 SHA256 (go-openbsd-arm64-bootstrap-1.20.4.tar.gz) = 
G3sZhx63D+QLEgbwU1+d3ECiVJjVrFD5RqD2/qutXmI=
 SHA256 (go-openbsd-mips64-bootstrap-1.20.4.tar.gz) = 
CaZYJ+pIQp+lp721Ox45Y8uqkbsygcfyDFxQsqabPIs=
 SHA256 (go-openbsd-riscv64-bootstrap-1.20.4.tar.gz) = 
lQv/8KPWi8U3yLG+k3xVDNRVzxa5rmPIIpJUDrwVo0o=
-SHA256 (go1.22.3.src.tar.gz) = gGSO80+QMZPXKlnA3/AZ9fmK4MmqE63gsOy/+ZGnb2g=
+SHA256 (go1.22.4.src.tar.gz) = /tcgZ45yinyjC6jR3tHKr+J9FgKPqwIyuLqOIgCPt4Q=
 SIZE (go-openbsd-386-bootstrap-1.20.4.tar.gz) = 100681343
 SIZE (go-openbsd-amd64-bootstrap-1.20.4.tar.gz) = 107075675
 SIZE (go-openbsd-arm-bootstrap-1.20.4.tar.gz) = 104680775
 SIZE (go-openbsd-arm64-bootstrap-1.20.4.tar.gz) = 102706601
 SIZE (go-openbsd-mips64-bootstrap-1.20.4.tar.gz) = 105352848
 SIZE (go-openbsd-riscv64-bootstrap-1.20.4.tar.gz) = 106167229
-SIZE (go1.22.3.src.tar.gz) = 27552410
+SIZE (go1.22.4.src.tar.gz) = 27555503
diff --git lang/go/pkg/PLIST lang/go/pkg/PLIST
index 10203640095..6ab40404a65 100644
--- lang/go/pkg/PLIST
+++ lang/go/pkg/PLIST
@@ -188,6 +188,7 @@ go/src/archive/zip/reader_test.go
 go/src/archive/zip/register.go
 go/src/archive/zip/struct.go
 go/src/archive/zip/testdata/
+go/src/archive/zip/testdata/comment-truncated.zip
 go/src/archive/zip/testdata/crc32-not-streamed.zip
 go/src/archive/zip/testdata/dd.zip
 go/src/archive/zip/testdata/dupdir.zip
@@ -2576,6 +2577,7 @@ go/src/cmd/go/testdata/script/gopath_std_vendor.txt
 go/src/cmd/go/testdata/script/gopath_vendor_dup_err.txt
 go/src/cmd/go/testdata/script/goroot_executable.txt
 go/src/cmd/go/testdata/script/goroot_executable_trimpath.txt
+go/src/cmd/go/testdata/script/gotoolchain_issue66175.txt
 go/src/cmd/go/testdata/script/gotoolchain_local.txt
 go/src/cmd/go/testdata/script/gotoolchain_loop.txt
 go/src/cmd/go/testdata/script/gotoolchain_modcmds.txt
@@ -5326,7 +5328,6 @@ go/src/crypto/x509/root.go
 go/src/crypto/x509/root_aix.go
 go/src/crypto/x509/root_bsd.go
 go/src/crypto/x509/root_darwin.go
-go/src/crypto/x509/root_darwin_test.go
 go/src/crypto/x509/root_linux.go
 go/src/crypto/x509/root_plan9.go
 go/src/crypto/x509/root_solaris.go
@@ -5335,7 +5336,6 @@ go/src/crypto/x509/root_unix.go
 go/src/crypto/x509/root_unix_test.go
 go/src/crypto/x509/root_wasm.go
 go/src/crypto/x509/root_windows.go
-go/src/crypto/x509/root_windows_test.go
 go/src/crypto/x509/sec1.go
 go/src/crypto/x509/sec1_test.go
 go/src/crypto/x509/test-file.crt
@@ -5424,7 +5424,7 @@ go/src/debug/elf/testdata/compressed-32.obj
 go/src/debug/elf/testdata/compressed-64.obj
 go/src/debug/elf/testdata/gcc-386-freebsd-exec
 go/src/debug/elf/testdata/gcc-amd64-linux-exec
-go/src/debug/elf/testdata/gcc-amd64-openbsd-debug-with-rela.obj
+go/src/debug/elf/testdata/gcc-${MACHINE_ARCH}-openbsd-debug-with-rela.obj
 go/src/debug/elf/testdata/go-relocation-test-clang-arm.obj
 go/src/debug/elf/testdata/go-relocation-test-clang-x86.obj
 go/src/debug/elf/testdata/go-relocation-test-gcc424-x86-64.obj
@@ -13244,6 +13244,9 @@ go/test/fixedbugs/issue6703w.go
 go/test/fixedbugs/issue6703x.go
 go/test/fixedbugs/issue6703y.go
 go/test/fixedbugs/issue6703z.go
+go/test/fixedbugs/issue67141.go
+go/test/fixedbugs/issue67160.go
+go/test/fixedbugs/issue67255.go
 go/test/fixedbugs/issue6750.go
 go/test/fixedbugs/issue6772.go
 go/test/fixedbugs/issue6789.dir/


-- 
wbr, Kirill

Reply via email to