summaryrefslogtreecommitdiff
path: root/security/sslscan/Makefile
blob: 5091ccf325086f539b8ea235b64dbf3725b2c82b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Matthieu BOUTHORS <matthieu@labs.fr>

PORTNAME=	sslscan
DISTVERSION=	1.11.12
DISTVERSIONSUFFIX=	-${GH_ACCOUNT}
PORTREVISION=	1
CATEGORIES=	security

MAINTAINER=	gavin@FreeBSD.org
COMMENT=	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:Mopenssl}
BROKEN=		Does not build with openssl
.endif

.include <bsd.port.post.mk>