Commit Graph

114 Commits

Author SHA1 Message Date
Glenn Strauss 40ded06b08 - next is 1.4.54 2019-01-27 04:47:20 -05:00
Glenn Strauss 53c231a764 - next is 1.4.53 2018-11-28 23:56:50 -05:00
Glenn Strauss c9a64d94fc - next is 1.4.52 2018-10-14 18:34:55 -04:00
Glenn Strauss a950ae15ca [build] SCons support for wolfSSL 2018-10-07 23:47:56 -04:00
Glenn Strauss 6edd040b22 [build] fix SCons build for mod_authn_pam 2018-09-24 02:03:36 -04:00
Glenn Strauss df4812ec2e [mod_authn_pam] mod_auth PAM support (fixes #688)
x-ref:
  "auth via pam"
  https://redmine.lighttpd.net/issues/688
2018-09-23 18:01:58 -04:00
Glenn Strauss a9e131fa37 - next is 1.4.51 2018-08-13 00:43:56 -04:00
Glenn Strauss ae54806dc2 - next is 1.4.50 2018-03-11 21:54:44 -04:00
Glenn Strauss de937f47f8 - next is 1.4.49 2017-11-12 00:53:51 -05:00
Stefan Bühler d102a7113f [scons] fix various python2/3 incompatibilities 2017-11-08 00:02:54 -05:00
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
2017-11-05 20:11:07 -05:00
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
2017-11-05 18:50:25 -05:00
Stefan Bühler 3ba68b25d4 [scons] parse config programs output in a generic way 2017-10-28 22:41:32 -04:00
Stefan Bühler 2e79799681 [scons] break some lines in Append(...) calls 2017-10-28 22:41:32 -04:00
Stefan Bühler d57029c075 [scons] move LIB* initializing block 2017-10-28 22:41:32 -04:00
Stefan Bühler 7733376b5a [scons] split function names, break some lines 2017-10-28 22:41:32 -04:00
Stefan Bühler 42704e312e [scons] wrap Configure in local Autoconf class 2017-10-28 22:41:32 -04:00
Stefan Bühler 706910ac6a [scons] add some generic defintions early
Also add _GNU_SOURCE.
2017-10-28 22:41:32 -04:00
Stefan Bühler f78749d3c6 [scons] fix warnings with deprecated ldap api 2017-10-28 22:41:32 -04:00
Stefan Bühler 66e0cd16b2 [scons] explicit fails when wanted features are missing 2017-10-28 22:41:32 -04:00
Stefan Bühler 505cc7856d [scons] check all features in autoconf block and sort them 2017-10-28 22:41:32 -04:00
Stefan Bühler 08c8749b48 [scons] add with_uuid option, document webdav relations 2017-10-28 22:41:32 -04:00
Stefan Bühler a4f7845dbf [scons] fix dbi 2017-10-28 22:41:32 -04:00
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)
2017-10-28 22:41:32 -04:00
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.
2017-10-28 22:41:32 -04:00
Stefan Bühler 2506e21b08 [scons] add with_all option 2017-10-28 22:41:32 -04:00
Stefan Bühler fff8e70567 [scons] rename with_gzip to with_zlib 2017-10-28 22:41:32 -04:00
Stefan Bühler 73ef60a5a1 [scons] config.py(-sample) not used, remove them 2017-10-28 22:41:32 -04:00
Stefan Bühler ccba074c1e [scons] sort with_* options, document missing options 2017-10-28 22:41:32 -04:00
Glenn Strauss 6a17133a75 - next is 1.4.48 2017-10-22 16:43:33 -04:00
Glenn Strauss 5780d6cc58 - next is 1.4.47 2017-10-21 16:37:13 -04:00
Glenn Strauss 6f88c28c44 [core] fix compiler warnings on Mac OS X
(thx wardw)
2017-06-13 08:56:13 -04:00
Glenn Strauss 2986221cab [core] sys-strings.h abstraction for strings.h 2017-04-24 10:14:17 -04:00
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
2017-01-31 14:36:15 -05:00
Glenn Strauss 86d0396761 [build] only mod_openssl depends on -lssl
some other modules depend only on -lcrypto, when available,
for SHA1, HMAC, MD5, etc
2017-01-31 14:36:14 -05:00
Glenn Strauss cb9ebe9fa6 [mod_openssl] new module (preliminary layout) 2017-01-14 01:06:16 -05:00
Glenn Strauss b0d63e31e8 - next is 1.4.46 2017-01-14 01:06:00 -05:00
Glenn Strauss 656f9e454d - next is 1.4.45 2016-12-24 01:07:46 -05:00
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.
2016-12-17 18:07:42 -05:00
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
2016-11-28 12:39:11 -05:00
Glenn Strauss 33e3504bcb - next is 1.4.44 2016-10-31 09:58:23 -04:00
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
2016-10-19 16:38:47 -04:00
Glenn Strauss c073a31f69 [autobuild] omit module stubs when missing deps
do not build any module (containing module stubs) when the dependencies
for a given module are not present.
2016-10-17 14:15:50 -04:00
Glenn Strauss 5feb2694f7 [autobuild] remove mod_authn_gssapi dep on resolv
remove mod_authn_gssapi explicit dependency on -lresolv
This fixes build on FreeBSD when ./configure --with-krb5
(On systems that need libresolv, libkrb5 depends on libresolv)

Also remove obsolete hstrerror() references from build
2016-10-16 08:56:30 -04:00
Glenn Strauss 22c560c228 - next is 1.4.43 2016-10-16 07:58:46 -04:00
Glenn Strauss 032772ab6c add random() to list of rand() fallbacks
(but prefer better mechanisms)
2016-10-16 05:11:38 -04:00
Glenn Strauss 3d0dcdf6ab fix SCons build 2016-10-16 01:58:25 -04:00
Glenn Strauss 7f4e156e5f [core] rand.[ch] to use better RNGs when available
prefer RAND_pseudo_bytes() (openssl), arc4random() or jrand48(),
if available, over rand()

These are not necessarily cryptographically secure, but should be better
than rand()
2016-10-15 23:28:09 -04:00
Glenn Strauss 177f5509bd [SCons] define with_geoip for SCons build 2016-09-23 01:15:52 -04:00
Glenn Strauss 9e6524fef5 [SCons] fix syntax error in SConstruct 2016-09-23 01:05:58 -04:00