summaryrefslogtreecommitdiff
path: root/www/apache13-ssl/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-01-27 17:05:36 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-01-27 17:05:36 +0000
commitb6f8a043820536087c2d4c1e42cff348a5c498a1 (patch)
treeff0cb856e3ab07d2bd9c4cdcf3ddcc6977fb6850 /www/apache13-ssl/Makefile
parentmake more clean Makefile and CFLAGS. (diff)
- Use user and group "www"
- fix PLIST - add patch from ports/36363 (from ryan@servercity.com) - verify ports/36361 - fix ports/36364
Notes
Notes: svn path=/head/; revision=74097
Diffstat (limited to 'www/apache13-ssl/Makefile')
-rw-r--r--www/apache13-ssl/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile
index caa1625d84cd..944df3a83193 100644
--- a/www/apache13-ssl/Makefile
+++ b/www/apache13-ssl/Makefile
@@ -9,7 +9,7 @@
PORTNAME= apache+ssl
PORTVERSION= ${APACHE_VERSION}.${APACHE_SSL_VERSION}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www security
MASTER_SITES= http://www.apache.org/dist/httpd/ \
ftp://src.doc.ic.ac.uk/packages/apache/dist/ \
@@ -58,7 +58,8 @@ CFLAGS+= -I${OPENSSLINC}/openssl
HAS_CONFIGURE= yes
CONFIGURE_ARGS= \
--prefix=${PREFIX} \
- --server-gid=nogroup \
+ --server-uid=www \
+ --server-gid=www \
--with-perl=${PERL} \
--with-layout=GNU \
--suexec-docroot=${PREFIX}/www/data \
@@ -96,9 +97,11 @@ post-patch:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ./FixPatch ${OPENSSLBASE}
certificate:
+ -${MKDIR} ${PREFIX}/etc/apache/certs
@if [ -f ${OPENSSLDIR}/openssl.cnf ]; then \
cd ${WRKSRC}/src; ${MAKE} ${MAKE_ENV} $@; \
- ${CP} ${WRKSRC}/SSLconf/conf/httpsd.pem ${PREFIX}/certs/cert.pem; \
+ ${CP} ${WRKSRC}/SSLconf/conf/httpsd.pem \
+ ${PREFIX}/etc/apache/certs/cert.pem; \
else \
${ECHO} "You must create the file ${OPENSSLDIR}/openssl.cnf first."; \
fi