From 6a09bbe9d4626e1064cef314002a4c3f71758912 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 16 May 2019 12:23:13 -1000 Subject: Updates for masscan --- data/masscan/1.0.5.tar.gz | Bin 353901 -> 0 bytes data/masscan/build.diff | 20 ++++++++++++++++++++ data/masscan/make.sh | 1 - data/masscan/masscan-1.0.5.tar.gz | Bin 0 -> 353901 bytes data/masscan/timestamp.diff | 11 +++++++++++ 5 files changed, 31 insertions(+), 1 deletion(-) delete mode 100644 data/masscan/1.0.5.tar.gz create mode 100644 data/masscan/build.diff create mode 100644 data/masscan/masscan-1.0.5.tar.gz create mode 100644 data/masscan/timestamp.diff diff --git a/data/masscan/1.0.5.tar.gz b/data/masscan/1.0.5.tar.gz deleted file mode 100644 index 6d1746273..000000000 Binary files a/data/masscan/1.0.5.tar.gz and /dev/null differ 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/masscan-1.0.5.tar.gz b/data/masscan/masscan-1.0.5.tar.gz new file mode 100644 index 000000000..6d1746273 Binary files /dev/null and b/data/masscan/masscan-1.0.5.tar.gz 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) -- cgit v1.2.3