summaryrefslogtreecommitdiff
path: root/security/sslscan/Makefile
blob: eab0cc2820f8a50bf35a9abc2ba7b9bcc2b05421 (plain)
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
PORTNAME=	sslscan
DISTVERSION=	2.1.3
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	https://www.openssl.org/source/:openssl \
		ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/:openssl
DISTFILES=	openssl-${OPENSSL_VERSION}.tar.gz:openssl

MAINTAINER=	gavin@FreeBSD.org
COMMENT=	Fast SSL port scanner
WWW=		https://github.com/rbsec/sslscan/

LICENSE=	GPLv3

USES=		gmake perl5
USE_PERL5=	build
USE_GITHUB=	yes
GH_ACCOUNT=	rbsec
OPENSSL_VERSION=	3.2.1

ALL_TARGET=	static

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc64
MAKE_ENV+=	OSSL_TARGET=BSD-ppc64
.elif ${ARCH} == powerpc64le
MAKE_ENV+=        OSSL_TARGET=BSD-ppc64le
.elif ${ARCH} == riscv64
MAKE_ENV+=        OSSL_TARGET=BSD-riscv64
.endif

post-patch:
	$(LN) -sf "${WRKDIR}/openssl-${OPENSSL_VERSION}" "${WRKSRC}/openssl"

.include <bsd.port.mk>