• [gentoo-dev] [PATCH v3 2/3] Add nginx-module.eclass

    From Adrian Schollmeyer@21:1/5 to All on Tue Jan 24 17:00:01 2023
    From: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>

    Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
    Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
    ---
    eclass/nginx-module.eclass | 90 ++++++++++++++++++++++++++++++++++++++
    1 file changed, 90 insertions(+)
    create mode 100644 eclass/nginx-module.eclass

    diff --git a/eclass/nginx-module.eclass b/eclass/nginx-module.eclass
    new file mode 100644
    index 00000000000..aa25977cdc5
    --- /dev/null
    +++ b/eclass/nginx-module.eclass
    @@ -0,0 +1,90 @@
    +# Copyright 2021-2023 Gentoo Authors
    +# Distributed under the terms of the GNU General Public License v2
    +
    +# @ECLASS: nginx-module.eclass
    +# @MAINTAINER:
    +# Jonas Licht <jonas.licht@gmail.com>
    +# @AUTHOR:
    +# Jonas Licht <jonas.licht@gmail.com>
    +# @BLURB: Provide a set of functions to build nginx dynamic modules.
    +# @DESCRIPTION:
    +# Eclass to make dynamic nginx modules.
    +# As these modules are built against one particular nginx version.
    +# The nginx version is encoded in PV as the first three version components,
    +# while the rest of PV represent's the module's upstream version.
    +#
    +# To build an nginx module the whole nginx source code is needed.