Re: [gentoo-dev] [RFC PATCH v2 04/20] www-servers/nginx: add nginx.tmpfiles for managing /var/tmp/nginx

2024-07-30 Thread Zurab Kvachadze
/fhs/ch05s15.html > Especially, when there even is/would be a tmpfiles entry taking care of it's > existence and ownership. > > Christian > > Am 29.07.24 um 23:52 schrieb Zurab Kvachadze: > > This places the burden on creating and cleaning /var/tmp/nginx in > >

[gentoo-dev] [RFC PATCH v2 20/20] www-nginx/ngx-set-misc: new package, add 0.33

2024-07-29 Thread Zurab Kvachadze
nition are defined, HMAC support is enabled. Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-set-misc/Manifest | 1 + .../ngx-set-misc}/metadata.xml| 9 ++-- .../ngx-set-misc/ngx-set-misc-0.33.ebuild | 50 +++ 3 files changed, 55 insertions(+), 5

[gentoo-dev] [RFC PATCH v2 19/20] www-nginx/ngx-encrypted-session: new package, add 0.09

2024-07-29 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-encrypted-session/Manifest | 1 + .../ngx-encrypted-session}/metadata.xml | 2 +- .../ngx-encrypted-session-0.09.ebuild | 32 +++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 www-nginx

[gentoo-dev] [RFC PATCH v2 18/20] www-nginx/ngx-echo: new package, add 0.63

2024-07-29 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-echo/Manifest| 1 + .../evtest => www-nginx/ngx-echo}/metadata.xml | 2 +- www-nginx/ngx-echo/ngx-echo-0.63.ebuild| 18 ++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 www-ng

[gentoo-dev] [RFC PATCH v2 17/20] www-nginx/ngx_devel_kit: new package, add 0.3.3

2024-07-29 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx_devel_kit/Manifest | 1 + .../ngx_devel_kit}/metadata.xml | 2 +- .../ngx_devel_kit/ngx_devel_kit-0.3.3.ebuild | 28 +++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 www-nginx

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

2024-07-29 Thread Zurab Kvachadze
This commit adds the live Mercurial version of NGINX to the Gentoo tree, making use of nginx.eclass. Signed-off-by: Zurab Kvachadze --- .../nginx/{nginx-1.26.1-r2.ebuild => nginx-.ebuild} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) copy www-servers/nginx/{nginx-1.2

[gentoo-dev] [RFC PATCH v2 15/20] www-servers/nginx: revbump 1.27.0-r1 to 1.27.0-r2, use nginx.eclass

2024-07-29 Thread Zurab Kvachadze
This commit is identical to the previous one, with the mainline 1.27.0 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.1-r2.ebuild => nginx-1.27.0-r2.ebuild}| 2 +- 1 file changed

[gentoo-dev] [RFC PATCH v2 14/20] www-servers/nginx: revbump 1.26.1-r1 to 1.26.1-r2, use nginx.eclass

2024-07-29 Thread Zurab Kvachadze
Bug: https://bugs.gentoo.org/886537 Closes: https://bugs.gentoo.org/481456 Closes: https://bugs.gentoo.org/928131 Closes: https://bugs.gentoo.org/576414 Closes: https://bugs.gentoo.org/578658 Closes: https://bugs.gentoo.org/735020 Closes: https://bugs.gentoo.org/700866 Signed-off-by: Zurab Kvachadze

[gentoo-dev] [RFC PATCH v2 13/20] profiles/categories: Add www-nginx category for external NGINX modules

2024-07-29 Thread Zurab Kvachadze
]: https://github.com/openresty/lua-nginx-module [4]: https://github.com/wandenberg/nginx-push-stream-module Signed-off-by: Zurab Kvachadze --- profiles/categories| 1 + {gui-wm => www-nginx}/metadata.xml | 5 + 2 files changed, 2 insertions(+), 4 deletions(-) copy {gui-wm =&g

[gentoo-dev] [RFC PATCH v2 12/20] profiles/desc: reword and update nginx_modules_stream.desc

2024-07-29 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

[gentoo-dev] [RFC PATCH v2 11/20] profiles/desc: reword and update nginx_modules_mail.desc

2024-07-29 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_mai

[gentoo-dev] [RFC PATCH v2 10/20] profiles/desc: reword and update nginx_modules_http.desc

2024-07-29 Thread Zurab Kvachadze
ND flags, as the rest of NGINX modules are. [2]: See "Module reference" at the bottom of https://nginx.org/en/docs/ Signed-off-by: Zurab Kvachadze --- profiles/desc/nginx_modules_http.desc | 147 +- 1 file changed, 75 insertions(+), 72 deletions(-

[gentoo-dev] [RFC PATCH v2 09/20] www-servers/nginx: add nginx-r4.conf

