summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-25 17:18:01 +0000
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-25 17:18:01 +0000
commit57d4d2cbdd767ea61b56a8b0fb3a6cac8fb92647 (patch)
tree5a1b6c00edcbef1e0b1d5d575a4d6651d36b346b /data
parenta12a0f8a5ab9cce38d815e83474656bf504d96dc (diff)
Added masscan.
Diffstat (limited to 'data')
-rw-r--r--data/masscan/.beer20
-rw-r--r--data/masscan/1.0.5.tar.gzbin0 -> 353901 bytes
-rw-r--r--data/masscan/_metadata/description1
-rw-r--r--data/masscan/_metadata/homepage1
-rw-r--r--data/masscan/_metadata/in.1443.000
l---------data/masscan/_metadata/maintainer1
-rw-r--r--data/masscan/_metadata/name1
-rw-r--r--data/masscan/_metadata/priority1
-rw-r--r--data/masscan/_metadata/role1
-rw-r--r--data/masscan/_metadata/section1
-rw-r--r--data/masscan/_metadata/tags1
-rw-r--r--data/masscan/_metadata/version1
-rwxr-xr-xdata/masscan/download.sh1
-rw-r--r--data/masscan/include.diff16
-rw-r--r--data/masscan/make.sh4
15 files changed, 50 insertions, 0 deletions
diff --git a/data/masscan/.beer b/data/masscan/.beer
new file mode 100644
index 000000000..0f2f4cdd1
--- /dev/null
+++ b/data/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/data/masscan/1.0.5.tar.gz b/data/masscan/1.0.5.tar.gz
new file mode 100644
index 000000000..6d1746273
--- /dev/null
+++ b/data/masscan/1.0.5.tar.gz
Binary files differ
diff --git a/data/masscan/_metadata/description b/data/masscan/_metadata/description
new file mode 100644
index 000000000..1b14cdd07
--- /dev/null
+++ b/data/masscan/_metadata/description
@@ -0,0 +1 @@
+TCP port scanner, scans entire Internet in under 5 minutes
diff --git a/data/masscan/_metadata/homepage b/data/masscan/_metadata/homepage
new file mode 100644
index 000000000..c1ad9c78c
--- /dev/null
+++ b/data/masscan/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/robertdavidgraham/masscan/
diff --git a/data/masscan/_metadata/in.1443.00 b/data/masscan/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/masscan/_metadata/in.1443.00
diff --git a/data/masscan/_metadata/maintainer b/data/masscan/_metadata/maintainer
new file mode 120000
index 000000000..0c538aadb
--- /dev/null
+++ b/data/masscan/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/mac \ No newline at end of file
diff --git a/data/masscan/_metadata/name b/data/masscan/_metadata/name
new file mode 100644
index 000000000..af0362ab2
--- /dev/null
+++ b/data/masscan/_metadata/name
@@ -0,0 +1 @@
+Masscan
diff --git a/data/masscan/_metadata/priority b/data/masscan/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/masscan/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/masscan/_metadata/role b/data/masscan/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/masscan/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/masscan/_metadata/section b/data/masscan/_metadata/section
new file mode 100644
index 000000000..8708e4b54
--- /dev/null
+++ b/data/masscan/_metadata/section
@@ -0,0 +1 @@
+Networking
diff --git a/data/masscan/_metadata/tags b/data/masscan/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/masscan/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/masscan/_metadata/version b/data/masscan/_metadata/version
new file mode 100644
index 000000000..90a27f9ce
--- /dev/null
+++ b/data/masscan/_metadata/version
@@ -0,0 +1 @@
+1.0.5
diff --git a/data/masscan/download.sh b/data/masscan/download.sh
new file mode 100755
index 000000000..9dcbe54df
--- /dev/null
+++ b/data/masscan/download.sh
@@ -0,0 +1 @@
+wget https://github.com/robertdavidgraham/masscan/archive/1.0.5.tar.gz \ No newline at end of file
diff --git a/data/masscan/include.diff b/data/masscan/include.diff
new file mode 100644
index 000000000..b0d22bbe0
--- /dev/null
+++ b/data/masscan/include.diff
@@ -0,0 +1,16 @@
+diff -ur masscan-1.0.5/src/smack1.c masscan-1.0.5+iPhone/src/smack1.c
+--- masscan-1.0.5/src/smack1.c 2018-03-08 11:45:23.000000000 +0000
++++ masscan-1.0.5+iPhone/src/smack1.c 2019-04-25 17:08:38.314694026 +0000
+@@ -113,11 +113,7 @@
+
+ #ifndef NOBENCHMARK
+ #include "pixie-timer.h"
+-#if defined(_MSC_VER)
+-#include <intrin.h>
+-#elif defined(__llvm__)
+-#include <x86intrin.h>
+-#elif defined(__GNUC__)
++#if 1
+ static __inline__ unsigned long long __rdtsc(void)
+ {
+ #if defined(i386) || defined(__i386__)
diff --git a/data/masscan/make.sh b/data/masscan/make.sh
new file mode 100644
index 000000000..94696a8d1
--- /dev/null
+++ b/data/masscan/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:make SYS="${PKG_TARG}"
+pkg: mkdir -p ${PKG_TAPF}/bin
+pkg:install SYS="${PKG_TARG}" PREFIX="${PKG_TAPF}"