Revive apache-1.1.1+SSL which doesn't work because it needs SSLeay 0.6.4
and not 0.6.6 as in ports. There's probably enough code "out there" to make a 1.2.1+SSL version now. Yes, the Makefile is a bit of a mess.
This commit is contained in:
parent
c91e427134
commit
cac6889bd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7545
@ -1,54 +1,27 @@
|
||||
# New ports collection makefile for: apache HTTPD and HTTPSD
|
||||
# Version required: 1.2.1
|
||||
# New ports collection makefile for: apache HTTPSD
|
||||
# Version required: 1.1.1
|
||||
# Date created: Fri Aug 25 16:42:36 CDT 1995
|
||||
# Whom: erich@rrnet.com
|
||||
# Whom: markm@FreeBSD.org
|
||||
#
|
||||
# $Id: Makefile,v 1.34 1997/06/06 13:45:07 ache Exp $
|
||||
# $Id: Makefile,v 1.35 1997/07/08 13:04:09 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= apache_1.2.1
|
||||
PKGNAME= apache-1.2.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ftp://www.apache.org/apache/dist/
|
||||
|
||||
.if !defined(SECURE_SERVER)
|
||||
MAINTAINER= ache@freebsd.org
|
||||
.else
|
||||
MAINTAINER= markm@freebsd.org
|
||||
.endif
|
||||
|
||||
# User-controlled variables list
|
||||
# DIR_ACHE - add SuppressHTMLPreamble option to directory index
|
||||
# see http://www.nagual.ru/~ache/apache_dir.html
|
||||
# SECURE_SERVER - build Apache with SSL
|
||||
|
||||
.if defined(DIR_ACHE)
|
||||
PATCH_SITES+= http://www.nagual.pp.ru/~ache/
|
||||
PATCHFILES+= dir.patch
|
||||
VERS_ID= dir/ache
|
||||
.endif
|
||||
|
||||
.if defined(VERS_ID)
|
||||
post-patch:
|
||||
@cd ${WRKSRC}/src && \
|
||||
mv Configuration Configuration.old && \
|
||||
sed 's;^#*OPTIM=.*;OPTIM= -DSERVER_SUBVERSION=\\"${VERS_ID}\\";' \
|
||||
< Configuration.old > Configuration
|
||||
.endif
|
||||
|
||||
.if defined(SECURE_SERVER)
|
||||
|
||||
BROKEN= "SSLeay has changed, and the patches for apache need more work"
|
||||
DISTNAME= apache_1.1.1
|
||||
PKGNAME= apache_SSL-1.1.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES+= ftp://www.apache.org/apache/dist/old/1.1/ \
|
||||
ftp://ftp.ox.ac.uk/pub/crypto/SSL/
|
||||
|
||||
MAIN_SRC= ${DISTNAME}${EXTRACT_SUFX}
|
||||
SSL_EXTRAS= ${DISTNAME}+1.3.ssl${EXTRACT_SUFX}
|
||||
|
||||
DISTFILES= ${MAIN_SRC} ${SSL_EXTRAS}
|
||||
MASTER_SITES+= ftp://ftp.ox.ac.uk/pub/crypto/SSL/
|
||||
EXTRACT_ONLY= ${MAIN_SRC}
|
||||
MD5_FILE= ${FILESDIR}/md5.SSL
|
||||
PATCHDIR= ${.CURDIR}/patches.SSL
|
||||
PKGDIR= ${.CURDIR}/pkg.SSL
|
||||
CONFIGURE_SCRIPT= configure.SSL
|
||||
|
||||
MAINTAINER= markm@freebsd.org
|
||||
|
||||
BROKEN= "SSLeay has changed, and the patches for apache need more work"
|
||||
|
||||
DEPENDS= ${PORTSDIR}/security/SSLeay
|
||||
|
||||
post-extract:
|
||||
@ -65,16 +38,4 @@ post-install:
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache_ssl.sh; \
|
||||
fi
|
||||
|
||||
.else
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/rc.d/apache.sh ]; then \
|
||||
echo "Installing ${PREFIX}/etc/rc.d/apache.sh startup file."; \
|
||||
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
echo "[ -x /usr/local/sbin/httpd ] && /usr/local/sbin/httpd && echo -n ' httpd'" >> ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
|
||||
fi
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user