public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/
Date: Fri, 28 Apr 2023 07:44:10 +0000 (UTC)	[thread overview]
Message-ID: <1682667184.63d7e8cdaf5e9ba2a5df3d3d496e6139b0a8f965.juippis@gentoo> (raw)

commit:     63d7e8cdaf5e9ba2a5df3d3d496e6139b0a8f965
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Wed Apr  5 22:20:46 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 28 07:33:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d7e8cd

app-crypt/tpm2-abrmd: Move dbus config file from /etc to /usr/share

Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30493
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r2.ebuild | 64 +++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r2.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r2.ebuild
new file mode 100644
index 000000000000..27f02d556e9a
--- /dev/null
+++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-3.0.0-r2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic systemd
+
+DESCRIPTION="TPM2 Access Broker & Resource Manager"
+HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd"
+SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="static-libs test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="acct-group/tss
+	acct-user/tss
+	sys-apps/dbus
+	dev-libs/glib:=
+	app-crypt/tpm2-tss:="
+DEPEND="${RDEPEND}
+	test? (
+		app-crypt/swtpm
+		>=app-crypt/tpm2-tss-3.0.0:=
+		dev-util/cmocka
+	)"
+BDEPEND="virtual/pkgconfig
+	dev-util/gdbus-codegen"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	# tests fail with LTO enabbled. See bug 865275
+	filter-lto
+	econf \
+		$(use_enable static-libs static) \
+		$(use_enable test unit) \
+		$(use_enable test integration) \
+		--disable-defaultflags \
+		--with-dbuspolicydir="${EPREFIX}/usr/share/dbus-1/system.d" \
+		--with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \
+		--with-systemdpresetdisable \
+		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+}
+
+src_install() {
+	default
+
+	find "${D}" -name '*.la' -delete || die
+
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
+
+pkg_postinst() {
+	einfo "As of tpm2-abrmd 3.0.0, users must be in the tss group"
+	einfo "to access the TPM"
+}


             reply	other threads:[~2023-04-28  7:44 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28  7:44 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-09-09 13:17 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/ David Seifert
2023-06-03 17:25 Sam James
2023-06-03 17:25 Sam James
2023-06-03 17:25 Sam James
2023-06-03 17:25 Sam James
2023-06-03 17:25 Sam James
2023-03-31 11:49 Arthur Zamarin
2023-03-16 17:44 Arthur Zamarin
2023-02-20 23:28 Sam James
2023-02-20 20:41 Arthur Zamarin
2023-02-20 19:39 Arthur Zamarin
2022-12-22 18:32 Brian Evans
2022-12-21 23:37 Sam James
2022-12-21 23:37 Sam James
2022-09-27 21:44 Sam James
2022-05-20  9:17 Agostino Sarubbo
2022-05-19  9:27 Agostino Sarubbo
2022-05-17 12:38 Agostino Sarubbo
2022-05-17 12:37 Agostino Sarubbo
2022-05-17  9:58 Agostino Sarubbo
2022-04-23 21:34 Sam James
2022-03-17  3:51 Yixun Lan
2022-03-08 13:23 Sam James
2022-03-08 13:23 Sam James
2021-12-13 18:28 Arthur Zamarin
2021-12-13  0:06 Sam James
2021-12-13  0:06 Sam James
2021-09-24  7:46 Joonas Niilola
2021-04-25  8:00 Michał Górny
2021-02-18  9:36 Joonas Niilola
2021-02-18  9:36 Joonas Niilola
2021-02-18  9:36 Joonas Niilola
2020-09-15 14:11 Joonas Niilola
2020-02-26 16:17 Joonas Niilola
2020-02-26 16:17 Joonas Niilola
2020-02-23 18:37 Rick Farina
2019-12-21 15:06 Joonas Niilola
2019-12-08  8:41 Joonas Niilola

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=1682667184.63d7e8cdaf5e9ba2a5df3d3d496e6139b0a8f965.juippis@gentoo \
    --to=juippis@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