From 5f46c053092418e1fe606632de5b4ed677217030 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Thu, 25 Apr 2019 17:18:01 +0000 Subject: Added masscan. --- data/masscan/.beer | 20 ++++++++++++++++++++ data/masscan/1.0.5.tar.gz | Bin 0 -> 353901 bytes data/masscan/_metadata/description | 1 + data/masscan/_metadata/homepage | 1 + data/masscan/_metadata/in.1443.00 | 0 data/masscan/_metadata/maintainer | 1 + data/masscan/_metadata/name | 1 + data/masscan/_metadata/priority | 1 + data/masscan/_metadata/role | 1 + data/masscan/_metadata/section | 1 + data/masscan/_metadata/tags | 1 + data/masscan/_metadata/version | 1 + data/masscan/download.sh | 1 + data/masscan/include.diff | 16 ++++++++++++++++ data/masscan/make.sh | 4 ++++ 15 files changed, 50 insertions(+) create mode 100644 data/masscan/.beer create mode 100644 data/masscan/1.0.5.tar.gz create mode 100644 data/masscan/_metadata/description create mode 100644 data/masscan/_metadata/homepage create mode 100644 data/masscan/_metadata/in.1443.00 create mode 120000 data/masscan/_metadata/maintainer create mode 100644 data/masscan/_metadata/name create mode 100644 data/masscan/_metadata/priority create mode 100644 data/masscan/_metadata/role create mode 100644 data/masscan/_metadata/section create mode 100644 data/masscan/_metadata/tags create mode 100644 data/masscan/_metadata/version create mode 100755 data/masscan/download.sh create mode 100644 data/masscan/include.diff create mode 100644 data/masscan/make.sh (limited to 'data') 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 Binary files /dev/null and b/data/masscan/1.0.5.tar.gz 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 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 +-#elif defined(__llvm__) +-#include +-#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}" -- cgit v1.2.3