Commit Graph

54 Commits

Author SHA1 Message Date
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 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
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 4519a1d2b3
nginx: Bump to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-11-11 15:49:47 +01:00
Daniel Engberg 80f5309fb3 nginx: Update rtmp module
Change to ut0mt8's fork that contains several enhancements
and bugfixes.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-11-08 20:06:31 +01:00
Ansuel Smith 5dadb1f350
nginx: update to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-10-09 10:41:46 +02:00
Ansuel Smith ce9a8bc96e
nginx: update to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-30 16:11:51 +02:00
Ansuel Smith eb7d34261b
nginx: bump to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-02 18:45:03 +02:00
Ruixi Zhou fa257720ab nginx: Add missing WebDAV methods support (PROPFIND & OPTIONS)
Nginx provide WebDAV methods PUT, DELETE, MKCOL, COPY, and MOVE with
http_dav_module. But most WebDAV clients that require additional WebDAV
methods (PROPFIND & OPTIONS) to operate. Add missing methods support
with Arutyunyan Roman (arutyunyan.roman@gmail.com)'s nginx-dav-ext-module.
(see: http://nginx.org/en/docs/http/ngx_http_dav_module.html
https://github.com/arut/nginx-dav-ext-module)

Example config:
	location / {
		dav_methods PUT DELETE MKCOL COPY MOVE;
		dav_ext_methods PROPFIND OPTIONS;

		root /var/root/;
	}

Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
2018-08-21 08:14:44 +08:00
Ansuel Smith 0f21ab6391
nginx: improve luci config
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-20 14:55:53 +02:00
Ruixi Zhou 806abc556e nginx: Fix warnings while compile rtmp and ts modules
Signed-off-by: Ruixi Zhou <zhouruixi@gmail.com>
2018-08-12 20:53: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 8174576cdb
nginx: add http_sub_module and other fix
Someone requested this module to be included, so create the config flag for it.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-18 04:02:14 +02:00
Ansuel Smith 4474f91eea
nginx: make virtual package provide nginx
Some package needs nginx as dependency this permit to use nginx-ssl and nginx-all-module as dep for them.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-15 23:24:33 +02:00
Ansuel Smith 433e0fe771
nginx: fix bug in uci-defaults scripts
Currently the uci-defaults scripts reset nginx config even it they are valid due to a bug in the if condition.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-14 23:40:26 +02:00
Hannu Nyman ceb2daec24
Merge pull request #6426 from Ansuel/nginxbump
nginx: bump to latest release
2018-07-09 19:12:41 +03:00
Yousong Zhou 5eb07af2b7 treewide: add missing mirror hash
They are missed out from the FIXUP check probably because of a flaw in
the fixup-makefile.pl script

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-09 11:33:55 +08:00
Yousong Zhou 121b10b2bd nginx: allow make check to fixup mirror hash
The $(eval $(call Download,xx)) call need to be at the top level

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-09 11:33:55 +08:00
Yousong Zhou 79e977a227 nginx: add config symbols of rtmp,ts to PKG_CONFIG_DEPENDS
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-07-09 11:33:55 +08:00
Ansuel Smith d42df123ae
nginx: bump to latest release
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-08 20:31:48 +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 4195561666
nginx: add luci-support package
This adds an additional file for ngix that contains all the files need to make luci works on the nginx webserver.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-14 19:58:44 +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
Lucian Cristian a63a76e31d nginx: update to 1.12.2
also fixes gcc7.2 compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-12-15 18:45:20 +02:00
Thomas Heil b535ee20b6 nginx: update lua-nginx to cdd2ae921f67bf396c743406493127be496e57ce
- fixes lua compilation issue

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2017-08-17 01:05:46 +02:00
Uwe Arnold d382df8c59 nginx: update to 1.12.1
Fixes: CVE-2017-7529

remove PKG_MD5SUM as it is deprecated

Signed-off-by: Uwe Arnold <donvipre@gmail.com>
2017-08-13 20:21:09 +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
Val Kulkov 1ec65d0b75 nginx: update to 1.10.3, add new module options
Update nginx to version 1.10.3.

Add new configuration options to enable the following optional
modules (disabled by default):
   - http_auth_request_module
   - http_v2_module
   - http_realip_module
   - http_secure_link_module

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-02-01 00:25:57 -05:00
heil 16d8e5a0eb nginx: bump version to latest stable 1.10.2
Signed-off-by: heil <heil@terminal-consulting.de>
2016-12-20 16:37:53 +01:00
Xotic750 9b3666b1bf nginx: Bumped nginx-naxsi to v0.54
Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-06-06 20:56:34 +02:00
Xotic750 04222aa8a6 nginx: Bumped to v1.10.1
fixes NULL pointer dereference while writing client request body vulnerability (CVE-2016-4450).

Signed-off-by: Graham Fairweather <xotic750@gmail.com>
2016-05-31 22:54:26 +02:00
Dirk Feytons 55ab8ffc5f nginx: correct f3c7cc6
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
2016-05-10 11:42:34 +02:00
heil f3c7cc6e24 nginx: correct errors from previous merge
Signed-off-by: heil <heil@terminal-consulting.de>
2016-05-09 14:25:18 +02: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
heil 1c51f97033 nginx: bump to version 1.9.13
Signed-off-by: heil <heil@terminal-consulting.de>
2016-03-30 14:28:40 +02:00
heil 203740d180 nginx: add naxsi module
- this brings back naxsi support aka WAF for nginx

Signed-off-by: heil <heil@terminal-consulting.de>
2016-01-25 16:57:07 +01:00
Dirk Feytons b6ce25c971 nginx: upstep to 1.9.9
Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
2016-01-25 16:07:51 +01: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
Paul Fertser 7eb58cb2bf nginx: add support for SPNEGO authentication
This adds a module suitable for Kerberos SSO, e.g. for integrating
into Active Directory domains.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2015-09-01 08:15:26 +03:00