summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/tpm2-abrmd/Makefile2
-rw-r--r--security/tpm2-abrmd/files/tpm2-abrmd-devd.conf7
2 files changed, 6 insertions, 3 deletions
diff --git a/security/tpm2-abrmd/Makefile b/security/tpm2-abrmd/Makefile
index f74fd0c9507e..8dc04e65c8ab 100644
--- a/security/tpm2-abrmd/Makefile
+++ b/security/tpm2-abrmd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tpm2-abrmd
DISTVERSION= 3.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= https://github.com/tpm2-software/tpm2-abrmd/releases/download/${DISTVERSION}/
diff --git a/security/tpm2-abrmd/files/tpm2-abrmd-devd.conf b/security/tpm2-abrmd/files/tpm2-abrmd-devd.conf
index 27f804d89fb9..f7f4091a25a5 100644
--- a/security/tpm2-abrmd/files/tpm2-abrmd-devd.conf
+++ b/security/tpm2-abrmd/files/tpm2-abrmd-devd.conf
@@ -1,6 +1,9 @@
# Allow members of _tss group to access tpm device
notify 100 {
- device-name "tpm0";
- action "chgrp _tss /dev/$cdev; chmod g+rw /dev/$cdev";
+ match "system" "DEVFS";
+ match "subsystem" "CDEV";
+ match "type" "CREATE";
+ match "cdev" "tpm[0-9]+";
+ action "chgrp _tss /dev/tpm0; chmod g+rw /dev/tpm0";
};