Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Formula/naabu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Naabu < Formula
url "https://github.com/projectdiscovery/naabu/archive/v2.0.4.tar.gz"
sha256 "2d9f01e42f2182d008041e145c047a7ca45d31214a2d20b1acf4a148659b5815"
license "MIT"
head "https://github.com/projectdiscovery/naabu.git"
head "https://github.com/projectdiscovery/naabu.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_big_sur: "0c2209fd89c55bb3a1e1e7d9d987606ddacead8c971202c1139fee903fb8ca18"
Expand All @@ -18,6 +18,12 @@ class Naabu < Formula

uses_from_macos "libpcap"

# Support go 1.17, remove after next release
patch do
url "https://github.com/projectdiscovery/naabu/commit/944874d7c5cf442fb68c5ad19ed5bf954b313386.patch?full_index=1"
sha256 "028e8dd2f9bd9634fc05ebcd0381d11320f94a6b9c68bd4a5648640a41089ea1"
end

def install
cd "v2" do
system "go", "build", *std_go_args, "./cmd/naabu"
Expand Down