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 <zurabid2...@gmail.com>
---
 www-nginx/ngx-iconv/Manifest                  |  1 +
 .../ngx-iconv}/metadata.xml                   |  7 +++---
 www-nginx/ngx-iconv/ngx-iconv-0.14.ebuild     | 25 +++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)
 create mode 100644 www-nginx/ngx-iconv/Manifest
 copy {dev-lua/lua-resty-lrucache => www-nginx/ngx-iconv}/metadata.xml (62%)
 create mode 100644 www-nginx/ngx-iconv/ngx-iconv-0.14.ebuild

diff --git a/www-nginx/ngx-iconv/Manifest b/www-nginx/ngx-iconv/Manifest
new file mode 100644
index 000000000000..3b1d8b58b21e
--- /dev/null
+++ b/www-nginx/ngx-iconv/Manifest
@@ -0,0 +1 @@
+DIST ngx-iconv-0.14.tar.gz 13133 BLAKE2B 
e0120a667bc0ee76efee1310b72fa4cbbe0e21fece502dab46b19a87f285f718257464d0c6df8df27fc5b8d4a2acc2e9c88474dfea2fd040220be9affc4b2546
 SHA512 
63e5e4f1d667438f13aa93f56ec05f0af86147e996ae450f13664668f9813319cc895f0b5e72e05cb2d93722fdb17541972a4d492be8ad226bfc87e4672e29d9
diff --git a/dev-lua/lua-resty-lrucache/metadata.xml 
b/www-nginx/ngx-iconv/metadata.xml
similarity index 62%
copy from dev-lua/lua-resty-lrucache/metadata.xml
copy to www-nginx/ngx-iconv/metadata.xml
index 81d1558075b9..0d1c3551bf30 100644
--- a/dev-lua/lua-resty-lrucache/metadata.xml
+++ b/www-nginx/ngx-iconv/metadata.xml
@@ -10,10 +10,11 @@
                <name>Proxy Maintainers</name>
        </maintainer>
        <longdescription>
-               This library implements a simple LRU cache for OpenResty and 
the ngx_lua module.
+               The ngx-iconv NGINX module allows converting characters of 
different encoding by using
+               libiconv. It brings the 'set_iconv' command to NGINX.
        </longdescription>
        <upstream>
-               
<bugs-to>https://github.com/openresty/lua-resty-lrucache/issues</bugs-to>
-               <remote-id 
type="github">openresty/lua-resty-lrucache</remote-id>
+               
<bugs-to>https://github.com/calio/iconv-nginx-module/issues</bugs-to>
+               <remote-id type="github">calio/iconv-nginx-module</remote-id>
        </upstream>
 </pkgmetadata>
diff --git a/www-nginx/ngx-iconv/ngx-iconv-0.14.ebuild 
b/www-nginx/ngx-iconv/ngx-iconv-0.14.ebuild
new file mode 100644
index 000000000000..1d6a393bfeaf
--- /dev/null
+++ b/www-nginx/ngx-iconv/ngx-iconv-0.14.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="iconv-nginx-module"
+NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
+
+NGINX_MOD_LINK_MODULES=( www-nginx/ngx_devel_kit )
+
+inherit nginx-module
+
+DESCRIPTION="A character conversion NGINX module using libiconv"
+HOMEPAGE="https://github.com/calio/iconv-nginx-module";
+SRC_URI="
+       
https://github.com/calio/iconv-nginx-module/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RESTRICT="test"
+
+DEPEND="virtual/libiconv"
+RDEPEND="${DEPEND}"
-- 
2.45.3


Reply via email to