Commit Graph

107 Commits (37900d24b3e44c8189d436410246a25ec6e1efdc)

Author SHA1 Message Date
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
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.
7 years ago
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
7 years ago
Glenn Strauss 22c560c228 - next is 1.4.43 7 years ago
Glenn Strauss 032772ab6c add random() to list of rand() fallbacks
(but prefer better mechanisms)
7 years ago
Glenn Strauss 3d0dcdf6ab fix SCons build 7 years ago
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()
7 years ago
Glenn Strauss 177f5509bd [SCons] define with_geoip for SCons build 7 years ago
Glenn Strauss 9e6524fef5 [SCons] fix syntax error in SConstruct 7 years ago
Glenn Strauss 4ba57b2f67 [SCons] define with_krb5 for SCons build 7 years ago
Glenn Strauss 1c1a63786e [mod_auth] mod_authn_gssapi Kerberos auth backend (fixes #1899)
module status: experimental; more testing and review needed

Kerberos library calls have been preserved from original patch set
and should be reviewed.

module has been quickly tested with Basic auth (Use over TLS!)

SPNEGO -has not- been tested.  Again, kerberos library calls have
been preserved from original patch set.  YMMV. (Use over TLS!)

x-ref:
  "Kerberos/GSSAPI Delegation Support"
  https://redmine.lighttpd.net/issues/1899
7 years ago
Glenn Strauss ccd817d3c9 - next is 1.4.42 7 years ago
Glenn Strauss 1ebc83f11f [build_cmake] clock_gettime() -lrt w/ glibc < 2.17 (fixes #2737)
clock_gettime() needs -lrt with glibc < 2.17,
and possibly other platforms

This commit contains fixes for CMake and SCONS
See also commit:4d920466 which updated configure.ac for same

x-ref:
  "1.4.40 compiling issuses on Debian Wheezy"
  https://redmine.lighttpd.net/issues/2737
7 years ago
Glenn Strauss 8f8fa606ca - next is 1.4.41 7 years ago
Stefan Bühler f3b577ddee use libmemcached instead of deprecated libmemcache
Differential Revision: https://review.lighttpd.net/D5

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3071 152afb58-edef-0310-8abb-c4023f1b3aa9
8 years ago
Stefan Bühler c354229f42 add handling for lua 5.2 and 5.3 (fixes #2674)
Reviewers: stbuehler

Differential Revision: https://review.lighttpd.net/D4

From: Stefan Bühler <stbuehler@web.de>

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3070 152afb58-edef-0310-8abb-c4023f1b3aa9
8 years ago