1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-16 20:33:58 +02:00
Commit Graph

34 Commits

Author SHA1 Message Date
Petr Štetiar
8c9597f1dc lighttpd: add option to use OpenSSL crypto library
Currently, it is not feasible to configure lighttpd to use OpenSSL as
its internal crypto library. Instead, one must rely on alternative
crypto libraries such as Nettle or mbedTLS. This setup is not ideal in
scenarios where a single crypto library is preferred. To address this
issue, lets propose introducing OpenSSL as an additional configuration
option.  Similarly, propose GnuTLS as additional configuration option.

Closes: #24004
Co-developed-by: Glenn Strauss <gstrauss@gluelogic.com>
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2024-05-12 18:11:44 -07:00
Glenn Strauss
4d8bb07b73 lighttpd: update to lighttpd 1.4.74 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2024-02-23 08:18:38 +01:00
Glenn Strauss
3e9b2d85f0 lighttpd: update to lighttpd 1.4.72 release hash
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-10-08 20:41:16 +08:00
Glenn Strauss
19291ee195 lighttpd: update to lighttpd 1.4.71 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-28 09:29:41 +03:00
Glenn Strauss
f4152fccad 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>
2023-05-13 15:56:13 +03:00
Glenn Strauss
0d5b110077 lighttpd: update to lighttpd 1.4.70 release hash
remove patches included upstream

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-13 15:56:13 +03:00
Glenn Strauss
90d5bd6dab lighttpd: build fixes
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-05-01 13:31:17 +03:00
Glenn Strauss
c5297aca29 lighttpd: remove patch included upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-02-20 04:55:39 -05:00
Glenn Strauss
ed6fe528c1 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>
2023-02-20 04:55:39 -05:00
Glenn Strauss
74d26813f7 lighttpd: fix meson build
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-01-03 19:46:19 -05:00
Glenn Strauss
66001d5a91 lighttpd: remove patch included upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2023-01-03 13:09:52 -05:00
Josef Schlehofer
de49362d35
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>
2022-10-25 09:44:56 +02:00
Glenn Strauss
db8205e545 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>
2022-06-09 12:30:37 -07:00
Glenn Strauss
3badd76668 lighttpd: update to lighttpd 1.4.64 release hash
remove long-deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2022-01-20 15:21:28 -08:00
Glenn Strauss
2b67f2b178 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>
2021-10-30 01:05:07 -07:00
Glenn Strauss
07446a73ca 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>
2021-10-04 09:27:16 -07:00
Glenn Strauss
52f85a0e1f 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>
2021-04-23 22:12:59 -04:00
Ilya Lipnitskiy
5d8d4fbbcb
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>
2021-02-20 16:02:15 -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
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
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
3ae0d9df1f lighttpd: remove patches incorporated upstream
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2020-11-30 09:27:28 -05: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
W. Michael Petullo
3526adee17 lighttpd: update to 1.4.53
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-03-16 17:15:56 -04:00
David Yang
c866e3f2c3 lighttpd: Disable auto loading mod_authn_file
which never works on OpenWrt

Signed-off-by: David Yang <mmyangfl@gmail.com>
2019-02-01 16:00:06 +08:00
Rosen Penev
12378ef296 lighttpd: Fix Compilation with OpenSSL 1.1.x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-09 18:53:32 -08:00
Philip Prindeville
3d59ce6f50 lighttpd: update to 1.4.48
All of the bugs for which we had patches have been fixed upstream
in 1.4.46, so the patches can be dropped.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-16 12:49:22 -07:00
Rafał Miłecki
1359e072be lighttpd: backport more mod_cgi fixes queued for 1.4.46
The most important change is local redirects being disabled by default.
There is an option called cgi.local-redir that allows enabling this
optimization manually back if needed.

Local redirects were initially introduced in 1.4.40 but caused many
problems for *some* web services.

One of problems is breaking Post/Redirect/Get design pattern. With
redirects handled on server side there is no browser redirection making
it "lose" the POST data.

Another possible issue are HTML forms with action="". With CGI local
redirects browser may be sending form data to the wrong URL (the one
that was supposed to redirect the browser).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-06-29 09:41:30 +02:00
Rafał Miłecki
f99c3b2510 lighttpd: fix regression in local-redir used with url.rewrite-once
This fixes upstream regression introduced in 1.4.40. It was reported &
debugged in https://redmine.lighttpd.net/issues/2793
This fix is queued for 1.4.46 in the personal/gstrauss/master upstream
branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-02-23 10:21:27 +01:00
W. Michael Petullo
01b087c043 lighttpd: update to 1.4.37
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-09-20 20:18:04 -04:00
Rafał Miłecki
2872ed64cc lighttpd: backport a fix for running out of filedescriptors
It was breaking uploads of files 4 MiB+. This patch fixes:
https://github.com/openwrt/packages/issues/1658

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2015-08-19 17:19:22 +02:00