diff options
Diffstat (limited to 'net/xrdp/Makefile')
-rw-r--r-- | net/xrdp/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile index e257f0ad4825..882c3a28653f 100644 --- a/net/xrdp/Makefile +++ b/net/xrdp/Makefile @@ -1,5 +1,6 @@ PORTNAME= xrdp -DISTVERSION= 0.10.4 +DISTVERSION= 0.10.4.1 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= https://github.com/neutrinolabs/${PORTNAME}/releases/download/v${DISTVERSION}/ @@ -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} |