aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--GIDs2
-rw-r--r--security/trousers/Makefile2
-rw-r--r--security/trousers/pkg-plist2
3 files changed, 4 insertions, 2 deletions
diff --git a/GIDs b/GIDs
index 243ff7bc0dbe..7d8eed42c8cf 100644
--- a/GIDs
+++ b/GIDs
@@ -185,7 +185,7 @@ pulse-access:*:564:
assp:*:587:
avahi-autoipd:*:588:
_xsi:*:600:
-_tss:*:601:_tss
+_tss:*:601:
_pkcs11:*:602:_pkcs11
freeswitch:*:610:
monkeysphere:*:641:
diff --git a/security/trousers/Makefile b/security/trousers/Makefile
index cf4ed4706b9c..737abfcaa5cb 100644
--- a/security/trousers/Makefile
+++ b/security/trousers/Makefile
@@ -61,7 +61,7 @@ run-autotools-autoreconf:
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${AUTORECONF} -i
post-install:
- ${INSTALL_DATA} -o ${USERS} -g ${GROUPS} -m 0600 \
+ ${INSTALL_DATA} \
${WRKSRC}/dist/tcsd.conf ${STAGEDIR}${PREFIX}/etc/tcsd.conf.dist
.include <bsd.port.mk>
diff --git a/security/trousers/pkg-plist b/security/trousers/pkg-plist
index 3a09c781c8dc..545ac48a3dd0 100644
--- a/security/trousers/pkg-plist
+++ b/security/trousers/pkg-plist
@@ -122,6 +122,8 @@ man/man5/tcsd.conf.5.gz
man/man8/tcsd.8.gz
@unexec cmp -s %D/etc/tcsd.conf %D/etc/tcsd.conf.dist && rm -f %D/etc/tcsd.conf || true
etc/tcsd.conf.dist
+@exec chown _tss:_tss %D/etc/tcsd.conf.dist
+@exec chmod 0600 %D/etc/tcsd.conf.dist
@exec [ -f %D/etc/tcsd.conf ] || cp -p %D/etc/tcsd.conf.dist %D/etc/tcsd.conf
@dirrmtry var/lib/tpm
@dirrmtry var/lib