Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/
Date: Tue, 15 Sep 2020 14:11:34
Message-Id: 1600179077.a644a58975e4039a7842b8f2bc34ef305218fe05.juippis@gentoo
1 commit: a644a58975e4039a7842b8f2bc34ef305218fe05
2 Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 19 19:57:25 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 14:11:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a644a589
7
8 app-crypt/tpm2-abrmd: Bump to 2.3.3
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 app-crypt/tpm2-abrmd/Manifest | 1 +
15 app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild | 51 ++++++++++++++++++++++++++++
16 2 files changed, 52 insertions(+)
17
18 diff --git a/app-crypt/tpm2-abrmd/Manifest b/app-crypt/tpm2-abrmd/Manifest
19 index de55f4dfed4..8c93ee844f6 100644
20 --- a/app-crypt/tpm2-abrmd/Manifest
21 +++ b/app-crypt/tpm2-abrmd/Manifest
22 @@ -1,2 +1,3 @@
23 DIST tpm2-abrmd-2.1.1.tar.gz 561352 BLAKE2B 4106811b238fee7b503bf0afb4ed857371bab023d8e449d5864eebb2386779e2bc8fb0f2bf8e334ebd8d7abe5c569f2b2cc2ea60b07672b1d3294092e63c2a5a SHA512 d685812c26a097190ced5a9e8ceb1544eb9e3858606123644d5496031706af91e5ba9fb54eb371bcb4eed4d236617f7a21a49a792196db9c5ebf277582ac7124
24 DIST tpm2-abrmd-2.3.1.tar.gz 566988 BLAKE2B 281c1288baaa07b93939219143f4ecc2420b353d04d751746b6e43c93e092d0facb3d0ddbc20129328666d69954dd16ea7e709fea99690af80b2c83e1ac855e4 SHA512 144ab2b147cd18f892f3c05181efdbed2ac422fe8507eb42871ffe571340b6395431743a4f1995a7ce7a914fd5e7afd2b17328062c893a0403708c2c4d92e0cb
25 +DIST tpm2-abrmd-2.3.3.tar.gz 573449 BLAKE2B c3bc0311a73a0c69060a4d19517c3b5d09077ee8efdcd6e7d605675111cb5ac568d1e43bf9c329d4fad21fd44fb50b20e502205360461533c68866d329c320db SHA512 2191c7e466271cb85fcb20fcd91c78df80f53030fb055d0b4670db33708939b60a9124955356f27662975abdcb9c8d144df884003986ffdbd801ca4e47edc21a
26
27 diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild
28 new file mode 100644
29 index 00000000000..53562b771fd
30 --- /dev/null
31 +++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools systemd
39 +
40 +DESCRIPTION="TPM2 Access Broker & Resource Manager"
41 +HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd"
42 +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="static-libs test"
48 +
49 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="acct-group/tss
52 + acct-user/tss
53 + sys-apps/dbus:=
54 + dev-libs/glib:=
55 + app-crypt/tpm2-tss:="
56 +DEPEND="${RDEPEND}
57 + test? ( dev-util/cmocka )"
58 +BDEPEND="virtual/pkgconfig
59 + dev-util/gdbus-codegen"
60 +
61 +src_prepare() {
62 + default
63 + eautoreconf
64 +}
65 +
66 +src_configure() {
67 + econf \
68 + $(use_enable static-libs static) \
69 + $(use_enable test unit) \
70 + --disable-defaultflags \
71 + --with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \
72 + --with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \
73 + --with-systemdpresetdisable \
74 + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
75 +}
76 +
77 +src_install() {
78 + default
79 + find "${D}" -name '*.la' -delete || die
80 +
81 + newinitd "${FILESDIR}"/${PN}.initd ${PN}
82 + newconfd "${FILESDIR}"/${PN}.confd ${PN}
83 +}