Skip to content

Commit ead12d5

Browse files
BrewTestBotchenrui333
authored andcommitted
cdncheck 1.2.0
cdncheck: add version patch Signed-off-by: Rui Chen <[email protected]>
1 parent 2cee430 commit ead12d5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Formula/c/cdncheck.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class 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

@@ -21,6 +21,12 @@ class Cdncheck < Formula
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

Comments
 (0)