|
1 | 1 | class Subfinder < Formula |
2 | 2 | desc "Subdomain discovery tool" |
3 | 3 | homepage "https://github.com/projectdiscovery/subfinder" |
4 | | - url "https://github.com/projectdiscovery/subfinder/archive/refs/tags/v2.9.0.tar.gz" |
5 | | - sha256 "90337a91df2924ee385ca048862643d1daab6c7d81ddda66d58e6c100df3ba2d" |
| 4 | + url "https://github.com/projectdiscovery/subfinder/archive/refs/tags/v2.10.0.tar.gz" |
| 5 | + sha256 "714649906f533b5948eeaa5027dbe284789039b818d2a034ce47ed67953e95c4" |
6 | 6 | license "MIT" |
7 | 7 | head "https://github.com/projectdiscovery/subfinder.git", branch: "dev" |
8 | 8 |
|
9 | 9 | bottle do |
10 | | - sha256 cellar: :any_skip_relocation, arm64_tahoe: "d64760336155d22c5ef72eeb907dc73969992cc9d5f86fb68f5fb9f5d3553f64" |
11 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "7e1ae86daad76d90829041cc7d826808def24abbbfe148dc5b0780df3a61e1b5" |
12 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "844e40d933ab2a261aae0deec7e20b53e52e9ed735742cbb5586cdc5e2e99690" |
13 | | - sha256 cellar: :any_skip_relocation, sonoma: "7e2039c4056b2893d3de6557a113c33c53f5dd34e9e89e3a8a260d7337350589" |
14 | | - sha256 cellar: :any_skip_relocation, arm64_linux: "cb6b080231f2ffcfb7b94d5f1b02a544af0f3c445cfab13fc526c7748bdaa43f" |
15 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "f431031aea8794558f1bd04e41e399cf017ad0eb180a4d20bab4fde6fddd6284" |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_tahoe: "b5a755bd5f06e480aa88f936ea46e81688cc4ea25776d71b1718fa54dd3fc032" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "3057a6d0243fc0c6e7712aa4a110eaff53a8fbacd846479c4491a0ccebe3282c" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "eead1297d013e9582621eba4f7987ead1f602b22e25d596f039ae2f2fd38fad2" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "a2a66ac1e8285897ba49da131b01236515adc87a82b0ede48025c73fecdc89ef" |
| 14 | + sha256 cellar: :any_skip_relocation, arm64_linux: "5d0e1e42d13724183619807395b0f9d668590066fb4b76d2dcd2709e44cc2c64" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "685ea79eb23417b8ae38f78e6ea36706e41a76b7b60fd752844c4deaf524b941" |
16 | 16 | end |
17 | 17 |
|
18 | 18 | depends_on "go" => :build |
19 | 19 |
|
| 20 | + # version patch, upstream pr ref, https://github.com/projectdiscovery/subfinder/pull/1669 |
| 21 | + patch do |
| 22 | + url "https://github.com/projectdiscovery/subfinder/commit/dfcd02d5baf865ef6b6eeccfcf0df01ddaae60a4.patch?full_index=1" |
| 23 | + sha256 "b3a79b83e8cd5df72a82b59a46e893679a05458d1fe98236a6df1860d4c25506" |
| 24 | + end |
| 25 | + |
20 | 26 | def install |
21 | 27 | system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/subfinder" |
22 | 28 | end |
|
0 commit comments