Changes 1.4.34: * [mod_auth] explicitly link ssl for SHA1 (fixes 2517) * [mod_extforward] fix compilation without IPv6, (not) using undefined var (fixes 2515, thx mm) * [ssl] fix SNI handling; only use key+cert from SNI specific config (fixes 2525, CVE-2013-4508) * [doc] update ssl.cipher-list recommendation * [stat-cache] FAM: fix use after free (CVE-2013-4560) * [stat-cache] fix FAM cleanup/fdevent handling * [core] check success of setuid,setgid,setgroups (CVE-2013-4559) * [ssl] fix regression from CVE-2013-4508 (client-cert sessions were broken) * maintain physical.basedir (the "acting" doc-root as prefix of physical.path) in more places * [core] decode URL before rewrite, enabling it to work in $HTTP["url"] conditionals (fixes 2526) * [auto* build] remove -no-undefined from linker flags, as we actually link modules with undefined symbols (fixes 2533) * [mod_mysql_vhost] fix memory leak on config init (2530) * [mod_webdav] fix fd leak found with parfait (fixes 2530, thx kukackajiri)diff -r1.42 -r1.43 pkgsrc/www/lighttpd/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.42 2013/10/29 19:54:11 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.43 2014/01/23 13:20:12 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= lighttpd-1.4.33 | 3 | DISTNAME= lighttpd-1.4.34 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | MASTER_SITES= http://download.lighttpd.net/lighttpd/releases-1.4.x/ | 5 | MASTER_SITES= http://download.lighttpd.net/lighttpd/releases-1.4.x/ | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | 7 | |||
8 | MAINTAINER= joerg@NetBSD.org | 8 | MAINTAINER= joerg@NetBSD.org | |
9 | HOMEPAGE= http://www.lighttpd.net/ | 9 | HOMEPAGE= http://www.lighttpd.net/ | |
10 | COMMENT= Fast, light-footprint HTTP server | 10 | COMMENT= Fast, light-footprint HTTP server | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | USE_LIBTOOL= yes | 13 | USE_LIBTOOL= yes | |
14 | SHLIBTOOL_OVERRIDE= # empty | 14 | SHLIBTOOL_OVERRIDE= # empty | |
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | GNU_CONFIGURE_LIBSUBDIR=${PKGBASE} | 16 | GNU_CONFIGURE_LIBSUBDIR=${PKGBASE} |
@@ -1,7 +1,8 @@ | @@ -1,7 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.25 2013/10/29 19:54:11 adam Exp $ | 1 | $NetBSD: distinfo,v 1.26 2014/01/23 13:20:12 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (lighttpd-1.4.33.tar.xz) = f309708105aadffba229a944d4c32423132119a5 | 3 | SHA1 (lighttpd-1.4.34.tar.xz) = c1edd4ddbd24156c374594e27d63058ffe5dc726 | |
4 | RMD160 (lighttpd-1.4.33.tar.xz) = 4b892ac678c9153e8200318f2bd71445190c1806 | 4 | RMD160 (lighttpd-1.4.34.tar.xz) = 1454388519622068e9ca7579a09602c94b851eae | |
5 | Size (lighttpd-1.4.33.tar.xz) = 555248 bytes | 5 | Size (lighttpd-1.4.34.tar.xz) = 556080 bytes | |
6 | SHA1 (patch-doc_config_lighttpd.conf) = 1f5d884ec3cc9ee1ec18b51f0d25ca2a7aae0b8c | 6 | SHA1 (patch-doc_config_lighttpd.conf) = e8ae799f0915b83fda5ce8893fdbcab2eee9a512 | |
7 | SHA1 (patch-src_fdevent_poll.c) = f5fe62f0b227d64dc717661a256567b4bd97f075 | |||
7 | SHA1 (patch-src_plugin.c) = 27b7a193c1f5867b5a1d2e2c5b289a0bf6368b39 | 8 | SHA1 (patch-src_plugin.c) = 27b7a193c1f5867b5a1d2e2c5b289a0bf6368b39 |
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | $NetBSD: patch-doc_config_lighttpd.conf,v 1.1 2012/08/01 11:25:22 fhajny Exp $ | 1 | $NetBSD: patch-doc_config_lighttpd.conf,v 1.2 2014/01/23 13:20:12 adam Exp $ | |
2 | 2 | |||
3 | Sane defaults. | 3 | Sane defaults. | |
4 | ||||
4 | --- doc/config/lighttpd.conf.orig 2010-07-11 17:01:32.000000000 +0000 | 5 | --- doc/config/lighttpd.conf.orig 2010-07-11 17:01:32.000000000 +0000 | |
5 | +++ doc/config/lighttpd.conf | 6 | +++ doc/config/lighttpd.conf | |
6 | @@ -13,11 +13,11 @@ | 7 | @@ -13,11 +13,11 @@ | |
7 | ## if you add a variable here. Add the corresponding variable in the | 8 | ## if you add a variable here. Add the corresponding variable in the | |
8 | ## chroot example aswell. | 9 | ## chroot example aswell. | |
9 | ## | 10 | ## | |
10 | -var.log_root = "/var/log/lighttpd" | 11 | -var.log_root = "/var/log/lighttpd" | |
11 | +var.log_root = "@LIGHTTPD_LOGDIR@" | 12 | +var.log_root = "@LIGHTTPD_LOGDIR@" | |
12 | var.server_root = "/srv/www" | 13 | var.server_root = "/srv/www" | |
13 | -var.state_dir = "/var/run" | 14 | -var.state_dir = "/var/run" | |
14 | +var.state_dir = "@LIGHTTPD_STATEDIR@" | 15 | +var.state_dir = "@LIGHTTPD_STATEDIR@" | |
15 | var.home_dir = "/var/lib/lighttpd" | 16 | var.home_dir = "/var/lib/lighttpd" | |
16 | -var.conf_dir = "/etc/lighttpd" | 17 | -var.conf_dir = "/etc/lighttpd" |
$NetBSD: patch-src_fdevent_poll.c,v 1.1 2014/01/23 13:20:12 adam Exp $
Error fix.
--- src/fdevent_poll.c.orig 2014-01-23 11:58:57.000000000 +0000
+++ src/fdevent_poll.c
@@ -193,7 +193,7 @@ int fdevent_poll_init(fdevents *ev) {
int fdevent_poll_init(fdevents *ev) {
UNUSED(ev);
- log_error_write(srv, __FILE__, __LINE__,
+ log_error_write(ev->srv, __FILE__, __LINE__,
"s", "poll is not supported, try to set server.event-handler = \"select\"");
return -1;