Skip to content

Commit

Permalink
security/tpm2-abrmd: Fix DBus config patch to cover more clauses.
Browse files Browse the repository at this point in the history
Sponsored by:	Serenity Cybersecurity, LLC
  • Loading branch information
arrowd committed Jan 8, 2024
1 parent 81d7368 commit a4ed291
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions 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}/

Expand Down
16 changes: 15 additions & 1 deletion 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">
Expand All @@ -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>

0 comments on commit a4ed291

Please sign in to comment.