summaryrefslogtreecommitdiff
path: root/net/xrdp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/xrdp/Makefile')
-rw-r--r--net/xrdp/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index ea39e63a1df2..882c3a28653f 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,8 +1,9 @@
PORTNAME= xrdp
-DISTVERSION= 0.10.3
+DISTVERSION= 0.10.4.1
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= net
-MASTER_SITES= https://github.com/neutribolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
+MASTER_SITES= https://github.com/neutrinolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
DIST_SUBDIR?= ${PORTNAME}
PATCH_SITES= https://github.com/neutrinolabs/${PORTNAME}/commit/
@@ -91,6 +92,13 @@ pre-configure:
post-patch:
${REINPLACE_CMD} -e "s|^param=Xorg|param=${LOCALBASE}/libexec/Xorg|" \
${WRKSRC}/sesman/sesman.ini.in
+ ${REINPLACE_CMD} \
+ -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}