Commit Graph

11 Commits

Author SHA1 Message Date
Christian Marangi
b5183a3837 nginx: improve libexslt optional patch
Improve libexslt optional patch to silent confusing output.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-11-04 11:42:55 +01:00
Christian Marangi
c919fddfc1 nginx: add patch fixing libxslt library detection
Nginx hardcode the libxml2 include path to /usr/include/libxml2. This
works in a local build as pretty much everyone have the libxml2 library
installed but doesn't on buildbot container as the library doesn't
exist.

This effectively makes the host library leak intro library detection but
doesn't actually link to it as linking is still done with the correct
library in staging dir.

To fix this add a patch to define custom libxml2 include directory
instead of hardcoding it to host library.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-11-04 11:42:54 +01:00
Christian Marangi
159b6f09f0 nginx: add patch to make libexslt optional
Add patch to make libexslt library optional as nginx autoenable it if
detected.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-10-21 17:32:11 +02:00
Christian Marangi
782f056051 nginx: disable additional entry in feature test
Disable additional entry in feature test probably added in new version
of Nginx and never notice. Also declare "no" instead of empty value for
cc test.

While at it also refresh the patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-10-21 17:32:11 +02:00
Sean Khan
97082f12a6 nginx: QUIC: Fix SSL 3.0 deprecated function
`EVP_CIPHER_CTX_cipher()` function was deprecated in OpenSSL 3.0.
As per OpenSSL's recommendation (https://www.openssl.org/docs/manmaster/man3/EVP_CIPHER_CTX_get0_cipher.html)
switch to using `EVP_CIPHER_CTX_get0_cipher()` instead.

With this change and recent commit to nginx-util #23935. We should now
be able to build nginx + modules with fully compliant calls to OpenSSL
3.0+ with legacy features disabled.

Signed-off-by: Sean Khan <datapronix@protonmail.com>
Link: https://github.com/openwrt/packages/pull/24005
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-05-06 23:31:34 +02:00
Christian Marangi
2750b16b47 nginx: bump to 1.25.5 release
Bump nginx to 1.25.5 release.

Patch automatically refreshed with make package/nginx/refresh.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-21 17:47:59 +02:00
Christian Marangi
88fdab5d77 nginx: add patch to fix compilation error on mips targets
Add patch to fix compilation error on mips targets. This was triggered
after enabling LTO. It was discovered that -fPIC is enabled on building
dynamic modules in CFLAGS but was missing on linking them. This patch
adds the missing -fPIC also on linking.

Fixes: 3b13b08ad9 ("nginx: Fix compilation with LTO")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-04-06 17:02:58 +02:00
Andreas Gnau
3b13b08ad9 nginx: Fix compilation with LTO
When CONFIG_USE_LTO=y, the int-size detection script will fail because a
variable gets optimised out. Mark it as volatile to fix the issue.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
2024-03-20 11:36:08 -07:00
Christian Marangi
3f080e484e nginx: bump to new 1.25.0 release
Bump nginx to new 1.25.0 release.
Changes:

 *) Feature: experimental HTTP/3 support.

Every patch automatically refreshed.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-06-11 10:07:43 +02:00
Christian Marangi
4611ca0b0a nginx: update to 1.24.0 and update headers-more module
Update nginx to 1.24.0 and update headers-more module to fix compilation
error.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:58 +02:00
Ansuel Smith
e9617f5532 nginx: bump to 1.21.1 and improve makefile
- Bump to 1.21.1
- Rework makefile to fix bad make refresh
- Refresh patch

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-07-22 18:49:03 +02:00