summaryrefslogtreecommitdiff
path: root/dev-lua/lua-resty-http
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-16 10:59:35 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-16 10:59:35 -0500
commita46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af (patch)
tree98303deb2a205a7f39cffa3a960c1762559c7a7d /dev-lua/lua-resty-http
parent8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (diff)
downloadbaldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.gz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.xz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.zip
Adding metadata
Diffstat (limited to 'dev-lua/lua-resty-http')
-rw-r--r--dev-lua/lua-resty-http/Manifest3
-rw-r--r--dev-lua/lua-resty-http/lua-resty-http-0.17.2.ebuild41
-rw-r--r--dev-lua/lua-resty-http/metadata.xml12
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-lua/lua-resty-http/Manifest b/dev-lua/lua-resty-http/Manifest
new file mode 100644
index 000000000000..1bfc1f8ca410
--- /dev/null
+++ b/dev-lua/lua-resty-http/Manifest
@@ -0,0 +1,3 @@
+DIST lua-resty-http-0.17.2.tar.gz 46349 BLAKE2B 8d4da9e7e92ae5dc565beb6c096ee203f7810982247a315b05839506e38bf0d9b0e7f06834d0e79f66ec6bff15e565b5cf7fcf020d0d7e16baef01092e8db262 SHA512 5e9aea2bad4a8c9002328d91ee06fe78fad98459a70cabb0ad070649a0a9926a5eca7528d318a2f8b629519e20057738952c0a27f737cd1dd0318524d5692bf3
+EBUILD lua-resty-http-0.17.2.ebuild 1087 BLAKE2B 50cba651c0ec047ab0559507725be7d129fb924598393bafe37e847ca65997a34d94e3fb7a28f6ee4b5915506e36252bbc1018199ea6c98b620d1110f51e3a0c SHA512 45032998e4d44d8d3b2ac9c10c1620518c0d01a7534fddcce860c0a7169dc5f5e5efdfe158d237fc13980f0f5e098eab00494111d178a9ae3f4f11a2e8c6d0c9
+MISC metadata.xml 417 BLAKE2B fb887a47412e0b4373b2f12c2c8469b22f36e334f7005d34caee34333cdec8196881a0de0859cb4264fa0330ddf0dfe227f29ae3d67f5e72a1b525029f393b9b SHA512 16cc5cdbd4d7338ad8aed29f5ce9f076da8d11753affafc028b3f5bd641f16d182f00b3b917b02492562f8898aab2aafb31c0ba98d3c6ae4c3de879643081164
diff --git a/dev-lua/lua-resty-http/lua-resty-http-0.17.2.ebuild b/dev-lua/lua-resty-http/lua-resty-http-0.17.2.ebuild
new file mode 100644
index 000000000000..c9682d6c8248
--- /dev/null
+++ b/dev-lua/lua-resty-http/lua-resty-http-0.17.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Openresty only ever supports luajit.
+LUA_COMPAT=( lua5-{1,3,4} luajit )
+inherit lua-single
+
+DESCRIPTION="Lua HTTP client cosocket driver for OpenResty / ngx_lua"
+HOMEPAGE="https://github.com/ledgetech/lua-resty-http"
+if [[ "${PV}" =~ 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ledgetech/lua-resty-http"
+else
+ SRC_URI="https://github.com/ledgetech/lua-resty-http/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="BSD-2"
+SLOT="0"
+# Tests require replicating much of nginx-module_src_test() in each
+# dev-lua/lua-resty-* ebuild.
+RESTRICT="test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="${LUA_DEPS}"
+RDEPEND="
+ ${DEPEND}
+ dev-lua/lua-resty-string[${LUA_SINGLE_USEDEP}]
+ $(lua_gen_cond_dep 'dev-lua/lua-resty-openssl[${LUA_USEDEP}]')
+"
+
+src_configure() {
+ # The directory where to Lua files are to be installed, used by the build
+ # system.
+ export LUA_LIB_DIR="$(lua_get_lmod_dir)"
+ default
+}
diff --git a/dev-lua/lua-resty-http/metadata.xml b/dev-lua/lua-resty-http/metadata.xml
new file mode 100644
index 000000000000..566ca7157a71
--- /dev/null
+++ b/dev-lua/lua-resty-http/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/ledgetech/lua-resty-http/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>