1 |
Hey there, |
2 |
|
3 |
a while back Jonas Licht (Cc) wrote an eclass for Nginx dynamic modules. |
4 |
For a few years now, Nginx supports building third party dynamic modules |
5 |
outside of the Nginx source tree with the help of Nginx's build system. |
6 |
Since this involves quite some work to obtain information from the Nginx |
7 |
build configuration and using Nginx's build system to actually build the |
8 |
module, an eclass was written. The last RFC didn't make it into |
9 |
::gentoo, since the requested changes haven't been applied. |
10 |
|
11 |
However, we have been working on the eclass again and applied all the |
12 |
requested changes, made it EAPI=8 compatible and were able to use it |
13 |
successfully to package a third party Nginx module in ::fem-overlay [0]. |
14 |
|
15 |
This patchset contains the reworked nginx-module.eclass for building |
16 |
third party modules using Nginx's build system as separate packages. |
17 |
Furthermore the category www-nginx is added where these third party |
18 |
modules shall be put. Lastly, www-nginx/nginx-vod-module is added as a |
19 |
first package using this eclass. |
20 |
|
21 |
The patchset is also available as PR #16053 on GitHub [1]. If this |
22 |
patchset is applied, the other PR for adding nginx-vod-module [2] |
23 |
probably becomes obsolete [2]. |
24 |
|
25 |
Best regards |
26 |
Adrian and Jonas |
27 |
|
28 |
[0] https://gitlab.fem-net.de/gentoo/fem-overlay/-/tree/master/www-nginx/nginx-vod-module |
29 |
[1] https://github.com/gentoo/gentoo/pull/16053 |
30 |
[2] https://github.com/gentoo/gentoo/pull/11043 |