11class Cdncheck < Formula
22 desc "Utility to detect various technology for a given IP address"
33 homepage "https://projectdiscovery.io"
4- url "https://github.com/projectdiscovery/cdncheck/archive/refs/tags/v1.1.36 .tar.gz"
5- sha256 "95178a79dd433452bedd4377779da346282688db6d604394743dfff6dbd890d7 "
4+ url "https://github.com/projectdiscovery/cdncheck/archive/refs/tags/v1.2.0 .tar.gz"
5+ sha256 "e0a69951f445b023f52709e477d6560bb1d0b57f2425ff1c894c617231b1fe2f "
66 license "MIT"
77 head "https://github.com/projectdiscovery/cdncheck.git" , branch : "main"
88
@@ -12,15 +12,21 @@ class Cdncheck < Formula
1212 end
1313
1414 bottle do
15- sha256 cellar : :any_skip_relocation , arm64_tahoe : "d7b96862e04c482ea907e1b839d9fd11713f3270a77e288d28465b3f162d8b61 "
16- sha256 cellar : :any_skip_relocation , arm64_sequoia : "23a243d33844047f2b4acc75cbdb9c0228463a5275485e6672eeb6bf4987d7ca "
17- sha256 cellar : :any_skip_relocation , arm64_sonoma : "8b5f35e2fe8844527e16345fdb087e2625ba147c9139abf95393e021691dc36e "
18- sha256 cellar : :any_skip_relocation , sonoma : "c6d679be03d6cf4276656e6e8ea13ed7d163c8c6afbd3c1a86b312fa37e27c77 "
19- sha256 cellar : :any_skip_relocation , x86_64_linux : "4b6753351734ca9e44a0649b6a1f20460c79893fb42f4a51fc45ca89b3762748 "
15+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "c4a49334ffe72354f1f06b5b85842b8e7baee5a5285d2d3dd0d50000e85861ca "
16+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "53937e37fcf5a1db869b825ef7cfad4738d039554b2a75db125f7d219bc99fe9 "
17+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "ca3b3a361cfd05c2d2d2c62e754e817540ccd8a3cc5fdf924c667f5893a4444f "
18+ sha256 cellar : :any_skip_relocation , sonoma : "dca670fe11ae850f738553bffac90957673bb2a6eab5d37ba81e03792e755b97 "
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "91b0a8e26c53630ad4cfa250790f712d10dde5b7bca557886fe9cf1c646f2726 "
2020 end
2121
2222 depends_on "go" => :build
2323
24+ # version patch, upstream pr ref, https://github.com/projectdiscovery/cdncheck/pull/454
25+ patch do
26+ url "https://github.com/projectdiscovery/cdncheck/commit/6d76970cdf0ac414fc1d5266957cd52600bc4418.patch?full_index=1"
27+ sha256 "b267893ca336e42f0c744e2a8066608a4830671189422182a74c9270d1c83cb3"
28+ end
29+
2430 def install
2531 system "go" , "build" , *std_go_args ( ldflags : "-s -w" ) , "./cmd/cdncheck"
2632 end
0 commit comments