diff --git a/packages/sslscan/Makefile.patch b/packages/sslscan/Makefile.patch new file mode 100644 index 000000000..13a01d5e7 --- /dev/null +++ b/packages/sslscan/Makefile.patch @@ -0,0 +1,17 @@ +diff --git a/Makefile b/Makefile +index cf2c92a..0f2db46 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,9 +1,9 @@ + SRCS = sslscan.c +-BINPATH = /usr/bin/ +-MANPATH = /usr/share/man/ ++BINPATH = ${prefix}/bin/ ++MANPATH = ${prefix}/share/man/ + + all: +- gcc -g -Wall -lssl -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) ++ $(CC) -g -Wall -lssl -lcrypto -o sslscan $(SRCS) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) + + install: + cp sslscan $(BINPATH) diff --git a/packages/sslscan/build.sh b/packages/sslscan/build.sh new file mode 100644 index 000000000..10b0567db --- /dev/null +++ b/packages/sslscan/build.sh @@ -0,0 +1,8 @@ +TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/sslscan/ +TERMUX_PKG_DESCRIPTION="Fast SSL scanner" +TERMUX_PKG_VERSION=1.8.2 +TERMUX_PKG_SRCURL=https://sourceforge.net/projects/sslscan/files/sslscan/sslscan-${TERMUX_PKG_VERSION}.tgz/download +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_FOLDERNAME=sslscan-${TERMUX_PKG_VERSION} +TERMUX_PKG_DEPENDS="openssl" +TERMUX_PKG_MAINTAINER="Pierre Rudloff " diff --git a/packages/sslscan/sslscan.c.patch b/packages/sslscan/sslscan.c.patch new file mode 100644 index 000000000..6e6955b7c --- /dev/null +++ b/packages/sslscan/sslscan.c.patch @@ -0,0 +1,12 @@ +diff --git a/sslscan.c b/sslscan.c +index 50ee6cc..bb9071b 100644 +--- a/sslscan.c ++++ b/sslscan.c +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + + // Defines... + #define false 0