ports/74812: maintainer-update: www/lighttpd
Hendrik Scholz
hendrik at scholz.net
Tue Dec 7 12:10:23 UTC 2004
>Number: 74812
>Category: ports
>Synopsis: maintainer-update: www/lighttpd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 07 12:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Hendrik Scholz
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD plant.wormulon.net 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Aug 13 11:32:22 CEST 2004 hscholz at h2012.ka.strato.de:/usr/src/sys/i386/compile/PLANT i386
FreeBSD zoidberg.freenet-ag.de 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Wed Nov 17 09:02:02 CET 2004 hscholz at zoidberg.freenet-ag.de:/usr/src/sys/i386/compile/ZOIDBERG i386
>Description:
Changes:
- add mirror sites managed by myself
- server.pid-file config file entry needed by init script
- WITHOUT_OPENSSL tunable to disable SSL support (on by default)
>How-To-Repeat:
>Fix:
--- lighttpd-1.3.6-1.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/lighttpd/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 26 Nov 2004 03:14:29 -0000 1.7
+++ Makefile 7 Dec 2004 12:06:30 -0000
@@ -7,8 +7,11 @@
PORTNAME= lighttpd
PORTVERSION= 1.3.6
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://jan.kneschke.de/projects/lighttpd/download/
+MASTER_SITES= http://jan.kneschke.de/projects/lighttpd/download/ \
+ http://dl.fkb.wormulon.net/lighttpd/ \
+ http://dl.kel.wormulon.net/lighttpd/
MAINTAINER= hendrik at scholz.net
COMMENT= A secure, fast, compliant, and very flexible Web Server
@@ -25,7 +28,18 @@
STARTUP_FILE= ${PREFIX}/etc/rc.d/lighttpd.sh
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.if !defined(WITHOUT_OPENSSL)
+USE_OPENSSL= yes
+CONFIGURE_ARGS+= --with-openssl
+.endif
+
MAN1= lighttpd.1
+
+pre-everything::
+.if !defined(WITHOUT_OPENSSL)
+ @${ECHO_MSG}
+ @${ECHO_MSG} "You can disable SSL support by defining WITHOUT_OPENSSL"
+.endif
post-install:
@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
Index: files/lighttpd.conf.sample
===================================================================
RCS file: /home/ncvs/ports/www/lighttpd/files/lighttpd.conf.sample,v
retrieving revision 1.4
diff -u -r1.4 lighttpd.conf.sample
--- files/lighttpd.conf.sample 26 Nov 2004 03:14:30 -0000 1.4
+++ files/lighttpd.conf.sample 7 Dec 2004 12:06:30 -0000
@@ -38,6 +38,9 @@
server.indexfiles = ( "index.php", "index.html",
"index.htm", "default.htm" )
+# server PID file location for init script
+server.pid-file = "/var/run/lighttpd.pid"
+
# mimetype mapping
mimetype.assign = (
".pdf" => "application/pdf",
--- lighttpd-1.3.6-1.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list