2024-07-29 Thread Zurab Kvachadze
t; directive commented out. For the SSL server, the removed-since-1.25.1 "ssl" directive has been changed into an argument to the "listen" directive, as prescribed upstream. Bug: https://bugs.gentoo.org/928131 Bug: https://bugs.gentoo.org/576414 Reported-by: Torbjörn Lönnemark S

[gentoo-dev] [RFC PATCH v2 08/20] www-servers/nginx: add nginx-r2.logrotate

2024-07-29 Thread Zurab Kvachadze
nd substitution, instead of the legacy `backtick` one. The "kill" utility now use a more POSIX-complying argument "-s singal_name", replacing the XSI's "-signal_name". Bug: https://bugs.gentoo.org/700866 Signed-off-by: Zurab Kvachadze --- .../nginx/files/{nginx.

[gentoo-dev] [RFC PATCH v2 07/20] www-servers/nginx: add nginx-r2.service

2024-07-29 Thread Zurab Kvachadze
e absolute ones, per systemd.service(5) guidelines: > It is thus safe to use just the executable name in case of executables > located in any of the "standard" directories, and an absolute path > must be used in other cases. Bug: https://bugs.gentoo.org/481456 Signed-off-by:

[gentoo-dev] [RFC PATCH v2 06/20] www-servers/nginx: add nginx-r1.confd

2024-07-29 Thread Zurab Kvachadze
to wait for NGINX to start before producing an error. Signed-off-by: Zurab Kvachadze --- .../nginx/files/{nginx.confd => nginx-r1.confd}| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) copy www-servers/nginx/files/{nginx.confd => nginx-r1.confd} (83%) diff --git

[gentoo-dev] [RFC PATCH v2 05/20] www-servers/nginx: add nginx-r5.initd

2024-07-29 Thread Zurab Kvachadze
ned-off-by: Zurab Kvachadze --- www-servers/nginx/files/nginx-r5.initd | 112 + 1 file changed, 112 insertions(+) create mode 100644 www-servers/nginx/files/nginx-r5.initd diff --git a/www-servers/nginx/files/nginx-r5.initd b/www-servers/nginx/files/nginx-r5.initd new

[gentoo-dev] [RFC PATCH v2 04/20] www-servers/nginx: add nginx.tmpfiles for managing /var/tmp/nginx

2024-07-29 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

[gentoo-dev] [RFC PATCH v2 03/20] www-servers/nginx: add myself as a proxy maintainer; update metadata.xml

2024-07-29 Thread Zurab Kvachadze
;s, since they mention third party modules, not NGINX itself. [1]: https://nginx.org/en/ Signed-off-by: Zurab Kvachadze --- www-servers/nginx/metadata.xml | 61 +++--- 1 file changed, 41 insertions(+), 20 deletions(-) diff --git a/www-servers/nginx/metadata.xml b/

[gentoo-dev] [RFC PATCH v2 02/20] nginx-module.eclass: Add new eclass for building NGINX external modules

2024-07-29 Thread Zurab Kvachadze
lly simple; src_compile() executes 'make modules' and src_install() installs the compiled shared objects into /usr/$(get_libdir)/nginx/modules. Closes: https://bugs.gentoo.org/573710 Signed-off-by: Zurab Kvachadze --- eclass/nginx-module.eclass | 180

[gentoo-dev] [RFC PATCH v2 01/20] nginx.eclass: Add new eclass for building the NGINX server

2024-07-29 Thread Zurab Kvachadze
manager as a drop-in replacement of F5's NGINX for external modules. To achieve this, a separate virtual/nginx ebuild must be created. Bug: https://bugs.gentoo.org/886537 Bug: https://bugs.gentoo.org/578658 Bug: https://bugs.gentoo.org/573710 Bug: https://bugs.gentoo.org/735020 Bug: https://bu

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

2024-07-29 Thread Zurab Kvachadze
cations brought forth by these patches. In any case, since unbundling is a breaking change from the user perspective, a NEWS item should be issued, notifying users of the changes. (3) Please, test these patches. Although automated tests do work and the ebuilds pass them, it is entirely possible t

Re: [gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-21 Thread Zurab Kvachadze
I apologise in advance for the formatting, I am writing this from my phone. On July 20, 2024 9:07:03 PM UTC, Michael Orlitzky wrote: > [...] > Rather than maintain the list twice (once for checkpath, and once for > tmpfiles), you can let OpenRC use the tmpfiles entry too. This should > happen by

Re: [gentoo-dev] [RFC PATCH 04/19] www-servers/nginx: add nginx-r5.initd

2024-07-19 Thread Zurab Kvachadze
On Fri, 2024-07-19 at 06:31 +, Michael Orlitzky wrote: Ok, no problem. I understood the checkpath but was curious about the quality of the error message with checkconfig() vs start(). Thanks for working on this! Applied all the changes you've suggested to the branch specified in the cover

Re: [gentoo-dev] [RFC PATCH 04/19] www-servers/nginx: add nginx-r5.initd

2024-07-19 Thread Zurab Kvachadze
I apologise for such delayed response. We're having major electricity outages here and I couldn't find the possibility to address your review. Nonetheless, here we are :) On Wed, 2024-07-17 at 08:41 +, Michael Orlitzky wrote: > On Wed, 2024-07-17 at 15:05 +0300, Zurab Kv

