summaryrefslogtreecommitdiff
path: root/www/lighttpd
AgeCommit message (Collapse)AuthorFilesLines
2016-06-08Remove the stability entity, it has no meaning outside of an official context.jperkin1-1/+0
2016-06-08Change the service_bundle name to "export" to reduce diffs between thejperkin1-1/+1
original manifest.xml file and the output from "svccfg export".
2016-03-18Support chrootdir keyword in rc.d script. From Petar Bogdanovic via mail.bsiegert1-1/+2
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-1/+2
2016-01-28Update to 1.4.39mef2-7/+7
---------------- - 1.4.39 2015-12-19 * [core] fix memset_s call (fixes #2698) * [chunk] fix use after free / double free (fixes #2700)
2015-12-28Update to 1.4.38mef2-7/+7
---------------------- - 1.4.38 - 2015-12-05 * [stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669) * [core] allocate at least 4k buffer for incoming data * [core] fix search for header end if split across chunks (fixes #2670) * [core] check configparserAlloc() result with force_assert * [mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available (thx loganaden) * [core] don't buffer request bodies smaller than 64k on disk * add force_assert for many allocations and function results * [mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679) * [config] check config option scope; warn if server option is given in conditional * [core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680) * [core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding * [core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661, thx gstrauss) * [mod_secdownload] add required algorithm option; old behaviour available as "md5", new options "hmac-sha1" and "hmac-sha256" * [mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691, thx Kyle J. McKay) * [network] add darwin-sendfile backend (fixes #2687, thx Kyle J. McKay) * [core] show correct crypt support result (fixes #2690, thx Kyle J. McKay)
2015-11-04Add SHA512 digests for distfiles for www categoryagc1-1/+2
Problems found locating distfiles: Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2 Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-01Update to 1.4.37mef3-13/+13
---------------- - 1.4.37 * [mod_proxy] remove debug log line from error log (fixes #2659) * [mod_dirlisting] fix dir-listing.set-footer not showing * fix out-of-filedescriptors when uploading "large" files (fixes #2660, thx rmilecki) * increase upload temporary chunk file size from 1MB to 16MB * fix undefined integer shift * rewrite network sendfile/mmap/writev/write backends * fix some unchecked return value warnings * [kqueue] fix kevent call * [autoconf] define HAVE_CRYPT when crypt() is present * [bsd xattr] fix compile break with BSD extended attributes in stat_cache * [mod_cgi] rewrite mmap and generic (post body) send error handling * [mmap] fix mmap alignment * [plugins] when modules are linked statically still only load the modules given in the config * [mmap] handle SIGBUS in network; those get triggered if the file gets smaller during reading * fix some warnings found by coverity ("leak" in setup phase, not catching too long unix socket paths in mod_proxy)
2015-07-28Update to 1.4.36,youri2-7/+6
This release contains mostly bug fixes. Important changes ----------------- - [ssl] disable SSL3.0 by default - escape all strings for logging - fix segfault when temp file for upload couldn’t be created (found by coverity) - changes to the internal API for buffers, chunks and more; 3rd party plugins are likely to break
2015-07-26Not compatible with Lua 5.3.alnsn1-2/+2
2014-10-19Revbump after lang/lua51 update.alnsn1-2/+2
2014-06-14fix SMF Manifest installation by not overwriting INSTALLATION_DIRSwiedi1-2/+2
2014-05-03Revbump for Lua multiversion support.alnsn1-1/+2
2014-04-22Changes 1.4.35:adam2-7/+6
This release contains a lot of bug fixes, many detected by scan.coverity.com (and more to come). The main reason for the release is a fix for an SQL injection (and path traversal) bug triggered by specially crafted (and invalid) Host: headers.
2014-03-11Import initial SMF support for individual packages.jperkin1-0/+34
2014-03-11Remove example rc.d scripts from PLISTs.jperkin1-2/+1
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
2014-02-12Recursive PKGREVISION bump for OpenSSL API version bump.tron1-1/+2
2014-01-23Drop maintainership, haven't used it in ages.joerg1-2/+2
2014-01-23Changes 1.4.34:adam4-8/+25
* [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)
2013-11-01Doesn't build with Lua 5.2. (from Edgar Fuss)dholland1-1/+2
2013-10-29Changes 1.4.32:adam2-8/+7
mod_fastcgi: fix mix up of “mode” => “authorizer” in other fastcgi configs (fixes 2465, thx peex) fix handling of If-Modified-Since if If-None-Match is present (don’t return 412 for date parsing errors); follow current draft for HTTP/1.1, which tells us to ignore If-Modified-Since if we have matching etags. [mod_fastcgi,log] support multi line logging (fixes 2252) call ERR_clear_error only for ssl connections in CON_STATE_ERROR reject non ASCII characters in HTTP header names [mod_auth] use crypt() on encrypted password instead of extracting salt first (fixes 2483) [mod_auth] add htpasswd -s (SHA1) support if openssl is used (needs openssl for SHA1). This doesn’t use any salt, md5 with salt is probably better. [mod_auth] fix base64_decode (2484) fix some bugs found with canalyze (fixes 2484, thx Zhenbo Xu) fix undefined stuff found with clang [cmake] Use TARGET_LINK_LIBRARIES instead of LINK_FLAGS for library dependencies, also add Wl,-as-needed to extra warnings (fixes 2448) [mod_auth] fix invalid read in digest qop=auth-int handling (fixes 2478) [auto* build] simplify autogen.sh, handle automake 1.13 test running (fixes 2490) [mod_userdir] add userdir.active option, “enabled” by default [core] return 501 Not Implemented in static file mode for all methods except GET/POST/HEAD/OPTIONS [core] recognize more http methods to forward to backends (fixes 2346) [ssl] use DH only if openssl supports it (fixes 2479) [network] use constants available at compile time for maximum number of chunks for writev instead of calling sysconf (fixes 2470) [ssl] Fix $HTTP[“scheme”] conditional, could be “http” for ssl connections if the ssl $SERVER[“socket”] conditional was nested (fixes 2501) [ssl] accept ssl renegotiations if they are not disabled (fixes 2491) [ssl] add option ssl.empty-fragments, defaulting to disabled (fixes 2492) [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes 2495) [auth] new method “extern” to use already present REMOTE_USER (from magnet, ssl, …) (fixes 2436) [core] remove requirement that default doc-root has to exist, there are reasonable scenarios not requiring static files at all [core] check whether server.chroot exists [mod_simple_vhost] fix cache; skip module if simple-vhost.server-root is empty (thx rm for reporting) [mod_accesslog] add accesslog.syslog-level option (fixes 2480) [core] allow files to be used as document-root (fixes 2475) [core] set signal handlers before forking child processes in modules/plugins_call_set_defaults (fixes 2502)
2013-07-04Revbump after updating lang/lua to 5.2.2.adam1-2/+2
2013-03-13tell required user/group to pkgsrc framework.obache1-1/+5
2013-03-02Bump PKGREVISION for mysql default change to 55.wiz1-2/+2
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-2/+2
2013-01-11Fix dynamic extension loading on SunOS, where successful dlopen() mayfhajny3-3/+24
return non-NULL too and lighttpd was evaluating as failure. Bump PKGREVISION.
2012-12-16recursive bump from cyrus-sasl libsasl2 shlib major bump.obache1-1/+2
2012-11-23update to 1.4.32drochner2-6/+6
fixes a DOS problem (CVE-2012-5533)
2012-10-28Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-08-01Update www/lighttpd to 1.4.31.fhajny4-23/+75
Changes from 1.4.30 - [ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI (thx carpii for reporting) - Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) - [mod_compress] fix handling if etags are disabled but cache-dir is set - may lead to double response - disable mmap by default (fixes #2391) - buffer_caseless_compare: always convert letters to lowercase to get transitive results, fixing array lookups (fixes #2405) - Fix handling of empty header list entries in http_request_split_value, fixing invalid read in valgrind (fixes #2413) - Fix access log escaping of " and \\ (fixes #1551) - [mod_auth] Fix digest "md5-sess" implementation (Errata ID 1649, RFC 2617) (fixes #2410) - [auth] Add "AUTH_TYPE" environment (for * cgi), remove fastcgi specific workaround, add fastcgi test case (fixes #889) - [mod_*cgi,mod_accesslog] Fix splitting :port with ipv6 (fixes #2333, thx simoncpu) - Detect multiple -f options: show error message instead of assert (fixes #2416) - [mod_extforward] Support ipv6 addresses (fixes #1889) - [mod_redirect] Support url.redirect-code option (fixes #2247) - Fix --enable-mmap handling in configure.ac Changes from 1.4.29 - Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331) - Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. - [ssl] fix build errors when Elliptic-Curve Diffie-Hellman is disabled - Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file - Don't overwrite 401 (auth required) with 501 (unknown method) (fixes #2341) - Fix mod_status bug: always showed "0/0" in the "Read" column for uploads (fixes #2351) - [mod_auth] Fix signedness error in http_auth (fixes #2370, CVE-2011-4362) - [ssl] count renegotiations to prevent client renegotiations - [ssl] add option to honor server cipher order (fixes #2364, BEAST attack) - [core] accept dots in ipv6 addresses in host header (fixes #2359) - [ssl] fix ssl connection aborts if files are larger than the MAX_WRITE_LIMIT (256kb) - [libev/cgi] fix waitpid ECHILD errors in cgi with libev (fixes #2324)
2012-03-03Recursive bump for pcre-8.30* (shlib major change)wiz1-2/+2
2012-01-24Recursive dependency bump for databases/gdbm ABI_DEPENDS change.sbd1-2/+2
2012-01-17Convert packages with add --libdir=* to CONFIGURE_ARGS to usesbd1-2/+2
GNU_CONFIGURE_LIBDIR or GNU_CONFIGURE_LIBSUBDIR.
2011-11-30add patch from upstream to fix sign extension bug which can leaddrochner3-3/+19
to out-of-bounds array read (possible DOS, CVE-2011-4362) bump PKGREV
2011-08-23Recursive bump from gdbm shlib bump.obache1-1/+2
2011-07-14Changes 1.4.29:adam3-13/+9
* solve name conflict of md5 functions with OpenSSL lib * mod_proxy, mod_cgi and other mod_*cgi fixes * ssl improvements * Native solaris ports fdevent handler “solaris-eventports”
2011-04-05Changes 1.4.28:adam3-39/+62
* Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. * Fix buffer.h to include stdio.h as it is needer for SEGFAULT() Changes 1.4.27: * Fix handling return value of SSL_CTX_set_options * Fix mod_proxy HUP handling (send final chunk, fix usage counter) * mod_proxy: close connection on write error * Check uri instead of physical path for directory redirect * Fix detecting git repository * [mod_compress] Fix segfault when etags are disabled * Reset uri.authority before TLS servername handling, reset all "keep-alive" data in connection_del * Print double quotes properly when dumping config file * Include IP addresses on error log on password failures * Fix stalls while reading from ssl sockets * Fix etag formatting on boxes with 32-bit longs * Fix two compiler warnings * mod_accesslog: fix %p for ipv6 sockets * mod_fastcgi: Send 502 "Bad Gateway" if we couldn't open the file for X-Sendfile * mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions * mod_cgi: fix race condition leaving response not forwarded to client * mod_accesslog: Fix var declarations mixed in source * mod_status: Add version to status page * mod_accesslog: optimize accesslog_append_escaped * openssl: silence annoying error messages for errno==0 * array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry * add check to stop loading plugins twice * cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls * only require FDEVENT_IN bit to be set for listening connections * add libev fdevent handler: server.event-handler = "libev" * mod_proxy: return response as soon as it is available * don't overwrite global server.force-lowercase-filenames setting * bind to IPV6-only if ipv6 address was specified
2010-06-27Exactly disable bzip2 if bzip option is off.obache1-1/+3
PR#43538 by Aleksey Cheusov.
2010-03-23Apply patch to fix the issue reported ingson2-2/+10
<http://redmine.lighttpd.net/issues/2157>. Without this patch, lighttpd 1.4.26 will fail to start if built with the pkgsrc OpenSSL and configured to serve HTTPS. Bump PKGREVISION.
2010-02-08Update to lighttpd-1.4.26:joerg4-27/+13
- fix various bugs, including a trivial to trigger OOM/DoS - Allow support for checking for exec bit on cgi scripts - Add support for TLS servername indication - Add support client certificate verification - Split off spawn-fcgi into a separate package
2009-06-14Convert @exec/@unexec to @pkgdir or drop it.joerg1-4/+1
2009-03-23lighttpd-1.4.22:joerg2-6/+6
- fix a number of bugs in various modules - if-modifed-since handling for mod_compress - disabled SSLv2 by default
2008-10-03Update lighttpd to 1.4.20.taca4-98/+6
This contains security fix: http://trac.lighttpd.net/trac/ticket/1774 - 1.4.20 - * Fix mod_compress to compile with old gcc version (#1592) * Fix mod_extforward to compile with old gcc version (#1591) * Update documentation for #1587 * Fix #285 again: read error after SSL_shutdown (thx marton.illes@balabit.com) and clear the error queue before some other calls (CVE-2008-1531) * Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308) * Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601) * Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" (#1628) * Don't send empty Server headers (#1620) * Fix conditional interpretation of core options * Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$" * Fix accesslog port (should be port from the connection, not the "server.port") (#1618) * Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local) * Overwrite Content-Type header in mod_dirlisting instead of inserting (#1614), patch by Henrik Holst * Handle EINTR in mod_cgi during write() (#1640) * Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639) * Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page * Remove lighttpd.spec* from source, fixing all problems with it ;-) * Do not rely on PATH_MAX (POSIX does not require it) (#580) * Disable logging to access.log if filename is an empty string * Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (#624) * merge spawn-fcgi changes from trunk (from @2191) * let spawn-fcgi propagate exit code from spawned fcgi application * close connection after redirect in trigger_b4_dl (thx icy) * close connection in mod_magnet if returned status code * fix bug with IPv6 in mod_evasive (#1579) * fix scgi HTTP/1.* status parsing (#1638), found by met@uberstats.com * [tests] fixed system, use foreground daemons and waitpid * [tests] removed pidfile from test system * [tests] fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi) * fixed typo in mod_accesslog (#1699) * replaced buffer_{append,copy}_string with the _len variant where possible (#1732) (thx crypt) * case insensitive match for secdownload md5 token (#1710) * Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) (#1687) * fixed mod_secdownload problem with unsigned time_t (#1688) * handle EAGAIN and EINTR for freebsd sendfile (#1675) * Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null (#1716) * fixed round-robin balancing in mod_proxy (#1715) * fixed EINTR handling for waitpid in mod_fastcgi * mod_{fast,s}cgi: overwrite environment variables (#1722) * inserted many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631) * fixed url encoding to encode more characters (#266) * allow digits in [s]cgi env vars (#1712) * fixed dropping last character of evhost pattern (#161) * print helpful error message on conditionals in global block (#1550) * decode url before matching in mod_rewrite (#1720) * fixed conditional patching of ldap filter (#1564) * Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server) * fixed bug with case-insensitive filenames in mod_userdir (#1589), spotted by "anders1" * fixed format string bugs in mod_accesslog for SYSLOG * replaced fprintf with log_error_write in fastcgi debug * fixed mem leak in ssi expression parser (#1753), thx Take5k * hide some ssl errors per default, enable them with debug.log-ssl-noise (#397) * do not send content-encoding for 304 (#1754), thx yzlai * fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) (#1750) * fix splitting of auth-ldap filter * workaround ldap connection leak if a ldap connection failed (restarting ldap) * fix auth.backend.ldap.bind-dn/pw problems (only read from global context for temporary ldap reconnects, thx ruskie) * fix memleak in request header parsing (#1774, thx qhy) * fix mod_rewrite memleak/endless loop detection (#1775, thx phy - again!) * use decoded url for matching in mod_redirect (#1720)
2008-05-20Belatedly bump revision for CVE-2008-1531 fix.joerg1-1/+2
2008-04-25Fix a potential DOS when using SSL. Bump revision.joerg3-1/+94
2008-03-15lighttpd-1.4.19:joerg6-72/+6
Fix a DOS under high load and some information leaks.
2008-03-04add temporary patch fromkefren4-3/+30
http://trac.lighttpd.net/trac/attachment/ticket/1562/Fix-372-and-1562.patch in order to fix CVE-2008-0983. Bump PKGREVISION
2008-01-18Per the process outlined in revbump(1), perform a recursive revbumptnn1-1/+2
on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
2007-11-23DESTDIR support.joerg1-6/+8
2007-10-14Fix PR#35332adam1-0/+2