From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-103166-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 820831582EF
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 16:37:03 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 6CE0A345196
	for <garchives@archives.gentoo.org>; Fri, 21 Feb 2025 16:37:03 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id E40B31105F6;
	Fri, 21 Feb 2025 16:09:15 +0000 (UTC)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 285451105E3
	for <gentoo-dev@lists.gentoo.org>; Fri, 21 Feb 2025 16:09:15 +0000 (UTC)
Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5e050b1491eso5905006a12.0
        for <gentoo-dev@lists.gentoo.org>; Fri, 21 Feb 2025 08:09:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1740154153; x=1740758953; darn=lists.gentoo.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to;
        bh=HbzZK9BOq6VGjwaNRA76o87w2P/jhb/YFlK9kXARlO4=;
        b=TgeMZdZoYUuG69pNmVCiuxnKSVdGNcsw3U/i61NOZqAqHRk5T5q0y+Yad+s/PeDGOB
         sYe9ETGiU/9wAVhJF0SaGXEqMLWqy44AG1lvY7O3LpeY/EIy/JYiGobBbZ9UsAOLcdZF
         ArjgnUJVJjgfbC3zcM+EPx/T88Q8reD29r9K4q64mXvqAxzsIQhGVLfbTF8gcOoapoYt
         8E1w71xP2PrDyi3r4u/cyQlphL4LjkeXMPuxJQgbKFVLK5+p/Fk7PJyB0+sUGmMuQzHP
         XG8XLXcFp7J0hLG6MGT0wS6v/z0rcJjH/FNXSXDAJ6qFQztVW3PIScKba1Z3G3ADvh0k
         O6cA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1740154153; x=1740758953;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
         :subject:date:message-id:reply-to;
        bh=HbzZK9BOq6VGjwaNRA76o87w2P/jhb/YFlK9kXARlO4=;
        b=mm5S/9eymcXTQlO62cnhwy51v00jkRHoaCjbLU1vCReESgQ/xJa07KhAcEIVL7J8UC
         9m555TtC/myMJ7Sm/VcLHSyTm8DA0dwC10DmST+Tba3/cSYsfi+T18Q5sja07jE0laMS
         DkYZGBJVDXDTLVYTTOzKzxeJDPFbaVJjjjXnYY0c2SK2fGwgeMbDNhweXRuvfA0myv6D
         c+MA+Cm9Ov6qSdkC26VTVpUTKAbVV1mjKJ889YO06hN2rlNIDi8bw/pCTRf+igjb68KQ
         Bzvvu/CuHftlIeUfE9EzUPVwaJZ8CUsxJnrVPwx7fqAwPlAXT+qybjEEVjdFi+te5B3U
         ozyg==
X-Gm-Message-State: AOJu0YxT85NmQLu1ioroXlGVMwotYtA+o/fZ9xXTwpPA2sPFhx1SvZWu
	I4NuvIbArlxyPpIB4xUX5cUZLRAFqHU6lKbvbWdza+/LPyQgBA7YX4dLYc3h
X-Gm-Gg: ASbGncvP48wQYrd4hkXPqsp6bWTqJGZ27p/LTV+woS1NAV+VNmj9vS2NhG6j3vucT4U
	kYsQT9+5lGVmrs1ouunrd+lhgqjy7/1lii5DCvlb9lqCaZ00CeD2muIEnQq2MdKeAWe7M4kk9Zb
	XnLWs/cM1Vz5JvfXqesANO4H7Qexciv1YNzVj/8kE1O6v6cM69flwqIp36RSPk04/EIiinD7ZAo
	cShfjJEwOxZEZWBxYfohYH1deIz2cshejtkyQ6lXNtlLndd1MK6vHJZaK6U9Flt14CX5xuDwcfn
	PYzAgKzb6mE8J4rdvTUro3RN4T6Hb7jwp6CeHcFrKtzo3+70bm7tqsX3Y3F0epIVlzZ+Ku0443g
	=
X-Google-Smtp-Source: AGHT+IEUbKhsMWbpgLzvPPLLHJSSuOSOSxJQFH3JMJaZzVGViuVcCGnhV73S1sJw5U56Guqi4JCz0A==
X-Received: by 2002:a17:907:c49b:b0:abb:8926:5b9f with SMTP id a640c23a62f3a-abbeda29d05mr625872966b.6.1740154153215;
        Fri, 21 Feb 2025 08:09:13 -0800 (PST)
