1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 03:13:54 +02:00
Commit Graph

114 Commits

Author SHA1 Message Date
Alex Shumsky
43022cda78 nginx: bump to 1.25.0-4
Signed-off-by: Alex Shumsky <alexthreed@gmail.com>
2023-08-31 19:17:36 -07:00
Alex Shumsky
9f3e67a52a nginx: fix erroneous new line escape in Makefile
Signed-off-by: Alex Shumsky <alexthreed@gmail.com>
2023-08-31 19:17:36 -07:00
Christian Marangi
42cf7d0ed9
nginx: don't install all module for FULL variant
We currently have a more or less circular dependency with nginx ssl and
full variant.

FULL variant depends on every nginx module. Every nginx module depends
on nginx-ssl.

Since nginx-full depends on an nginx module, nginx-ssl is installed as
module depends on it and then the installation fails as nginx-full
conflicts with nginx-ssl.

nginx-full in it's meaning is nginx built with every config selected and
it should not have module as dependency. In fact an user should always
install them separetly as while other things, local modification to the
nginx config file are required to include the just installed module.

To fix this circular dependency problem, drop the dependency of every
nginx module for FULL variant.

Fixes: #21300
(cherry picked from commit 3d0183e9c5)
[ fix conflict error and bump pkg release ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-07-07 12:54:59 +02:00
Christian Marangi
bf30d7d7ec
nginx: create empty directory for module.d include
Fix a bug on installation of nginx-mod-luci where module.d directory
is not found and luci.module creation fails.
Correctly create empty directory for module.d include for dynamic module
loading by placing file in this directory.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 9365622f27)
2023-06-12 17:11:10 +02:00
Christian Marangi
5d36f84100
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>
(cherry picked from commit 3f080e484e)
2023-06-12 17:11:08 +02:00
Christian Marangi
259b125f6a
nginx: fix problem with migration of uci conf template
Fix some problem with migration of uci conf template and include of
module.d directive.

Fix 2 case:
- uci.conf.template not versioned but with the include module.d
  resulting in double include module.d

- uci.conf.template version 1.1 with the include module.d at the end
  of the config. This is problematic for nginx as modules must be
  included before any http directive.

Handle this 2 case to restore a working uci.conf.template configuration
on migrated config.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit add3cbfcd3)
2023-06-11 05:29:28 +02:00
Glen Huang
57eb73ae63
nginx: add configure flag --with-compat
Without it, nginx could complain about incompatible dynamic modules

