Stefan Bühler
a45f3bac58
[autobuild] improve feature+module counting
2017-10-28 22:48:12 -04:00
Stefan Bühler
6751571805
[autobuild] simple check for fork
2017-10-28 22:48:12 -04:00
Stefan Bühler
5854466908
[autobuild] improve crypt[_r]
2017-10-28 22:48:12 -04:00
Stefan Bühler
34ded72469
[autobuild] improve openssl
2017-10-28 22:48:12 -04:00
Stefan Bühler
2c69ef6704
[autobuild] kerberos improvements
2017-10-28 22:48:12 -04:00
Stefan Bühler
955b029f2f
[autobuild] move some checks to the top
...
Moved some generic checks from the middle of the "feature checks" to the
top.
2017-10-28 22:48:12 -04:00
Stefan Bühler
41cd7d25a8
[autobuild] lots of small cleanups
...
- remove checks with unused results
- make some failures explicit
- improve some fail messages
2017-10-28 22:48:12 -04:00
Stefan Bühler
d8d7d1977a
[autobuild] m4 and shell quoting, whitespace changes, sort some lists
2017-10-28 22:48:12 -04:00
Stefan Bühler
f107bac819
[autobuild] require autoconf >= 2.60, automake >= 1.14
...
- AC_USE_SYSTEM_EXTENSIONS requires autoconf 2.60; using it replaces
AC_AIX, AC_ISC_POSIX, AC_MINIX and -D__EXTENSIONS__
- require at least automake 1.12 to remove hack for serial-tests
- automake 1.12 is from 2012, automake 1.14 from 2013
- automake 1.14 allows us to drop AM_PROG_CC_C_O
- we don't use $LN_S, drop AC_PROG_LN_S
- silent-rules replaces AM_SILENT_RULES
2017-10-28 22:48:12 -04:00
Glenn Strauss
735d9757f7
[scons] Merge branch 'personal/stbuehler/scons-cleanup'
2017-10-28 22:41:55 -04: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
2144cd2e39
[scons] link -static-libgcc instead of gcc_s
2017-10-28 22:41:32 -04:00
Stefan Bühler
68a92f2c3c
[scons] don't link pthread twice in --whole-archive workaround
2017-10-28 22:41:32 -04:00
Stefan Bühler
b8989bf2dd
[scons] fix some lib dependencies
...
- mod_cml: doesn't need pcre
- mod_trigger_b4_dl: needs gdbm
- lighttpd: needs crypto and pcre
2017-10-28 22:41:32 -04:00
Stefan Bühler
21dfe350ae
[scons] sort modules
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
nicorac
3d257ec3a9
[core] fix build --disable-ipv6 ( fixes #2832 )
...
x-ref:
"Build error on systems without IPV6 support (regression from 1.4.46)"
https://redmine.lighttpd.net/issues/2832
github: closes #87
2017-10-25 22:45:57 -04:00
Marco Angaroni
3faf042847
[mod_webdav] fix crash if stat fails, not ENOENT
...
fix crash in mod_webdav_subrequest_handler_huge()
when stat_cache_get_entry() returns HANDLER_ERROR
but errno is not ENOENT
x-ref:
"fix crash in mod_webdav_subrequest_handler_huge()"
https://github.com/lighttpd/lighttpd1.4/pull/86
github: closes #86
2017-10-25 21:21:04 -04:00
Glenn Strauss
6a17133a75
- next is 1.4.48
2017-10-22 16:43:33 -04:00
Glenn Strauss
f558fc9735
[doc] NEWS
2017-10-22 15:36:55 -04:00
Glenn Strauss
875e339faf
[core] fix 1.4.46 regression in Last-Modified
...
fix 1.4.46 regression in Last-Modified string cache
(thx avij)
x-ref:
"Oversized request-header"
https://redmine.lighttpd.net/boards/2/topics/7686
2017-10-22 15:35:39 -04:00
Glenn Strauss
0c1aed55d5
[doc] use https:// URLs to .lighttpd.net resources
2017-10-22 15:01:48 -04:00
Glenn Strauss
f5ff2a011d
[core] normalize config addrs for eq and ne ( #2830 )
...
address strings need to have DNS resolved and port added
for consistency when matching other config conditionals
x-ref:
"1.4.46 regression: $SERVER["socket"] matches when it shouldn't"
https://redmine.lighttpd.net/issues/2830
2017-10-22 14:13:55 -04:00
Glenn Strauss
3549fc8280
[core] normalize config addrs for != match ( #2830 )
...
address strings need to have DNS resolved and port added
for consistency when matching other config conditionals
x-ref:
"1.4.46 regression: $SERVER["socket"] matches when it shouldn't"
https://redmine.lighttpd.net/issues/2830
2017-10-22 14:13:53 -04:00
Glenn Strauss
585206616d
[core] fix 1.4.46 regression in config match ( fixes #2830 )
...
address strings need to have DNS resolved and port added
for consistency when matching other config conditionals
x-ref:
"1.4.46 regression: $SERVER["socket"] matches when it shouldn't"
https://redmine.lighttpd.net/issues/2830
2017-10-22 12:41:02 -04:00
Glenn Strauss
60b5826849
[core] stricter validation of request-URI begin
...
check that request-URI begins with '/', "http://", "https://",
or is OPTIONS * request, or else reject with 400 Bad Request unless
server.http-parseopt-header-strict = "disable" (default is enabled)
x-ref:
https://redmine.lighttpd.net/boards/3/topics/7637
2017-10-21 21:44:34 -04:00
Glenn Strauss
6be68f569f
[mod_authn_gssapi] needs -lcom_err under Darwin
2017-10-21 19:16:33 -04:00
Glenn Strauss
5780d6cc58
- next is 1.4.47
2017-10-21 16:37:13 -04:00
Glenn Strauss
f07bcb145c
[doc] NEWS
2017-10-21 15:42:49 -04:00
Glenn Strauss
3f2561dec5
[core] translate DNS to IP str for cond socket cmp
...
translate DNS to IP string for conditinal socket comparison
in lighttpd.conf for $SERVER["socket"] == ...
2017-10-21 14:47:30 -04:00
Glenn Strauss
168f67a1b1
[core] perf: more efficient fdevent_sched_run()
...
perf: more efficient fdevent_sched_run() over fds pending close
2017-10-21 12:34:17 -04:00
Glenn Strauss
cddc481411
[core] reproducible build: hide __DATE__ __TIME__ ( fixes #2828 )
...
reproducible build: hide __DATE__ __TIME__ unless compiled with
-DNONREPRODUCIBLE_BUILD
x-ref:
"Reproducible builds"
https://redmine.lighttpd.net/issues/2828
2017-10-21 11:53:27 -04:00
Stefan Bühler
0fcd756766
[cmake] link mod_cml with memcached
2017-10-21 16:03:04 +02:00
Stefan Bühler
c7c106c3c0
[cmake] fix attr header detection and linking
2017-10-21 16:03:04 +02:00
Stefan Bühler
4634a05c0d
[cmake] handle WITH_WEBDAV_LOCKS option
2017-10-21 16:03:04 +02:00