mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
1099b7a228
Apply openssl-0.9.1c-bnrec.patch via PATCHFILES: "DESCRIPTION: The Big Number (BN) library in OpenSSL 0.9.1c has some problems when dealing with very large numbers. Because mostly all other OpenSSL sub-libraries (including the RSA library) are based on BN, this can cause failures when doing certificate verification and performing other SSL functions. These BN bugs are already fixed for OpenSSL 0.9.2. But for OpenSSL 0.9.1c the easiest workaround to fix the subtle problems is to apply the above patch which mainly disables the broken Montgomery multiplication algorithm inside BN."
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# New ports collection makefile for: OpenSSL
|
|
# Version required: 0.9.1c
|
|
# Date created: Sun Jan 3 19:36:27 CET 1999
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.26 1999/01/26 22:06:04 dirk Exp $
|
|
#
|
|
|
|
DISTNAME= openssl-0.9.1c
|
|
CATEGORIES= devel security
|
|
MASTER_SITES= http://www.openssl.org/source/ \
|
|
ftp://ftp.openssl.org/source/ \
|
|
ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/ \
|
|
ftp://ftp.cert.dfn.de/pub/tools/net/openssl/source/
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
PATCHFILES= openssl-0.9.1c-bnrec.patch
|
|
|
|
MAINTAINER= dirk@FreeBSD.ORG
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
RESTRICTED= "Cryptography"
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= util/FreeBSD.sh
|
|
CONFIGURE_ENV= PREFIX=${PREFIX}
|
|
|
|
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
|
|
pre-fetch:
|
|
@${ECHO} ""
|
|
@${ECHO} "You must set variable USA_RESIDENT to YES, if you are USA resident"
|
|
@${ECHO} "or to NO, if you aren't USA resident to build this package."
|
|
@${ECHO} "You must also have installed RSAREF if you are USA resident."
|
|
@${FALSE}
|
|
.elif defined(USA_RESIDENT)
|
|
.if ${USA_RESIDENT} == YES && !defined(I_HAVE_AN_RSA_LICENSE)
|
|
LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
|
|
|
|
post-configure:
|
|
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/Makefile.patch
|
|
.endif
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/apps/ssleay.cnf ${PREFIX}/etc/ssleay.cnf.sample
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${PREFIX}/share/doc/openssl
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/openssl
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|