From 8b7982357728eeeaf7ce9992c5362bbfe429891e Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Mon, 10 Feb 2025 20:18:02 +0100 Subject: [PATCH] package/go/go-bin: re-introduce go-src hash The commit b4006287f8 "package/go: security bump to version 1.23.6" removed the go source from the go-bin package `.hash` file. Since that commit, a number of autobuild errors for the host-go-bin package started spawning during the 'legal-info' step. Because the package 'go-bin' defines the '_ACTUAL_SOURCE_TARBALL' variable the source hash is still required for the legal-info. Similarly to the 'nodejs' package, the hash files for both the `go-bin` and `go-src` package are shared in the `package/go` directory with the help of a symbolic link used to make the subdirectories point to that common `.hash` file. Fixes: https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592 Signed-off-by: Thomas Perale Signed-off-by: Romain Naour --- package/go/go-bin/go-bin.hash | 9 +-------- package/go/go-src/go-src.hash | 4 +--- package/go/go.hash | 9 +++++++++ 3 files changed, 11 insertions(+), 11 deletions(-) mode change 100644 => 120000 package/go/go-bin/go-bin.hash mode change 100644 => 120000 package/go/go-src/go-src.hash create mode 100644 package/go/go.hash diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash deleted file mode 100644 index 50d2be239f..0000000000 --- a/package/go/go-bin/go-bin.hash +++ /dev/null @@ -1,8 +0,0 @@ -# sha256 checksum from https://go.dev/dl/ -sha256 e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba go1.23.6.linux-386.tar.gz -sha256 9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go1.23.6.linux-amd64.tar.gz -sha256 561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202 go1.23.6.linux-arm64.tar.gz -sha256 27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74 go1.23.6.linux-armv6l.tar.gz -sha256 0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99 go1.23.6.linux-ppc64le.tar.gz -sha256 321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e go1.23.6.linux-s390x.tar.gz -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash new file mode 120000 index 0000000000..0531a32c5c --- /dev/null +++ b/package/go/go-bin/go-bin.hash @@ -0,0 +1 @@ +../go.hash \ No newline at end of file diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash deleted file mode 100644 index b60995fedc..0000000000 --- a/package/go/go-src/go-src.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://go.dev/dl -sha256 039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222 go1.23.6.src.tar.gz -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash new file mode 120000 index 0000000000..0531a32c5c --- /dev/null +++ b/package/go/go-src/go-src.hash @@ -0,0 +1 @@ +../go.hash \ No newline at end of file diff --git a/package/go/go.hash b/package/go/go.hash new file mode 100644 index 0000000000..fd2cd71c59 --- /dev/null +++ b/package/go/go.hash @@ -0,0 +1,9 @@ +# sha256 checksum from https://go.dev/dl/ +sha256 039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222 go1.23.6.src.tar.gz +sha256 e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba go1.23.6.linux-386.tar.gz +sha256 9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d go1.23.6.linux-amd64.tar.gz +sha256 561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202 go1.23.6.linux-arm64.tar.gz +sha256 27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74 go1.23.6.linux-armv6l.tar.gz +sha256 0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99 go1.23.6.linux-ppc64le.tar.gz +sha256 321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e go1.23.6.linux-s390x.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE