summaryrefslogtreecommitdiff
path: root/dev-lua
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
parent8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (diff)
downloadbaldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.gz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.tar.xz
baldeagleos-repo-a46f0ec88e6c7ea84ed2f67a40bbf89ef44bc6af.zip
Adding metadata
Diffstat (limited to 'dev-lua')
-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
-rw-r--r--dev-lua/lua-resty-openssl/Manifest3
-rw-r--r--dev-lua/lua-resty-openssl/lua-resty-openssl-1.6.4.ebuild47
-rw-r--r--dev-lua/lua-resty-openssl/metadata.xml12
6 files changed, 118 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>
diff --git a/dev-lua/lua-resty-openssl/Manifest b/dev-lua/lua-resty-openssl/Manifest
new file mode 100644
index 000000000000..b7c2834ad35d
--- /dev/null
+++ b/dev-lua/lua-resty-openssl/Manifest
@@ -0,0 +1,3 @@
+DIST lua-resty-openssl-1.6.4.tar.gz 211881 BLAKE2B d77ad89459d34aa500e8f1252fc54b504adb1769b342e953f034a491d1df12effd35b99d28690e3520ff6c31d3ba1b52a5374033f164410a9494e2eda62b6e09 SHA512 4fc706bbd5d55766e3f11873b8c84a15e35379564763c0cb7f884ba2d6373503d2266fe003c5d9391faff3e6de7b8ba58cccc9712be4efbac3c1c8da84ce8c1b
+EBUILD lua-resty-openssl-1.6.4.ebuild 1049 BLAKE2B 22203522924e06c14de5b4d156f32146c360cd66f2f5935d543a4e1a06825223cf1d10326aab83ae96078d071bf0925f3a3259090e22d1c3503a2c53aa20d401 SHA512 93d43c9482075148774f394b2fbe932dd95d0efb572b1a9affec73c8c9530ecd23b6288b5e8621148448ca0b7368fd604dc2f59aafbbb578874e3fae68270726
+MISC metadata.xml 421 BLAKE2B 0e5421a0575addaf264d39214cd2e4a08589c3e42fe38ffd5a215bb6a131ddbe1cac23fc0a7aa3f7afe4bb888f67bf9da9273d1281a88141f4067255b63920d0 SHA512 166e07065a144c37ed8649b17e4e10ba9e01ba78b92a4b58b1b873c4a9dad2f613f27d16ec08e74c56c09028078265c629fc50b70184ef7ac5bd62cc8d04e904
diff --git a/dev-lua/lua-resty-openssl/lua-resty-openssl-1.6.4.ebuild b/dev-lua/lua-resty-openssl/lua-resty-openssl-1.6.4.ebuild
new file mode 100644
index 000000000000..e11b81ce8a30
--- /dev/null
+++ b/dev-lua/lua-resty-openssl/lua-resty-openssl-1.6.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1,3,4} luajit )
+
+inherit lua
+
+DESCRIPTION="FFI-based OpenSSL binding for OpenResty"
+HOMEPAGE="https://github.com/fffonion/lua-resty-openssl"
+if [[ "${PV}" =~ 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/fffonion/lua-resty-openssl"
+else
+ SRC_URI="https://github.com/fffonion/lua-resty-openssl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+IUSE="+lua_targets_luajit"
+
+RDEPEND="
+ ${LUA_DEPS}
+ dev-libs/openssl:0
+ dev-lua/basexx[${LUA_USEDEP}]
+ dev-lua/lua-cjson[${LUA_USEDEP}]
+ www-nginx/ngx-lua-module[lua_single_target_luajit]
+ >=www-servers/nginx-1.28.0-r2[nginx_modules_http_ssl]
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_compile() { :; }
+
+each_lua_install() {
+ insinto "$(lua_get_lmod_dir)"
+ doins -r lib/resty
+}
+
+src_install() {
+ lua_foreach_impl each_lua_install
+ einstalldocs
+}
diff --git a/dev-lua/lua-resty-openssl/metadata.xml b/dev-lua/lua-resty-openssl/metadata.xml
new file mode 100644
index 000000000000..475158c62802
--- /dev/null
+++ b/dev-lua/lua-resty-openssl/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/fffonion/lua-resty-openssl/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>