[gentoo-dev] [RFC PATCH 19/19] www-nginx/ngx-set-misc: new package, add 0.33

2024-07-17 Thread Zurab Kvachadze
nition are defined, HMAC support is enabled. Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-set-misc/Manifest | 1 + .../ngx-set-misc}/metadata.xml| 9 ++-- .../ngx-set-misc/ngx-set-misc-0.33.ebuild | 50 +++ 3 files changed, 55 insertions(+), 5

[gentoo-dev] [RFC PATCH 18/19] www-nginx/ngx-encrypted-session: new package, add 0.09

2024-07-17 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-encrypted-session/Manifest | 1 + .../ngx-encrypted-session}/metadata.xml | 2 +- .../ngx-encrypted-session-0.09.ebuild | 32 +++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 www-nginx

[gentoo-dev] [RFC PATCH 17/19] www-nginx/ngx-echo: new package, add 0.63

2024-07-17 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx-echo/Manifest| 1 + .../evtest => www-nginx/ngx-echo}/metadata.xml | 2 +- www-nginx/ngx-echo/ngx-echo-0.63.ebuild| 18 ++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 www-ng

[gentoo-dev] [RFC PATCH 16/19] www-nginx/ngx_devel_kit: new package, add 0.3.3

2024-07-17 Thread Zurab Kvachadze
Signed-off-by: Zurab Kvachadze --- www-nginx/ngx_devel_kit/Manifest | 1 + .../ngx_devel_kit}/metadata.xml | 2 +- .../ngx_devel_kit/ngx_devel_kit-0.3.3.ebuild | 28 +++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 www-nginx

[gentoo-dev] [RFC PATCH 15/19] www-servers/nginx: add 9999 live version, use nginx.eclass

2024-07-17 Thread Zurab Kvachadze
This commit adds the live Mercurial version of NGINX to the Gentoo tree, making use of nginx.eclass. Signed-off-by: Zurab Kvachadze --- .../nginx/{nginx-1.26.1-r2.ebuild => nginx-.ebuild} | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) copy www-servers/nginx/{nginx-1.2

[gentoo-dev] [RFC PATCH 14/19] www-servers/nginx: revbump 1.27.0-r1 to 1.27.0-r2, use nginx.eclass

2024-07-17 Thread Zurab Kvachadze
This commit is identical to the previous one, with the mainline 1.27.0 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.1-r2.ebuild => nginx-1.27.0-r2.ebuild}| 2 +- 1 file changed

[gentoo-dev] [RFC PATCH 13/19] www-servers/nginx: revbump 1.26.1-r1 to 1.26.1-r2, use nginx.eclass

2024-07-17 Thread Zurab Kvachadze
mp. * NGINX now uses the access.log and error.log as default log names, instead of access_log and error_log. * NGINX no longer does strange permission checks for 8-year-old CVEs. Closes: https://bugs.gentoo.org/886537 Closes: https://bugs.gentoo.org/667102 Closes: https://bugs.g

[gentoo-dev] [RFC PATCH 12/19] profiles/categories: Add www-nginx category for external NGINX modules

2024-07-17 Thread Zurab Kvachadze
]: https://github.com/openresty/lua-nginx-module [4]: https://github.com/wandenberg/nginx-push-stream-module Signed-off-by: Zurab Kvachadze --- profiles/categories| 1 + {gui-wm => www-nginx}/metadata.xml | 5 + 2 files changed, 2 insertions(+), 4 deletions(-) copy {gui-wm =&g

[gentoo-dev] [RFC PATCH 11/19] profiles/desc: reword and update nginx_modules_stream.desc

2024-07-17 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

[gentoo-dev] [RFC PATCH 10/19] profiles/desc: reword and update nginx_modules_mail.desc

2024-07-17 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_mai

[gentoo-dev] [RFC PATCH 09/19] profiles/desc: reword and update nginx_modules_http.desc

2024-07-17 Thread Zurab Kvachadze
ND flags, as the rest of NGINX modules are. [2]: See "Module reference" at the bottom of https://nginx.org/en/docs/ Signed-off-by: Zurab Kvachadze --- profiles/desc/nginx_modules_http.desc | 147 +- 1 file changed, 75 insertions(+), 72 deletions(-

