git: c321e10ee080 - main - net/xrdp: Update to 0.9.20

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Fri, 16 Sep 2022 14:41:28 UTC
The branch main has been updated by meta:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c321e10ee08096abfbb359d634e75e4508483f79

commit c321e10ee08096abfbb359d634e75e4508483f79
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2022-09-15 12:52:24 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2022-09-16 14:39:45 +0000

    net/xrdp: Update to 0.9.20
    
    Changes:        https://github.com/neutrinolabs/xrdp/releases/tag/v0.9.20
---
 net/xrdp/Makefile | 6 +++++-
 net/xrdp/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index 9425e29f3db0..b239ddb895d9 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xrdp
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.19
+DISTVERSION=	0.9.20
 PORTEPOCH=	1
 CATEGORIES=	net
 DIST_SUBDIR?=	${PORTNAME}
@@ -76,6 +76,10 @@ CONFIGURE_ENV+=	OPENSSL_CFLAGS="-I${OPENSSLINC}" \
 pre-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./bootstrap
 
+post-patch:
+	${REINPLACE_CMD} -e "s|^param=Xorg|param=${LOCALBASE}/libexec/Xorg|" \
+		${WRKSRC}/sesman/sesman.ini.in
+
 post-install:
 	${INSTALL_SCRIPT} ${FILESDIR}/startwm.sh ${STAGEDIR}${ETCDIR}
 
diff --git a/net/xrdp/distinfo b/net/xrdp/distinfo
index 7fceead5e6c4..5396fc5a1e37 100644
--- a/net/xrdp/distinfo
+++ b/net/xrdp/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1648451247
-SHA256 (xrdp/neutrinolabs-xrdp-v0.9.19_GH0.tar.gz) = db58f113dafd9ef876cdc839fc396aba51548f2cf0ca53ed4b1c647e4250d115
-SIZE (xrdp/neutrinolabs-xrdp-v0.9.19_GH0.tar.gz) = 772068
+TIMESTAMP = 1663221774
+SHA256 (xrdp/neutrinolabs-xrdp-v0.9.20_GH0.tar.gz) = b60efdf472a5f839d36a9dc4cf658eafc3af8a6fce11b83849f120145eb99326
+SIZE (xrdp/neutrinolabs-xrdp-v0.9.20_GH0.tar.gz) = 774434
 SHA256 (xrdp/neutrinolabs-librfxcodec-v0.1.6_GH0.tar.gz) = 84c6e514ab1a7475f76227937bc9aa29ed9b98836d2ebe81daa7fad35bde0273
 SIZE (xrdp/neutrinolabs-librfxcodec-v0.1.6_GH0.tar.gz) = 49431
 SHA256 (xrdp/neutrinolabs-libpainter-v0.1.1_GH0.tar.gz) = 6caee8444fbd72677ac5e125c7ac99490688474975451668e751a9d9187ee5e6