From 6d140c09b77dd33e8cfd2ddfe5354ea20f7582b1 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 20 Jul 2023 00:00:25 -0400 Subject: [PATCH 1/2] garble 0.10.1 Signed-off-by: Rui Chen --- Formula/garble.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Formula/garble.rb b/Formula/garble.rb index 02735c4e0bd5..145a891acfb0 100644 --- a/Formula/garble.rb +++ b/Formula/garble.rb @@ -1,10 +1,9 @@ class Garble < Formula desc "Obfuscate Go builds" homepage "https://github.com/burrowers/garble" - url "https://github.com/burrowers/garble/archive/refs/tags/v0.9.3.tar.gz" - sha256 "26e001eb469c9357c2a5212ee295da3c588b7f36b1ce0b7e7b92b8e6d44f0cd1" + url "https://github.com/burrowers/garble/archive/refs/tags/v0.10.1.tar.gz" + sha256 "11c038cb5fb6b21a2160305beec939c69b0712e39f52f0a0b6d977fa68d5b6db" license "BSD-3-Clause" - revision 4 head "https://github.com/burrowers/garble.git", branch: "master" bottle do @@ -18,8 +17,10 @@ class Garble < Formula end depends_on "go" => [:build, :test] + depends_on "git" def install + inreplace "internal/linker/linker.go", "\"git\"", "\"#{Formula["git"].opt_bin}/git\"" system "go", "build", *std_go_args(ldflags: "-s -w") end From 8e5f1d15bed3b45eda60084b21f0fed24ec1f957 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 20 Jul 2023 19:29:28 +0000 Subject: [PATCH 2/2] garble: update 0.10.1 bottle. --- Formula/garble.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Formula/garble.rb b/Formula/garble.rb index 145a891acfb0..03d65b8db32f 100644 --- a/Formula/garble.rb +++ b/Formula/garble.rb @@ -7,13 +7,13 @@ class Garble < Formula head "https://github.com/burrowers/garble.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_ventura: "b4b58f8b5dd4ac18d64d0380a0e2c0fda72bfecc7c9e730cd8a390ec2326e529" - sha256 cellar: :any_skip_relocation, arm64_monterey: "b4b58f8b5dd4ac18d64d0380a0e2c0fda72bfecc7c9e730cd8a390ec2326e529" - sha256 cellar: :any_skip_relocation, arm64_big_sur: "b4b58f8b5dd4ac18d64d0380a0e2c0fda72bfecc7c9e730cd8a390ec2326e529" - sha256 cellar: :any_skip_relocation, ventura: "ba22a32eebf8c56d3347401e8aceb9ddc76f0ad05f01eeaf330b1b74c6c496aa" - sha256 cellar: :any_skip_relocation, monterey: "ba22a32eebf8c56d3347401e8aceb9ddc76f0ad05f01eeaf330b1b74c6c496aa" - sha256 cellar: :any_skip_relocation, big_sur: "ba22a32eebf8c56d3347401e8aceb9ddc76f0ad05f01eeaf330b1b74c6c496aa" - sha256 cellar: :any_skip_relocation, x86_64_linux: "deb8dd3296bbb92ac22ae64c205a846cfa97631661dbc705be56d6d055355a1d" + sha256 cellar: :any_skip_relocation, arm64_ventura: "ba0821114a58ed15fad34a23179486094526551826fbaa786e7a052b0e082b83" + sha256 cellar: :any_skip_relocation, arm64_monterey: "ba0821114a58ed15fad34a23179486094526551826fbaa786e7a052b0e082b83" + sha256 cellar: :any_skip_relocation, arm64_big_sur: "ba0821114a58ed15fad34a23179486094526551826fbaa786e7a052b0e082b83" + sha256 cellar: :any_skip_relocation, ventura: "33139d9ab9315c532d1f0ae781daf536af3a4c98d8b006cf2de5845fe0167e79" + sha256 cellar: :any_skip_relocation, monterey: "33139d9ab9315c532d1f0ae781daf536af3a4c98d8b006cf2de5845fe0167e79" + sha256 cellar: :any_skip_relocation, big_sur: "33139d9ab9315c532d1f0ae781daf536af3a4c98d8b006cf2de5845fe0167e79" + sha256 cellar: :any_skip_relocation, x86_64_linux: "393639d2de0a92130ae75ebe3c6acec0901ed2cdbaac3ce081137e51791071bf" end depends_on "go" => [:build, :test]