Glenn Strauss
18850c5c88
[build] check getxattr before attr_get and -lattr
...
check getxattr before attr_get and -lattr;
do not link with -lattr if getxattr is available from glibc
(modern glibc systems do not require libattr-devel build dependency)
2021-12-10 01:35:59 -05:00
Glenn Strauss
18370ed85e
- next is 1.4.64
2021-12-04 09:41:43 -05:00
Glenn Strauss
f4143d957e
- next is 1.4.63
2021-12-02 00:23:13 -05:00
Glenn Strauss
16823cd942
[build] configure.ac with AC_PROG_CC_C99 ( fixes #3116 )
...
(thx arnout)
x-ref:
"Build failure with autotools and gcc 4.8 since version 1.4.60"
https://redmine.lighttpd.net/issues/3116
2021-11-22 22:33:05 -05:00
Glenn Strauss
7512d82ca4
[core] pcre2 support (--with-pcre2)
...
x-ref:
"lighttpd: depends on obsolete pcre3 library"
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000063
2021-11-22 02:50:26 -05:00
Glenn Strauss
1540fdeab9
- next is 1.4.62
2021-10-28 19:29:08 -04:00
Glenn Strauss
5c18891a94
[build] check for preadv(), pwritev()
2021-10-27 04:16:38 -04:00
Glenn Strauss
d0f176ff6f
- next is 1.4.61
2021-10-03 22:46:50 -04:00
Glenn Strauss
b17c37c5e5
[mod_openssl] boringssl compat
2021-10-03 11:01:40 -04:00
Glenn Strauss
5cab11b7ea
[build] check for pread(), pwrite(), splice()
2021-09-30 17:34:03 -04:00
Glenn Strauss
9f62f1b196
[multiple] fdevent_mkostemp()
...
fdevent_mkostemp() with flags arg so that caller can pass O_APPEND
renamed from fdevent_mkstemp_append(), previously always O_APPEND
2021-09-30 17:34:03 -04:00
Glenn Strauss
1a8d8e0ca5
[core] periodically malloc_trim() to release mem ( fixes #3084 )
...
x-ref:
"Memory fragmentation with HTTP/2 enabled"
https://redmine.lighttpd.net/issues/3084
2021-09-08 15:06:07 -04:00
Glenn Strauss
1783550154
[build] look for malloc.h and mallopt()
2021-09-08 15:06:07 -04:00
Glenn Strauss
18ec4f419c
[tests] move tests/docroot/www contents up 1 level
...
reduce directories under tests
(because automake is sloooow and the fewer dirs, the better)
2021-09-08 15:06:07 -04:00
Glenn Strauss
ca2898f678
[tests] t/test_mod_indexfile
...
also remove some now-redundant tests from request.t
and reduce scripts and directories under tests
(because automake is sloooow and the fewer dirs, the better)
2021-09-08 15:06:07 -04:00
Glenn Strauss
92576a2f4b
[core] Y2038: use _TIME_BITS=64 on 32-bit glibc
...
Y2038: use _TIME_BITS=64 on 32-bit glibc platforms
reference:
https://www.phoronix.com/scan.php?page=news_item&px=Glibc-More-Y2038-Work
2021-09-04 08:08:26 -04:00
Glenn Strauss
82c199db3f
[autoconf] add AC_SYS_LARGEFILE for lfs
...
add AC_SYS_LARGEFILE for large file support
(in addition to manually defining macros for large file support
on different platforms; bootstrap-and-suspenders)
2021-09-04 08:08:26 -04:00
Glenn Strauss
1f161bda1f
[build] look for memcpy and define HAVE_MEMCPY
...
(HAVE_MEMCPY checked by ancient MD5 implementation in algo_md5.c)
2021-08-27 02:16:53 -04:00
Glenn Strauss
fbefda3524
[build] MacOS linker compat
2021-08-27 02:16:53 -04:00
Glenn Strauss
bb1d35dc17
[build] autoupdate; still autoconf 2.60 compatible
2021-08-27 02:16:53 -04:00
Glenn Strauss
86c39754f2
[core] ck.[ch] - C11 Annex K wrappers
...
(selected functions; not complete)
(import from one of my development branches from 2016)
define safe_memclear() -> ck_memzero() for transition
2021-08-27 02:16:41 -04:00
Glenn Strauss
871ef50eff
[build] --with-nss add test for /usr/include/nspr4
...
x-ref:
"nspr header location"
https://redmine.lighttpd.net/boards/3/topics/9759
2021-05-06 17:35:00 -04:00
Glenn Strauss
82fbfcba15
[build] check for mempcpy()
2021-04-02 01:16:12 -04:00
Glenn Strauss
a1bb0c0d52
[autoconf] add ajp13 to build msgs
2021-02-20 23:37:36 -05:00
Glenn Strauss
28fc51c747
[build] augment configure.ac msgs to remove FAM ( #3068 )
...
augment configure.ac msgs to remove FAM on linux and *bsd
x-ref:
"stat-cache-fam feature appears disabled since 1.4.56"
https://redmine.lighttpd.net/issues/3068
2021-02-10 08:10:17 -05:00
Glenn Strauss
457d78c6e1
[build] use -pipe with gcc and clang
2021-02-07 23:17:49 -05:00
Glenn Strauss
5921b2f411
- next is 1.4.60
2021-02-02 08:44:04 -05:00
Glenn Strauss
9211fb3d86
[mod_deflate] support Accept-Encoding: zstd
2021-01-12 18:29:20 -05:00
Glenn Strauss
a89e94e0bf
[autoconf] fix LT_INIT syntax
2021-01-08 01:27:19 -05:00
Glenn Strauss
acca2a3f73
[autotools] autoupdate; subst deprecated/obsolete
...
autoupdate; subst deprecated/obsolete macros
- s/AC_HELP_STRING/AS_HELP_STRING/
- others
2020-12-31 23:33:56 -05:00
Glenn Strauss
693a29fe91
- next is 1.4.59
2020-12-27 23:36:23 -05:00
Glenn Strauss
5ec5e124c1
[tests] consolidate some tests/ content
2020-12-27 21:39:04 -05:00
Glenn Strauss
f8cc9fb915
[core] http_date.[ch] encapsulate HTTP-date parse
...
http_date.[ch] encapsulate HTTP-date parse/compare
(import from one of my development branches from 2015)
2020-12-24 16:13:20 -05:00
Glenn Strauss
b598bb53f9
[tests] remove FastCGI test dependency on PHP
2020-12-23 03:50:13 -05:00
Glenn Strauss
fc01b820ec
[tests] remove FastCGI test dependency on libfcgi
...
- rewrite fcgi-responder as standalone app
fcgi-responder is now a minimal, standalone FastCGI server for tests
- remove dependency on fcgi-devel package
- merge fcgi-auth into fcgi-responder
2020-12-23 03:49:43 -05:00
Glenn Strauss
ae77d8ae6e
- next is 1.4.58
2020-12-17 04:31:59 -05:00
Glenn Strauss
3579c32295
[core] prefer inet_aton() over inet_addr()
2020-12-05 02:18:58 -05:00
Glenn Strauss
afa6595a7b
- next is 1.4.57
2020-11-29 19:15:06 -05:00
Glenn Strauss
5e711068e4
[build] check for xxhash in more ways
...
pkg-config libxxhash.pc might not be provided with xxhash < 0.7.3
x-ref:
"Update build-dep for xxhash [...]"
https://salsa.debian.org/debian/lighttpd/-/merge_requests/29
2020-11-09 20:26:30 -05:00
Glenn Strauss
7ce8b22cb2
[build] detect inotify header <sys/inotify.h>
2020-11-04 03:53:15 -05:00
Glenn Strauss
64aff80d86
[build] prepend search for lua version 5.4
2020-10-31 00:55:44 -04:00
Glenn Strauss
07622251b0
[build] option to use system-provided libxxhash
...
--with-xxhash
2020-10-29 19:30:45 -04:00
Glenn Strauss
7ff2a467c9
[build] fix typo in configure.ac
2020-10-29 19:07:44 -04:00
Glenn Strauss
31a7f0d43c
[build] detect nss3/nss.h or nss/nss.h for NSS
2020-10-27 16:40:08 -04:00
Glenn Strauss
db7252ec13
[build] fix lib paths for GnuTLS, NSS
...
(thx dirk)
2020-10-27 03:47:35 -04:00
Glenn Strauss
17d8d9c919
[mod_wolfssl] cripple SNI if not built OPENSSL_ALL
...
crippled functionality if wolfssl library not built --enable-opensslall
* SNI not handled since SNI callbacks are disabled in wolfSSL library
unless the wolfSSL library is built with --enable-openssall
This means that there is only one certificate per listening socket --
no certificate selection based on server name indication (SNI)
and is additionally a violation of the HTTP/2 specification,
which requires SNI.
slightly reduced functionality if wolfssl not built --enable-opensslall
* disable client certificate verification (error out if in lighttpd.conf)
* omit SSL_CIPHER_USEKEYSIZE, SSL_CIPHER_ALGKEYSIZE env vars
2020-10-26 22:12:39 -04:00
Glenn Strauss
8f31ed7fe1
[build] use pkg-config with wolfssl
2020-10-26 16:09:21 -04:00
Glenn Strauss
a46f519eb2
[multiple] use NSS crypto if no other crypto avail
...
use NSS crypto if no other crypto avail, but NSS crypto is available
"NSS crypto support" is not included in tests/LightyTest.pm:has_crypto()
due to NSS libraries (freebl3) lacking public export for HMAC funcs
2020-10-19 21:40:14 -04:00
Glenn Strauss
c3a85c9bf5
[mod_wolfssl] standalone module
...
standalone module forked from mod_openssl
2020-10-11 12:19:26 -04:00
Glenn Strauss
ceddd40ad6
[build] fix typo in option description for wolfSSL
...
(thx avij)
2020-10-11 12:19:26 -04:00