1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

- add mirror sites managed by myself

- server.pid-file config file entry needed by init script
- WITHOUT_OPENSSL tunable to disable SSL support (enabled by default)

PR:		ports/74812
Submitted by:	Hendrik Scholz <hendrik@scholz.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-12-08 19:05:32 +00:00
parent 5cddef9d6f
commit 445e3c2675
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123478
2 changed files with 18 additions and 1 deletions

View File

@ -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@scholz.net
COMMENT= A secure, fast, compliant, and very flexible Web Server
@ -25,8 +28,19 @@ CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib
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/=/%%!/} \
${FILESDIR}/lighttpd.sh.tmpl > ${STARTUP_FILE}

View File

@ -38,6 +38,9 @@ server.errorlog = "/var/log/lighttpd.error.log"
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",