From 1cd373f3f4c25536109b30d04e7c79fe8eee0927 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Thu, 31 Aug 2023 11:06:53 -0700 Subject: [PATCH 1/2] grype 0.66.0 grype: build with go1.20 Signed-off-by: Rui Chen --- Formula/g/grype.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/g/grype.rb b/Formula/g/grype.rb index c144dfdfd626c..27f3cfbb2fcf2 100644 --- a/Formula/g/grype.rb +++ b/Formula/g/grype.rb @@ -1,8 +1,8 @@ class Grype < Formula desc "Vulnerability scanner for container images and filesystems" homepage "https://github.com/anchore/grype" - url "https://github.com/anchore/grype/archive/refs/tags/v0.65.2.tar.gz" - sha256 "29d781a5f09af19f11ee9164e6f85bea4319d0a3e44e72953ee2964ed2aefc37" + url "https://github.com/anchore/grype/archive/refs/tags/v0.66.0.tar.gz" + sha256 "b0e38671975c0871f1b9a7bacba376f90ecb429973cb4b5b9cf90a3f4e072304" license "Apache-2.0" head "https://github.com/anchore/grype.git", branch: "main" @@ -16,7 +16,8 @@ class Grype < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "b69d39eb352308a01344ec1d2c65bab0f22c6009c4b366012250b3999c5511c5" end - depends_on "go" => :build + # upstream bug report for building with go1.21, https://github.com/anchore/syft/issues/2066 + depends_on "go@1.20" => :build def install ldflags = %W[ From 4d1d850fcb01d0d83505e9313431876e9f0512b6 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 31 Aug 2023 19:50:06 +0000 Subject: [PATCH 2/2] grype: update 0.66.0 bottle. --- Formula/g/grype.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/g/grype.rb b/Formula/g/grype.rb index 27f3cfbb2fcf2..51846f4db0655 100644 --- a/Formula/g/grype.rb +++ b/Formula/g/grype.rb @@ -7,13 +7,13 @@ class Grype < Formula head "https://github.com/anchore/grype.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_ventura: "2b3c03d60987c8ef28db8b23ded7d3dfadb13652935062c4eee0c590c0287ed1" - sha256 cellar: :any_skip_relocation, arm64_monterey: "f659a67330d7268e0208368ea517ef29bf9333e13a1028a3bfc9bd29427e2b67" - sha256 cellar: :any_skip_relocation, arm64_big_sur: "0232f2fa4c4cfee5e46a4bbb3ec5bd332bdbde6cbba7fa83a5a535e5a4919ced" - sha256 cellar: :any_skip_relocation, ventura: "88211b45c615f37a878f0a174a6cdac52ddc38bd45881a9b321185806d8d0481" - sha256 cellar: :any_skip_relocation, monterey: "3769918ebf11460955b4e06f25ddd9dd78398005de7f6fb5d1742a8e7eea7935" - sha256 cellar: :any_skip_relocation, big_sur: "1a121bc8d0338e10148bd73acb49874b632ccd008df171b893098e7df33305be" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b69d39eb352308a01344ec1d2c65bab0f22c6009c4b366012250b3999c5511c5" + sha256 cellar: :any_skip_relocation, arm64_ventura: "200df64b358cb6c425deae8b4f0766233ff6aa413e934c90e121f487195653fc" + sha256 cellar: :any_skip_relocation, arm64_monterey: "19c964a244f54ffeef5cb73f3901a6e1bb760136cf62ee088e9de7fafa4d68d1" + sha256 cellar: :any_skip_relocation, arm64_big_sur: "5c008bf75d4dd46631cf534881de327c4d989a71e570840dfcd3b4098c7b385a" + sha256 cellar: :any_skip_relocation, ventura: "b15a036de225749cc72b0da70022ccee9afd5701b4ea92a7ed2586ed326201dc" + sha256 cellar: :any_skip_relocation, monterey: "c518b0162c82931871a33ebc4935426fd915d7bfedcf1cc5d707f4d8cbd09a91" + sha256 cellar: :any_skip_relocation, big_sur: "3b21de7a879f3a13e9c69eb9cacb5b25125e9ee158c3c8afe15aab9bac3e5b41" + sha256 cellar: :any_skip_relocation, x86_64_linux: "9416713a6abc10754e2f492ec7787ec549e3eb3d71e8500282e7d6d980079896" end # upstream bug report for building with go1.21, https://github.com/anchore/syft/issues/2066