public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zurab Kvachadze <zurabid2016@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: Zurab Kvachadze <zurabid2016@gmail.com>
Subject: [gentoo-dev] [PATCH v4 20/44] www-nginx/ngx_devel_kit: new package, add 0.3.4
Date: Thu,  3 Jul 2025 00:06:40 +0200	[thread overview]
Message-ID: <20250702220705.4649-21-zurabid2016@gmail.com> (raw)
In-Reply-To: <20250702220705.4649-1-zurabid2016@gmail.com>

Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
 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_devel_kit/Manifest
 create mode 100644 www-nginx/ngx_devel_kit/metadata.xml
 create mode 100644 www-nginx/ngx_devel_kit/ngx_devel_kit-0.3.4.ebuild

diff --git a/www-nginx/ngx_devel_kit/Manifest b/www-nginx/ngx_devel_kit/Manifest
new file mode 100644
index 000000000000..b5f5f9eb5341
--- /dev/null
+++ b/www-nginx/ngx_devel_kit/Manifest
@@ -0,0 +1 @@
+DIST ngx_devel_kit-0.3.4.tar.gz 66474 BLAKE2B 3b5ed36517f27ea83881d2fb1e6ba2839c173a833ec563fa94dc9b633b3ebe9ea24c7bb5676aa811267b09a2504d74b306ee7268b8a0d56b230886fd955289e9 SHA512 6bc2f4d3b7ad22527e6c7c343884f8b0d5810ae9b7b09d6c2988b50afbd9c7a79e387667bfb980e93c5e204c163544f79634b2862895d8ee004a4393245ee185
diff --git a/www-nginx/ngx_devel_kit/metadata.xml b/www-nginx/ngx_devel_kit/metadata.xml
new file mode 100644
index 000000000000..935599305174
--- /dev/null
+++ b/www-nginx/ngx_devel_kit/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>zurabid2016@gmail.com</email>
+		<name>Zurab Kvachadze</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription>
+		The NDK is an NGINX module that is designed to extend the core functionality of the
+		excellent NGINX webserver in a way that can be used as a basis of other NGINX modules.
+
+		It has functions and macros to deal with generic tasks that don't currently have generic
+		code as part of the core distribution. The NDK itself adds few features that are seen from a
+		user's point of view - it's just designed to help reduce the code that NGINX module
+		developers need to write.
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/vision5/ngx_devel_kit/issues</bugs-to>
+		<remote-id type="github">vision5/ngx_devel_kit</remote-id>
+	</upstream>
+</pkgmetadata>
diff --git a/www-nginx/ngx_devel_kit/ngx_devel_kit-0.3.4.ebuild b/www-nginx/ngx_devel_kit/ngx_devel_kit-0.3.4.ebuild
new file mode 100644
index 000000000000..d46dfbae3d7d
--- /dev/null
+++ b/www-nginx/ngx_devel_kit/ngx_devel_kit-0.3.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic nginx-module
+
+DESCRIPTION="An NGINX module that adds generic tools for third-party modules"
+HOMEPAGE="https://github.com/vision5/ngx_devel_kit"
+SRC_URI="
+	https://github.com/vision5/ngx_devel_kit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+
+src_configure() {
+	# ngx_devel_kit (NDK) is designed in a modular way. As such, only the
+	# required modules are built based if the corresponding preprocessor macros
+	# are defined.
+	#
+	# Since we do not want to deal with a dependency hell (other NGINX plugins
+	# depend on dfferent NDK's modules) and a bunch of USE flag toggles, NDK is
+	# compiled with all its modules. Fortunately, even with all the modules
+	# built-in, the resulting binary is really small, so the size is not an
+	# issue.
+	#
+	# For details, have a look at 'objs/ndk_config.c' in NDK's source tree and
+	# the 'modular' section in 'README.md'.
+	append-cflags -DNDK_ALL
+	nginx-module_src_configure
+}
+
+src_install() {
+	nginx-module_src_install
+
+	pushd "${NGINX_MOD_S}" >/dev/null || die "pushd failed"
+
+	# Install ngx_devel_kit's headers for use by other modules.
+	insinto /usr/include/nginx/modules
+	find objs src -maxdepth 1 -type f -name '*.h' -print0 | xargs -0 doins
+	assert "find failed"
+
+	popd >/dev/null || die "popd failed"
+}
-- 
2.49.0



  parent reply	other threads:[~2025-07-02 22:26 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-02 22:06 [gentoo-dev] [PATCH v4 00/44] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 01/44] nginx.eclass: Add new eclass for building the NGINX server Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 02/44] dev-perl/Test-Nginx: new package, add 0.31 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 03/44] nginx-module.eclass: Add new eclass for building NGINX external modules Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 04/44] profiles/arch/powerpc/ppc64: mask tests for www-servers/nginx Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 05/44] profiles/arch/riscv: " Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 06/44] www-servers/nginx: add myself as a proxy maintainer; update metadata.xml Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 07/44] www-servers/nginx: add nginx.tmpfiles for managing /var/tmp/nginx Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 08/44] www-servers/nginx: add nginx-r5.initd Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 09/44] www-servers/nginx: add nginx-r1.confd Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 10/44] www-servers/nginx: add nginx-r2.service Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 11/44] www-servers/nginx: add nginx-r2.logrotate Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 12/44] www-servers/nginx: add nginx-r4.conf Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 13/44] profiles/desc: reword and update nginx_modules_http.desc Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 14/44] profiles/desc: reword and update nginx_modules_mail.desc Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 15/44] profiles/desc: reword and update nginx_modules_stream.desc Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 16/44] profiles/categories: Add www-nginx category for external NGINX modules Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 17/44] app-metrics/nginx-lua-prometheus: revbump to r101, update EAPI 7 -> 8, remove r100 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 18/44] www-servers/nginx: add 1.29.0, use nginx.eclass Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 19/44] www-servers/nginx: add 9999 live version, " Zurab Kvachadze
