aboutsummaryrefslogtreecommitdiff
path: root/security/p5-OpenCA-OpenSSL/Makefile
blob: 5b10928b8362fd39b94452fb7b4cde920f595961 (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
# Created by: Steve Wills <swills@FreeBSD.org>
# $FreeBSD$

PORTNAME=	OpenCA-OpenSSL
PORTVERSION=	2.0.29
PORTREVISION=	2
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:MADWOLF
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl crypto extension to OpenSSL

BROKEN_SSL=    openssl ${BROKEN_SSL_${OSREL:R}}
BROKEN_SSL_REASON_openssl=  incomplete definition of type 'struct x509_st'
BROKEN_SSL_12=	base
BROKEN_SSL_13=	base

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Locale-libintl>=0:devel/p5-Locale-libintl \
		p5-MIME-Tools>=0:mail/p5-MIME-Tools \
		p5-X500-DN>=0:net/p5-X500-DN

USES=		perl5 ssl
USE_PERL5=	configure
MAKE_ARGS+=	PASTHRU_INC=-I${OPENSSLINC}

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base
BROKEN=        Does not support OpenSSL 1.1
.endif

.include <bsd.port.mk>