From 6c883f7d1d3195852737d395fd159c278d26fbc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= Date: Wed, 7 Feb 2024 00:48:19 +0100 Subject: [PATCH 1/4] go 1.22.0 --- Aliases/{go@1.21 => go@1.22} | 0 Formula/g/go.rb | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) rename Aliases/{go@1.21 => go@1.22} (100%) diff --git a/Aliases/go@1.21 b/Aliases/go@1.22 similarity index 100% rename from Aliases/go@1.21 rename to Aliases/go@1.22 diff --git a/Formula/g/go.rb b/Formula/g/go.rb index 626d6c19c1bdd..5258acdd28c97 100644 --- a/Formula/g/go.rb +++ b/Formula/g/go.rb @@ -1,9 +1,9 @@ class Go < Formula desc "Open source programming language to build simple/reliable/efficient software" homepage "https://go.dev/" - url "https://go.dev/dl/go1.21.7.src.tar.gz" - mirror "https://fossies.org/linux/misc/go1.21.7.src.tar.gz" - sha256 "00197ab20f33813832bff62fd93cca1c42a08cc689a32a6672ca49591959bff6" + url "https://go.dev/dl/go1.22.0.src.tar.gz" + mirror "https://fossies.org/linux/misc/go1.22.0.src.tar.gz" + sha256 "4d196c3d41a0d6c1dfc64d04e3cc1f608b0c436bd87b7060ce3e23234e1f4d5c" license "BSD-3-Clause" head "https://go.googlesource.com/go.git", branch: "master" @@ -33,13 +33,13 @@ class Go < Formula # Don't update this unless this version cannot bootstrap the new version. resource "gobootstrap" do checksums = { - "darwin-arm64" => "e4ccc9c082d91eaa0b866078b591fc97d24b91495f12deb3dd2d8eda4e55a6ea", - "darwin-amd64" => "c101beaa232e0f448fab692dc036cd6b4677091ff89c4889cc8754b1b29c6608", - "linux-arm64" => "914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d", - "linux-amd64" => "4cdd2bc664724dc7db94ad51b503512c5ae7220951cac568120f64f8e94399fc", + "darwin-arm64" => "6da3f76164b215053daf730a9b8f1d673dbbaa4c61031374a6744b75cb728641", + "darwin-amd64" => "754363489e2244e72cb49b4ec6ddfd6a2c60b0700f8c4876e11befb1913b11c5", + "linux-arm64" => "2096507509a98782850d1f0669786c09727053e9fe3c92b03c0d96f48700282b", + "linux-amd64" => "ff445e48af27f93f66bd949ae060d97991c83e11289009d311f25426258f9c44", } - version "1.17.13" + version "1.20.14" on_arm do on_macos do From 52a51859e00e8f352a09a9c44a641d0c54f8e942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= Date: Sun, 11 Feb 2024 18:01:37 +0100 Subject: [PATCH 2/4] garble: revision bump (go 1.22.0) garble: simplify test Signed-off-by: Rui Chen --- Formula/g/garble.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Formula/g/garble.rb b/Formula/g/garble.rb index 77320e2378948..26b7355b7eb7d 100644 --- a/Formula/g/garble.rb +++ b/Formula/g/garble.rb @@ -4,6 +4,7 @@ class Garble < Formula url "https://github.com/burrowers/garble/archive/refs/tags/v0.12.0.tar.gz" sha256 "cf18939683a9e453468e8dd1bcc0da5b1bb4b306e6cc5bf935e0c5c8d68b5d35" license "BSD-3-Clause" + revision 1 head "https://github.com/burrowers/garble.git", branch: "master" bottle do @@ -37,16 +38,11 @@ def install system bin/"garble", "-literals", "-tiny", "build", testpath/"hello.go" assert_equal "Hello World\n", shell_output("#{testpath}/hello") - goos = Utils.safe_popen_read("#{Formula["go"].bin}/go", "env", "GOOS").chomp - goarch = Utils.safe_popen_read("#{Formula["go"].bin}/go", "env", "GOARCH").chomp expected = <<~EOS Build settings: -buildmode exe -compiler gc -trimpath true - CGO_ENABLED 1 - GOARCH #{goarch} - GOOS #{goos} EOS assert_match expected, shell_output("#{bin}/garble version") end From d1727478e87fe8adbba75abf6a489edfc42b0741 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 15 Feb 2024 10:34:20 +0000 Subject: [PATCH 3/4] garble: update 0.12.0_1 bottle. --- Formula/g/garble.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/g/garble.rb b/Formula/g/garble.rb index 26b7355b7eb7d..998af58bfef47 100644 --- a/Formula/g/garble.rb +++ b/Formula/g/garble.rb @@ -8,13 +8,13 @@ class Garble < Formula head "https://github.com/burrowers/garble.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sonoma: "1f0b40df0f7a548a5d60c3cccb60e682117eaae467a86f0e4f50c00c09b52882" - sha256 cellar: :any_skip_relocation, arm64_ventura: "5fcbb46ca194653ad647b2a78cc8c398818cb5027849d79001889ce15115c2f8" - sha256 cellar: :any_skip_relocation, arm64_monterey: "e380a26a97da73aff6b517cac08513697916a0f2e92a266b20dbb11206a5f9b1" - sha256 cellar: :any_skip_relocation, sonoma: "0b2731f19af5354716ae207a69c59c51a0edfaa7d2a6f75fb8cd3ae03d1a9df9" - sha256 cellar: :any_skip_relocation, ventura: "9c71616ff3e44cf3966bd0f29e04ff60059cf7ef065136b32a9445e87936e424" - sha256 cellar: :any_skip_relocation, monterey: "072e36f943c57a2abf1024cc70a60f55fdd2b46e1bcbd8a9623a270a865c9481" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e652b925eb4f3191832277b6e11b5b3fd7b26d84fe792f9ed9d4ca81200348e8" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "bf59878de31b57117cd16856932496870392a427029c303457cc5afc52aa420e" + sha256 cellar: :any_skip_relocation, arm64_ventura: "83da7f95101c0852850dd1e45dcb32fb1ff49083cf87b9e8b47e45421b0c683c" + sha256 cellar: :any_skip_relocation, arm64_monterey: "1b5db14f37acef2fbf72eb9ab63eb60e2fdd5db15b897ebc05f57b71f01f604a" + sha256 cellar: :any_skip_relocation, sonoma: "08a01645a624039015a5bf04a2b9435359ca449a0743ce23283367ac46cb1dd2" + sha256 cellar: :any_skip_relocation, ventura: "54bcd6f5dd82ed6d41fc399e87743113398452fca1615b23f26e272feef900ca" + sha256 cellar: :any_skip_relocation, monterey: "5bd2829ce9195af230097370551638610b4a30734f1e4e05ecf4336440dc59e7" + sha256 cellar: :any_skip_relocation, x86_64_linux: "72c83f94f157da4e0dad7e4e4dfd424ea4ced61fa05928447a3fd5ae88122a0f" end depends_on "go" => [:build, :test] From b43ff562a57a237a77adb696c1093d1452cb3a69 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 15 Feb 2024 10:34:21 +0000 Subject: [PATCH 4/4] go: update 1.22.0 bottle. --- Formula/g/go.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/g/go.rb b/Formula/g/go.rb index 5258acdd28c97..562cb8b174231 100644 --- a/Formula/g/go.rb +++ b/Formula/g/go.rb @@ -21,13 +21,13 @@ class Go < Formula end bottle do - sha256 arm64_sonoma: "b8d6b559eafd615a9e18d8c3c370d5c3e947647c478a3f92003946a989490fd0" - sha256 arm64_ventura: "f6c5823625fb07c4aa2b9a019100e6bea59db721c2cfa98007d406c747d7ed87" - sha256 arm64_monterey: "822a2a9d7061d0c816a8b25feebc108d440d9c21d4af9cda020f339719f2ad90" - sha256 sonoma: "beabe176fb5e5df9ffb0bc30bf0136545bdad4ff48ad1f3583c54ec5a7202f7d" - sha256 ventura: "f513dbb8bcf9db00e0e30e97a31aa73a163eacaf71a25bbdf948923017a52128" - sha256 monterey: "c410ff76a352372e822d0f964e6c4a4624b25cb81f21c766294bb891185940d2" - sha256 x86_64_linux: "5554151f6201b49bec03fc408e5912b5919bdbe731c890ca06ac0189c248dc62" + sha256 arm64_sonoma: "5b6a74eb8ceddbefbe2e8fd6741877d7c6bba2bb98e39e0e6c63275a12afc738" + sha256 arm64_ventura: "42e3f0211a1c8e9c48b398861414a928f255f430e0b87414419c64be5fc6e087" + sha256 arm64_monterey: "9d8e676f95fa10a62b1e9b6163a72dbe367eac42e3331f41ab38350820071722" + sha256 sonoma: "d88e776e567cea8d05e451376f344ffe08df11bf7b02e4a6e56e46bcf7381213" + sha256 ventura: "67d4de0223ee32b293e682470c0463adde358a9d43b949c8c43eae30c40347b1" + sha256 monterey: "aff3fd24232a87ee629dbcae614889de2f3d4c91bb1017966f28f1aca2b25279" + sha256 x86_64_linux: "2fe839ddca7680dc4a3538e8af906efc8f36f8f461098f6c1e6c780a18407214" end # Don't update this unless this version cannot bootstrap the new version.