Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 21:14:59 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453562 - head/security/sslscan
Message-ID:  <201711052114.vA5LExQD074890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711052114.vA5LExQD074890>