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 <zurabid2...@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