Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2026 00:12:52 +0000
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ff32f199e4ca - main - net/xrdp: Relax dependency on x11-drivers/xorgxrdp
Message-ID:  <69828f04.22aa5.bc32ab5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by meta:

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

commit ff32f199e4ca37497c18211d275ceba41bc140ea
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2026-02-03 23:49:37 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2026-02-04 00:12:10 +0000

    net/xrdp: Relax dependency on x11-drivers/xorgxrdp
    
    Now x11-drivers/xorgxrdp provides the default xorg flavor and the xlibre
    flavor.
    
    To avoid tying xrdp to a specific xorgxrdp flavor, the runtime
    dependency on xorgxrdp has been removed. In addition, pkg-message has
    been updated to instruct users to install either flavor of xorgxrdp
    according to their environment.
---
 net/xrdp/Makefile             |  7 +++----
 net/xrdp/files/pkg-message.in | 26 ++++++++++++++------------
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/net/xrdp/Makefile b/net/xrdp/Makefile
index 244d8f34149e..c7d3649f268f 100644
--- a/net/xrdp/Makefile
+++ b/net/xrdp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xrdp
 DISTVERSION=	0.10.5
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/neutrinolabs/${PORTNAME}/releases/download/v${DISTVERSION}/
@@ -16,8 +17,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/nasm:devel/nasm
 LIB_DEPENDS=	libImlib2.so:graphics/imlib2
-RUN_DEPENDS=	${LOCALBASE}/lib/xorg/modules/libxorgxrdp.so:x11-drivers/xorgxrdp \
-		xterm:x11/xterm
+RUN_DEPENDS=	xterm:x11/xterm
 
 USES=		autoreconf:build compiler:c11 cpe jpeg libtool localbase \
 		pkgconfig ssl xorg
@@ -26,6 +26,7 @@ USE_LDCONFIG=	${PREFIX}/lib/xrdp
 USE_XORG=	ice pixman sm x11 xfixes xrandr
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--enable-imlib2 \
 		--enable-jpeg \
 		--enable-painter \
@@ -70,8 +71,6 @@ OPUS_CONFIGURE_ENABLE=		opus
 X264_LIB_DEPENDS=		libx264.so:multimedia/libx264
 X264_CONFIGURE_ENABLE=		x264
 
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
-
 GROUP=		_xrdp
 USER=		_xrdp
 
diff --git a/net/xrdp/files/pkg-message.in b/net/xrdp/files/pkg-message.in
index d2ca0fe7f3b0..f873118a0200 100644
--- a/net/xrdp/files/pkg-message.in
+++ b/net/xrdp/files/pkg-message.in
@@ -1,22 +1,24 @@
 [
 { type: install
   message: <<EOM
-xrdp has been installed.
+The following step are required for a complete xrdp setup.
 
-There is an rc.d script, so the service can be enabled by adding this line
-in /etc/rc.conf:
+1) Edit the configuration files in "%%ETCDIR%%" and the
+   "%%ETCDIR%%/startwm.sh" script.
 
-xrdp_enable="YES"
-xrdp_sesman_enable="YES"
+2) Install either of the following packages depending on your needs:
+   - pkg install x11-drivers/xorgxrdp        (xorg flavor)
+   - pkg install x11-drivers/xorgxrdp@xlibre (xlibre flavor)
 
-Do not forget to edit the configuration files in "%%ETCDIR%%"
-and the "%%ETCDIR%%/startwm.sh" script.
+3) To enable audio redirection, install either of the following packages
+   according to your environment:
+   - pkg install audio/pipewire-module-xrdp
+   - pkg install audio/pulseaudio-module-xrdp
 
-To enable audio redirection, install the following ports/packages to meet
-your environment.
-
-- audio/pipewire-module-xrdp
-- audio/pulseaudio-module-xrdp
+4) Enable and start xrdp daemons:
+   - sysrc xrdp_enable="YES"
+   - sysrc xrdp_sesman_enable="YES"
+   - service xrdp allstart
 
 EOM
 }


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69828f04.22aa5.bc32ab5>