Commit Graph

122 Commits (af836b94d30d088b02899789b74a1d41a35b9eac)

Author SHA1 Message Date
Glenn Strauss 0d62b8657b [mod_webdav] use copy_file_range() if available 3 years ago
Glenn Strauss 2230b08ef4 - next is 1.4.56 3 years ago
Niclas Rosenvik 8c9b5480f3 [core] Solaris has getloadavg in sys/loadavg.h
SunOS/Solaris/Illumos has getloadavg declared in sys/loadavg.h .

github: closes #101
3 years ago
Stefan Bühler d7c0fc295f Also use explicit_memset (NetBSD) with cmake, scons and meson 4 years ago
Glenn Strauss 51a46f0211 - next is 1.4.55 4 years ago
Glenn Strauss 4ac239c401 [mod_maxminddb] MaxMind GeoIP2 support 4 years ago
Glenn Strauss 52c489837f [build] detect FreeBSD elftc_copyfile() 4 years ago
Glenn Strauss ec94594504 [scons] help scons on FreeBSD find sys/event.h 4 years ago
Glenn Strauss 40ded06b08 - next is 1.4.54 4 years ago
Glenn Strauss 53c231a764 - next is 1.4.53 5 years ago
Glenn Strauss c9a64d94fc - next is 1.4.52 5 years ago
Glenn Strauss a950ae15ca [build] SCons support for wolfSSL 5 years ago
Glenn Strauss 6edd040b22 [build] fix SCons build for mod_authn_pam 5 years ago
Glenn Strauss df4812ec2e [mod_authn_pam] mod_auth PAM support (fixes #688)
x-ref:
  "auth via pam"
  https://redmine.lighttpd.net/issues/688
5 years ago
Glenn Strauss a9e131fa37 - next is 1.4.51 5 years ago
Glenn Strauss ae54806dc2 - next is 1.4.50 5 years ago
Glenn Strauss de937f47f8 - next is 1.4.49 6 years ago
Stefan Bühler d102a7113f [scons] fix various python2/3 incompatibilities 6 years ago
Glenn Strauss d61714dd0d [mod_authn_sasl] SASL auth (new) (fixes #2275)
(experimental)

HTTP Basic authentication using saslauthd

server.modules += ( "mod_auth" )
server.modules += ( "mod_authn_sasl" )
auth.backend = "sasl"
auth.backend.sasl.opts = ( "pwcheck_method" => "saslauthd" ) # default

x-ref:
  "SASL auth like libapache2-mod-authn-sasl"
  https://redmine.lighttpd.net/issues/2275
6 years ago
Glenn Strauss fdc4c324c4 [mod_authn_ldap] replace use of deprecated funcs
[mod_authn_ldap,mod_vhostdb_ldap]
replace use of deprecated funcs
remove -DLDAP_DEPRECATED
6 years ago
Stefan Bühler 3ba68b25d4 [scons] parse config programs output in a generic way 6 years ago
Stefan Bühler 2e79799681 [scons] break some lines in Append(...) calls 6 years ago
Stefan Bühler d57029c075 [scons] move LIB* initializing block 6 years ago
Stefan Bühler 7733376b5a [scons] split function names, break some lines 6 years ago
Stefan Bühler 42704e312e [scons] wrap Configure in local Autoconf class 6 years ago
Stefan Bühler 706910ac6a [scons] add some generic defintions early
Also add _GNU_SOURCE.
6 years ago
Stefan Bühler f78749d3c6 [scons] fix warnings with deprecated ldap api 6 years ago
Stefan Bühler 66e0cd16b2 [scons] explicit fails when wanted features are missing 6 years ago
Stefan Bühler 505cc7856d [scons] check all features in autoconf block and sort them 6 years ago
Stefan Bühler 08c8749b48 [scons] add with_uuid option, document webdav relations 6 years ago
Stefan Bühler a4f7845dbf [scons] fix dbi 6 years ago
Stefan Bühler 2eb7287a98 [scons] don't screw env[LIBS]
- copy() when collecting dependencies for static module linking
- copy() when following operations append to it and we don't reset it to
  an empty list
- use autoadd = 0 for many functions to prevent modifying env[LIBS] in
  the first place
- append to env[LIBS] manually to make it explicit (fam and rt)
6 years ago
Stefan Bühler 96e198d621 [scons] fix with_pgsql
pg_config --includedir --libdir doesn't print the "-I" or "-l" prefixes,
so ParseConfig can't parse it. Use pkg-config instead.
6 years ago
Stefan Bühler 2506e21b08 [scons] add with_all option 6 years ago
Stefan Bühler fff8e70567 [scons] rename with_gzip to with_zlib 6 years ago
Stefan Bühler 73ef60a5a1 [scons] config.py(-sample) not used, remove them 6 years ago
Stefan Bühler ccba074c1e [scons] sort with_* options, document missing options 6 years ago
Glenn Strauss 6a17133a75 - next is 1.4.48 6 years ago
Glenn Strauss 5780d6cc58 - next is 1.4.47 6 years ago
Glenn Strauss 6f88c28c44 [core] fix compiler warnings on Mac OS X
(thx wardw)
6 years ago
Glenn Strauss 2986221cab [core] sys-strings.h abstraction for strings.h 6 years ago
Glenn Strauss 2f83aac9fb mod_vhostdb* (dbi,mysql,pgsql,ldap) (fixes #485, fixes #1936, fixes #2297)
mod_vhostdb - vhost docroot lookups

backends:

mod_vhostdb_dbi
mod_vhostdb_ldap
mod_vhostdb_mysql  (now preferred over mod_mysql_vhost.c)
mod_vhostdb_pgsql

STATUS: experimental  (testing and feedback appreciated)

x-ref:
  "PostgreSQL virtual host support"
  https://redmine.lighttpd.net/issues/485
  "LDAP Virtual Host Definition Storage Integration"
  https://redmine.lighttpd.net/issues/1936
  "mod_dbi_vhost (patch included)"
  https://redmine.lighttpd.net/issues/2297
6 years ago
Glenn Strauss 86d0396761 [build] only mod_openssl depends on -lssl
some other modules depend only on -lcrypto, when available,
for SHA1, HMAC, MD5, etc
6 years ago
Glenn Strauss cb9ebe9fa6 [mod_openssl] new module (preliminary layout) 6 years ago
Glenn Strauss b0d63e31e8 - next is 1.4.46 6 years ago
Glenn Strauss 656f9e454d - next is 1.4.45 7 years ago
Glenn Strauss 22ca2778a8 [build] check for pipe2() at configure time
Lack of pipe2() on relic Unix as well as missing on Mac OSX is likely
one reason why threaded web servers such as nginx choose not to support
CGI except via an external service to the process.  Without pipe2(),
race conditions exist and it is not safe for a threaded server to use
pipe() and fork() when the server also does not want to potentially leak
open file descriptors to various unrelated CGI scripts.
7 years ago
Glenn Strauss df61f19daf [core] compile fix for Mac OS X 10.6 (old) (fixes #2773)
Mac OS X 10.7 Lion introduces arc4random_buf()

(thx ryandesign)

x-ref:
  "Mac OS X build issue Undefined symbols"
  https://redmine.lighttpd.net/issues/2773
7 years ago
Glenn Strauss 33e3504bcb - next is 1.4.44 7 years ago
Glenn Strauss 1f3ad401ba [mod_deflate] skip deflate if loadavg too high (fixes #1505)
[mod_deflate] skip deflate if 1 min loadavg too high
deflate.max-loadavg  = "3.50"  # express value as string of float num

[mod_compress] skip compression if 1 min loadavg too high
compress.max-loadavg = "3.50"  # express value as string of float num

Feature available on BSD-like systems which have getloadavg() in libc

Note: load average calculations are different on different operating
systems and different types of system loads, so there is no value that
can be recommended for one-size-fits-all.

x-ref:
  "Enable mod_compress to abandon compression when load average is too high"
  https://redmine.lighttpd.net/issues/1505
7 years ago