public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/files/
@ 2019-01-17 22:10 Alon Bar-Lev
  0 siblings, 0 replies; 2+ messages in thread
From: Alon Bar-Lev @ 2019-01-17 22:10 UTC (permalink / raw
  To: gentoo-commits

commit:     904df96a0ef54656d6bc7fa5ce90bc452416d91c
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 22:09:13 2019 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Thu Jan 17 22:10:09 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904df96a

app-crypt/tpm2-abrmd: succeed tests without X

Closes: https://bugs.gentoo.org/show_bug.cgi?id=675738
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch  | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch b/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
index 72e823405e9..07c607579f1 100644
--- a/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
+++ b/app-crypt/tpm2-abrmd/files/tpm2-abrmd-2.0.3-build.patch
@@ -30,3 +30,42 @@ index ecbc3bb..5973ff5 100644
  
  AC_SUBST([PATH])
  
+From 353c5e962f46e3739b1e92cbf6b1f3eb500157fc Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Thu, 17 Jan 2019 23:56:50 +0200
+Subject: [PATCH] tests: run without X
+
+Solves:
+
+$ DISPLAY= make check
+
+FAIL: test/tss2-tcti-tabrmd_unit
+
+** (process:17633): CRITICAL **: 23:53:22.403: failed to allocate dbus proxy object:
+Error spawning command line ?dbus-launch --autolaunch=4f9189e347d5cdf343
+
+Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
+
+https://github.com/tpm2-software/tpm2-abrmd/pull/577
+---
+ .travis.yml | 2 +-
+ Makefile.am | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index b32a5fb..2598f13 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -76,7 +76,8 @@ XFAIL_TESTS = \
+ TEST_EXTENSIONS = .int
+ AM_TESTS_ENVIRONMENT = \
+     TEST_FUNC_LIB=$(srcdir)/scripts/int-test-funcs.sh \
+-    PATH=./src:$(PATH)
++    PATH=./src:$(PATH) \
++    dbus-launch
+ INT_LOG_COMPILER = $(srcdir)/scripts/int-test-setup.sh
+ INT_LOG_FLAGS = --tabrmd-tcti=$(TABRMD_TCTI)
+ 
+-- 
+2.19.2
+


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/files/
@ 2023-05-02 13:19 Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2023-05-02 13:19 UTC (permalink / raw
  To: gentoo-commits

commit:     845a23bbe53fb881dbc2012abfceda1231d40954
Author:     Anthony Ryan <anthonyryan1 <AT> gmail <DOT> com>
AuthorDate: Wed Apr  5 22:43:52 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue May  2 13:19:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845a23bb

app-crypt/tpm2-abrmd: Add openrc init dependency on dbus

The project lists a dependency on DBus quite prominently in the README
and won't start without it already running.

https://github.com/tpm2-software/tpm2-abrmd#tpm2-abrmd

Signed-off-by: Anthony Ryan <anthonyryan1 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/30494
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-crypt/tpm2-abrmd/files/tpm2-abrmd.initd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-crypt/tpm2-abrmd/files/tpm2-abrmd.initd b/app-crypt/tpm2-abrmd/files/tpm2-abrmd.initd
index 0272921dcbd7..c07f8e757eb9 100644
--- a/app-crypt/tpm2-abrmd/files/tpm2-abrmd.initd
+++ b/app-crypt/tpm2-abrmd/files/tpm2-abrmd.initd
@@ -10,6 +10,7 @@ command_user="tss:tss"
 pidfile="/var/run/${RC_SVCNAME}.pid"
 
 depend() {
+	need dbus
 	use logger
 	after coldplug
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-02 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 22:10 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-abrmd/files/ Alon Bar-Lev
  -- strict thread matches above, loose matches on Subject: below --
2023-05-02 13:19 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox