git: 8fb5036e2989 - main - sysutils/swtpm: Add _tss user/group and use them
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Sep 2024 06:30:24 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8fb5036e29897a730bdbe25b74d6e43e9dac2b19
commit 8fb5036e29897a730bdbe25b74d6e43e9dac2b19
Author: Goran Mekić <meka@tilda.center>
AuthorDate: 2024-09-08 22:18:24 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-09-25 06:29:18 +0000
sysutils/swtpm: Add _tss user/group and use them
PR: 281342
Approved by: submitter is maintainer
Reported by: Chad Jacob Milios <milios@ccsys.com>
Event: EuroBSDcon 2024
MFH: 2024Q3
---
sysutils/swtpm/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sysutils/swtpm/Makefile b/sysutils/swtpm/Makefile
index e92d193388c4..fb7b13d2891c 100644
--- a/sysutils/swtpm/Makefile
+++ b/sysutils/swtpm/Makefile
@@ -1,6 +1,7 @@
PORTNAME= swtpm
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
+PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= meka@tilda.center
@@ -30,7 +31,11 @@ USE_GNOME= glib20
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
-GNU_CONFIGURE= yes
+USERS= _tss
+GROUPS= ${USERS}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-tss-user=${USERS} \
+ --with-tss-group=${GROUPS}
INSTALL_TARGET= install-strip