Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libtpms/
Date: Sun, 01 Nov 2020 06:14:10
Message-Id: 1604211234.871ee3e6a2fffa618627cd9a2647e99bb9a77e4e.juippis@gentoo
1 commit: 871ee3e6a2fffa618627cd9a2647e99bb9a77e4e
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 31 01:51:06 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 1 06:13:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871ee3e6
7
8 dev-libs/libtpms: Bump to 0.7.4
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-libs/libtpms/Manifest | 1 +
15 dev-libs/libtpms/libtpms-0.7.4.ebuild | 39 +++++++++++++++++++++++++++++++++++
16 2 files changed, 40 insertions(+)
17
18 diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest
19 index fd103f61d20..b4c691c5cba 100644
20 --- a/dev-libs/libtpms/Manifest
21 +++ b/dev-libs/libtpms/Manifest
22 @@ -1 +1,2 @@
23 DIST libtpms-0.7.3.tar.gz 1206014 BLAKE2B 32636be3e15e27a53de1c935144d2363a80689456bd70493b4eef38214ef1b9ef84ae43d1da253c9dd3e362d385b6e1638eace7a1f105736ca54f581a5f474f0 SHA512 bfd573f909965991e266434391de5f1e52c724e679e5580b7839032a1ee57f8d36cdec6d892b1d22fb7285335801a6fe17ea8559ea7ba43704fbf57c6a06dd05
24 +DIST libtpms-0.7.4.tar.gz 1212986 BLAKE2B ff34a9c35167a251eb8ba222255f6be316503d67dde7fba46b6cbc32a1f4eb5ff5a2bb5f0c21963b8d879481f6f4b09646e8e0c5fcddb12cb73309c47505070f SHA512 5a396a7e8273bed1159b0c48d2bf9f02550fed06656240e336778587b7fbe53859dab8f2ba479683e02fedfde4260a9083641be161aec0cb38a605399300997a
25
26 diff --git a/dev-libs/libtpms/libtpms-0.7.4.ebuild b/dev-libs/libtpms/libtpms-0.7.4.ebuild
27 new file mode 100644
28 index 00000000000..e11a466ade7
29 --- /dev/null
30 +++ b/dev-libs/libtpms/libtpms-0.7.4.ebuild
31 @@ -0,0 +1,39 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="Library providing software emultion of a TPM"
40 +HOMEPAGE="https://github.com/stefanberger/libtpms"
41 +SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE="libressl"
46 +
47 +DEPEND=" !libressl? ( dev-libs/openssl:0= )
48 + libressl? ( dev-libs/libressl:0= )"
49 +RDEPEND="${DEPEND}"
50 +
51 +PATCHES=(
52 + "${FILESDIR}/${PN}-0.7.3-Remove-WError.patch"
53 +)
54 +
55 +src_prepare() {
56 + default
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + econf \
62 + --disable-static \
63 + --with-openssl \
64 + --with-tpm2
65 +}
66 +
67 +src_install() {
68 + default
69 + find "${D}" -name '*.la' -delete || die
70 +}