Skip to content

Commit

Permalink
Merge pull request #139455 from chenrui333/build-with-go1.21
Browse files Browse the repository at this point in the history
coredns: add go1.21.0 build patch
  • Loading branch information
BrewTestBot committed Aug 13, 2023
2 parents 7b16c4b + ec61a91 commit 6ff92c8
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions Formula/coredns.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
class Coredns < Formula
desc "DNS server that chains plugins"
homepage "https://coredns.io/"
url "https://github.com/coredns/coredns/archive/v1.11.0.tar.gz"
sha256 "967c12d2b170b7eb46314edf01013d1547932f62e963a68b5e57cc4c10f966b6"
license "Apache-2.0"
head "https://github.com/coredns/coredns.git", branch: "master"

stable do
url "https://github.com/coredns/coredns/archive/v1.11.0.tar.gz"
sha256 "967c12d2b170b7eb46314edf01013d1547932f62e963a68b5e57cc4c10f966b6"

# quic-go patch for go 1.21.0
patch do
url "https://github.com/coredns/coredns/commit/93139841965d8a4e6791dbe2e4d154991fc6a59b.patch?full_index=1"
sha256 "74f86412ec909879cb690958bc1efe387df045c9f7e6143dc258c1db0673fd88"
end
end

livecheck do
url :stable
strategy :github_latest
end

bottle do
sha256 cellar: :any_skip_relocation, arm64_ventura: "be5388add1e31e7c0e375a233086aec14cf0acec43d177e26bfc6a2e53a7fa98"
sha256 cellar: :any_skip_relocation, arm64_monterey: "ff3081b32d6aff80ac985d36d632cf88679b0c60c8e6e2eecef4b0c00e0e6abf"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "78c976f87a883b19b5907bb882e9425dd2983ae809d3d71cab7fde9454f19f63"
sha256 cellar: :any_skip_relocation, ventura: "2a45b1af863de7489370c29c7f73f6645d714630c4ed8e4d6896f9a39fbeb042"
sha256 cellar: :any_skip_relocation, monterey: "6ef656198bff60e8c0f591af1224450822ff1eb852ae230a632a061ebcaf2479"
sha256 cellar: :any_skip_relocation, big_sur: "4d47a51d9d07f5cae0eb62e9c9f3a6a942c9891ab38867135e8e76869e0675ad"
sha256 cellar: :any_skip_relocation, x86_64_linux: "57da7301d34bad9f484dc19722fee1ae540d05f45f8121791d10abad69fd46f5"
rebuild 1
sha256 cellar: :any_skip_relocation, arm64_ventura: "0ea4d0da4841f1693197e55ac208755b5d78013056173e6c950fcc33d4cff7ad"
sha256 cellar: :any_skip_relocation, arm64_monterey: "920b3007051d956295cc37fbc782b8d984ec7cd0a9fbac210829be614da04f7a"
sha256 cellar: :any_skip_relocation, arm64_big_sur: "0f4cebabb485f4302601d3db6ef1f3cf8b9c737af447501e75af9b052bed2c2d"
sha256 cellar: :any_skip_relocation, ventura: "949d6e309e896853ba99a8321188649260377e0c186f4f4245b014e214b2fb76"
sha256 cellar: :any_skip_relocation, monterey: "1e7a954af9e5dc2b4d2ffc25335536b33e036914706dd8c8485e838a47666270"
sha256 cellar: :any_skip_relocation, big_sur: "511abebac162224f16186ae0426b2bec625aea76e552a11068d2d2acd41cddce"
sha256 cellar: :any_skip_relocation, x86_64_linux: "6daec11ddb450fad7e5e3b2e9206e5bb43cfa1d49ab7538be66c4bc6acd6fd46"
end

depends_on "go" => :build
Expand Down

0 comments on commit 6ff92c8

Please sign in to comment.