summaryrefslogtreecommitdiff
path: root/homebrew/masscan
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/masscan')
-rw-r--r--homebrew/masscan/.beer20
-rw-r--r--homebrew/masscan/.make.sh-auto6
-rw-r--r--homebrew/masscan/_metadata/description1
-rw-r--r--homebrew/masscan/_metadata/homepage1
-rw-r--r--homebrew/masscan/_metadata/name1
-rw-r--r--homebrew/masscan/_metadata/version1
-rwxr-xr-xhomebrew/masscan/download.sh1
7 files changed, 31 insertions, 0 deletions
diff --git a/homebrew/masscan/.beer b/homebrew/masscan/.beer
new file mode 100644
index 000000000..0f2f4cdd1
--- /dev/null
+++ b/homebrew/masscan/.beer
@@ -0,0 +1,20 @@
+{
+ "name": "Masscan",
+ "description": "TCP port scanner, scans entire Internet in under 5 minutes",
+ "url": "https://github.com/robertdavidgraham/masscan/archive/1.0.5.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/robertdavidgraham/masscan/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if MacOS.version == :el_capitan && MacOS::Xcode.version >= \"8.0\"",
+ "inreplace \"src/pixie-timer.c\", \"#elif defined(CLOCK_MONOTONIC)\", \"#elif defined(NOT_A_MACRO)\"",
+ "end",
+ "system \"make\"",
+ "bin.install \"bin/masscan\""
+ ],
+ "version": "1.0.5",
+ "file": "masscan.rb"
+} \ No newline at end of file
diff --git a/homebrew/masscan/.make.sh-auto b/homebrew/masscan/.make.sh-auto
new file mode 100644
index 000000000..83d0493df
--- /dev/null
+++ b/homebrew/masscan/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0"
+inreplace "src/pixie-timer.c", "#elif defined(CLOCK_MONOTONIC)", "#elif defined(NOT_A_MACRO)"
+end
+make
+bin.install "bin/masscan"
diff --git a/homebrew/masscan/_metadata/description b/homebrew/masscan/_metadata/description
new file mode 100644
index 000000000..1b14cdd07
--- /dev/null
+++ b/homebrew/masscan/_metadata/description
@@ -0,0 +1 @@
+TCP port scanner, scans entire Internet in under 5 minutes
diff --git a/homebrew/masscan/_metadata/homepage b/homebrew/masscan/_metadata/homepage
new file mode 100644
index 000000000..c1ad9c78c
--- /dev/null
+++ b/homebrew/masscan/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/robertdavidgraham/masscan/
diff --git a/homebrew/masscan/_metadata/name b/homebrew/masscan/_metadata/name
new file mode 100644
index 000000000..af0362ab2
--- /dev/null
+++ b/homebrew/masscan/_metadata/name
@@ -0,0 +1 @@
+Masscan
diff --git a/homebrew/masscan/_metadata/version b/homebrew/masscan/_metadata/version
new file mode 100644
index 000000000..90a27f9ce
--- /dev/null
+++ b/homebrew/masscan/_metadata/version
@@ -0,0 +1 @@
+1.0.5
diff --git a/homebrew/masscan/download.sh b/homebrew/masscan/download.sh
new file mode 100755
index 000000000..9dcbe54df
--- /dev/null
+++ b/homebrew/masscan/download.sh
@@ -0,0 +1 @@
+wget https://github.com/robertdavidgraham/masscan/archive/1.0.5.tar.gz \ No newline at end of file