diff --git a/Formula/g/grpcui.rb b/Formula/g/grpcui.rb index b8961540afb4d..6ab76a4cc3f8a 100644 --- a/Formula/g/grpcui.rb +++ b/Formula/g/grpcui.rb @@ -6,18 +6,19 @@ class Grpcui < Formula license "MIT" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "56b2c98ff5ebbb2714237618e9d6b4675170b5fdf9027031c7bbf9bf7955b1ac" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "56b2c98ff5ebbb2714237618e9d6b4675170b5fdf9027031c7bbf9bf7955b1ac" - sha256 cellar: :any_skip_relocation, arm64_ventura: "56b2c98ff5ebbb2714237618e9d6b4675170b5fdf9027031c7bbf9bf7955b1ac" - sha256 cellar: :any_skip_relocation, sonoma: "b87d24cef81c9d5205723a8b7a60b27b15b185886b07b2ef4c7b4d8d3271ef33" - sha256 cellar: :any_skip_relocation, ventura: "b87d24cef81c9d5205723a8b7a60b27b15b185886b07b2ef4c7b4d8d3271ef33" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e64ce95608640514130cde5f1040864d168f08344410932e066b8d1c377cd958" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "d539469158ca6d9251f59f73f8e28fde16cb9ac1aa4b020779dff541a598c4e3" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "d539469158ca6d9251f59f73f8e28fde16cb9ac1aa4b020779dff541a598c4e3" + sha256 cellar: :any_skip_relocation, arm64_ventura: "d539469158ca6d9251f59f73f8e28fde16cb9ac1aa4b020779dff541a598c4e3" + sha256 cellar: :any_skip_relocation, sonoma: "81fba7a344784edf9b66f342b3ff5d25b06382575af0a88dbc7feb72ebe28010" + sha256 cellar: :any_skip_relocation, ventura: "81fba7a344784edf9b66f342b3ff5d25b06382575af0a88dbc7feb72ebe28010" + sha256 cellar: :any_skip_relocation, x86_64_linux: "81f9ea45b95ffbb8d29ca4104421829b02ed3079f570d745620e77ac9afcde98" end depends_on "go" => :build def install - system "go", "build", *std_go_args(ldflags: "-X main.version=#{version}"), "./cmd/grpcui" + system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "./cmd/grpcui" end test do diff --git a/Formula/g/grpcurl.rb b/Formula/g/grpcurl.rb index 1fa3ff2284dee..e02e53a137c71 100644 --- a/Formula/g/grpcurl.rb +++ b/Formula/g/grpcurl.rb @@ -6,18 +6,19 @@ class Grpcurl < Formula license "MIT" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "d0e605c34c85402e9fe66fef34eed0939a0ad43c185bcbd3a9073df5896f5d42" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "d0e605c34c85402e9fe66fef34eed0939a0ad43c185bcbd3a9073df5896f5d42" - sha256 cellar: :any_skip_relocation, arm64_ventura: "d0e605c34c85402e9fe66fef34eed0939a0ad43c185bcbd3a9073df5896f5d42" - sha256 cellar: :any_skip_relocation, sonoma: "e7bf5a847cacaef832a85655c36c22c5d38aaa8919188ce0595de2a3cb45711c" - sha256 cellar: :any_skip_relocation, ventura: "e7bf5a847cacaef832a85655c36c22c5d38aaa8919188ce0595de2a3cb45711c" - sha256 cellar: :any_skip_relocation, x86_64_linux: "392591de30468ffd85c19e811d50b6f461f0bfa778cd540e482e08acf5ae9647" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "18b1180ca2627a4fd5f3da775a9095d3349c14b1c030bce929faddfed56e7e02" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "18b1180ca2627a4fd5f3da775a9095d3349c14b1c030bce929faddfed56e7e02" + sha256 cellar: :any_skip_relocation, arm64_ventura: "18b1180ca2627a4fd5f3da775a9095d3349c14b1c030bce929faddfed56e7e02" + sha256 cellar: :any_skip_relocation, sonoma: "5202cec41fc1afc38feb1357e896ed8287454b414a556a3d2efc98bbce229848" + sha256 cellar: :any_skip_relocation, ventura: "5202cec41fc1afc38feb1357e896ed8287454b414a556a3d2efc98bbce229848" + sha256 cellar: :any_skip_relocation, x86_64_linux: "1b4a1cef08d364c3a0f0f2692820901146493aeb4aaf8bb47ff7e6dd035e7ad6" end depends_on "go" => :build def install - system "go", "build", *std_go_args(ldflags: "-X main.version=#{version}"), "./cmd/grpcurl" + system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "./cmd/grpcurl" end test do diff --git a/Formula/h/helm-ls.rb b/Formula/h/helm-ls.rb index 5992476e96dbd..c8b3b0c25f729 100644 --- a/Formula/h/helm-ls.rb +++ b/Formula/h/helm-ls.rb @@ -7,19 +7,20 @@ class HelmLs < Formula head "https://github.com/mrjosh/helm-ls.git", branch: "master" bottle do - rebuild 1 - sha256 cellar: :any_skip_relocation, arm64_sequoia: "874a97cf9543d19f8ba4687f0e9f809a5d2f742b036cf5529b90bb9a79eb7577" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "2da6658cf4a6ce7f1a92d39c973347caee051d78826c39fe1e4d0b3a97ec1e87" - sha256 cellar: :any_skip_relocation, arm64_ventura: "a7e8d7110fd8d3e90a6d4aa1eaff674a63995a90cbed88701da27c0a7214bc5e" - sha256 cellar: :any_skip_relocation, sonoma: "0d793bed14eaca1e833610ffe73779747b23adb6bade8c5d38e5d5419b6cab48" - sha256 cellar: :any_skip_relocation, ventura: "bf81a819185bc3e3bf4d512dbe2a1f79deab59015da9e8f3e915edebf9ac2f55" - sha256 cellar: :any_skip_relocation, x86_64_linux: "410ffbbd5cba045de940112775ba77cf0f14da911a58b6abeefe7ade59682a94" + rebuild 2 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "5b2c5d5cb4490cb05371e63bc74d127d597f50bdb359a6f1e2fd1468f5151a3a" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "6d771e541a5c38fafbcd659018d8f5759b25b6d66a3de32a94f379766c27ebe5" + sha256 cellar: :any_skip_relocation, arm64_ventura: "db311950e0c37fc990a9ea24e95d5a1f9dbe6f78790878bf0cf33a349336da79" + sha256 cellar: :any_skip_relocation, sonoma: "666e15a046477ac540c2e1c211e91ba5183f12c7b2a70d823faeba7c91c83592" + sha256 cellar: :any_skip_relocation, ventura: "d81557c7fefd57b65b604413bea2ce2648e160b720358b4e60c2cd27042443c6" + sha256 cellar: :any_skip_relocation, x86_64_linux: "001b6074a8c532281fed3d992bb5dd4629e4ba64aea0e4a9e7672a3547ceae8b" end depends_on "go" => :build def install ldflags = %W[ + -s -w -X main.Version=#{version} -X main.CompiledBy=#{tap.user} -X main.GitCommit=#{tap.user} diff --git a/Formula/h/helmify.rb b/Formula/h/helmify.rb index 7f8b70b7f770a..f267f31e4f97c 100644 --- a/Formula/h/helmify.rb +++ b/Formula/h/helmify.rb @@ -7,18 +7,20 @@ class Helmify < Formula head "https://github.com/arttor/helmify.git", branch: "main" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "94001ab1feebadfea7ab6b1268afd5634973ed2d2f91e1627d662f17a010dbaf" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "94001ab1feebadfea7ab6b1268afd5634973ed2d2f91e1627d662f17a010dbaf" - sha256 cellar: :any_skip_relocation, arm64_ventura: "94001ab1feebadfea7ab6b1268afd5634973ed2d2f91e1627d662f17a010dbaf" - sha256 cellar: :any_skip_relocation, sonoma: "4329c16ff2831c60ba135f5d67d60d676b1579f1c193ebc0312f39f9160f7ceb" - sha256 cellar: :any_skip_relocation, ventura: "4329c16ff2831c60ba135f5d67d60d676b1579f1c193ebc0312f39f9160f7ceb" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e4f1b4b4cb59cb25fe13440a86ee7d4e0c447b69e5ce2a90d5ce19edd2c57142" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "295298a30ace6939a7fb04f569dffe3a9e1187fa29a16d2facb632a27b421df5" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "295298a30ace6939a7fb04f569dffe3a9e1187fa29a16d2facb632a27b421df5" + sha256 cellar: :any_skip_relocation, arm64_ventura: "295298a30ace6939a7fb04f569dffe3a9e1187fa29a16d2facb632a27b421df5" + sha256 cellar: :any_skip_relocation, sonoma: "af33c2998763599bb54667aebb90f1ba0d12d79f0032d9d5bd79ce2f3bce1e15" + sha256 cellar: :any_skip_relocation, ventura: "af33c2998763599bb54667aebb90f1ba0d12d79f0032d9d5bd79ce2f3bce1e15" + sha256 cellar: :any_skip_relocation, x86_64_linux: "0e9dfe2db85fe47a3a27b6f637779e70cb8e502d24130d8b9aae53568361560b" end depends_on "go" => :build def install ldflags = %W[ + -s -w -X main.version=#{version} -X main.date=#{time.iso8601} -X main.commit=#{tap.user} diff --git a/Formula/i/ignite.rb b/Formula/i/ignite.rb index 8d4ea0089d186..eeb644b769ba2 100644 --- a/Formula/i/ignite.rb +++ b/Formula/i/ignite.rb @@ -6,19 +6,20 @@ class Ignite < Formula license "Apache-2.0" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "8a0e61d020fe255cdc963ab183fe0683f16a33d1d920f3067d33c22c100c30e1" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "75096bc21f45a6ccf9761bd35eff0477e652ae403eb45309e0827a490541fbc8" - sha256 cellar: :any_skip_relocation, arm64_ventura: "bc2c5258e9efb31423c82d417dc37a6d0c9a0b776a3acffe99d8db36b30de8a7" - sha256 cellar: :any_skip_relocation, sonoma: "49747dd5476d4fdebc696ccfb52ef2e77e81ef218ea772b9e7ce9a2c073ed01e" - sha256 cellar: :any_skip_relocation, ventura: "121c1f4b4507c9e8e0f04fd7f1efbaa34e24bfc2d6a84fd6cf27b2fe3d5064ba" - sha256 cellar: :any_skip_relocation, x86_64_linux: "b31b3c1e505e50ccaaab4e95c87e771ccab0d56c303ece9d8c486e8decbc9896" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "a7ce77de373b2e4d41c7588e67710f711944b5b7246fc430b95923319968261b" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "07bde4c7b1f25beba04d44208aa485e555fbaad77e993bb30932479e091cd6db" + sha256 cellar: :any_skip_relocation, arm64_ventura: "d436da5653db0146dfbd8871565d90d27f5e496ba555f3cb0b5a87b8de436f70" + sha256 cellar: :any_skip_relocation, sonoma: "98c1f266699417752f1ce03274d376b75361b63d4a68c28a26e111ed1494d1c0" + sha256 cellar: :any_skip_relocation, ventura: "4fb5504802f6e2e34218924d352cb55fa6682f13e1a4692e5d40d0f9105b106b" + sha256 cellar: :any_skip_relocation, x86_64_linux: "4ffe4dba900aa76360117b7efae4dc321d74258b4da995921531aa0bc28fd333" end depends_on "go" depends_on "node" def install - system "go", "build", "-mod=readonly", *std_go_args(output: bin/"ignite"), "./ignite/cmd/ignite" + system "go", "build", "-mod=readonly", *std_go_args(ldflags: "-s -w", output: bin/"ignite"), "./ignite/cmd/ignite" end test do diff --git a/Formula/i/imgproxy.rb b/Formula/i/imgproxy.rb index eb3d807e913d9..a81d6d8548a88 100644 --- a/Formula/i/imgproxy.rb +++ b/Formula/i/imgproxy.rb @@ -7,12 +7,13 @@ class Imgproxy < Formula head "https://github.com/imgproxy/imgproxy.git", branch: "master" bottle do - sha256 cellar: :any, arm64_sequoia: "2586c3c66d84edb11df56d1b93a2b5da7ff2d5ff2a4bce8a2a618affd9190c4e" - sha256 cellar: :any, arm64_sonoma: "f5ceae4788d8dafaf2e56cde36aa2bcff184311649c7eab0944e4061f4f57d9d" - sha256 cellar: :any, arm64_ventura: "05bcd276740aa58bcd57113a13d948432f37d0e23bbb4d7b3a20902d84223342" - sha256 cellar: :any, sonoma: "2aeceefd32490aceaee8274be9348034d79eab027035bcfb5f043e0dc5dd163d" - sha256 cellar: :any, ventura: "9e6ebcc207c5e9a0615b683ec18bddde7c546657a3e9687ffab43997966f1fba" - sha256 cellar: :any_skip_relocation, x86_64_linux: "04760e453ae95be814da1e5617da46dd5117e555a2546c218ffa2436878cf947" + rebuild 1 + sha256 cellar: :any, arm64_sequoia: "2a568c5a604ccb1f091d90b14738baf4c9e45bab7a4424044466f24e068e47cc" + sha256 cellar: :any, arm64_sonoma: "39daebbe6837a0409ee37b0e341503cac862bab16fc5041cfc8af92c09dcdfd0" + sha256 cellar: :any, arm64_ventura: "3c0041006749b164261e3818e9ae178d75240b527b6fb893fdd3f19939be11f0" + sha256 cellar: :any, sonoma: "d69ff56f009a15bba489ebbd6f58d0920a745e64e270f9851b580f0f24916bbe" + sha256 cellar: :any, ventura: "716c129eb8e635d0cda108a9fd21aa8e2f2bd997d1663621e260ddbe8d6f3036" + sha256 cellar: :any_skip_relocation, x86_64_linux: "36b0215e1db006c135151be22ee931213d63c23377338efdd289ac9d7988b5fa" end depends_on "go" => :build @@ -28,7 +29,7 @@ def install ENV["CGO_LDFLAGS_ALLOW"] = "-s|-w" ENV["CGO_CFLAGS_ALLOW"] = "-Xpreprocessor" - system "go", "build", *std_go_args + system "go", "build", *std_go_args(ldflags: "-s -w") end test do diff --git a/Formula/i/imposm3.rb b/Formula/i/imposm3.rb index 027289cb1d0ad..17e1cef16e5f9 100644 --- a/Formula/i/imposm3.rb +++ b/Formula/i/imposm3.rb @@ -6,14 +6,13 @@ class Imposm3 < Formula license "Apache-2.0" bottle do - sha256 cellar: :any, arm64_sequoia: "64f97048173142e08936aeb2994efcd41266f6cee1d4946cb44183322cd1f30e" - sha256 cellar: :any, arm64_sonoma: "0b5303c3ec7e530e54107a251fa4ef2fc9f4c2e54463c8b344b0c64fc781d905" - sha256 cellar: :any, arm64_ventura: "bca1a61350ffd184a74065eb3ccd0af7ab33819dfc263bd9498548ea80d0e7a9" - sha256 cellar: :any, arm64_monterey: "8c0746261d6dbe9bf62f862f3731e963cafdff857067879339428b4973ac020f" - sha256 cellar: :any, sonoma: "5b9c3f3a7c20f993b2e2479e57a87209231ee8321e83182fc97eaf63af22caf2" - sha256 cellar: :any, ventura: "82aa12fbd85c9d6202cd4d841b78b07b615d6eba5350da7834e5cd27773b69ba" - sha256 cellar: :any, monterey: "8deb68cd3de507b9c22026244991a9e9aca79f098beb0f144d25bc95d6e7a749" - sha256 cellar: :any_skip_relocation, x86_64_linux: "c1f87849ae0dca6987ee13f5b35885efd169a8eea2eb69c24db97c385ba10234" + rebuild 1 + sha256 cellar: :any, arm64_sequoia: "6e6978e709dcf02b68670fe3989e91597ad345f4c5aa33e4ad118e433d44c918" + sha256 cellar: :any, arm64_sonoma: "688528b320a8a29762059b6396c81591bb8bccdbb0fc38401b6bdbd368f271c2" + sha256 cellar: :any, arm64_ventura: "392619f76111001dae5e466bd44fe49048a07bcdd4322bd6c825bd26fd660371" + sha256 cellar: :any, sonoma: "95fa7c5fde0ca11df2bc4b6a7fd491e7202ab380b6c7baddd1f47b43506059af" + sha256 cellar: :any, ventura: "adaec3d25f4e2e91faccbeb55c8b1fe73203cbfdf3182cdc870bdf7dac04e314" + sha256 cellar: :any_skip_relocation, x86_64_linux: "da189939a9103dfca0b32d55b6a2160687c972018c01232e752f9eb89c8b142c" end depends_on "go" => :build @@ -25,7 +24,7 @@ def install ENV["CGO_LDFLAGS"] = "-L#{Formula["geos"].opt_lib} -L#{Formula["leveldb"].opt_lib}" ENV["CGO_CFLAGS"] = "-I#{Formula["geos"].opt_include} -I#{Formula["leveldb"].opt_include}" - ldflags = "-X github.com/omniscale/imposm3.Version=#{version}" + ldflags = "-s -w -X github.com/omniscale/imposm3.Version=#{version}" system "go", "build", *std_go_args(ldflags:, output: bin/"imposm"), "cmd/imposm/main.go" end