[gentoo-dev] [PATCH v3 16/40] profiles/categories: Add www-nginx category for external NGINX modules

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH 0/1] 2025-02-21-NGINX-packaging-changes: Add news item

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH] java-pkg-simple.eclass: support Multi-Release JAR Files (JEP 238)

2025-02-21 Thread Volkmar W. Pogatzki
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

[gentoo-dev] [PATCH v3 02/40] dev-perl/Test-Nginx: new package, add 0.30

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 00/40] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 01/40] nginx.eclass: Add new eclass for building the NGINX server

2025-02-21 Thread Zurab Kvachadze
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: "*/*:

[gentoo-dev] [PATCH v3 03/40] nginx-module.eclass: Add new eclass for building NGINX external modules

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 05/40] profiles/arch/riscv: mask tests for www-servers/nginx

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH 1/1] 2025-02-21-NGINX-packaging-changes: Add news item

2025-02-21 Thread Zurab Kvachadze
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-

[gentoo-dev] [PATCH v3 04/40] profiles/arch/powerpc/ppc64: mask tests for www-servers/nginx

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 08/40] www-servers/nginx: add nginx-r5.initd

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 07/40] www-servers/nginx: add nginx.tmpfiles for managing /var/tmp/nginx

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 09/40] www-servers/nginx: add nginx-r1.confd

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 11/40] www-servers/nginx: add nginx-r2.logrotate

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 10/40] www-servers/nginx: add nginx-r2.service

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 13/40] profiles/desc: reword and update nginx_modules_http.desc

2025-02-21 Thread Zurab Kvachadze
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.

[gentoo-dev] [PATCH v3 19/40] www-servers/nginx: revbump 1.27.4-r0 to 1.27.4-r1, use nginx.eclass

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 14/40] profiles/desc: reword and update nginx_modules_mail.desc

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 12/40] www-servers/nginx: add nginx-r4.conf

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 18/40] www-servers/nginx: revbump 1.26.3-r0 to 1.26.3-r1, use nginx.eclass

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 22/40] www-nginx/ngx-echo: new package, add 0.63

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 24/40] www-nginx/ngx-set-misc: new package, add 0.33

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 06/40] www-servers/nginx: add myself as a proxy maintainer; update metadata.xml

2025-02-21 Thread Zurab Kvachadze
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.

[gentoo-dev] [PATCH v3 25/40] www-nginx/ngx-brotli: new package, add 20231109

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 27/40] www-nginx/ngx-upload-progress: new package, add 0.9.3

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 28/40] dev-lua/lua-resty-core: new package, add 0.1.30

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 20/40] www-servers/nginx: add 9999 live version, use nginx.eclass

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 29/40] dev-lua/lua-resty-lrucache: new package, add 0.15

2025-02-21 Thread Zurab Kvachadze
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}

[gentoo-dev] [PATCH v3 30/40] www-nginx/ngx-lua-module: new package, add 0.10.27

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 31/40] dev-lua/lua-resty-string: new package, add 0.16

2025-02-21 Thread Zurab Kvachadze
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 +

[gentoo-dev] [PATCH v3 32/40] dev-lua/lua-resty-mysql: new package, add 0.27

2025-02-21 Thread Zurab Kvachadze
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 .

[gentoo-dev] [PATCH v3 34/40] www-nginx/ngx-xss: new package, add 0.06

2025-02-21 Thread Zurab Kvachadze
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 +++

[gentoo-dev] [PATCH v3 33/40] dev-lua/lua-resty-memcached: new package, add 0.17

2025-02-21 Thread Zurab Kvachadze
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}

[gentoo-dev] [PATCH v3 35/40] www-nginx/ngx-eval: new package, add 0_p20240817

2025-02-21 Thread Zurab Kvachadze
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 ++-

[gentoo-dev] [PATCH v3 17/40] app-metrics/nginx-lua-prometheus: revbump to r101, update EAPI 7 -> 8, remove r100

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 37/40] www-nginx/ngx-srcache: new package, add 0.33

2025-02-21 Thread Zurab Kvachadze
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 +

[gentoo-dev] [PATCH v3 15/40] profiles/desc: reword and update nginx_modules_stream.desc

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 38/40] www-nginx/ngx-lua-upstream: new package, add 0.07

2025-02-21 Thread Zurab Kvachadze
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 +-

[gentoo-dev] [PATCH v3 39/40] www-nginx/ngx-memc: new package, add 0.20

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 40/40] www-nginx: enable tests

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] Removal dev-python/{shiboken6,pyside6-tools}: merged into dev-python/pyside

2025-02-21 Thread Nowa Ammerlaan
# 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

[gentoo-dev] [PATCH v3 36/40] www-nginx/ngx-iconv: new package, add 0.14

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 26/40] www-nginx/ngx-headers-more: new package, add 0.37

2025-02-21 Thread Zurab Kvachadze
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

[gentoo-dev] [PATCH v3 21/40] www-nginx/ngx_devel_kit: new package, add 0.3.4

2025-02-21 Thread Zurab Kvachadze
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

Re: [gentoo-dev] [PATCH v3 00/40] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass

2025-02-21 Thread Zhixu Liu
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

[gentoo-dev] [PATCH v3 23/40] www-nginx/ngx-encrypted-session: new package, add 0.09

2025-02-21 Thread Zurab Kvachadze
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