From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7CD4F158074 for ; Wed, 02 Jul 2025 22:37:04 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 484BC3428B6 for ; Wed, 02 Jul 2025 22:37:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A26931106E2; Wed, 02 Jul 2025 22:07:31 +0000 (UTC) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 CF1621106D1 for ; Wed, 02 Jul 2025 22:07:30 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-451d7b50815so38041425e9.2 for ; Wed, 02 Jul 2025 15:07:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751494049; x=1752098849; 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=jVsK3TQrtXxZA2TXobPghWt0mpF9rcyZfS8HvjdoYgc=; b=Gp6TIket++9io24KFuKzRN6mYKrnF4q/LxbhK/flfXaGT1mByWeOUh+npVAhnWxwni ij9AzGAT/eVdueUIvEndskCpV3chrst5snYal4mY6dCMcPhHaGMDipNaNVV0z2lAyNXa jdAA3hlbtN5BtQs8bP8dmhKAEkWQ34nwlLoKUlPnVeL3anjLWNljcpfbCANYEM/AcuFm zYhzFPIaRGDaQ/5Fp/0eVkSTHI8XCmw1HrX146EVztyQ+Mot6xxCXy285k+VRO+SPODu c6zi9cZAhgzog86Xhv6BH3/w9KRwinjfskNoRKi4tMIdqF47lrMYdwGSXo/iJeu5L866 zg0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751494049; x=1752098849; 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=jVsK3TQrtXxZA2TXobPghWt0mpF9rcyZfS8HvjdoYgc=; b=IuMykrQGW/mEeaws30RPA2ua1lgFyJy0Mj7To4oRP49EVB5XNLuaQHRhPiJCbc0h2J 0AowEES6vMwdGan/IIQa0iscu7EZjS5QNCSy5R3khaTo5DVCzlsYqE1F5hn8wOWKVt19 K2la4mMCUzBRrCvgp+GIoJvIqwHJlxK6oAnGNHJOmEncvkqHdKoDU/UTPc8qJCCCEi+Z mOKweqfXVKLVMPM2Jz4KwJvvE7JvsPDMykAGu1xZo5aukMweYqXvAN2JsFNOekyHBRWu v+c6RWqNpTxvg4ErrT/AxhhyRb+71zbkV+vwfcrEILkzpcYhn3MTweh1PbjxvrKPSwCN ovIQ== X-Gm-Message-State: AOJu0YyrjOcvIEBEtegeN1XcTuXXaR14Xx4JqlLCzGy2lcoLX2Ntxlwd 5ObIRQmOb66xvANq7/Hf4q9rXq15slYR/gp1oMIFv2+QsPWNkq09Mox9IKahLKwG X-Gm-Gg: ASbGncvhCJ+P2TszltXoeBp/GR2K4+hyVvOeNMr4RPh1aFvLxBKu8TNY2R42/+dlewS PbE42gutDhPU5ptqiUZ7me0w+iX0+jIVJBcZGZQjomcdNLrYx5zOxg+uDGYrck3Xue3U7LtSwul qs4Nelpi4l85igaanR45Sgg9jLzyGqMNekw7WX289phAVu/c1S7lT6sm3SFh9hJEn+TxMv9RPd8 1GtS5FNrfvU7+bjg3DIhzqSa8ZxaOpCA5qoPaANZQPr3HZIqmFJzUf10aNrNzRYIQqjaxYWwHjJ kxoEKDaLa2UfM1wWpah/p+c4oUPGcaIBal3ISDtSiDXXPTPvIxCWfQ/+45jHueqFbDao63LrcgQ en8E/ayk/yndHXm2UxjNYK53jeT+TwunwkYrNcpdhYfebOgsXM5uSU48d4h20spDfxAp57Gt9 X-Google-Smtp-Source: AGHT+IEGFcNtF1svBxG7DQSBqL+0srL2FZpLSdreQjBy8EmtVTy8hb0BlR1kCLfXK05UoNtJNNOOdw== X-Received: by 2002:a05:600c:3488:b0:43b:ce36:7574 with SMTP id 5b1f17b1804b1-454a9c70d55mr12365435e9.11.1751494048504; Wed, 02 Jul 2025 15:07:28 -0700 (PDT) Received: from gentoo-framework.fritz.box (p200300e3670fa900e88f375122fffbb3.dip0.t-ipconnect.de. [2003:e3:670f:a900:e88f:3751:22ff:fbb3]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-454a9989fcesm8921495e9.16.2025.07.02.15.07.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jul 2025 15:07:28 -0700 (PDT) From: Zurab Kvachadze To: gentoo-dev@lists.gentoo.org Cc: Zurab Kvachadze Subject: [gentoo-dev] [PATCH v4 31/44] dev-lua/lua-resty-mysql: new package, add 0.27 Date: Thu, 3 Jul 2025 00:06:51 +0200 Message-ID: <20250702220705.4649-32-zurabid2016@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250702220705.4649-1-zurabid2016@gmail.com> References: <20250702220705.4649-1-zurabid2016@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: 0f86f1ec-3f14-4943-bf03-55023298490a X-Archives-Hash: c65c580b23faece1c32e2ccf32baf78f lua-resty-mysql[1] is a "nonblocking Lua MySQL driver library for ngx_lua". [1]: https://github.com/openresty/lua-resty-mysql Signed-off-by: Zurab Kvachadze --- dev-lua/lua-resty-mysql/Manifest | 1 + .../lua-resty-mysql-0.27.ebuild} | 12 ++++++++---- .../metadata.xml | 9 ++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 dev-lua/lua-resty-mysql/Manifest copy dev-lua/{lua-resty-core/lua-resty-core-0.1.30.ebuild => lua-resty-mysql/lua-resty-mysql-0.27.ebuild} (61%) copy dev-lua/{lua-resty-lrucache => lua-resty-mysql}/metadata.xml (58%) diff --git a/dev-lua/lua-resty-mysql/Manifest b/dev-lua/lua-resty-mysql/Manifest new file mode 100644 index 000000000000..b4bb7a726d6c --- /dev/null +++ b/dev-lua/lua-resty-mysql/Manifest @@ -0,0 +1 @@ +DIST lua-resty-mysql-0.27.tar.gz 128105 BLAKE2B 32b012691dd6b8aa29bd663b16d51d775c85268abd2a6018be5d154e8af7b191f87d26e627208bf99ee64bd329e71feab17df2636d9e83b3454412ce916ef591 SHA512 5b3ee2ae61fc87af9253d23d79fdfeffa78e8167a72d37ec31a27686b353ec8b5a3863ba8281f69f26acfcdb984eaa759646c235a3278476db2059970f613f03 diff --git a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild similarity index 61% copy from dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild copy to dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild index eb4de4b5c50e..08350757ce10 100644 --- a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild +++ b/dev-lua/lua-resty-mysql/lua-resty-mysql-0.27.ebuild @@ -7,10 +7,10 @@ EAPI=8 LUA_COMPAT=( luajit ) inherit lua-single -DESCRIPTION="FFI-based API for lua-nginx-module" -HOMEPAGE="https://github.com/openresty/lua-resty-core" +DESCRIPTION="Nonblocking Lua MySQL driver library for the ngx-lua-module NGINX module" +HOMEPAGE="https://github.com/openresty/lua-resty-mysql" SRC_URI=" - https://github.com/openresty/lua-resty-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/openresty/lua-resty-mysql/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz " LICENSE="BSD-2" @@ -23,7 +23,11 @@ REQUIRED_USE="${LUA_REQUIRED_USE}" BDEPEND="virtual/pkgconfig" DEPEND="${LUA_DEPS}" -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} + dev-lua/lua-resty-string[${LUA_SINGLE_USEDEP}] + $(lua_gen_cond_dep 'dev-lua/LuaBitOp[${LUA_USEDEP}]') +" src_configure() { # The directory where to Lua files are to be installed, used by the build diff --git a/dev-lua/lua-resty-lrucache/metadata.xml b/dev-lua/lua-resty-mysql/metadata.xml similarity index 58% copy from dev-lua/lua-resty-lrucache/metadata.xml copy to dev-lua/lua-resty-mysql/metadata.xml index 81d1558075b9..d53c791c23b0 100644 --- a/dev-lua/lua-resty-lrucache/metadata.xml +++ b/dev-lua/lua-resty-mysql/metadata.xml @@ -10,10 +10,13 @@ Proxy Maintainers - This library implements a simple LRU cache for OpenResty and the ngx_lua module. + This Lua library is a MySQL client driver for the ngx-lua-module NGINX module. + + lua-resty-mysql takes advantage of ngx-lua-module's cosocket API, which ensures 100% + nonblocking behavior. - https://github.com/openresty/lua-resty-lrucache/issues - openresty/lua-resty-lrucache + https://github.com/openresty/lua-resty-mysql/issues + openresty/lua-resty-mysql -- 2.49.0