]> Cypherpunks repositories - bass.git/commitdiff
Downgrade Go 1.17
authorSergey Matveev <stargrave@stargrave.org>
Fri, 30 Jan 2026 12:50:17 +0000 (15:50 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 30 Jan 2026 13:01:28 +0000 (16:01 +0300)
Just do add distcache.FreeBSD's mirror. Anyway that Go is used only to
bootstrap the next Go's version.

12 files changed:
build/distfiles/.gitignore
build/distfiles/go1.17.12.tar.gz.meta4 [new file with mode: 0644]
build/distfiles/go1.17.13.tar.gz.meta4 [deleted file]
build/skel/lang/go1.17.12.do [moved from build/skel/lang/go1.17.13.do with 100% similarity]
build/skel/lang/go1.20.14.do
contrib/prepare-deps/README
contrib/prepare-deps/clean
contrib/prepare-deps/link-from-distfiles
contrib/prepare-deps/steps/020-go1.17.12 [moved from contrib/prepare-deps/steps/020-go1.17.13 with 100% similarity]
contrib/prepare-deps/steps/020-go1.17.12.dl [new file with mode: 0644]
contrib/prepare-deps/steps/020-go1.17.13.dl [deleted file]
contrib/prepare-deps/steps/030-go1.20.14

index 5849c265017e9cdd9d3e9d42d8d5275ac2c097f3252ef9ca1372fb383980dc80..651b215e46a68805c48bf7354b3f55dd27398b6502293cc7c087fa1a5da73fa2 100644 (file)
@@ -70,7 +70,7 @@
 /gmp-6.3.0.tar.zst
 /gnupg-2.5.17.tar.bz2
 /gnutls-3.8.6.tar.xz
-/go1.17.13.tar.gz
+/go1.17.12.tar.gz
 /go1.20.14.tar.gz
 /go1.23.5.tar.gz
 /go1.25.6.tar.gz
diff --git a/build/distfiles/go1.17.12.tar.gz.meta4 b/build/distfiles/go1.17.12.tar.gz.meta4
new file mode 100644 (file)
index 0000000..d68523f
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metalink xmlns="urn:ietf:params:xml:ns:metalink">
+  <file name="go1.17.12.tar.gz">
+    <hash type="blake3-256">d87928c1a2cd6c72bc99f189607a0e5c50ef3d79a5ed3c1142f25f1c75c17187</hash>
+    <hash type="blake2b-512">0770f1979ba9c14779e078638b2d5f9b6af1a62939f863abadc3c84418ce639715e61ed4763674e2e2d0d95219636e59e53a0db658ae02f17e713205789fcc5a</hash>
+    <hash type="blake2b-256">77e80e8f7d790a836efcff1e8879138610388757d8a8bf688e557a7bbf182707</hash>
+    <hash type="skein-512">a7e52146398375db630758652df425bc00ef89caa0639525b6e4f336c86dc70f6f2cb8248267250fc91d4d8f084249fd102c8742241a837823c1a8094538f24a</hash>
+    <hash type="sha-512">d2bcea2a33723af5c2ae871f5c44694c69d37c74c62e81eddeaf4bfedf124feea2752997d3a359990071bf01f88942fc66b21cb092385946ad4ae9410854c8b9</hash>
+    <hash type="sha-256">0d51b5b3f280c0f01f534598c0219db5878f337da6137a9ee698777413607209</hash>
+    <hash type="streebog-512">cb1877916e22462cdea3a1c4b5ada5a19ee87070fee1469da83228623be937c67534bfa2af2e5f3f7ed3cde571a283cd65e678905153e30b257fa093d6a34da0</hash>
+    <hash type="streebog-256">c58f3c5b3e1016a83777901f34d4086bd917d135c02775eb02d2ccdebcae23bc</hash>
+    <hash type="xxh3-128">9389fef9ab4444eae53d1c171520a888</hash>
+    <size>22205674</size>
+    <url>https://go.dev/dl/go1.17.12.src.tar.gz</url>
+    <url>http://distcache.FreeBSD.org/ports-distfiles/go1.17.12.src.tar.gz</url>
+  </file>
+</metalink>
diff --git a/build/distfiles/go1.17.13.tar.gz.meta4 b/build/distfiles/go1.17.13.tar.gz.meta4
deleted file mode 100644 (file)
index 909d174..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<metalink xmlns="urn:ietf:params:xml:ns:metalink">
-  <file name="go1.17.13.tar.gz">
-    <hash type="blake3-256">fab34f540e4ad83908f3c897053cb0d5529452f81fce530cec916aa7b9c6948b</hash>
-    <hash type="blake2b-512">b227e5197c6466e7dc4594646a6b5f7e2f5e8bc0d44b8ab45b488f5249eb64ff736fccf0e0070d6685a08361e1b3dd1a2ee7050df6395bec519a7ae7dca78630</hash>
-    <hash type="blake2b-256">a029e746dff91a568efdf7fe083559dee52b929f25e7682105225a6331fe3f84</hash>
-    <hash type="skein-512">644f0bad5090a73ad0bab7328cbe5b96293f4a5b9f5816d2e861d25f54305e9901889833db3f89d0135d288ab94837753b77dac43236003f340674fc797c7c2e</hash>
-    <hash type="shake128">29e31d7af93c245cafb9648fd458bd58ee7bcba94c25286ba67e00889b6eeb27</hash>
-    <hash type="shake256">1f89bffbc5066e58d7594cd36f8e0e29e6bc62dc748c40d9aa407699a7e85257755af60f6f310f5e6adf344fd1e575614d0395c3b2f92dd7942063c131c46a9d</hash>
-    <hash type="sha-512">2820bdd679fdb5e37d4c601b26c246bab23d4e8e1b226ac37c38e90a68b693e877bff944275eb25e3296ee772e7b40ef7d71dd49cca524df4cb8e721bfb50c33</hash>
-    <hash type="sha-256">a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd</hash>
-    <hash type="streebog-512">45d09f68d941efeb8ecd8e013c1737df5e0c53d47ca2a8c2c37b2b901f9cbf3e2450a533017f20e19ecba77310651390ca222222e080c01e131a59616e17015e</hash>
-    <hash type="streebog-256">1d78559f346e160e535bbee6b54d9b32d83f0d26d4f7ee8014f29f269dc73458</hash>
-    <hash type="xxh3-128">e7d297292f628e77958082caa06f40d3</hash>
-    <size>22206518</size>
-    <url>https://go.dev/dl/go1.17.13.src.tar.gz</url>
-  </file>
-</metalink>
index 5ab9528c69372c154ebe47475aa447521f1dfcbcc123f8417fa9f79876152f3f..c47925f6c487a82487c96e9c30d19b941cc0759cd3142b6e20e8f0fdaae594df 100644 (file)
@@ -4,7 +4,7 @@ sname=$1.do . "$BASS_ROOT"/lib/rc
 
 bdeps="rc-paths stow archivers/zstd"
 command -v bash >/dev/null 2>/dev/null || bdeps="$bdeps lang/perl-5.32.1"
-goprev=go1.17.13
+goprev=go1.17.12
 redo-ifchange $bdeps "$DISTFILES"/$NAME.tar.gz lang/$goprev
 hsh=$("$BASS_ROOT"/build/bin/cksum $BASS_REV $SPATH)
 
index 20e5a29f500179d16835ef1b226c155b4aba5cad7fa657b82a123a7ab79fc17b..7e7bb6fb17303db5862fcc86a00bd2e89e7d8dd55b7f498a094efe0df6050bf1 100644 (file)
@@ -10,10 +10,10 @@ Make, C compiler are prerequired. Go, goredo, meta4ra, zstd will be built.
   easy to build on modern systems), then you can touch the following
   steps, telling that they should not be done:
       010-go1.4.3.done
