git: 64680d15e5eb - main - net/xrdp: Adjust the default configuration to FreeBSD part 2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Aug 2025 11:22:42 UTC
The branch main has been updated by meta:
URL: https://cgit.FreeBSD.org/ports/commit/?id=64680d15e5eba90ac1fc60f017db725372814e94
commit 64680d15e5eba90ac1fc60f017db725372814e94
Author: Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2025-08-28 11:18:05 +0000
Commit: Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-08-28 11:21:13 +0000
net/xrdp: Adjust the default configuration to FreeBSD part 2
The "xrdp" user in sesman.ini should also be replaced with "_xrdp".
PR: 289138
Reported by: eduardo
---
net/xrdp/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index 175e7254df46..882c3a28653f 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= xrdp
DISTVERSION= 0.10.4.1
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= https://github.com/neutrinolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -96,6 +96,9 @@ post-patch:
-e "s|^#runtime_user=xrdp|#runtime_user=_xrdp|" \
-e "s|^#runtime_group=xrdp|#runtime_group=_xrdp|" \
${WRKSRC}/xrdp/xrdp.ini.in
+ ${REINPLACE_CMD} \
+ -e "s|^#SessionSockdirGroup=xrdp|#SessionSockdirGroup=_xrdp|" \
+ ${WRKSRC}/sesman/sesman.ini.in
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/startwm.sh ${STAGEDIR}${ETCDIR}