From b6f8a043820536087c2d4c1e42cff348a5c498a1 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 27 Jan 2003 17:05:36 +0000 Subject: - Use user and group "www" - fix PLIST - add patch from ports/36363 (from ryan@servercity.com) - verify ports/36361 - fix ports/36364 --- www/apache13-ssl/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'www/apache13-ssl/Makefile') 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 -- cgit v1.2.3