freebsd-ports/security/sslscan/Makefile
Antoine Brodin 31a04da981 Make UNSAFESSL default on all archs
Reported by:	pkg-fallout
MFH:		2019Q2
2019-04-25 16:14:24 +00:00

38 lines
1,006 B
Makefile

# Created by: Matthieu BOUTHORS <matthieu@labs.fr>
# $FreeBSD$
PORTNAME= sslscan
DISTVERSION= 1.11.12
DISTVERSIONSUFFIX= -${GH_ACCOUNT}
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= gavin@FreeBSD.org
COMMENT= SSLScan is a fast SSL port scanner
LICENSE= GPLv3
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= rbsec
OPTIONS_DEFINE= UNSAFESSL
OPTIONS_DEFAULT= UNSAFESSL
UNSAFESSL_DESC= Use openssl-unsafe as libssl provider (SSLv2 etc.)
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 empty(PORT_OPTIONS:MUNSAFESSL) && ${SSL_DEFAULT:Mopenssl111}
BROKEN= Does not build with openssl111
.endif
.include <bsd.port.post.mk>