diff options
-rw-r--r-- | www/lighttpd/Makefile | 16 | ||||
-rw-r--r-- | www/lighttpd/files/lighttpd.conf.sample | 3 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index 18c79d1739f7..d4eec11202c5 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -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} diff --git a/www/lighttpd/files/lighttpd.conf.sample b/www/lighttpd/files/lighttpd.conf.sample index e7bc4dbb45a5..27ac8a37bb08 100644 --- a/www/lighttpd/files/lighttpd.conf.sample +++ b/www/lighttpd/files/lighttpd.conf.sample @@ -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", |