From e853250468d65cc5ef14a98bcd536e2e2784d12b Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Wed, 23 Apr 2008 21:24:48 +0000 Subject: Update patch. --- debian/changelog | 8 ++++++++ debian/lighttpd.postinst | 2 +- debian/patches/ssl-connection-errors.patch | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5c9f13d..6199a05 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +lighttpd (1.4.19-3) unstable; urgency=low + + * Fix /var/cache/lighttpd/uploads permissions in postinst (Closes: 476870). + * Update patches/ssl-connection-errors.patch using upstream r2144, thanks to + upstream for noticing. + + -- Pierre Habouzit Sun, 13 Apr 2008 13:27:55 +0200 + lighttpd (1.4.19-2) unstable; urgency=low * Add patches/ssl-connection-errors.patch for CVE-2008-1531 diff --git a/debian/lighttpd.postinst b/debian/lighttpd.postinst index 8caa1fe..94be198 100644 --- a/debian/lighttpd.postinst +++ b/debian/lighttpd.postinst @@ -10,7 +10,7 @@ if [ "$1" = "configure" ]; then fi mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null chown www-data:www-data /var/log/lighttpd /var/run/lighttpd - chown www-data:www-data /var/cache/lighttpd /var/cache/lighttpd/compress + chown www-data:www-data /var/cache/lighttpd /var/cache/lighttpd/compress /var/cache/lighttpd/uploads chmod 0750 /var/log/lighttpd /var/run/lighttpd fi diff --git a/debian/patches/ssl-connection-errors.patch b/debian/patches/ssl-connection-errors.patch index d2f3801..5e25c99 100644 --- a/debian/patches/ssl-connection-errors.patch +++ b/debian/patches/ssl-connection-errors.patch @@ -38,7 +38,7 @@ diff -r ade3eead0e8d -r 82c24356bcd0 src/connections.c + ERR_clear_error(); + if (-1 != (ret = SSL_shutdown(con->ssl))) break; + -+ // fall through ++ /* fall through */ default: - log_error_write(srv, __FILE__, __LINE__, "sds", "SSL:", - SSL_get_error(con->ssl, ret), @@ -59,7 +59,7 @@ diff -r ade3eead0e8d -r 82c24356bcd0 src/connections.c + } while((err = ERR_get_error())); + } else { + log_error_write(srv, __FILE__, __LINE__, "sddds", "SSL (error):", -+ ssl_r, r, errno, ++ ssl_r, ret, errno, + strerror(errno)); + } + -- cgit v1.2.3