[gentoo-dev] [RFC PATCH 08/19] www-servers/nginx: add nginx-r4.conf

2024-07-17 Thread Zurab Kvachadze
t; directive commented out. For the SSL server, the removed-since-1.25.1 "ssl" directive has been changed into an argument to the "listen" directive, as prescribed upstream. Bug: https://bugs.gentoo.org/928131 Bug: https://bugs.gentoo.org/576414 Reported-by: Torbjörn Lönnemark S

[gentoo-dev] [RFC PATCH 07/19] www-servers/nginx: add nginx-r2.logrotate

2024-07-17 Thread Zurab Kvachadze
nd substitution, instead of the legacy `backtick` one. The "kill" utility now use a more POSIX-complying argument "-s singal_name", replacing the XSI's "-signal_name". Bug: https://bugs.gentoo.org/700866 Signed-off-by: Zurab Kvachadze --- .../nginx/files/{nginx.

[gentoo-dev] [RFC PATCH 06/19] www-servers/nginx: add nginx-r2.service

2024-07-17 Thread Zurab Kvachadze
e absolute ones, per systemd.service(5) guidelines: > It is thus safe to use just the executable name in case of executables > located in any of the "standard" directories, and an absolute path > must be used in other cases. Bug: https://bugs.gentoo.org/481456 Signed-off-by:

[gentoo-dev] [RFC PATCH 05/19] www-servers/nginx: add nginx-r1.confd

2024-07-17 Thread Zurab Kvachadze
This is the first revision of NGINX .confd file. This adds the NGINX_MAXWAITTIME variable that configures the maximum amount of time for the upgrade() function to wait for NGINX to start before producing an error. Signed-off-by: Zurab Kvachadze --- www-servers/nginx/files/{nginx.confd => ng

[gentoo-dev] [RFC PATCH 04/19] www-servers/nginx: add nginx-r5.initd

2024-07-17 Thread Zurab Kvachadze
ned-off-by: Zurab Kvachadze --- www-servers/nginx/files/nginx-r5.initd | 117 + 1 file changed, 117 insertions(+) create mode 100644 www-servers/nginx/files/nginx-r5.initd diff --git a/www-servers/nginx/files/nginx-r5.initd b/www-servers/nginx/files/nginx-r5.initd new

[gentoo-dev] [RFC PATCH 03/19] www-servers/nginx: add myself as a proxy maintainer; update metadata.xml

2024-07-17 Thread Zurab Kvachadze
;s, since they mention third party modules, not NGINX itself. [1]: https://nginx.org/en/ Signed-off-by: Zurab Kvachadze --- www-servers/nginx/metadata.xml | 61 +++--- 1 file changed, 41 insertions(+), 20 deletions(-) diff --git a/www-servers/nginx/metadata.xml b/

[gentoo-dev] [RFC PATCH 02/19] nginx-module.eclass: Add new eclass for building NGINX external modules

2024-07-17 Thread Zurab Kvachadze
lly simple; src_compile() executes 'make modules' and src_install() installs the compiled shared objects into /usr/$(get_libdir)/nginx/modules. Closes: https://bugs.gentoo.org/573710 Signed-off-by: Zurab Kvachadze --- eclass/nginx-module.eclass | 180

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

2024-07-17 Thread Zurab Kvachadze
a separate virtual/nginx ebuild must be created. Bug: https://bugs.gentoo.org/886537 Bug: https://bugs.gentoo.org/667102 Bug: https://bugs.gentoo.org/578658 Bug: https://bugs.gentoo.org/573710 Bug: https://bugs.gentoo.org/735020 Bug: https://bugs.gentoo.org/700866 Bug: https://bugs.gentoo.org/

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

2024-07-17 Thread Zurab Kvachadze
ase, test these patches. Although automated tests do work and the ebuilds pass them, it is entirely possible that I have missed something. Happy hacking :) Zurab Kvachadze (19): nginx.eclass: Add new eclass for building the NGINX server nginx-module.eclass: Add new eclass for building NGINX external

[gentoo-dev] Re: Possible merge of myspell/hunspell dictionaries

2023-07-12 Thread Zurab Kvachadze
Thank you all for your proposals and clarifications. I had just looked at myspell-en ebuild and thought every one of them comes from LibreOffice, I was wrong in that respect. I will look closely at the matter and maybe find a single upstream if one exists. I am to maintain hunspell itself, so

[gentoo-dev] Possible merge of myspell/hunspell dictionaries

2023-07-07 Thread Zurab Kvachadze
Hello everyone, I am new here, so I'm sorry in advance for any stupid thing I may say. I want to adopt hunspell for various reasons and what I've noticed is a plethora of app-dicts/myspell-* packages (for each language there's one). I suggest merging them into one big myspell-dicts package, w