From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1185715-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6802138359 for <garchives@archives.gentoo.org>; Thu, 9 Jul 2020 07:54:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E19BAE0826; Thu, 9 Jul 2020 07:54:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7E1DE0824 for <gentoo-commits@lists.gentoo.org>; Thu, 9 Jul 2020 07:54:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0BCAB34F578 for <gentoo-commits@lists.gentoo.org>; Thu, 9 Jul 2020 07:54:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 493832D7 for <gentoo-commits@lists.gentoo.org>; Thu, 9 Jul 2020 07:54:43 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1594281267.d4aa9822262df87c3e40230bee75255250d1981d.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luasec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luasec/Manifest dev-lua/luasec/luasec-0.9.ebuild X-VCS-Directories: dev-lua/luasec/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: d4aa9822262df87c3e40230bee75255250d1981d X-VCS-Branch: master Date: Thu, 9 Jul 2020 07:54:43 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 699af09b-8ad2-4e0d-ac3d-de19eb0062cd X-Archives-Hash: c8a6de631784907d33bf4fca785fe4fc commit: d4aa9822262df87c3e40230bee75255250d1981d Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Tue Jul 7 08:54:50 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Thu Jul 9 07:54:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4aa9822 dev-lua/luasec: update to 0.9 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16529 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-lua/luasec/Manifest | 1 + dev-lua/luasec/luasec-0.9.ebuild | 41 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest index 252656323dc..1c6ed45b52b 100644 --- a/dev-lua/luasec/Manifest +++ b/dev-lua/luasec/Manifest @@ -1 +1,2 @@ DIST luasec-0.7.tar.gz 47965 BLAKE2B 5bd19cfb5c2529a6fbee221442730c87394f1bf3d5089dd83d18e91ef1a2b88cde19c59988e438eb37e50c02c40a8906ad11ce9b3247b03ea11ed6d9e890b7d6 SHA512 6adf5241aa5a0d92c9dd7fc7f7e426969475548f47979ccc28187471b3bad4132c215de6da1f471d21b05c6558d36309264512c9c4ac70a53d6f6e204cac1358 +DIST luasec-0.9.tar.gz 52163 BLAKE2B fa95ae63b36f138f923dc412f527ff527e4f7562ad177ca7f450ef889e75c204d1bfec3773523fb68865c3846a0edc583cbf903db5233ff080074147f33bfb30 SHA512 ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933 diff --git a/dev-lua/luasec/luasec-0.9.ebuild b/dev-lua/luasec/luasec-0.9.ebuild new file mode 100644 index 00000000000..81e31a9ebca --- /dev/null +++ b/dev-lua/luasec/luasec-0.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib 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" +KEYWORDS="~amd64 ~arm ~x86" + +LICENSE="MIT" +SLOT="0" +IUSE="libressl" + +RDEPEND=" + >=dev-lang/lua-5.1:0[deprecated] + dev-lua/luasocket + !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + sed -i -e "s/-O2//" src/Makefile || die + lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.c || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" LD="$(tc-getCC)" LIB_PATH="" \ + linux +} + +src_install() { + emake \ + LUAPATH="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \ + LUACPATH="${D}/$(pkg-config --variable INSTALL_CMOD lua)" \ + install +}