summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-16 12:23:13 -1000
committerSam Bingner <sam@bingner.com>2019-05-16 12:28:25 -1000
commit6a09bbe9d4626e1064cef314002a4c3f71758912 (patch)
tree4ef37bd30dac79e48a6604c0d72cb265083475bc
parent5f46c053092418e1fe606632de5b4ed677217030 (diff)
Updates for masscan
-rw-r--r--data/masscan/build.diff20
-rw-r--r--data/masscan/make.sh1
-rw-r--r--data/masscan/masscan-1.0.5.tar.gz (renamed from data/masscan/1.0.5.tar.gz)bin353901 -> 353901 bytes
-rw-r--r--data/masscan/timestamp.diff11
4 files changed, 31 insertions, 1 deletions
diff --git a/data/masscan/build.diff b/data/masscan/build.diff
new file mode 100644
index 000000000..8b726efd1
--- /dev/null
+++ b/data/masscan/build.diff
@@ -0,0 +1,20 @@
+diff -ur masscan-1.0.5/Makefile masscan-1.0.5+iPhone/Makefile
+--- masscan-1.0.5/Makefile 2018-03-08 01:45:23.000000000 -1000
++++ masscan-1.0.5+iPhone/Makefile 2019-05-16 12:19:51.000000000 -1000
+@@ -26,7 +26,6 @@
+ LIBS = -lm
+ INCLUDES = -I.
+ FLAGS2 =
+-INSTALL_DATA = -pm755
+ endif
+
+ # MinGW on Windows
+@@ -69,7 +68,7 @@
+ CC = clang
+
+ DEFINES =
+-CFLAGS = -g -ggdb $(FLAGS2) $(INCLUDES) $(DEFINES) -Wall -O3
++CFLAGS = $(FLAGS2) $(INCLUDES) $(DEFINES) -Wall -O2
+ .SUFFIXES: .c .cpp
+
+ all: bin/masscan
diff --git a/data/masscan/make.sh b/data/masscan/make.sh
index 94696a8d1..2e5bad601 100644
--- a/data/masscan/make.sh
+++ b/data/masscan/make.sh
@@ -1,4 +1,3 @@
pkg:setup
pkg:make SYS="${PKG_TARG}"
-pkg: mkdir -p ${PKG_TAPF}/bin
pkg:install SYS="${PKG_TARG}" PREFIX="${PKG_TAPF}"
diff --git a/data/masscan/1.0.5.tar.gz b/data/masscan/masscan-1.0.5.tar.gz
index 6d1746273..6d1746273 100644
--- a/data/masscan/1.0.5.tar.gz
+++ b/data/masscan/masscan-1.0.5.tar.gz
Binary files differ
diff --git a/data/masscan/timestamp.diff b/data/masscan/timestamp.diff
new file mode 100644
index 000000000..b7734173d
--- /dev/null
+++ b/data/masscan/timestamp.diff
@@ -0,0 +1,11 @@
+diff -ur masscan-1.0.5/src/main-conf.c masscan-1.0.5+iPhone/src/main-conf.c
+--- masscan-1.0.5/src/main-conf.c 2018-03-08 01:45:23.000000000 -1000
++++ masscan-1.0.5+iPhone/src/main-conf.c 2019-05-16 12:26:15.000000000 -1000
+@@ -75,7 +75,6 @@
+ MASSCAN_VERSION,
+ "https://github.com/robertdavidgraham/masscan"
+ );
+- printf("Compiled on: %s %s\n", __DATE__, __TIME__);
+
+ #if defined(_MSC_VER)
+ #if defined(_M_AMD64) || defined(_M_X64)