The www-nginx category is expected to contain third party modules for
the NGINX server, which was made possible with the introduction of
nginx-module.eclass.
Currently, NGINX bundles 25 modules that could all be separate packages.
A non-comprehensive list of these modules: ngx_devel_kit[1],
ngx-fa
This is a NEWS item for a PR that will be submitted to gentoo-dev.
The corresponging GitHub PR: https://github.com/gentoo/gentoo/pull/37590
Zurab Kvachadze (1):
2025-02-21-NGINX-packaging-changes: Add news item
.../2025-02-21-NGINX-packaging-changes.txt| 118 ++
1 file cha
See https://openjdk.org/jeps/238
This commit adds basic support for building multi-release jar files.
A multi-release jar file has release-specific classes in directories
under META-INF/versions/ and its MANIFEST.MF contains a line with
'Multi-Release: true'.
The probably most common case of a mu
The Test::Nginx Perl module is a testing framework utilised by various
third party NGINX modules, mainly developed by OpenResty.
Signed-off-by: Zurab Kvachadze
---
dev-perl/Test-Nginx/Manifest | 1 +
dev-perl/Test-Nginx/Test-Nginx-0.30.ebuild| 36 ++
...inx-0.30
This is the third iteration of the patch series.
References
===
GitHub PR: https://github.com/gentoo/gentoo/pull/37590
v2 of the patch series:
https://public-inbox.gentoo.org/gentoo-dev/20240729215241.13243-1-zurabid2...@gmail.com/
NEWS item patch:
https://public-inbox.gentoo.org/gent
This adds a generic eclass for building, testing and installing NGINX
distributions (F5's NGINX, freenginx, etc).
This is a complete revamp of the way NGINX is packaged in Gentoo.
The problem
===
NGINX has not been maintained for almost 2 years, since June 5 2022
(commit 9061b2f2318: "*/*:
Currently, it is impossible for NGINX external modules to be packaged
on their own, separately from the NGINX ebuild. The nginx-module.eclass
enables packaging third party NGINX modules as any other software in the
Gentoo tree.
The eclass builds on the foundation provided by nginx.eclass.
NGINX m
Tests for www-servers/nginx require www-servers/uwsgi. uwsgi is not keyworded on
RISC-V.
Signed-off-by: Zurab Kvachadze
---
profiles/arch/riscv/package.use.mask | 4
1 file changed, 4 insertions(+)
diff --git a/profiles/arch/riscv/package.use.mask
b/profiles/arch/riscv/package.use.mask
in
Signed-off-by: Zurab Kvachadze
---
.../2025-02-21-NGINX-packaging-changes.txt| 118 ++
1 file changed, 118 insertions(+)
create mode 100644
2025-02-21-NGINX-packaging-changes/2025-02-21-NGINX-packaging-changes.txt
diff --git
a/2025-02-21-NGINX-packaging-changes/2025-02-21-
Tests require www-servers/uwsgi which is not keyworder for ppc64 yet.
Signed-off-by: Zurab Kvachadze
---
profiles/arch/powerpc/ppc64/package.use.mask | 4
1 file changed, 4 insertions(+)
diff --git a/profiles/arch/powerpc/ppc64/package.use.mask
b/profiles/arch/powerpc/ppc64/package.use.ma
This is the fifth revision of the init.d script for NGINX.
Starting with this commit, NGINX does not check its configuration twice
upon start and configuration reload (bug 481456). In the former case, if
any errors occur, the error message will be printed. This is not the
case with the reload() fu
This places the burden on creating and cleaning /var/tmp/nginx in
world-writable /var/tmp on systemd-tmpfiles(8).
Signed-off-by: Zurab Kvachadze
---
www-servers/nginx/files/nginx.tmpfiles | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 www-servers/nginx/files/nginx.tmpfiles
diff --g
This is the first revision of NGINX .confd file.
This removes the NGINX_PIDFILE configuration directive as it is now
unconditionally set to /run/${RV_SVCNAME}.pid.
Additionally, the NGINX_MAXWAITTIME variable has been added, which
configures the maximum amount of time for the upgrade() function t
This is the second revision of the logrotate script for NGINX.
This changes the log files' names from /var/log/nginx/*_log to
/var/log/nginx/*.log, resembling the new nginx.eclass defaults (bug
700866).
The postrotate script was updated to use the "$()" construct for the
command substitution, ins
This is the second revision of the systemd service file for NGINX.
This commit removes redundant Exec{Stop,Reload} lines that restate the
systemd defaults and changes the ExecStartPre directive from "nginx -t"
(testing the NGINX configuration that is done anyway by the main
process, bug 481456) to
The wording used in nginx_modules_http.desc to describe the USE flags
was rather inconsistent with how USE flags are described in Gentoo.
This commit features the following changes:
* The missing descriptions were added for the "ssl"[1],
"upstream_random", "v2"[1] and "v3"[1] modules.
This commit is identical to the previous one, with the mainline
1.27.3 NGINX version being made to utilize nginx.eclass.
See the previous commit for the list of changes.
Signed-off-by: Zurab Kvachadze
---
.../nginx/{nginx-1.26.3-r1.ebuild => nginx-1.27.4-r1.ebuild}| 2 +-
1 file changed, 1
This commit modifies the nginx_modules_mail.desc roughly the same as the
preceeding one modified nginx_modules_http.desc.
This commit adds description for the "ssl" module (see [1] in the
previous commit).
Signed-off-by: Zurab Kvachadze
---
profiles/desc/nginx_modules_mail.desc | 9 +
1
This is the fourth revision of the main configuration file of NGINX.
Thank you Torbjörn Lönnemark for reporting this!
This revision brings a lot of changes, mainly in terms of removed
directives (and yes, I will quote Torbjörn Lönnemark on this):
* worker_processes "1" -> "auto": it makes no
This commit makes NGINX employ new nginx.eclass. This bumps the stable
1.26.2 NGINX version to the second revision bringing a considerable
amount of changes:
* NGINX is now fully slotted. Stable versions are in the 'stable'
SLOT and mainline ones are in the 'mainline' SLOT. There is also
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-echo/Manifest | 1 +
www-nginx/ngx-echo/metadata.xml | 24
www-nginx/ngx-echo/ngx-echo-0.63.ebuild | 19 +++
3 files changed, 44 insertions(+)
create mode 100644 www-nginx/ngx-echo/Mani
The build system of this package automagically enables HMAC support
based on SSL functionality being enabled in the installed NGINX.
In order to enable this support independently, via a USE flag, a "hack"
is applied: only if GENTOO_USE_HMAC environmental variable and
preprocessor definition are de
With this commit I am stepping up to maintain the www-servers/nginx
package.
In addition to changing the maintainer tags, this commit also makes the
following modifications to the metadata.xml:
1. Added longdescription from [1].
2. Changed descriptions for "aio", "http", "libatomic" USE flags.
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-brotli/Manifest | 2 ++
www-nginx/ngx-brotli/metadata.xml | 24 +++
.../ngx-brotli/ngx-brotli-20231109.ebuild | 30 +++
3 files changed, 56 insertions(+)
create mode 100644 www-nginx/ngx
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-upload-progress/Manifest| 1 +
www-nginx/ngx-upload-progress/metadata.xml| 24 +++
.../ngx-upload-progress-0.9.3.ebuild | 20
3 files changed, 45 insertions(+)
create mode 100644 www-nginx/ngx
lua-resty-core[1] is a "FFI-based Lua API", required by
www-nginx/ngx-lua-module.
[1]: https://github.com/openresty/lua-resty-core
Signed-off-by: Zurab Kvachadze
---
dev-lua/lua-resty-core/Manifest | 1 +
.../lua-resty-core-0.1.30.ebuild | 33 +++
dev
This commit adds the live Git version of NGINX to the Gentoo tree,
making use of nginx.eclass.
Signed-off-by: Zurab Kvachadze
---
.../nginx/{nginx-1.26.3-r1.ebuild => nginx-.ebuild} | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
copy www-servers/nginx/{nginx-1.26.3-r1.ebuil
lua-resty-lrucache[1] is a "Lua LRU cache"; it is a runtime dependency of
www-nginx/ngx-lua-module.
[1]: https://github.com/openresty/lua-resty-lrucache
Signed-off-by: Zurab Kvachadze
---
dev-lua/lua-resty-lrucache/Manifest | 1 +
.../lua-resty-lrucache-0.15.ebuild}
This package requires two environmental variables being set in order to
use Lua: LUAJIT_LIB and LUAJIT_INC. The former is set to /usr/${libdir},
for the latter one, the ebuild uses pkg-config directly to get the
include directory.
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-lua-module/Manif
lua-resty-string[1] is a Lua module for ngx-lua-module NGINX module
providing "string utilities and common hash functions for ngx_lua and
LuaJIT".
[1]: https://github.com/openresty/lua-resty-string
Signed-off-by: Zurab Kvachadze
---
dev-lua/lua-resty-string/Manifest | 1 +
lua-resty-mysql[1] is a "nonblocking Lua MySQL driver library for
ngx_lua".
[1]: https://github.com/openresty/lua-resty-mysql
Signed-off-by: Zurab Kvachadze
---
dev-lua/lua-resty-mysql/Manifest | 1 +
.../lua-resty-mysql-0.27.ebuild} | 12
.
ngx-xss[1] is an NGINX module that adds support for "native cross-site
scripting".
[1]: https://github.com/openresty/xss-nginx-module
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-xss/Manifest| 1 +
...x-xss-0.06-add-dynamic-build-support.patch | 34 +++
lua-resty-memcached[1] is "Lua memcached client driver for the ngx_lua
based on the cosocket API".
[1]: https://github.com/openresty/lua-resty-memcached
Signed-off-by: Zurab Kvachadze
---
dev-lua/lua-resty-memcached/Manifest| 1 +
.../lua-resty-memcached-0.17.ebuild}
ngx-eval[1] is an NGINX module that "[captures] subrequest response
bodies into NGINX variables".
[1]: https://github.com/openresty/nginx-eval-module/
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-eval/Manifest | 1 +
.../ngx-eval}/metadata.xml| 3 ++-
Depend www-nginx/ngx-lua-module if it is present, use default disable "(-)"
USE-dependency on the nginx_module_http_lua USE flag of www-servers/nginx.
Signed-off-by: Zurab Kvachadze
---
...-lua-prometheus-0.1_pre20170610-r101.ebuild} | 17 ++---
1 file changed, 10 insertions(+), 7 de
ngx-srcache[1] provides "transparent caching layer for arbitrary NGINX
locations".
[1]: https://github.com/openresty/srcache-nginx-module
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-srcache/Manifest| 1 +
www-nginx/ngx-srcache/metadata.xml| 25 +
Does the same as two previous commits, this time with
nginx_modules_stream.desc.
Two new modules were added: "pass", "set", "upstream_random" and "ssl".
For the last module, see [1] in the first of two preceeding commits.
Signed-off-by: Zurab Kvachadze
---
profiles/desc/nginx_modules_stream.des
ngx-lua-upstream[1] is a "NGINX C module to expose Lua API to ngx_lua
for NGINX upstreams".
[1]: https://github.com/openresty/lua-upstream-nginx-module
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-lua-upstream/Manifest | 1 +
.../ngx-lua-upstream}/metadata.xml| 3 +-
ngx-memc[1] is an "extended version of the standard memcached module
that supports set, add, delete, and many more memcached commands".
[1]: https://github.com/openresty/memc-nginx-module/
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-memc/Manifest | 1 +
www-nginx/ngx-mem
This commits enables tests for all the www-nginx packages.
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-echo/ngx-echo-0.63.ebuild | 9 +-
.../ngx-encrypted-session-0.09.ebuild | 8 +-
.../ngx-eval/ngx-eval-0_p20240817.ebuild | 24 ++-
.../ngx-headers-more-0.37.ebuild
# Nowa Ammerlaan (2025-02-21)
# Shiboken and Pyside-tools have been merged into dev-python/pyside
# as of version 6.8.2. Pyside-tools are useable when the "tools" USE
# flag is enabled.
dev-python/shiboken6
dev-python/pyside6-tools
ngx-iconv[1] is a "a character conversion NGINX module using libiconv".
[1]: https://github.com/calio/iconv-nginx-module
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-iconv/Manifest | 1 +
.../ngx-iconv}/metadata.xml | 7 +++---
www-nginx/ngx-iconv/ngx-ic
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-headers-more/Manifest | 1 +
.../metadata.xml | 13 +++--
.../ngx-headers-more-0.37.ebuild | 19 +++
3 files changed, 27 insertions(+), 6 deletions(-)
create mode 100644
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx_devel_kit/Manifest | 1 +
www-nginx/ngx_devel_kit/metadata.xml | 25 +++
.../ngx_devel_kit/ngx_devel_kit-0.3.4.ebuild | 45 +++
3 files changed, 71 insertions(+)
create mode 100644 www-nginx/ngx_deve
I'll be happy to see this PR get reviewed and merged.
I've one question on the style of the revision scheme of the files in
${FILESDIR}: this PR introduce a revision scheme
(nginx-r*.{conf,confd,service,...}) which is different to current
scheme (nginx.{conf,service,...}.r*).
Personally I'd like t
Signed-off-by: Zurab Kvachadze
---
www-nginx/ngx-encrypted-session/Manifest | 1 +
www-nginx/ngx-encrypted-session/metadata.xml | 22
.../ngx-encrypted-session-0.09.ebuild | 34 +++
3 files changed, 57 insertions(+)
create mode 100644 www-nginx/ngx-enc
46 matches
Mail list logo