Received: from localhost.localdomain (92-70-146-242.biz.kpn.net. [92.70.146.242])
        by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abbac781b78sm862154466b.60.2025.02.21.08.09.12
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Fri, 21 Feb 2025 08:09:12 -0800 (PST)
From: Zurab Kvachadze <zurabid2016@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: Zurab Kvachadze <zurabid2016@gmail.com>
Subject: [gentoo-dev] [PATCH v3 31/40] dev-lua/lua-resty-string: new package, add 0.16
Date: Fri, 21 Feb 2025 17:08:28 +0100
Message-ID: <20250221160839.29308-32-zurabid2016@gmail.com>
X-Mailer: git-send-email 2.45.3
In-Reply-To: <20250221160839.29308-1-zurabid2016@gmail.com>
References: <20250221160839.29308-1-zurabid2016@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Archives-Salt: 86306a97-cd26-472a-a53a-29db5bbf1d1a
X-Archives-Hash: 428b271a1fb168ffd056f3b910a3ee23

lua-resty-string[1] is a Lua module for ngx-lua-module NGINX module
providing "string utilities and common hash functions for ngx_lua and
LuaJIT".

[1]: https://github.com/openresty/lua-resty-string

Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
---
 dev-lua/lua-resty-string/Manifest                     |  1 +
 .../lua-resty-string-0.16.ebuild}                     | 11 ++++++++---
 .../usbmuxd => dev-lua/lua-resty-string}/metadata.xml |  3 ++-
 3 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 dev-lua/lua-resty-string/Manifest
 copy dev-lua/{lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild => lua-resty-string/lua-resty-string-0.16.ebuild} (50%)
 copy {app-pda/usbmuxd => dev-lua/lua-resty-string}/metadata.xml (75%)

diff --git a/dev-lua/lua-resty-string/Manifest b/dev-lua/lua-resty-string/Manifest
new file mode 100644
index 000000000000..dece9c7070ec
--- /dev/null
+++ b/dev-lua/lua-resty-string/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-string-0.16.tar.gz 13078 BLAKE2B 9c0903da36f6309fed47c9f184510c53877d35c86a8b6ba91e008c5010a8b65adec70b7e6911e51cae1121c5c2c64638b3c41117ae4b7949613766d5403fda31 SHA512 dff61ebfe42ea055c2d20ab8d54a53a88d67b40dfb87bb97aa91e857a8f95884c2444d50942a6b7e580f503cc98467799b421dc659dc5d1d41c64fb30d303746
diff --git a/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild b/dev-lua/lua-resty-string/lua-resty-string-0.16.ebuild
similarity index 50%
copy from dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
copy to dev-lua/lua-resty-string/lua-resty-string-0.16.ebuild
index f85dbf3f9a66..4640e515e1f2 100644
--- a/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
+++ b/dev-lua/lua-resty-string/lua-resty-string-0.16.ebuild
@@ -7,10 +7,10 @@ EAPI=8
 LUA_COMPAT=( luajit )
 inherit lua-single
 
-DESCRIPTION="Lua-land LRU Cache based on LuaJIT FFI"
-HOMEPAGE="https://github.com/openresty/lua-resty-lrucache"
+DESCRIPTION="String utilities and common hash functions for the ngx-lua-module NGINX module"
+HOMEPAGE="https://github.com/openresty/lua-resty-string"
 SRC_URI="
-	https://github.com/openresty/lua-resty-lrucache/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/openresty/lua-resty-string/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
 "
 
 LICENSE="BSD-2"
@@ -24,6 +24,11 @@ REQUIRED_USE="${LUA_REQUIRED_USE}"
 BDEPEND="virtual/pkgconfig"
 DEPEND="${LUA_DEPS}"
 RDEPEND="${DEPEND}"
+# www-nginx/ngx-lua-module[test] depends on dev-lua/lua-resty-mysql, which, in
+# turn, depends on dev-lua/lua-resty-string (this package). lua-resty-string
+# requires SSL support to function, so www-nginx/ngx-lua-module[ssl] is put into
+# PDEPEND to avoid circular dependencies.
+PDEPEND="www-nginx/ngx-lua-module[${LUA_SINGLE_USEDEP},ssl(-)]"
 
 src_configure() {
 	# The directory where to Lua files are to be installed, used by the build
diff --git a/app-pda/usbmuxd/metadata.xml b/dev-lua/lua-resty-string/metadata.xml
similarity index 75%
copy from app-pda/usbmuxd/metadata.xml
copy to dev-lua/lua-resty-string/metadata.xml
index d8e789b30263..a65b3294ea75 100644
--- a/app-pda/usbmuxd/metadata.xml
+++ b/dev-lua/lua-resty-string/metadata.xml
@@ -10,6 +10,7 @@
 		<name>Proxy Maintainers</name>
 	</maintainer>
 	<upstream>
-		<remote-id type="github">libimobiledevice/usbmuxd</remote-id>
+		<bugs-to>https://github.com/openresty/lua-resty-string/issues</bugs-to>
+		<remote-id type="github">openresty/lua-resty-string</remote-id>
 	</upstream>
 </pkgmetadata>
-- 
2.45.3