Commit Graph

89 Commits

Author SHA1 Message Date
Glenn Strauss 984dad6b0b lighttpd: update to lighttpd 1.4.71 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 19291ee195)
2023-05-28 15:43:14 +03:00
Glenn Strauss 96bf440dd2 lighttpd: QUILT patches; fix build patches
QUILT patches; fix build patches to re-merge deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-15 18:12:03 +08:00
Glenn Strauss 526b9d9880 lighttpd: include mod_h2 in base package
The next version of lighttpd will move HTTP/2 support from the lighttpd
base executable into a separate module: mod_h2

Include patch to do so now, and update packaging to handle it.

HTTP/2 support is enabled by default since lighttpd 1.4.59, but if
HTTP/2 support is explicitly disabled in the configuration, then mod_h2
will not be loaded, thereby reducing lighttpd memory use.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit f4152fccad)
2023-05-15 18:12:03 +08:00
Glenn Strauss 61bc2c5572 lighttpd: update to lighttpd 1.4.70 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 0d5b110077)
2023-05-15 18:12:03 +08:00
Glenn Strauss 93f8972595 lighttpd: adjust packages for built-in modules
(.so is no longer built, but package still contains config files)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 7fda9563de)
2023-05-15 18:12:03 +08:00
Glenn Strauss 4f88b07856 lighttpd: fix package DEPENDS syntax
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ae5135a913)
2023-05-15 18:12:03 +08:00
Glenn Strauss a10a509a00 lighttpd: patch to restore removed modules
patch to restore removed modules to preserve state for 21.02

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-04-14 17:14:35 -04:00
Glenn Strauss bea91ecd92 lighttpd: fix package DEPENDS syntax
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Co-authored-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-14 15:21:16 -04:00
Glenn Strauss 1a8c25d221 lighttpd: update to lighttpd 1.4.69 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 8f2fbf093a)
2023-04-14 13:58:33 -04:00
Glenn Strauss b6f0f40d7a lighttpd: add lighttpd-mod-webdav_min package
add lighttpd-mod-webdav_min package alternative to lighttpd-mod-webdav

lighttpd-mod-webdav_min is more minimal than full lighttpd-mod-webdav.
lighttpd-mod-webdav_min does not support PROPPATCH, LOCK, UNLOCK, and
by not supporting those methods, removes dependencies on libxml2,
libsqlite3, and libuuid.

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit ed6fe528c1)
2023-04-14 13:58:33 -04:00
Glenn Strauss 4659527c35 lighttpd: collect mods now built into lighttpd exe
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 85279b49ce)
2023-04-14 13:58:33 -04:00
Glenn Strauss ee3febfc1c lighttpd: remove patch included upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 66001d5a91)
2023-04-14 13:58:33 -04:00
Glenn Strauss be5ea629de lighttpd: update to lighttpd 1.4.68 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 6383ae9407)
2023-04-14 13:58:33 -04:00
Glenn Strauss 3796a78aad lighttpd: modify build cmd for type: feature opts
modify build command for meson type: feature options

remove -Dwith_libev=disabled (option no longer has any effect)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 4a3b62a92a)
2023-04-14 13:58:33 -04:00
Glenn Strauss 636616f4a6 lighttpd: add lighttpd-mod-rrdtool dep on rrdtool1
add lighttpd-mod-rrdtool dependency on rrdtool1

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 9f299e881b)
2023-04-14 13:58:33 -04:00
Glenn Strauss d46d3bb761 lighttpd: lighttpd-1.4.67-4
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit a09dbfcf97)
2023-04-14 13:58:33 -04:00
Glenn Strauss 97197d5e94 lighttpd: document crypto lib options in Makefile
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 43741e748f)
2023-04-14 13:58:30 -04:00
Glenn Strauss c5923a41a4
lighttpd: lighttpd.conf vars, comments, guidance
lighttpd.conf variables, documentation comments, configuration guidance

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit c862b524fb)
2022-12-02 10:00:02 +01:00
Glenn Strauss 3db5bead98
lighttpd: print stderr trace if validation fails
lighttpd.init validate_conf(): print stderr trace if validation fails

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 38ffa02e42)
2022-12-02 09:59:57 +01:00
Josef Schlehofer 480833d673
lighttpd: backport patch to fix dummy Sec-WebSocket-Key
It was requested in https://gitlab.nic.cz/turris/os/packages/-/issues/873

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit de49362d35)
2022-10-25 14:05:48 +02:00
Petr Štetiar c8447b8a38 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 845d81ca09)
(cherry picked from commit f624e41f38)
2022-10-05 21:37:47 +02:00
Glenn Strauss f3ab672f40 lighttpd: update to lighttpd 1.4.67 release hash
* update to lighttpd 1.4.67 release hash

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit f750089d26)
2022-09-23 13:42:24 -07:00
Glenn Strauss c7e8e074d0 lighttpd: update to lighttpd 1.4.66 release hash
* update to lighttpd 1.4.66 release hash

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 5eaf000c83)
2022-09-23 13:42:24 -07:00
Glenn Strauss cde73af87b
lighttpd: update to lighttpd 1.4.65 release hash
* update to lighttpd 1.4.65 release hash
* specify lua version w/ -Dlua_version=lua to avoid patching meson.build

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit db8205e545)
2022-06-13 09:20:04 +02:00
Glenn Strauss 48bf1a0d0d
lighttpd: update to lighttpd 1.4.64 release hash
remove long-deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 3badd76668)
2022-01-24 15:19:03 +01:00
Glenn Strauss 82339309f5
lighttpd: update to lighttpd 1.4.63 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 35dff58b3a)
2022-01-24 15:18:59 +01:00
Glenn Strauss 527f2b920f
lighttpd: update to lighttpd 1.4.62 release hash
depend on libpcre2 instead of libpcre

