Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc formulae: switch to [email protected] #107451

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Formula/brev.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Brev < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "1903f0f640b60a813d92ae1de93f7c42c55a613fd71f1d5c6762e6fd583fcac7"
end

depends_on "go" => :build
# Required latest gvisor.dev/gvisor/pkg/gohacks instead of inet.af/netstack/gohacks
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
ldflags = "-X github.com/brevdev/brev-cli/pkg/cmd/version.Version=v#{version}"
Expand Down
4 changes: 3 additions & 1 deletion Formula/cloudflared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class Cloudflared < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "e271b7e7ed6c87b05fa07bc52f584f27b44192bec7b02a63c3cc62f5a5cac8c9"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
system "make", "install",
Expand Down
4 changes: 3 additions & 1 deletion Formula/colima.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class Colima < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "16a92215d353ae0e2550ec2272edbb68bde22dc1d2e35d15b3c0bb12efabc328"
end

depends_on "go" => :build
# Required latest gvisor.dev/gvisor/pkg/gohacks
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build
depends_on "lima"

def install
Expand Down
4 changes: 3 additions & 1 deletion Formula/doggo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class Doggo < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "656758ccedb107018e5cba479e134d17295fa939771162d8d2e001738dec89eb"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
ldflags = %W[
Expand Down
4 changes: 3 additions & 1 deletion Formula/flyctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ class Flyctl < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "5dfe7068fda69d4f5aa1199c808960df56815d270c69c97ef1da7ab9c1a825a4"
end

depends_on "go" => :build
# Required latest gvisor.dev/gvisor/pkg/gohacks
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
ENV["CGO_ENABLED"] = "0"
Expand Down
4 changes: 3 additions & 1 deletion Formula/grafana-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class GrafanaAgent < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "87371dd011f148c37d32d2113277d74e82da8dc37f25b263015b279a034dd0d8"
end

depends_on "go" => :build
# Required latest https://pkg.go.dev/go4.org/unsafe/assume-no-moving-gc
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

on_linux do
depends_on "systemd" => :build
Expand Down
4 changes: 3 additions & 1 deletion Formula/ipfs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ class Ipfs < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "edebe83ebb656162416c90f41ef5e5fb7152409f58610b0b8b654990f6bb165c"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
system "make", "build"
Expand Down
4 changes: 3 additions & 1 deletion Formula/k3d.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class K3d < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "61a22fa1f5be965e2fdff4f40b9617f10dd00f57ebd1a20d45f581aab977f269"
end

depends_on "go" => :build
# Required latest https://pkg.go.dev/go4.org/unsafe/assume-no-moving-gc
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
require "net/http"
Expand Down
4 changes: 3 additions & 1 deletion Formula/logcli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Logcli < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "3c745400ce81042f0445ff608af40939b2207ecc0c8ae78b33f3d845d4f5c128"
end

depends_on "go" => :build
# Required latest https://pkg.go.dev/go4.org/unsafe/assume-no-moving-gc
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build
depends_on "loki" => :test

resource "testdata" do
Expand Down
4 changes: 3 additions & 1 deletion Formula/loki.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ class Loki < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "e5f881ba846aa8cde80623002319f31016006836ba5f010ee94febc07e7e4a6d"
end

depends_on "go" => :build
# Required latest https://pkg.go.dev/go4.org/unsafe/assume-no-moving-gc
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
cd "cmd/loki" do
Expand Down
4 changes: 3 additions & 1 deletion Formula/ooniprobe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Ooniprobe < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "a56081097f07522f166118bf95f8e270ecd2fb7295470deab5a08e8666cde081"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build
depends_on "tor"

def install
Expand Down
4 changes: 3 additions & 1 deletion Formula/podman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ class Podman < Formula
end
end

depends_on "go" => :build
depends_on "go-md2man" => :build
# Required latest gvisor.dev/gvisor/pkg/gohacks
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build
depends_on "qemu"

# Fixes compatability with qemu 7.0.0. Can be removed next release.
Expand Down
4 changes: 3 additions & 1 deletion Formula/promtail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class Promtail < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "d04c1fb084e997340dd03a306343b114c9b59ab16e7526a2468e6c3ddeb3f7cc"
end

depends_on "go" => :build
# Required latest https://pkg.go.dev/go4.org/unsafe/assume-no-moving-gc
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

on_linux do
depends_on "systemd"
Expand Down
4 changes: 3 additions & 1 deletion Formula/storj-uplink.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class StorjUplink < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "d18eaa70c6be0158071626fc5ac3575ab27fde84d2d9cbd52641fc715d1ea336"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
system "go", "build", *std_go_args, "-o", bin/"uplink", "./cmd/uplink"
Expand Down
4 changes: 3 additions & 1 deletion Formula/syncthing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class Syncthing < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "13d8b93233ba1ed97f2c5e0c66d3915ff3c736573c2a9fc80db81a40fe1d427e"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
build_version = build.head? ? "v0.0.0-#{version}" : "v#{version}"
Expand Down
4 changes: 3 additions & 1 deletion Formula/traefik.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ class Traefik < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "417dfc79bd3b7e669213859114a578405120306139a5b4e36bf781b0112a5393"
end

depends_on "go" => :build
depends_on "go-bindata" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

def install
ldflags = %W[
Expand Down
3 changes: 2 additions & 1 deletion Formula/vitess.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ class Vitess < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "54cc14edcbf055ecede0cb9743143ceaf6b89fa0e005cfa415e43d0ff4441d11"
end

depends_on "go" => :build
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build
depends_on "etcd"

def install
Expand Down
4 changes: 3 additions & 1 deletion Formula/xray.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ class Xray < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "7245e312db9a34b636df22f8ab02c1f72e27db34e7a5f8360b709f9f70a81064"
end

depends_on "go" => :build
# Required lucas-clemente/quic-go >= 0.28
# Try to switch to the latest go on the next release
depends_on "[email protected]" => :build

resource "geoip" do
url "https://github.com/v2fly/geoip/releases/download/202204280105/geoip.dat"
Expand Down
4 changes: 3 additions & 1 deletion Formula/yorkie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ class Yorkie < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "9a2488fedc8d33e5cd7fffd222b3714b204487b9cfc3d0f148ccbd2510b43ef9"
end

depends_on "go" => :build
# Doesn't build with latest go
# See https://github.com/yorkie-team/yorkie/issues/378
depends_on "[email protected]" => :build

def install
system "make", "build"
Expand Down