-      020-go1.17.13.done
+      020-go1.17.12.done
       030-go1.20.14.done
       040-go1.23.5.done
-  and symlink your Go to ./go1.4.3, ./go1.17.13, ./go1.20.14, ./go1.23.5
+  and symlink your Go to ./go1.4.3, ./go1.17.12, ./go1.20.14, ./go1.23.5
 * Start build process itself:
     $ /path/to/prepare-deps/do
 * Result local/bin should contain only statically built programs, that
index 7b58f647fa1c0b8acc7e18e04d422c834c967fd591a125751630804c7ede6f9f..623eb60e6950457e416df2d2f388eb4f12f291d8ecbe2e3d4619ad37e1a7ab4c 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-rm -fr go1.4.3 go1.17.13 go1.20.14 go1.23.5 *.done
+rm -fr go1.4.3 go1.17.12 go1.20.14 go1.23.5 *.done
index fe6a2486238edeee4380e117089e1ecc166b9f2ced61916c43c17fe9d9206e40..53f97ec35a71dbb8ee9713a4b4ab92e678c0443432cef9c98e9bbf29c50cbb9e 100755 (executable)
@@ -2,7 +2,7 @@
 
 mkdir -p distfiles
 cd distfiles
-ln -f ../../../build/distfiles/go1.17.13.tar.gz go1.17.13.src.tar.gz
+ln -f ../../../build/distfiles/go1.17.12.tar.gz go1.17.12.src.tar.gz
 ln -f ../../../build/distfiles/go1.20.14.tar.gz go1.20.14.src.tar.gz
 ln -f ../../../build/distfiles/go1.23.5.tar.gz go1.23.5.src.tar.gz
 ln -f ../../../build/distfiles/go1.25.6.tar.gz go1.25.6.src.tar.gz
diff --git a/contrib/prepare-deps/steps/020-go1.17.12.dl b/contrib/prepare-deps/steps/020-go1.17.12.dl
new file mode 100644 (file)
index 0000000..ae95717
--- /dev/null
@@ -0,0 +1 @@
+dodl https://go.dev/dl/$name.src.tar.gz $name.src.tar.gz d2bcea2a33723af5c2ae871f5c44694c69d37c74c62e81eddeaf4bfedf124feea2752997d3a359990071bf01f88942fc66b21cb092385946ad4ae9410854c8b9
diff --git a/contrib/prepare-deps/steps/020-go1.17.13.dl b/contrib/prepare-deps/steps/020-go1.17.13.dl
deleted file mode 100644 (file)
index fdf88cc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-dodl https://go.dev/dl/$name.src.tar.gz $name.src.tar.gz 2820bdd679fdb5e37d4c601b26c246bab23d4e8e1b226ac37c38e90a68b693e877bff944275eb25e3296ee772e7b40ef7d71dd49cca524df4cb8e721bfb50c33
index 922b368f9ee920af3894c88bdeccffc3e398d6edc3a1a4293bc1f50185efe47f..db7b24421c056631aaf330bc746818076cf396d6dc4430b162ce86a7deda1422 100644 (file)
@@ -4,4 +4,4 @@ mv go $name
 cd $name
 command -v bash >/dev/null 2>/dev/null || $ROOT/../go-debash/v0
 cd src
-GOROOT_BOOTSTRAP=$(realpath $DIR/go1.17.13) CGO_ENABLED=0 ./make.bash
+GOROOT_BOOTSTRAP=$(realpath $DIR/go1.17.12) CGO_ENABLED=0 ./make.bash