summaryrefslogtreecommitdiff
path: root/www/apache13-ssl/Makefile
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1997-08-15 15:44:58 +0000
committerMark Murray <markm@FreeBSD.org>1997-08-15 15:44:58 +0000
commitea23608c8470507a57ecadd541495150242012db (patch)
tree7157066eb0610e991eaf7911996f9f6cf571181d /www/apache13-ssl/Makefile
parentUpdate to v 0.8.1. New algorithms (Blowfish &c) added. SSLv3 added. (diff)
Upgrade to Apache 1.2.1 and SSLeay 0.8.1. Add SSL3 and many other features.
Submitted by: Richard Seaman <dick@tar.com> Apologies to: All the other who sent me helpful comments and tips and who I forgot :-)
Notes
Notes: svn path=/head/; revision=7589
Diffstat (limited to 'www/apache13-ssl/Makefile')
-rw-r--r--www/apache13-ssl/Makefile45
1 files changed, 30 insertions, 15 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile
index 0db3cba6b42e..93e5d3175aa5 100644
--- a/www/apache13-ssl/Makefile
+++ b/www/apache13-ssl/Makefile
@@ -1,34 +1,35 @@
# New ports collection makefile for: apache HTTPSD
-# Version required: 1.1.1
-# Date created: Fri Aug 25 16:42:36 CDT 1995
-# Whom: markm@FreeBSD.org
-#
-# $Id: Makefile,v 1.35 1997/07/08 13:04:09 ache Exp $
+# Version required: 1.2.1
+# Date created: 15th August 1997
+# Whom: Richard Seaman <dick@tar.com>
#
+# $Id$
-DISTNAME= apache_1.1.1
-PKGNAME= apache_SSL-1.1.1
+DISTNAME= apache_1.2.1
+PKGNAME= apacheSSL-1.2.1
CATEGORIES= www
-MASTER_SITES+= ftp://www.apache.org/apache/dist/old/1.1/ \
+MASTER_SITES= ftp://www.apache.org/apache/dist/ \
ftp://ftp.ox.ac.uk/pub/crypto/SSL/
MAIN_SRC= ${DISTNAME}${EXTRACT_SUFX}
-SSL_EXTRAS= ${DISTNAME}+1.3.ssl${EXTRACT_SUFX}
-
+SSL_EXTRAS= apache_1.2.0+ssl_1.8.tar.gz
DISTFILES= ${MAIN_SRC} ${SSL_EXTRAS}
EXTRACT_ONLY= ${MAIN_SRC}
+BUILD_DEPENDS= ssleay:${PORTSDIR}/security/SSLeay-0.8.1
+RESTRICTED= "Contains cryptography"
MAINTAINER= markm@freebsd.org
-BROKEN= "SSLeay has changed, and the patches for apache need more work"
-
-DEPENDS= ${PORTSDIR}/security/SSLeay
-
post-extract:
@cd ${WRKSRC} && tar xzf ${DISTDIR}/${SSL_EXTRAS}
+# SSLpatch from SSL_EXTRAS is for apache_1.2.0 ... if/when it is upgraded
+# we can revert to the commented out line. There are only minor tweaks needed
+# to get to SSLpatch-1.2.1
pre-patch:
- @cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < SSLpatch
+# @cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < SSLpatch
+ @cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} \
+ < ${FILESDIR}/SSLpatch-1.2.1
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/apache_ssl.sh ]; then \
@@ -38,4 +39,18 @@ post-install:
chmod 751 ${PREFIX}/etc/rc.d/apache_ssl.sh; \
fi
+.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
+pre-build:
+ ${PATCH} <${FILESDIR}/Makefile.rsa.patch
+.endif
+.endif
+
.include <bsd.port.mk>