ports/57300: [update] www/apache13-ssl: update to 1.3.28.1.49, misc changes, take maintainership
Clement Laforet
sheepkiller at cultdeadsheep.org
Sat Sep 27 23:50:09 UTC 2003
>Number: 57300
>Category: ports
>Synopsis: [update] www/apache13-ssl: update to 1.3.28.1.49, misc changes, take maintainership
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 27 16:50:03 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Clement Laforet
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement at lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386
>Description:
- Update to 1.3.28.1.49.
- Add suexec support
- Misc changes
- Add a footnote for users, to announce them that next version
will be a complete resync with apache13 ports layout.
>How-To-Repeat:
N/A.
>Fix:
--- apache-ssl.diff begins here ---
Index: apache13-ssl/Makefile
===================================================================
RCS file: /WORK/REPO/ports/www/apache13-ssl/Makefile,v
retrieving revision 1.94
diff -u -r1.94 Makefile
--- apache13-ssl/Makefile 24 Sep 2003 17:26:47 -0000 1.94
+++ apache13-ssl/Makefile 27 Sep 2003 23:32:28 -0000
@@ -9,7 +9,6 @@
PORTNAME= apache+ssl
PORTVERSION= ${APACHE_VERSION}.${APACHE_SSL_VERSION}
-PORTREVISION= 3
CATEGORIES= www security
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITES_APACHE_SSL:S/$/:ssl/}
@@ -18,16 +17,56 @@
apache_${APACHE_VERSION}+ssl_${APACHE_SSL_VERSION}${EXTRACT_SUFX}:ssl
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sheepkiller at cultdeadsheep.org
COMMENT= Apache-SSL: Apache secure webserver integrating OpenSSL
-APACHE_VERSION= 1.3.27
-APACHE_SSL_VERSION= 1.48
-USE_OPENSSL= yes
-USE_PERL5= yes
-HAS_CONFIGURE= yes
-MAN1= dbmmanage.1 htdigest.1 htpasswd.1
-MAN8= ab.8 httpsdctl.8 apxs.8 httpsd.8 logresolve.8 rotatelogs.8
+APACHE_VERSION= 1.3.28
+APACHE_SSL_VERSION= 1.49
+USE_OPENSSL= yes
+USE_PERL5= yes
+HAS_CONFIGURE= yes
+
+MASTER_SITES_APACHE_SSL= \
+ ftp://ftp.ox.ac.uk/pub/crypto/SSL/Apache-SSL/ \
+ ftp://ftp.it.net.au/mirrors/crypto/SSL/Apache-SSL/ \
+ ftp://ftp.sekure.net/pub/apache-ssl/ \
+ ftp://opensores.thebunker.net/pub/mirrors/apache-ssl/
+
+APACHE_HARD_SERVER_LIMIT?= 512
+
+.if defined(WITH_APACHE_SUEXEC)
+
+APACHE_SUEXEC_DOCROOT?= ${DOCUMENT_ROOT}
+APACHE_SUEXEC_LOG?= /var/log/httpsd-suexec.log
+APACHE_SUEXEC_USERDIR?= public_html
+APACHE_SUEXEC_UIDMIN?= 1000
+APACHE_SUEXEC_GIDMIN?= 1000
+APACHE_SUEXEC_CALLER?= www
+
+SUEXEC_CONF= \
+ --enable-suexec \
+ --suexec-docroot=${APACHE_SUEXEC_DOCROOT} \
+ --suexec-caller=${APACHE_SUEXEC_CALLER} \
+ --suexec-uidmin=${APACHE_SUEXEC_UIDMIN} \
+ --suexec-gidmin=${APACHE_SUEXEC_GIDMIN} \
+ --suexec-logfile=${APACHE_SUEXEC_LOG} \
+ --suexec-userdir=${APACHE_SUEXEC_USERDIR} \
+ --suexec-safepath=${DEFAULT_PATH}
+
+.if defined(APACHE_SUEXEC_UMASK)
+SUEXEC_CONF+= --suexec-umask=${APACHE_SUEXEC_UMASK}
+.endif
+
+PLIST_SUB+= SUB_SUEXEC=""
+SUEXEC_MAN= suexec.8
+
+.else # !SUEXEC
+
+SUEXEC_CONF=
+PLIST_SUB+= SUB_SUEXEC="@comment "
+SUEXEC_MAN=
+
+.endif # !SUEXEC
#
# Set APACHE_PERF_TUNING env. variable to YES to get maximum performance
@@ -39,7 +78,6 @@
--server-gid=www \
--with-perl=${PERL} \
--with-layout=GNU \
- --suexec-docroot=${PREFIX}/www/data \
--without-confadjust \
--enable-shared=remain \
--enable-module=most \
@@ -50,13 +88,14 @@
--localstatedir=/var \
--datadir=${PREFIX}/www \
--proxycachedir=${PREFIX}/www/proxy \
- --libexecdir=${PREFIX}/libexec/apache
+ --libexecdir=${PREFIX}/libexec/apache \
+ ${SUEXEC_CONF}
-OPTIM= -DHARD_SERVER_LIMIT=512 \
+OPTIM= -DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT} \
-DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
-.if defined(APACHE_PERF_TUNING) && ${APACHE_PERF_TUNING} == YES
+.if defined(APACHE_PERF_TUNING)
OPTIM+= -DBUFFERED_LOGS
CFLAGS+= -O6 -fomit-frame-pointer
.endif
@@ -64,11 +103,9 @@
CONFIGURE_ENV+= OPTIM='${OPTIM}'
CONFIGURE_ENV+= EXTRA_SSL_LIBS="-L${OPENSSLLIB} -L${LOCALBASE}/lib"
-MASTER_SITES_APACHE_SSL= \
- ftp://ftp.ox.ac.uk/pub/crypto/SSL/Apache-SSL/ \
- ftp://ftp.it.net.au/mirrors/crypto/SSL/Apache-SSL/ \
- ftp://ftp.sekure.net/pub/apache-ssl/ \
- ftp://opensores.thebunker.net/pub/mirrors/apache-ssl/
+MAN1= dbmmanage.1 htdigest.1 htpasswd.1
+MAN8= ab.8 httpsdctl.8 apxs.8 httpsd.8 logresolve.8 rotatelogs.8 \
+ ${SUEXEC_MAN}
.include <bsd.port.pre.mk>
@@ -77,6 +114,15 @@
post-patch:
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} ./FixPatch ${OPENSSLBASE}
+
+post-install:
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} " !!!! WARNING !!!!"
+ @${ECHO_CMD} " Next PORTREVISION will be a complete resync with apache13 ports layout"
+ @${ECHO_CMD} " Will change:"
+ @${ECHO_CMD} " - Default log file names"
+ @${ECHO_CMD} " - Default DocumentRoot (${PREFIX}/www/htdocs => ${PREFIX}/www/data)"
+ @${ECHO_CMD} ""
certificate:
-${MKDIR} ${PREFIX}/etc/apache/certs
Index: apache13-ssl/distinfo
===================================================================
RCS file: /WORK/REPO/ports/www/apache13-ssl/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- apache13-ssl/distinfo 6 Nov 2002 16:01:59 -0000 1.14
+++ apache13-ssl/distinfo 27 Sep 2003 23:32:28 -0000
@@ -1,2 +1,2 @@
-MD5 (apache_1.3.27.tar.gz) = 65b89365a65dcad71d4402b4862beeaa
-MD5 (apache_1.3.27+ssl_1.48.tar.gz) = fb23f91fb6c57c60973f009cf49d598c
+MD5 (apache_1.3.28.tar.gz) = 2cdece7b4881d541e072de6a2b65db77
+MD5 (apache_1.3.28+ssl_1.49.tar.gz) = ba794a06cdb960959264c49b5fb54815
Index: apache13-ssl/pkg-plist
===================================================================
RCS file: /WORK/REPO/ports/www/apache13-ssl/pkg-plist,v
retrieving revision 1.15
diff -u -r1.15 pkg-plist
--- apache13-ssl/pkg-plist 27 Jan 2003 17:05:36 -0000 1.15
+++ apache13-ssl/pkg-plist 27 Sep 2003 23:32:28 -0000
@@ -85,6 +85,7 @@
sbin/httpsdctl
sbin/logresolve
sbin/rotatelogs
+%%SUB_SUEXEC%%sbin/suexec
@exec mkdir -p %D/www
@exec ln -fs %B %D/www/data.default
@unexec rm -f %D/www/data.default
@@ -119,7 +120,7 @@
www/htdocs/index.html.ru.ucs4
www/htdocs/index.html.ru.utf8
www/htdocs/index.html.se
-www/htdocs/index.html.zh
+www/htdocs/index.html.zh-tw.big5
www/htdocs/manual/LICENSE
www/htdocs/manual/bind.html.en
www/htdocs/manual/bind.html.fr
@@ -133,7 +134,9 @@
www/htdocs/manual/configuring.html.fr
www/htdocs/manual/configuring.html.html
www/htdocs/manual/configuring.html.ja.jis
-www/htdocs/manual/content-negotiation.html
+www/htdocs/manual/content-negotiation.html.en
+www/htdocs/manual/content-negotiation.html.html
+www/htdocs/manual/content-negotiation.html.ja.jis
www/htdocs/manual/custom-error.html.en
www/htdocs/manual/custom-error.html.fr
www/htdocs/manual/custom-error.html.html
@@ -217,6 +220,7 @@
www/htdocs/manual/misc/windoz_keepalive.html
www/htdocs/manual/mod/core.html.en
www/htdocs/manual/mod/core.html.fr
+www/htdocs/manual/mod/core.html.ja.jis
www/htdocs/manual/mod/core.html.html
www/htdocs/manual/mod/directive-dict.html.en
www/htdocs/manual/mod/directive-dict.html.fr
@@ -244,11 +248,13 @@
www/htdocs/manual/mod/mod_actions.html.html
www/htdocs/manual/mod/mod_actions.html.ja.jis
www/htdocs/manual/mod/mod_alias.html.en
+www/htdocs/manual/mod/mod_alias.html.html
www/htdocs/manual/mod/mod_alias.html.ja.jis
www/htdocs/manual/mod/mod_asis.html.en
www/htdocs/manual/mod/mod_asis.html.html
www/htdocs/manual/mod/mod_asis.html.ja.jis
www/htdocs/manual/mod/mod_auth.html.en
+www/htdocs/manual/mod/mod_auth.html.html
www/htdocs/manual/mod/mod_auth.html.ja.jis
www/htdocs/manual/mod/mod_auth_anon.html
www/htdocs/manual/mod/mod_auth_db.html
@@ -280,7 +286,9 @@
www/htdocs/manual/mod/mod_isapi.html
www/htdocs/manual/mod/mod_log_agent.html
www/htdocs/manual/mod/mod_log_common.html
-www/htdocs/manual/mod/mod_log_config.html
+www/htdocs/manual/mod/mod_log_config.html.en
+www/htdocs/manual/mod/mod_log_config.html.html
+www/htdocs/manual/mod/mod_log_config.html.ja.jis
www/htdocs/manual/mod/mod_log_referer.html
www/htdocs/manual/mod/mod_mime.html.en
www/htdocs/manual/mod/mod_mime.html.html
--- apache-ssl.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list