svn commit: r453562 - head/security/sslscan

Bernard Spil brnrd at FreeBSD.org
Sun Nov 5 21:15:00 UTC 2017


Author: brnrd
Date: Sun Nov  5 21:14:59 2017
New Revision: 453562
URL: https://svnweb.freebsd.org/changeset/ports/453562

Log:
  security/sslscan: Switch to openssl-unsafe
  
   - Use new security/openssl-unsafe port for scanning
   - amd64 only
  
  PR:		222910
  Approved by:	maintainer time-out

Modified:
  head/security/sslscan/Makefile

Modified: head/security/sslscan/Makefile
==============================================================================
--- head/security/sslscan/Makefile	Sun Nov  5 20:41:19 2017	(r453561)
+++ head/security/sslscan/Makefile	Sun Nov  5 21:14:59 2017	(r453562)
@@ -11,13 +11,26 @@ COMMENT=	SSLScan is a fast SSL port scanner
 
 LICENSE=	GPLv3
 
-USES=		gmake ssl
+OPTIONS_DEFINE=	UNSAFESSL
+OPTIONS_DEFAULT_amd64=	UNSAFESSL
+UNSAFESSL_DESC=	Use openssl-unsafe as libssl provider (SSLv2 etc.)
+
+USES=		gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	rbsec
 
+UNSAFESSL_USES_OFF=	ssl
+UNSAFESSL_BUILD_DEPENDS=	${LOCALBASE}/openssl-unsafe/lib/libssl.so:security/openssl-unsafe
+UNSAFESSL_RUN_DEPENDS=		${UNSAFESSL_BUILD_DEPENDS}
+UNSAFESSL_CFLAGS=	-I${LOCALBASE}/openssl-unsafe/include \
+			-Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib
+UNSAFESSL_LDFLAGS=	-L${LOCALBASE}/openssl-unsafe/lib \
+			-Wl,-rpath,${LOCALBASE}/openssl-unsafe/lib
+UNSAFESSL_ALL_TARGET=	sslscan
+
 .include <bsd.port.pre.mk>
 
-.if ${SSL_DEFAULT:Mopenssl-devel}
+.if empty(PORT_OPTIONS:MUNSAFESSL) && ${SSL_DEFAULT:Mopenssl-devel}
 BROKEN=		Does not build with openssl-devel
 .endif
 


More information about the svn-ports-all mailing list