summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-20 14:54:46 -0500
commit1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0 (patch)
tree18e2e784f9fb0dbc3546537acc42ad51b366d90e /dev-lua
parent9f6a581d94412ab1cf4b35c33101f6be0ddc7777 (diff)
downloadbaldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.gz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.xz
baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.zip
Adding metadata
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luarocks/Manifest3
-rw-r--r--dev-lua/luarocks/luarocks-3.12.2.ebuild85
-rw-r--r--dev-lua/luarocks/luarocks-3.13.0.ebuild19
-rw-r--r--dev-lua/luarocks/metadata.xml12
-rw-r--r--dev-lua/luasec/Manifest1
-rw-r--r--dev-lua/luasec/luasec-1.3.1.ebuild87
-rw-r--r--dev-lua/luasec/luasec-1.3.2.ebuild24
-rw-r--r--dev-lua/luasec/metadata.xml8
8 files changed, 28 insertions, 211 deletions
diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index b714bef86dcd..47b9738047e5 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,2 +1 @@
-DIST luarocks-3.12.2.tar.gz 5493865 BLAKE2B 3f346d76523161b58a4b693943dd5d04531ff22dc65ce3bc0e086fe9cbb40e2db7fb5d39a204bf364460b425ba7f032e57367cab9414c716ed7e19ba075dd317 SHA512 1eaa3f47b3615346be516d25134450e27339fce1d2b8bb5d57fd243e2dabbc448e8b287a7d8686ed6388d0d29c8301c292603f811b642cfbc222c248742a861a
-DIST luarocks-3.13.0.tar.gz 5495339 BLAKE2B 5b6341b3c654e987481d2ce66893c5c5880927cb535ee7ed9d76c16162835feb21ab581a54cc06ee6eff39a2bb41c9fc3a817e642ec6b2360b49b014ca042d60 SHA512 5fc75a3310821ed0ea678683cf904c83c18588b4946ae1f92822225ba23daa39e6d12916585cf1ae034ec678f1c3744b760f1378640187372767527df2e7de01
+DIST luarocks-3.13.0.tar.gz 441909 BLAKE2B 204e7898381d5cc46608b4611270730f14004e283aadb749f439b22111ecd6e0b6287b75f296703a3e9029f934b135bbc74d2b209177dd84382d9f9ad735f5c2 SHA512 44381bb7fd3d474f92b0d2d0bf492246907f88ac6d5bdbb30b889222d755681777042195cfbfa136c068e05db78896760d5aea28c2f60a46d2f30c4c28ba704b
diff --git a/dev-lua/luarocks/luarocks-3.12.2.ebuild b/dev-lua/luarocks/luarocks-3.12.2.ebuild
deleted file mode 100644
index 511536d23239..000000000000
--- a/dev-lua/luarocks/luarocks-3.12.2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 2021-2025 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-
-inherit lua-single
-
-DESCRIPTION="A package manager for the Lua programming language"
-HOMEPAGE="https://luarocks.org"
-SRC_URI="https://github.com/luarocks/luarocks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
-IUSE=" test"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="test"
-
-RDEPEND="${LUA_DEPS}"
-
-DEPEND="
- net-misc/curl
-
- dev-libs/openssl:0
- ${RDEPEND}
-"
-
-BDEPEND="
- virtual/pkgconfig
- test? (
- $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]')
- $(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]')
- ${RDEPEND}
- )
-"
-
-src_prepare() {
- default
-
- # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists,
- # as no compiled modules are installed on a new, fresh installation,
- # so this check must be disabled, otherwise 'configure' will fail.
- sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die
-}
-
-src_configure() {
- local myeconfargs=(
- "--prefix=${EPREFIX}/usr"
- "--rocks-tree=$(lua_get_lmod_dir)"
- "--with-lua-include=$(lua_get_include_dir)"
- "--with-lua-interpreter=${ELUA}"
- )
-
- # Since the configure script is handcrafted,
- # and yells at unknown options, do not use 'econf'.
- ./configure "${myeconfargs[@]}" || die
-}
-
-src_test() {
- busted --lua=${ELUA} || die
-}
-
-src_install() {
- default
-
- { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die
-}
-
-pkg_postinst() {
- local lua_abi_ver
- if use lua_single_target_luajit; then
- lua_abi_ver="5.1"
- else
- lua_abi_ver=${ELUA#lua}
- fi
- elog
- elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})"
- elog "you can use the command-line option --lua-version, e.g."
- elog
- elog " luarocks --lua-version 5.3 install luasocket"
- elog
- elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system."
- elog
-}
diff --git a/dev-lua/luarocks/luarocks-3.13.0.ebuild b/dev-lua/luarocks/luarocks-3.13.0.ebuild
index 511536d23239..89ce3b03f8e2 100644
--- a/dev-lua/luarocks/luarocks-3.13.0.ebuild
+++ b/dev-lua/luarocks/luarocks-3.13.0.ebuild
@@ -1,5 +1,6 @@
-# Copyright 2021-2025 Liguros Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
LUA_COMPAT=( lua5-{1,3,4} luajit )
@@ -8,20 +9,21 @@ inherit lua-single
DESCRIPTION="A package manager for the Lua programming language"
HOMEPAGE="https://luarocks.org"
-SRC_URI="https://github.com/luarocks/luarocks/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://luarocks.org/releases/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86"
-IUSE=" test"
+KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="test"
-RDEPEND="${LUA_DEPS}"
+RDEPEND="${LUA_DEPS}
+ $(lua_gen_cond_dep 'dev-lua/compat53[${LUA_USEDEP}]' lua5-1 luajit)
+"
DEPEND="
net-misc/curl
-
dev-libs/openssl:0
${RDEPEND}
"
@@ -42,14 +44,17 @@ src_prepare() {
# as no compiled modules are installed on a new, fresh installation,
# so this check must be disabled, otherwise 'configure' will fail.
sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die
+
+ # unbundle lua-compat53 #961755
+ rm -r src/compat53/*.lua || die
}
src_configure() {
local myeconfargs=(
"--prefix=${EPREFIX}/usr"
- "--rocks-tree=$(lua_get_lmod_dir)"
"--with-lua-include=$(lua_get_include_dir)"
"--with-lua-interpreter=${ELUA}"
+ "--with-lua-lib=$(lua_get_cmod_dir)"
)
# Since the configure script is handcrafted,
diff --git a/dev-lua/luarocks/metadata.xml b/dev-lua/luarocks/metadata.xml
index 591aa284a64b..f754a2408ca7 100644
--- a/dev-lua/luarocks/metadata.xml
+++ b/dev-lua/luarocks/metadata.xml
@@ -1,22 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
<maintainer type="person">
<email>conikost@gentoo.org</email>
<name>Conrad Kostecki</name>
</maintainer>
- <maintainer type="person">
- <email>vpayno+gentoo@gmail.com</email>
- <name>Victor Payno</name>
- </maintainer>
- <maintainer type="person">
- <email>gyakovlev@gentoo.org</email>
- <name>Georgy Yakovlev</name>
- </maintainer>
<longdescription lang="en">
Package manager for Lua.
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest
index 883b5184a40e..beb004f213cc 100644
--- a/dev-lua/luasec/Manifest
+++ b/dev-lua/luasec/Manifest
@@ -1,2 +1 @@
-DIST luasec-1.3.1.tar.gz 54807 BLAKE2B e09d340b8bc391830d671dd5cbec76bd5190bebdd2e534800bea8efd19749a4379e2681bb7a6e6551da49109345f0b846904c222c0ecada6135d775e2060bfc7 SHA512 cfa4187518445abc6591bd0c24924122b62252be25ffd5564cf291f9a2ae3702a5fa299ffd265d2e0e8315b90d6783eccace4ff560f54f299161d3c5e3749508
DIST luasec-1.3.2.tar.gz 54925 BLAKE2B d86a241c22083dc0ed201d83392e694fbefed207feafd758d7ba1235ea209b4dc66301abca4bd113f7074c88d5193fd9a28cbcbba4bed2f96fa669d799e1a38f SHA512 8f0c4b5ff87c024685b23770e1d342467554b8dc19a1704076e184d9e84b966f171091c31d1da135ab009e850275adc2bf2720fc9f32c83ac23f0a42f13d311f
diff --git a/dev-lua/luasec/luasec-1.3.1.ebuild b/dev-lua/luasec/luasec-1.3.1.ebuild
deleted file mode 100644
index b5cfba42adf1..000000000000
--- a/dev-lua/luasec/luasec-1.3.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2021-2023 Liguros Authors
-# Distributed under the terms of the GNU General Public License v2
-EAPI=8
-
-LUA_COMPAT=( lua5-{1,3,4} luajit )
-LUA_REQ_USE="deprecated(+)"
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication"
-HOMEPAGE="https://github.com/brunoos/luasec"
-SRC_URI="https://github.com/brunoos/luasec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE=""
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="
- dev-lua/luasocket[${LUA_USEDEP}]
-
- dev-libs/openssl:0=
- ${LUA_DEPS}
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-lua_src_prepare() {
- pushd "${BUILD_DIR}" || die
-
- ${ELUA} src/options.lua -g /usr/include/openssl/ssl.h > src/options.c || die
-
- popd
-}
-
-src_prepare() {
- default
-
- # Respect users CFLAGS
- sed -e 's/-O2//g' -i src/Makefile || die
-
- lua_copy_sources
-
- lua_foreach_impl lua_src_prepare
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LD=$(tc-getCC)"
- "INC_PATH=-I$(lua_get_include_dir)"
- "LIB_PATH=$(lua_get_CFLAGS)"
- "MYCFLAGS=${CFLAGS}"
- "MYLDFLAGS=${LDFLAGS}"
- )
-
- emake "${myemakeargs[@]}" linux
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local emakeargs=(
- "DESTDIR=${ED}"
- "LUAPATH=$(lua_get_lmod_dir)"
- "LUACPATH=$(lua_get_cmod_dir)"
- )
-
- emake "${emakeargs[@]}" install
-
- popd
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}
diff --git a/dev-lua/luasec/luasec-1.3.2.ebuild b/dev-lua/luasec/luasec-1.3.2.ebuild
index b5cfba42adf1..941fa4a353f9 100644
--- a/dev-lua/luasec/luasec-1.3.2.ebuild
+++ b/dev-lua/luasec/luasec-1.3.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021-2023 Liguros Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+
EAPI=8
LUA_COMPAT=( lua5-{1,3,4} luajit )
-LUA_REQ_USE="deprecated(+)"
inherit lua toolchain-funcs
@@ -13,13 +13,10 @@ SRC_URI="https://github.com/brunoos/luasec/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE=""
-REQUIRED_USE="${LUA_REQUIRED_USE}"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86"
RDEPEND="
- dev-lua/luasocket[${LUA_USEDEP}]
-
+ >=dev-lua/luasocket-3.0_rc1_p20200328-r103[${LUA_USEDEP}]
dev-libs/openssl:0=
${LUA_DEPS}
"
@@ -40,6 +37,9 @@ src_prepare() {
# Respect users CFLAGS
sed -e 's/-O2//g' -i src/Makefile || die
+ # Allow to redefine libraries linking
+ sed -e 's/LIBS=/LIBS?=/g' -i src/Makefile || die
+
lua_copy_sources
lua_foreach_impl lua_src_prepare
@@ -50,11 +50,13 @@ lua_src_compile() {
local myemakeargs=(
"CC=$(tc-getCC)"
- "LD=$(tc-getCC)"
+ "CCLD=$(tc-getCC)"
"INC_PATH=-I$(lua_get_include_dir)"
- "LIB_PATH=$(lua_get_CFLAGS)"
- "MYCFLAGS=${CFLAGS}"
- "MYLDFLAGS=${LDFLAGS}"
+ "LIB_PATH=-L$(lua_get_cmod_dir)/socket"
+ "LIBS=$($(tc-getPKG_CONFIG) --libs openssl) $(lua_get_cmod_dir)/socket/core.so"
+ "MYLDFLAGS=-Wl,-rpath,$(lua_get_cmod_dir)/socket -Wl,-soname=socket/core.so"
+ "EXTRA="
+ "DEFS="
)
emake "${myemakeargs[@]}" linux
diff --git a/dev-lua/luasec/metadata.xml b/dev-lua/luasec/metadata.xml
index 1614c1ad8c2b..42fa9433bdc6 100644
--- a/dev-lua/luasec/metadata.xml
+++ b/dev-lua/luasec/metadata.xml
@@ -1,15 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>dev@liguros.net</email>
- <name>Development</name>
- </maintainer>
- <maintainer type="person">
+ <maintainer type="person" proxied="yes">
<email>azamat.hackimov@gmail.com</email>
<name>Azamat H. Hackimov</name>
</maintainer>
- <maintainer type="project">
+ <maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>