summaryrefslogtreecommitdiff
path: root/security/openssl/Makefile
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-03-26 08:42:49 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-03-26 08:42:49 +0000
commit0d16fe8fa86db897ad7b3561801c5548369666cc (patch)
treeaf71c2d318e8d44a45c68969f63c58230e26472c /security/openssl/Makefile
parent* Update 0.15 -> 0.18 (diff)
Upgrade to 0.9.2b.
According to the OpenSSL-core-team you are strongly encouraged to upgrade any old version. The new version has a lot of bug fixes. - ${PREFIX}/bin/ssleay was renamed to ${PREFIX}/bin/openssl and ${PREFIX}/etc/ssleay.cnf to ${PREFIX}/lib/openssl.cnf - there are no links from e. g. ${PREFIX}/bin/md5 to ${PREFIX}/bin/ssleay any longer, instead you have to call "openssl md5" now - replaced HAS_CONFIGURE, CONFIGURE_SCRIPT and CONFIGURE_ENV with a do-configure target and changed the indention level - some perl scripts need perl5 now, so set USE_PERL5 and replace perl with ${PERL5} where neccessary. - honour ${CFLAGS}
Notes
Notes: svn path=/head/; revision=17395
Diffstat (limited to 'security/openssl/Makefile')
-rw-r--r--security/openssl/Makefile38
1 files changed, 20 insertions, 18 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index ac7bc41bedd0..cbf9909c8728 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -1,28 +1,26 @@
# New ports collection makefile for: OpenSSL
-# Version required: 0.9.1c
+# Version required: 0.9.2b
# 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 $
+# $Id: Makefile,v 1.27 1999/03/06 11:36:22 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/
+DISTNAME= openssl-0.9.2b
+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
-MAINTAINER= dirk@FreeBSD.ORG
+WWW_SITE= http://www.openssl.org/
-ONLY_FOR_ARCHS= i386
-RESTRICTED= "Cryptography"
-HAS_CONFIGURE= yes
-CONFIGURE_SCRIPT= util/FreeBSD.sh
-CONFIGURE_ENV= PREFIX=${PREFIX}
+ONLY_FOR_ARCHS= i386
+RESTRICTED= "Cryptography"
+USE_PERL5= yes
+MAKE_ENV= PERL="${PERL}"
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
pre-fetch:
@@ -33,15 +31,19 @@ pre-fetch:
@${FALSE}
.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == YES && !defined(I_HAVE_AN_RSA_LICENSE)
-LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
+LIB_DEPENDS= rsaref.2:${PORTSDIR}/security/rsaref
post-configure:
${PATCH} ${PATCH_ARGS} < ${FILESDIR}/Makefile.patch
.endif
.endif
+do-configure:
+ @cd ${WRKSRC} \
+ && ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" PERL="${PERL}" ./config \
+ && ${PERL} util/ssldir.pl ${PREFIX}
+
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