2025-07-02 22:06 ` Zurab Kvachadze [this message]
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 21/44] www-nginx/ngx-echo: new package, add 0.63 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 22/44] www-nginx/ngx-encrypted-session: new package, add 0.09 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 23/44] www-nginx/ngx-set-misc: new package, add 0.33 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 24/44] www-nginx/ngx-brotli: new package, add 20231109 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 25/44] www-nginx/ngx-headers-more: new package, add 0.37 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 26/44] www-nginx/ngx-upload-progress: new package, add 0.9.3 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 27/44] dev-lua/lua-resty-core: new package, add 0.1.30 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 28/44] dev-lua/lua-resty-lrucache: new package, add 0.15 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 29/44] www-nginx/ngx-lua-module: new package, add 0.10.27 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 30/44] dev-lua/lua-resty-string: new package, add 0.16 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 31/44] dev-lua/lua-resty-mysql: new package, add 0.27 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 32/44] dev-lua/lua-resty-memcached: new package, add 0.17 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 33/44] www-nginx/ngx-xss: new package, add 0.06 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 34/44] www-nginx/ngx-eval: new package, add 0_p20240817 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 35/44] www-nginx/ngx-iconv: new package, add 0.14 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 36/44] www-nginx/ngx-srcache: new package, add 0.33 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 37/44] www-nginx/ngx-lua-upstream: new package, add 0.07 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 38/44] www-nginx/ngx-memc: new package, add 0.20 Zurab Kvachadze
2025-07-02 22:06 ` [gentoo-dev] [PATCH v4 39/44] www-nginx: enable tests for OpenResty modules Zurab Kvachadze
2025-07-02 22:07 ` [gentoo-dev] [PATCH v4 40/44] www-nginx/ngx-dav-ext: new package, add 3.0.0 Zurab Kvachadze
2025-07-02 22:07 ` [gentoo-dev] [PATCH v4 41/44] www-nginx/ngx-geoip2: new package, add 3.4 Zurab Kvachadze
2025-07-02 22:07 ` [gentoo-dev] [PATCH v4 42/44] www-nginx/ngx-fancyindex: new package, add 0.5.2 Zurab Kvachadze
2025-07-02 22:07 ` [gentoo-dev] [PATCH v4 43/44] www-nginx/ngx-vod: new package, add 1.33 Zurab Kvachadze
2025-07-02 22:07 ` [gentoo-dev] [PATCH v4 44/44] www-nginx/ngx-modsecurity: new package, add 1.0.3 Zurab Kvachadze
2025-07-05  7:23 ` [gentoo-dev] [PATCH v4 00/44] Rework NGINX packaging in Gentoo by introducing nginx{,-module}.eclass Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250702220705.4649-21-zurabid2016@gmail.com \
    --to=zurabid2016@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox