Commit Graph

25 Commits

Author SHA1 Message Date
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 32d53eae35
nginx: fix nginx lua module compilation error
Add pending patch fixing compilation error for missing pcre.h.

This is caused by a bug on their end by trying to add pcre.h even if we
are using the PCRE2 library.

Fixes: f0754531c4 ("nginx: move to PCRE2")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-10-13 20:35:42 +02:00
Christian Marangi 6bba36078e
nginx: add patches to lua modules for experimental PCRE2 support
Add patches to lua modules for experimental PCRE2 support.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:55:02 +02: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
Glen Huang 7b91373bd1 nginx: refactor Makefile
Make modules follow a naming convention, which enables:

1. Inline ADDITIONAL_MODULES into CONFIGURE_ARGS
2. Consolidate some parts of Quilt and Download for each module into
BuildModule

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-26 13:51:50 +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
Christian Marangi cfce21ffea
nginx: update lua module to latest openresty version
Update lua module to latest openrestry version. Additional config are
required to correctly use it.

Switch it to luajit from liblua as this is what is currently supported
for the module since plain lua support was dropped from the module.

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
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
Peter Stadler 62609f1587 nginx: do not reduce max processes
Use the upstream value for NGX_MAX_PROCESSES (=1024) again.
So it is safe to use `worker_processes auto;` (which sets it to
the number of CPUs). Also use this directive in the conf instead
of calculating the number in the init and passing it as argument.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-14 09:19:45 +02:00
Peter Stadler 045adbeb66 nginx: fix endianness issue #8988
Patch the auto/endianess file to use CONFIG_BIG_ENDIAN.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-02-04 16:14:46 +01:00
Ansuel Smith 7e20373cde
nginx: update to 1.17.5
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-16 17:16:00 +01:00
Deng Qingfang 9ef3498e91 nginx: fix detection of gcc builtin atomic operations
Needed by stream module

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-12-06 00:37:46 +08:00
Ansuel Smith 2e3dec9746
nginx: bump to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-30 11:15:27 +02:00
Ansuel Smith c351abecfa
nginx: bump and add build variant and other fix
This add 2 variant of nginx so we can have package with SSL config flag preselected. This also add support for 2 more module and upgrade gninx to latest version. Also add myself as secondary maintainer to apply luci modification quickly.
Use of autoreconf to fix problems with recompilation on every new build (even if the version is the same). Add a patch to ignore on invalid configure option instead of trow error.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-06 16:53:25 +02:00
Ansuel Smith 157baf5c65
nginx: Package bump to 1.14.0
This bump nginx package to latest stable.
Also add support for the brotli compression module and head_more module.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-02 14:02:37 +02:00
Val Kulkov 5d8b62f0ba nginx: update to 1.12.0, the latest stable version
This is a straightforward update to the latest stable version.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-05-24 11:48:29 -04:00
Dirk Feytons 277467147f nginx: upstep to 1.10.0, add Lua module, footprint optimizations
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
2016-04-29 16:16:36 +02:00
Luka Perkov 2cab2bb7bb nginx: bump to 1.9.6
In this bump as agreed with Thomas we are dropping out all the nginx 3rd party
addons. In case you would like to see your 3rd party addon included please send
a pull request and make sure it works with newest version.

Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-10-31 20:41:12 +01:00
heil 9433d5ad28 nginx: fix musl compatibility
- include Patches according to issue #1129
 - refresh Makefile

Signed-off-by: heil <heil@terminal-consulting.de>
2015-06-21 21:41:17 +02:00
Thomas Heil 92bd6b1f49 nginx: fix leftover code that flood the logs
Stop flooding logs as stated at https://dev.openwrt.org/ticket/17317.

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-08-04 18:50:45 +02:00
Thomas Heil e9da522f68 nginx: import from packages, add myself as the maintainer
This adds the nginx package from the old svn package fee. I adopt
the licensing information and will maintain the package in the future.
This request also updates nginx to the last stable version 1.4.7. It further
adds support for
 - naxsi (the ngix web application firewall)
 - syslog module
 - http upstream check module
 - support for the haproxy Proxy Protocol (this way nginx can see the real
   ip address behind haproxy)
Building was tested with target x86_64, ar71xx and avr32.

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-06-23 16:37:24 +02:00