also remove patches incorporated upstream into lighttpd 1.4.62

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit ddecac45c8)
2022-01-24 15:18:54 +01:00
Glenn Strauss 6b2535230a lighttpd: update to lighttpd 1.4.61 release hash
also remove patches incorporated upstream into lighttpd 1.4.61

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 9786df13a8)
2021-10-30 01:05:20 -07:00
Glenn Strauss a740068f03 lighttpd: update to lighttpd 1.4.60 release hash
also remove patches incorporated upstream into lighttpd 1.4.60

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 07446a73ca)
2021-10-30 01:05:20 -07:00
Glenn Strauss a3596cb8a7 lighttpd: patches from upstream
- ignore Content-Length from backend if 101 Switching Protocols
- close HTTP/2 connection after bad password
- skip cert chain build for self-issued certs
- meson zstd fix
- ls-hpack upstream update
- discard some HTTP/2 DATA frames received after response

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit 52f85a0e1f)
2021-04-24 01:05:25 -07:00
Ilya Lipnitskiy b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00
Glenn Strauss d614b4692c lighttpd: update to lighttpd 1.4.59 release hash
update to lighttpd 1.4.59 release hash
add new base module mod_ajp13

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2021-02-03 01:59:04 -05:00
Glenn Strauss a49dec8a5f lighttpd: update to lighttpd 1.4.58 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-27 23:54:45 -05:00
Glenn Strauss a6ca009422 lighttpd: update to lighttpd 1.4.57 release hash
* update to lighttpd 1.4.57 release hash
* remove patches incorporated upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-17 05:22:06 -05:00
Glenn Strauss 8f46b79c20 lighttpd: cleaner TLS dependency logic in Makefile
incorporate suggestion from cotequeiroz (Eneas U de Queiroz)
https://github.com/openwrt/packages/issues/14142#issuecomment-739583111

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-17 05:22:06 -05:00
Glenn Strauss cc3ab08fde lighttpd: wolfssl complex preproc logic for SNI
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-06 23:07:03 -05:00
Glenn Strauss b575b91553 lighttpd: wolfssl TLS compat module detection
x-ref:
  "[lighttpd] -mod-wolfssl fails (requires dependency on -mod-openssl?)"
  https://github.com/openwrt/packages/issues/14139

github: closes #14139

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-05 11:37:19 -05:00
Glenn Strauss 6e8aa406f4 lighttpd: meson.build linker fix for TLS modules
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-03 17:36:29 -05:00
Glenn Strauss 82221622af lighttpd: build and bugfix patches
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-12-01 17:40:10 -05:00
Glenn Strauss fa1464c3b9 lighttpd: update to lighttpd 1.4.56 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05:00
Glenn Strauss 59ae734bed lighttpd: lighttpd.conf enable flag for HTTP/2
lighttpd.conf reference server.feature-flags

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05:00
Glenn Strauss 5a374b6a5a lighttpd: lighttpd.init reload gracefully
reload_server() gracefully with SIGUSR1 to lighttpd
relog() to reopen log files with SIGHUP to lighttpd

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05:00
Glenn Strauss 5fb8d5f463 lighttpd: revamp Makefile for lighttpd-1.4.56
* update upstream version to lighttpd-1.4.56
* depend on Nettle for MD5, SHA1, SHA256
* multiple TLS options: gnutls, mbedtls, nss, openssl, wolfssl
* new module mod_authn_dbi
* mod_authn_* depend on mod_auth
* mod_authn_file is included if mod_auth is selected in build
* mod_vhostdb_* depend on mod_vhostdb
* mod_deflate subsumes mod_compress
* remove from Makefile the include of nls.mk (no longer needed)

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05:00
Glenn Strauss 3ae0d9df1f lighttpd: remove patches incorporated upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05:00
Jan Pavlinec aa80a02340 lighttpd: add config for logrotate
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-10-29 15:18:54 +01:00
Jan Kardell 18967c9593 [lighttpd] Pull in mod-authn_file with mod-auth
If lighttpd loads mod-auth, it also automatically tries to load
mod-authn_file, and fails if it's not available. That is a compatibility
feature of lighttpd after the funtionality was split into modules.

Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
2020-10-06 11:40:22 +02:00
Rosen Penev 602e3899b4
lighttpd: switch to meson
Simplifies the Makefile and allows faster compilation with Ninja.

Added patch to fix libmariadb dependency.

Added extra modules.

Speed Before:

time make package/lighttpd/compile -j 12
Executed in   47.91 secs   fish           external
   usr time   41.83 secs  384.00 micros   41.83 secs
   sys time   10.79 secs   37.00 micros   10.79 secs

Speed After:

time make package/lighttpd/compile -j 12
Executed in   19.67 secs   fish           external
   usr time   42.79 secs  377.00 micros   42.79 secs
   sys time    8.56 secs   37.00 micros    8.56 secs

Tested with fish shell.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-11 22:49:38 -07:00
Michal Hrusecky 8b5f98d989 lighttpd: Add subpackage containing authn_pam module
Add new subpackage containing pam authentication module. Shouldn't
affect dependencies and nothing changes, there is just one more module
enabled for people interested in it.

Signed-off-by: Michal Hrusecky <michal@hrusecky.net>
2020-06-22 17:22:39 +02:00
Josef Schlehofer e5928b372d
lighttpd: update to version 1.4.55
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-02-22 21:54:45 +01:00
Josef Schlehofer e06086c4ca
lighttpd: Makefile polishing
- Correct SPDX License Identifier
- Move MAINTAINER, SUBMENU to more appropriate place
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 15:40:35 +02:00