diff options
author | Mark Murray <markm@FreeBSD.org> | 1996-10-26 18:49:52 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 1996-10-26 18:49:52 +0000 |
commit | b4c7763d3d9e6be79f4be3c242b534ba722f9704 (patch) | |
tree | ce68ff111ca15a1db0bf48d7956d8d28611aa797 /www/apache21 | |
parent | Upgrade to majordomo v1.94 release (diff) |
FINALLY - commit the SSL'ed version of this. (ye gods, this has been a while
:-) )
Notes
Notes:
svn path=/head/; revision=4163
Diffstat (limited to 'www/apache21')
-rw-r--r-- | www/apache21/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/www/apache21/Makefile b/www/apache21/Makefile index 0bbf3dd5f6b1..57d8b9ff514c 100644 --- a/www/apache21/Makefile +++ b/www/apache21/Makefile @@ -3,7 +3,7 @@ # Date created: Fri Aug 25 16:42:36 CDT 1995 # Whom: erich@rrnet.com # -# $Id: Makefile,v 1.16 1996/07/12 10:27:53 asami Exp $ +# $Id: Makefile,v 1.17 1996/08/11 14:49:21 markm Exp $ # DISTNAME= apache_1.1.1 @@ -14,6 +14,7 @@ MASTER_SITES= ftp://www.apache.org/apache/dist/ MAINTAINER= ache@freebsd.org .if defined(SECURE_SERVER) + PKGNAME= apache_SSL-1.1.1 MAIN_SRC= ${DISTNAME}${EXTRACT_SUFX} SSL_EXTRAS= ${DISTNAME}+1.3.ssl${EXTRACT_SUFX} @@ -24,14 +25,23 @@ MD5_FILE= ${FILESDIR}/md5.SSL PATCHDIR= ${.CURDIR}/patches.SSL PKGDIR= ${.CURDIR}/pkg.SSL CONFIGURE_SCRIPT= configure.SSL -DEPENDS= ssleay:${PORTSDIR}/security/SSLeay +#DEPENDS= ${PORTSDIR}/security/SSLeay post-extract: @cd ${WRKSRC} && tar xzf ${DISTDIR}/${SSL_EXTRAS} pre-patch: @cd ${WRKSRC} && ${PATCH} ${PATCH_DIST_ARGS} < SSLpatch -.endif + +post-install: + @if [ ! -f ${PREFIX}/etc/rc.d/apache_ssl.sh ]; then \ + echo "Installing ${PREFIX}/etc/rc.d/apache_ssl.sh startup file."; \ + echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache_ssl.sh; \ + echo "[ -x /usr/local/sbin/httpsd ] && /usr/local/sbin/httpsd && echo -n ' httpsd'" >> ${PREFIX}/etc/rc.d/apache_ssl.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/apache_ssl.sh; \ + fi + +.else post-install: @if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \ @@ -41,4 +51,6 @@ post-install: chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \ fi +.endif + .include <bsd.port.mk> |