diff --git a/Formula/s/subfinder.rb b/Formula/s/subfinder.rb index f26aa022722e..cc620c293ffd 100644 --- a/Formula/s/subfinder.rb +++ b/Formula/s/subfinder.rb @@ -1,22 +1,28 @@ class Subfinder < Formula desc "Subdomain discovery tool" homepage "https://github.com/projectdiscovery/subfinder" - url "https://github.com/projectdiscovery/subfinder/archive/refs/tags/v2.9.0.tar.gz" - sha256 "90337a91df2924ee385ca048862643d1daab6c7d81ddda66d58e6c100df3ba2d" + url "https://github.com/projectdiscovery/subfinder/archive/refs/tags/v2.10.0.tar.gz" + sha256 "714649906f533b5948eeaa5027dbe284789039b818d2a034ce47ed67953e95c4" license "MIT" head "https://github.com/projectdiscovery/subfinder.git", branch: "dev" bottle do - sha256 cellar: :any_skip_relocation, arm64_tahoe: "d64760336155d22c5ef72eeb907dc73969992cc9d5f86fb68f5fb9f5d3553f64" - sha256 cellar: :any_skip_relocation, arm64_sequoia: "7e1ae86daad76d90829041cc7d826808def24abbbfe148dc5b0780df3a61e1b5" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "844e40d933ab2a261aae0deec7e20b53e52e9ed735742cbb5586cdc5e2e99690" - sha256 cellar: :any_skip_relocation, sonoma: "7e2039c4056b2893d3de6557a113c33c53f5dd34e9e89e3a8a260d7337350589" - sha256 cellar: :any_skip_relocation, arm64_linux: "cb6b080231f2ffcfb7b94d5f1b02a544af0f3c445cfab13fc526c7748bdaa43f" - sha256 cellar: :any_skip_relocation, x86_64_linux: "f431031aea8794558f1bd04e41e399cf017ad0eb180a4d20bab4fde6fddd6284" + sha256 cellar: :any_skip_relocation, arm64_tahoe: "b5a755bd5f06e480aa88f936ea46e81688cc4ea25776d71b1718fa54dd3fc032" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "3057a6d0243fc0c6e7712aa4a110eaff53a8fbacd846479c4491a0ccebe3282c" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "eead1297d013e9582621eba4f7987ead1f602b22e25d596f039ae2f2fd38fad2" + sha256 cellar: :any_skip_relocation, sonoma: "a2a66ac1e8285897ba49da131b01236515adc87a82b0ede48025c73fecdc89ef" + sha256 cellar: :any_skip_relocation, arm64_linux: "5d0e1e42d13724183619807395b0f9d668590066fb4b76d2dcd2709e44cc2c64" + sha256 cellar: :any_skip_relocation, x86_64_linux: "685ea79eb23417b8ae38f78e6ea36706e41a76b7b60fd752844c4deaf524b941" end depends_on "go" => :build + # version patch, upstream pr ref, https://github.com/projectdiscovery/subfinder/pull/1669 + patch do + url "https://github.com/projectdiscovery/subfinder/commit/dfcd02d5baf865ef6b6eeccfcf0df01ddaae60a4.patch?full_index=1" + sha256 "b3a79b83e8cd5df72a82b59a46e893679a05458d1fe98236a6df1860d4c25506" + end + def install system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/subfinder" end