logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 218438b6025cb786ccd7d24f66c447b69a06259b
parent 0d45136aee6851fc9b0f9c0c709a2ea5dc46cbe7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 21 Dec 2020 21:58:31 +0100

dev-lua/*: Cleanup, use the ones in gentoo repo

Diffstat:

Ddev-lua/luaevent/Manifest1-
Ddev-lua/luaevent/luaevent-0.4.6.ebuild31-------------------------------
Ddev-lua/luaevent/metadata.xml11-----------
Ddev-lua/luarocks/Manifest1-
Ddev-lua/luarocks/luarocks-2.4.4.ebuild77-----------------------------------------------------------------------------
Ddev-lua/luarocks/metadata.xml11-----------
Ddev-lua/luasec/Manifest1-
Ddev-lua/luasec/luasec-0.7.ebuild56--------------------------------------------------------
Ddev-lua/luasec/metadata.xml8--------
9 files changed, 0 insertions(+), 197 deletions(-)

diff --git a/dev-lua/luaevent/Manifest b/dev-lua/luaevent/Manifest @@ -1 +0,0 @@ -DIST luaevent-0.4.6.tar.gz 22599 BLAKE2B 2f70ef105ce43d6b48e69bcc896e20a64ca49e124ad979f5191606d10bb61de1664782016b55cc9f2bc32a704d8f0b4d664eebd8176905f72f9a4e3d1e8b0fdd SHA512 21e222d5bba75fd2e623a8abf20fc3cd38505bf7d3fe94d8781ed626556c398a8501775eb423f0567918cc75f2d846026d4aa559ac5129eca8261f0c73427913 diff --git a/dev-lua/luaevent/luaevent-0.4.6.ebuild b/dev-lua/luaevent/luaevent-0.4.6.ebuild @@ -1,31 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit lua - -DESCRIPTION="libevent bindings for Lua" -HOMEPAGE="http://luaforge.net/projects/luaevent/" -SRC_URI="https://github.com/harningt/luaevent/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -RDEPEND=" - dev-libs/libevent:0= -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -DOCS=(README) - -each_lua_install() { - dolua lua/* - _dolua_insdir="${PN}" \ - dolua core.so -} diff --git a/dev-lua/luaevent/metadata.xml b/dev-lua/luaevent/metadata.xml @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <upstream> - <remote-id type="github">harningt/luaevent</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest @@ -1 +0,0 @@ -DIST luarocks-2.4.4.tar.gz 140452 BLAKE2B 34564294942d2127b96825d9d788cbfa116fda4560da48970036c911bcda3f431f62a4615adf06a82ce3419a774adfe33b6cbac05fd6b5463b5c4d914fd4d952 SHA512 cbc6a54aa5077e656dcb4fed915fe8b66cad4ad04f28700e2f67805232a6dc366d4ac03e3a85e27a45b178c362ae8aa905ceab5553252735e049730a28450e19 diff --git a/dev-lua/luarocks/luarocks-2.4.4.ebuild b/dev-lua/luarocks/luarocks-2.4.4.ebuild @@ -1,77 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit lua - -DESCRIPTION="A deployment and management system for Lua modules" -HOMEPAGE="https://www.luarocks.org" -SRC_URI="https://luarocks.org/releases/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="curl openssl libressl" - -DEPEND=" - curl? ( net-misc/curl ) - !curl? ( net-misc/wget ) - openssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:= ) - ) - !openssl? ( sys-apps/coreutils ) -" -RDEPEND=" - ${DEPEND} - app-arch/unzip -" - -all_lua_prepare() { - # Don't die on gentoo's econf calls! - sed -r \ - -e "/die.*Unknown flag:/d" \ - -i configure - lua_default -} - -each_lua_configure() { - local md5 downloader lua incdir - md5="md5sum" - downloader="wget" - lua="$(lua_get_lua)" - incdir=$(lua_get_pkgvar includedir) - - use curl && downloader="curl" - use openssl && md5="openssl" - - myeconfargs=() - myeconfargs+=( - --prefix=/usr - --with-lua=/usr - --with-lua-lib="/usr/$(get_libdir)" - --rocks-tree=/usr - --with-downloader="${downloader}" - --with-md5-checker="${md5}" - --lua-suffix="${lua//lua}" - --lua-version="$(lua_get_abi)" - --with-lua-include="${incdir}" - --sysconfdir=/etc/${PN} - ) - lua_default -} - -each_lua_compile() { - lua_default build -} - -pkg_preinst() { - local abi="$(lua_get_abi)" - find "${D}" -type f | xargs sed -e "s:${D}::g" -i || die "sed failed" - for l in luarocks{,-admin}; do - rm "${D}/usr/bin/${l}" - dosym "${l}-${abi}" "/usr/bin/${l}" - done -} diff --git a/dev-lua/luarocks/metadata.xml b/dev-lua/luarocks/metadata.xml @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <use> - <flag name='openssl'></flag> - </use> -</pkgmetadata> diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest @@ -1 +0,0 @@ -DIST luasec-0.7.tar.gz 47965 BLAKE2B 5bd19cfb5c2529a6fbee221442730c87394f1bf3d5089dd83d18e91ef1a2b88cde19c59988e438eb37e50c02c40a8906ad11ce9b3247b03ea11ed6d9e890b7d6 SHA512 6adf5241aa5a0d92c9dd7fc7f7e426969475548f47979ccc28187471b3bad4132c215de6da1f471d21b05c6558d36309264512c9c4ac70a53d6f6e204cac1358 diff --git a/dev-lua/luasec/luasec-0.7.ebuild b/dev-lua/luasec/luasec-0.7.ebuild @@ -1,56 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -IS_MULTILIB=true - -inherit lua - -DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication." -HOMEPAGE="http://www.inf.puc-rio.br/~brunoos/luasec/" -SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz" -LUA_S="${PN}-${P}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="examples libressl" - -RDEPEND=" - dev-lua/luasocket - !libressl? ( dev-libs/openssl:= ) - libressl? ( dev-libs/libressl:= ) -" -DEPEND=" - ${RDEPEND} -" - -all_lua_prepare() { - sed -i -r \ - -e 's#(MAKE\)).*(install)#\1 \2#' \ - -e '/LIB_PATH.*-L.usr.lib/d' \ - Makefile - - pushd src &>/dev/null - lua_default - popd &>/dev/null -} - -each_lua_configure() { - pushd src &>/dev/null - myeconfargs=() - myeconfargs+=( - LD='$(CC)' - LUAPATH="$(lua_get_pkgvar INSTALL_LMOD)" - LUACPATH="$(lua_get_pkgvar INSTALL_CMOD)" - ) - - lua_default - popd &>/dev/null -} - -each_lua_compile() { - lua_default linux -} diff --git a/dev-lua/luasec/metadata.xml b/dev-lua/luasec/metadata.xml @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> -</maintainer> -</pkgmetadata>