Commit Graph

95 Commits

Author SHA1 Message Date
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
Ansuel Smith 85b09eebb2
nginx: fix missing cgi-exec definition
Add missing cgi-io exec definition to fix broken
luci webui as now it does actually use it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-12-29 01:11:26 +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
Ansuel Smith 90766a1f8a
nginx: update broken ubus module
Current version of ubus module have some problem with list method. Update the module to fix this problem.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-11-11 02:23:15 +01:00
Ansuel Smith 980296574c
nginx: adds ubus external module
- Adds ubus module to nginx
- Select module by default
- Adds script to detect ubus module and append config for luci
- Switch all external module to xz

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-10-30 21:32:12 +01:00
Ansuel Smith e35042bc3d nginx: update nginx-dav-ext-module to 3.0
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-10-28 08:00:47 -03:00
Jeffery To 53e1692ae9 treewide: Use default PKG_BUILD_DIR when possible
This removes lines that set PKG_BUILD_DIR when the set value is no
different from the default value.

Specifically, the line is removed if the assigned value is:

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)

  The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT
  if it is set, so now this is identical to the default value.

* $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR)

  if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it
  the same as the previous case

* $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)

  This is the same as the default PKG_BUILD_DIR when there is no
  BUILD_VARIANT.

* $(BUILD_DIR)/[name]-$(PKG_VERSION)

  where [name] is a string that is identical to PKG_NAME

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-13 02:01:34 +08:00
Ansuel Smith b9c7a570a2
nginx: adds new socket to luci uwsgi config
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-10-12 13:22:08 +02:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
DENG Qingfang 5ffc744018 nginx: update to 1.16.1
Fixes:
when using HTTP/2 a client might cause excessive memory
consumption and CPU usage (CVE-2019-9511, CVE-2019-9513,
CVE-2019-9516).

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-15 02:42:24 +08:00
DENG Qingfang a33a891308 nginx: small conf files fix
Add Gzip compression type
Remove unnecessary spaces from conf files

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-05 02:10:05 +08:00
DENG Qingfang 7d052e5012 nginx: update brotli module
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-05 02:08:45 +08:00
Deng Qingfang 3d94ecdef0 nginx: update to 1.16.0
Update nginx to latest stable release 1.16.0

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-04-29 13:32:12 +08:00
Deng Qingfang d11b534f62 nginx: fix #8729
Let nginx's config depend on CONFIG_OPENSSL_WITH_NPN

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-04-20 09:01:40 +08:00
Ansuel Smith 4b541141ca
nginx: update to version 1.15.10 and rework
Remove libopenssl dep from NGINX_HTTP_CACHE and NGINX_HTTP_AUTH_BASIC config flag
The documentation doesn't mention that openssl is required for this 2 modules. This also permit to use nginx no-ssl variant without libopenssl as this 2 module are selected by default. Also make OPENSSL_ENGINE flag a dep to recompile nginx on change of openssl compilation flag.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-04-05 21:54:53 +02:00
Deng Qingfang 925fc7a769 nginx: update to 1.15.8 and remove PKG_VERSION from modules tarball filename
Update to 1.15.8. Also use HTTPS
PKG_VERSION (nginx version) in 3rd-party modules tarball filename is dispensable and can be dropped to avoid unnecessary downloading

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-01-04 15:37:55 +08:00
Deng Qingfang cf3aaa4ae4 nginx: add stream SSL and stream SSL preread support
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-12-17 00:29:04 +08:00
James Qian 9803e34512 nginx: unified indentation character and add additional config entry
The original configure file mixed tab and space
characters as indentation, so use 4 spaces as the
default indentation character.

Add /etc/nginx/conf.d/*.conf as nginx additional configure
files. Then we can add individual conf file for other http
applications without modify the main nginx configure file.

Signed-off-by: James Qian <sotux82@gmail.com>
2018-12-12 08:57:46 +08:00
Ansuel Smith b97c3a482a
nginx: bump to latest release and other
This bumps nginx to latest release, adds support for STREAM MODULE and bump rtmp version to fix a compilation error

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-12-07 15:23:11 +01:00
Eneas U de Queiroz 015e30b5ea nginx: fix rtmp module with openssl 1.1.1
Patch that changes the order of some include files in ngx_rtp_cenc.c
that caused a compilation failure.  Patch submitted upstream (#13).

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-12-06 16:43:14 -02:00