git: a4ed291bbda2 - main - security/tpm2-abrmd: Fix DBus config patch to cover more clauses.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Jan 2024 12:17:53 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a4ed291bbda243716de326d94cd13e2ecd52b938
commit a4ed291bbda243716de326d94cd13e2ecd52b938
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-01-08 10:07:59 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-08 12:17:38 +0000
security/tpm2-abrmd: Fix DBus config patch to cover more clauses.
Sponsored by: Serenity Cybersecurity, LLC
---
security/tpm2-abrmd/Makefile | 1 +
security/tpm2-abrmd/files/patch-dist_tpm2-abrmd.conf | 16 +++++++++++++++-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/security/tpm2-abrmd/Makefile b/security/tpm2-abrmd/Makefile
index 81da6fe1a3e7..f74fd0c9507e 100644
--- a/security/tpm2-abrmd/Makefile
+++ b/security/tpm2-abrmd/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tpm2-abrmd
DISTVERSION= 3.0.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://github.com/tpm2-software/tpm2-abrmd/releases/download/${DISTVERSION}/
diff --git a/security/tpm2-abrmd/files/patch-dist_tpm2-abrmd.conf b/security/tpm2-abrmd/files/patch-dist_tpm2-abrmd.conf
index 10d8e55d7a19..755942458792 100644
--- a/security/tpm2-abrmd/files/patch-dist_tpm2-abrmd.conf
+++ b/security/tpm2-abrmd/files/patch-dist_tpm2-abrmd.conf
@@ -1,4 +1,4 @@
---- dist/tpm2-abrmd.conf.orig 2019-08-27 23:12:36 UTC
+--- dist/tpm2-abrmd.conf.orig 2022-05-09 15:39:53 UTC
+++ dist/tpm2-abrmd.conf
@@ -2,7 +2,7 @@
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
@@ -9,3 +9,17 @@
<allow own="com.intel.tss2.Tabrmd"/>
</policy>
<policy user="root">
+@@ -17,11 +17,11 @@
+ <allow send_destination="com.intel.tss2.Tabrmd"/>
+ <allow receive_sender="com.intel.tss2.Tabrmd"/>
+ </policy>
+- <policy user="tss">
++ <policy user="_tss">
+ <allow send_destination="com.intel.tss2.Tabrmd"/>
+ <allow receive_sender="com.intel.tss2.Tabrmd"/>
+ </policy>
+- <policy group="tss">
++ <policy group="_tss">
+ <allow send_destination="com.intel.tss2.Tabrmd"/>
+ <allow receive_sender="com.intel.tss2.Tabrmd"/>
+ </policy>