Signed-off-by: Glen Huang <me@glenhuang.com>
[ fix conflict error on cherry-pick ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi
6a3cc76ea5
nginx: introduce migration for old uci conf template
Introduce support for migration of old uci conf template to new version.
Uci conf template are saved in config backup. This cause problem on config
restore as old config template might have compatibility problem with new
nginx implementation.

Add logic to migrate the template script at runtime to correctly align
to latest change from nginx and nginx-util.

Fixes: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20904
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi
8c704f2ccc
nginx: fix compilation error for nginx-full
Fix compilation error for stream module not converted to use the PACKAGE
config flag and a missing required dependency for the DAV ext module.

Drop additional config for STREAM module since they are now included and
built by default.

Fixes: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20906
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-06 07:17:25 +02:00
Christian Marangi
c4b27ff6d5
nginx: rename nginx-all-module to nginx-full
Rename nginx-all-module to nginx-full to follow pattern used by other
package and other projects.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:58 +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
Christian Marangi
65a676ed56
nginx: introduce support for dynamic modules
Start building sub package that provide dynamic modules.

Each module needs to be loaded using load_modules.
Refer to nginx documentation on how to use this.

This should result in lower memory usage as only used module are loaded.

Also fix the uci-default scripts to add the required ubus module for
luci module.

-fvisibility=hidden is needed to be dropped to correctly support loading
dynamic modules.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-27 06:14:57 +02:00
Christian Marangi
8b144f0dc3
nginx: split DAV_EXT from standard nginx DAV config
Split DAV_EXT from standard nginx DAV config as additional WebDAV
methods are provided by an external module.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-04-20 07:45:30 +02:00
Andre Heider
35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Glen Huang
230c2d5fc4 acme: update changed packages' versions
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-10-24 10:48:34 +08:00
Glen Huang
7f04710579 amce: use procd to restart services
Directly calling `/etc/init.d/<service> reload` in a hotplug script can
inadvertently start a stopped service.

Signed-off-by: Glen Huang <i@glenhuang.com>
2022-10-24 10:07:06 +08:00
Jianhui Zhao
33a93e20a6 nginx: support gzip static mudule
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-08-23 22:19:07 -07:00
Glen Huang
e84f651453 acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-08-16 00:32:04 +02:00
Javier Marcet
19596a013c nginx: add scgi_params if CONFIG_NGINX_HTTP_SCGI=y
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-30 14:59:14 -07:00
Peter Stadler
55c3bc14f7 nginx, python3-{asgiref,django-cors-headers,drf-nested-routers,sqlparse}: bump versions
Update to the newest versions and switch to $(AUTORELEASE) for the python3 packages (where I am the maintainer).

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-10-30 01:12:02 -07: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
Jan Bubík
037f4ec4e4 nginx: make nginx-rtmp module BigEndian friendly
Signed-off-by: Jan Bubík <jbubik@centrum.cz>
2021-04-28 01:01:24 +02:00
Rosen Penev
de176d6f6f nginx: fix compilation with BUILD_NLS
Requires nls.mk because of libxml2.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 14:06:19 -08: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
5cffe853e6 nginx: use UCI configuration provided by nginx-util
* update to version 1.19.6

* remove default configuration files and documentation as
  they are in the package `nginx-util`.

* do not install a `/etc/nginx/nginx.conf` file.

* use the dynamic `/etc/nginx/uci.conf` if the symlink (to
  `/var/lib/nginx/uci.conf`) is not dead after calling
  `nginx-util init_lan` (else try `/etc/nginx/nginx.conf`)

* replace nginx package by a dummy depending on `nginx-ssl`;
  the dummies will be removed after a transition period.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-01-11 23:08:01 +01:00
Peter Stadler
4bb23b22ae nginx: update to version 1.19.4
Update to newest version, changelog: https://nginx.org/en/CHANGES

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-11-04 19:25:33 +01:00
Florian Eckert
1db50a6131 nginx: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Daniel Golle
c8bfe55026 nginx: adapt to changed ubus socket path
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-29 21:02:18 +02:00
Hannu Nyman
084decaa64
Merge pull request #13326 from Ansuel/ngixfixall
nginx: fix broken all-module variant
2020-09-07 19:56:15 +03:00
Ansuel Smith
310d6c96c7
nginx: fix broken all-module variant
The creation of the dummy package nginx creates some problem with dependency detection for the all-module variant. Reorganize the dependency and compile nginx before the the sub-variant.

Fixes #13275

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-07 18:33:03 +02:00
Ansuel Smith
7ca2238f29
nginx: update ubus module to fix SIGSEGV
- Bump relase
- Bump nginx_ubus_module version

Fixes #13314

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-07 15:01:19 +02:00
Ansuel Smith
6c3e2e927f
nginx: refresh nginx-ubus-module version
Fix a compilation bug for nginx ubus module.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-03 14:24:57 +02:00
Peter Stadler
14650d3517 nginx: update to version 1.19.2
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-22 19:59:11 +02:00
peter-stadler
9cdc4a47f0
nginx: remove PROVIDES on depending package
Fix recursive dependency for `make menuconfig`.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-27 22:56:12 +02:00
Peter Stadler
3603f50fd5 nginx: enable ssl for all variants and remove nginx-util w/o ssl
Make the plain nginx version the same as nginx-ssl.
In a further change we will replace nginx by a dummy package,
depending on +nginx-ssl instead. This allows a smooth upgrade.

For nginx-util leave the ssl and the ssl-nopcre versions only.
For nginx-mod-luci remove the duplicate ssl version.
Replace the removed packages by dummies for a smooth upgrade.
The dummy packages will be removed after a transition period.

Additionally, enable the http2 module for nginx-ssl by default
and cleanup the nginx.init file.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-25 17:36:28 +02:00
Peter Stadler
19b382acea nginx: update to version 1.19.1
update to newest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-16 19:22:26 +02:00
Peter Stadler
5cff456b42 nginx: update to version 1.19.0
bump to newest version

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-06-04 17:16:37 +02:00
Peter Stadler
34cb21a2cf nginx: set log level to crit for luci-static
Do not write errors for inexistent files to the system log.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-05-24 18:53:16 +02: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
Huangbin Zhan
bb4b974101 nginx: update all-module configurations
nginx-all-module also provides nginx-ssl and shoud have configuration file uwsgi_params

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
2020-04-30 06:58:58 +08:00
Peter Stadler
8de2a47a10 nginx: update to version 1.17.10 and fix bug
If one file is a hard link to another, `mv` will not overwrite it;
`rm -f` the destinations beforehand.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-04-16 12:05:29 +02:00
Ansuel Smith
0910d61cd4
nginx: bump version and fix bug
This fix #11610 by increasing max client body size
in nginx conf.
Bump nginx to latest version.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-03-20 20:59:20 +01:00
DENG Qingfang
83f1f95e68 nginx: update to 1.17.8
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-02-11 12:04:44 +08: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
Peter Stadler
2401fd6db5 nginx: use /etc/nginx/nginx.conf enabling conf.d/
Instead of the default nginx.conf file this file is a small variant
without examples that enables the /etc/nginx/conf.d/ directory.

It will pull in all configuration files from the conf.d directory.
So, other packages can add their server parts in the conf.d directory
without modifying the main nginx.conf file (cf. #9860).

Changed also the default logging behavior:
	error_log stderr; # the init forwards it to logd
	access_log off;

See the updated documentation at:
https://openwrt.org/docs/guide-user/services/webserver/nginx

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-01-28 12:24:55 +01:00
Shane Peelar
74bc8b6e75
nginx: Fix brotli module
Use official Google repository for ngx_brotli.
This fixes build errors in #9776.

Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
2020-01-22 22:40:32 -05:00
Ansuel Smith
db1973c695
nginx: update ubus module
Fix a bug in LuCI interface.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-05 18:21:29 +01:00
Peter Stadler
86514ef3f2 nginx: update to 1.17.7 and use new modular uwsgi for luci
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-01-01 18:28:49 +01:00
Ansuel Smith
1f0f760982
nginx: change luci dependency and fix luci nossl
Luci nginx config file for non ssl varian had user as nobody nogroup. This cause some problem with ubus use.
Luci file support package depends on uwsgi-cgi. As this package will be renamed shortly to a more generic version, make the subpackage depends on the uwsgi subpackage only.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-01 16:19:27 +01:00