From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luasec/
Date: Fri, 26 Mar 2021 00:55:27 +0000 (UTC) [thread overview]
Message-ID: <1616720038.539f3039f11d16a40e257de01f6598c710acdc37.conikost@gentoo> (raw)
commit: 539f3039f11d16a40e257de01f6598c710acdc37
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 25 23:03:57 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 00:53:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539f3039
dev-lua/luasec: Version updated to 1.0.
Closes: https://github.com/gentoo/gentoo/pull/20120
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-lua/luasec/Manifest | 1 +
dev-lua/luasec/luasec-1.0.ebuild | 88 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 89 insertions(+)
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest
index 1dd0459e7a4..51d1ace428f 100644
--- a/dev-lua/luasec/Manifest
+++ b/dev-lua/luasec/Manifest
@@ -1 +1,2 @@
DIST luasec-0.9.tar.gz 52163 BLAKE2B fa95ae63b36f138f923dc412f527ff527e4f7562ad177ca7f450ef889e75c204d1bfec3773523fb68865c3846a0edc583cbf903db5233ff080074147f33bfb30 SHA512 ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933
+DIST luasec-1.0.tar.gz 52264 BLAKE2B 0537592ec9a33559c233448bee84a5b1b4e84448e89d50adbef75ba9b67c175e8a10739d727991051e48afca9bf78b0b115f70b2a341d25217b5b730a66a690f SHA512 70e81291b71111fb4976477d1c8ddbdaace17f017476b4e74b0ed88498e9e016d4ece1658f7fcce30f21aecab8dcf3734ce620940f61f2c70efb911c09a95bb9
diff --git a/dev-lua/luasec/luasec-1.0.ebuild b/dev-lua/luasec/luasec-1.0.ebuild
new file mode 100644
index 00000000000..5e9cb6e51a1
--- /dev/null
+++ b/dev-lua/luasec/luasec-1.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-{1..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="libressl"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+ dev-lua/luasocket[${LUA_USEDEP}]
+ libressl? ( dev-libs/libressl:= )
+ !libressl? ( 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
+}
next reply other threads:[~2021-03-26 0:55 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-26 0:55 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-22 20:01 [gentoo-commits] repo/gentoo:master commit in: dev-lua/luasec/ Conrad Kostecki
2023-09-02 19:52 Conrad Kostecki
2023-04-20 5:01 Sam James
2023-04-20 4:38 Arthur Zamarin
2023-04-20 4:38 Arthur Zamarin
2023-04-20 4:17 Sam James
2023-04-20 4:14 Arthur Zamarin
2023-04-20 4:02 Sam James
2023-03-19 22:12 Conrad Kostecki
2023-03-19 22:12 Conrad Kostecki
2023-03-14 20:22 Conrad Kostecki
2022-08-31 19:39 Conrad Kostecki
2022-08-31 18:13 Sam James
2022-08-31 6:38 Arthur Zamarin
2022-08-31 6:27 Jakov Smolić
2022-08-31 2:49 Sam James
2022-08-30 23:58 Sam James
2022-08-30 23:58 Sam James
2022-07-31 13:56 Conrad Kostecki
2022-05-15 14:27 Conrad Kostecki
2022-05-15 11:16 Jakov Smolić
2022-05-15 9:05 Jakov Smolić
2022-05-15 8:52 Jakov Smolić
2022-05-15 8:21 Jakov Smolić
2022-05-15 8:19 Jakov Smolić
2022-04-14 20:49 Conrad Kostecki
2021-11-21 16:47 Conrad Kostecki
2021-11-20 7:26 Agostino Sarubbo
2021-11-19 19:24 Arthur Zamarin
2021-11-19 18:10 Jakov Smolić
2021-11-19 11:39 Arthur Zamarin
2021-11-19 7:24 Arthur Zamarin
2021-11-19 7:24 Arthur Zamarin
2021-10-19 19:56 Conrad Kostecki
2021-10-02 16:32 Conrad Kostecki
2021-10-02 15:43 Sam James
2021-09-21 16:35 Sam James
2021-09-20 4:02 Sam James
2021-09-19 6:39 Agostino Sarubbo
2021-09-19 3:35 Sam James
2021-09-18 21:45 Sam James
2021-06-04 18:35 Conrad Kostecki
2021-06-04 18:21 Sam James
2021-06-03 19:58 Sam James
2021-06-02 1:13 Sam James
2021-06-01 20:18 Sam James
2021-06-01 20:18 Sam James
2021-04-30 17:42 Mikle Kolyada
2021-04-26 21:46 Conrad Kostecki
2021-04-26 21:46 Conrad Kostecki
2021-04-26 10:38 Sam James
2021-04-26 10:34 Sam James
2021-04-25 15:52 Sam James
2021-04-25 15:21 Sam James
2021-04-25 15:21 Sam James
2021-04-25 12:32 Sam James
2021-04-21 20:29 Conrad Kostecki
2021-04-20 21:20 Sergei Trofimovich
2021-04-19 18:32 Sergei Trofimovich
2021-02-21 21:22 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-27 19:48 Conrad Kostecki
2021-01-23 22:51 Sam James
2020-12-14 17:59 Conrad Kostecki
2020-11-30 13:33 Conrad Kostecki
2020-11-29 15:37 Conrad Kostecki
2020-11-29 15:37 Conrad Kostecki
2020-11-28 17:45 Conrad Kostecki
2020-11-28 17:45 Conrad Kostecki
2020-10-17 23:49 Sam James
2020-10-14 21:24 Conrad Kostecki
2020-10-12 10:21 Agostino Sarubbo
2020-10-12 7:02 Agostino Sarubbo
2020-10-12 6:57 Agostino Sarubbo
2020-10-11 23:54 Conrad Kostecki
2020-10-11 23:27 Conrad Kostecki
2020-07-09 7:54 Joonas Niilola
2020-07-09 7:54 Joonas Niilola
2020-07-09 7:54 Joonas Niilola
2020-01-09 18:41 Rafael Martins
2019-05-19 20:57 Mikle Kolyada
2019-05-19 20:51 Mikle Kolyada
2019-05-16 23:56 Thomas Deutschmann
2018-11-02 20:47 Craig Andrews
2016-11-06 15:18 Rafael Martins
2016-03-02 14:42 Jason Donenfeld
2015-12-03 13:28 Agostino Sarubbo
2015-11-24 20:36 Markus Meier
2015-11-23 8:50 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1616720038.539f3039f11d16a40e257de01f6598c710acdc37.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox