From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 35235138350 for ; Wed, 19 Feb 2020 13:32:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55A00E09D9; Wed, 19 Feb 2020 13:32:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 3E238E09D9 for ; Wed, 19 Feb 2020 13:32:36 +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 7D0E934EDBF for ; Wed, 19 Feb 2020 13:32:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E43C116 for ; Wed, 19 Feb 2020 13:32:33 +0000 (UTC) From: "Joonas Niilola" 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" Message-ID: <1582119134.42f7a28c7231bb4e3d17c73eace7989eae533c20.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libtpms/libtpms-0.7.0-r1.ebuild X-VCS-Directories: dev-libs/libtpms/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 42f7a28c7231bb4e3d17c73eace7989eae533c20 X-VCS-Branch: master Date: Wed, 19 Feb 2020 13:32:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a21d512-f04e-4ef5-b4d0-c5817d364f24 X-Archives-Hash: fabd6887700aeaa2474c607c1b28b668 commit: 42f7a28c7231bb4e3d17c73eace7989eae533c20 Author: Salah Coronya gmail com> AuthorDate: Mon Jan 13 05:50:43 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Feb 19 13:32:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f7a28c dev-libs/libtpms: Add libressl support Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Salah Coronya gmail.com> Signed-off-by: Joonas Niilola gentoo.org> dev-libs/libtpms/libtpms-0.7.0-r1.ebuild | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild b/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild new file mode 100644 index 00000000000..b13d07d5023 --- /dev/null +++ b/dev-libs/libtpms/libtpms-0.7.0-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library providing software emultion of a TPM" +HOMEPAGE="https://github.com/stefanberger/libtpms" +SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libressl" + +DEPEND=" !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl \ + --with-tpm2 +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}