[packages/xrdp] - up to 0.10.4.1
mrozowik
mrozowik at pld-linux.org
Fri Jan 2 13:29:01 CET 2026
commit 290fe8847f0b838e1349c56acc5f3950d363df08
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date: Fri Jan 2 12:28:48 2026 +0000
- up to 0.10.4.1
config.patch | 47 ++++++++++++++++++++++++++++-------------------
quiet.patch | 27 +++++++++------------------
xrdp.spec | 33 +++++++++++++++++++--------------
3 files changed, 56 insertions(+), 51 deletions(-)
---
diff --git a/xrdp.spec b/xrdp.spec
index 768bba0..b2e03e4 100644
--- a/xrdp.spec
+++ b/xrdp.spec
@@ -1,13 +1,13 @@
Summary: Remote desktop server
Summary(pl.UTF-8): Serwer remote desktop
Name: xrdp
-Version: 0.10.1
-Release: 2
+Version: 0.10.4.1
+Release: 1
License: Apache v2.0
Group: X11/Applications/Networking
#Source0Download: https://github.com/neutrinolabs/xrdp/releases
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 65edae2e80bcaa9b8fa6b8abd60fbe0e
+# Source0-md5: 0da8c16ade55010f786ea4ca1627235a
Source1: %{name}.init
Source2: %{name}.pamd
Source3: %{name}.README.PLD
@@ -113,17 +113,18 @@ cd ../librfxcodec
%{__automake}
cd ..
%configure \
+ --disable-silent-rules \
--enable-fdkaac \
--enable-fuse \
--enable-ipv6 \
--enable-mp3lame \
--enable-opus \
- --enable-pam-config=redhat \
--enable-painter \
+ --enable-pam-config=redhat \
--enable-pixman \
- --disable-silent-rules \
--enable-tjpeg \
--enable-vsock \
+ --enable-x264 \
--with-freetype2 \
--with-imlib2
@@ -184,6 +185,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/pulse
%config(noreplace) %{_sysconfdir}/%{name}/cert.pem
+%config(noreplace) %{_sysconfdir}/%{name}/gfx.toml
%config(noreplace) %{_sysconfdir}/%{name}/key.pem
%config(noreplace) %{_sysconfdir}/%{name}/rsakeys.ini
%config(noreplace) %{_sysconfdir}/%{name}/sesman.ini
@@ -204,23 +206,25 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_sbindir}/xrdp-chansrv
%attr(755,root,root) %{_sbindir}/xrdp-sesman
%dir %{_libdir}/xrdp
-%attr(755,root,root) %{_libdir}/xrdp/libcommon.so*
-%attr(755,root,root) %{_libdir}/xrdp/libipm.so*
-%attr(755,root,root) %{_libdir}/xrdp/libmc.so*
-%attr(755,root,root) %{_libdir}/xrdp/libsesman.so*
-%attr(755,root,root) %{_libdir}/xrdp/libtoml.so*
-%attr(755,root,root) %{_libdir}/xrdp/libvnc.so*
-%attr(755,root,root) %{_libdir}/xrdp/libxrdp.so*
-%attr(755,root,root) %{_libdir}/xrdp/libxrdpapi.so*
-%attr(755,root,root) %{_libdir}/xrdp/libxup.so*
+%{_libdir}/xrdp/libcommon.so*
+%{_libdir}/xrdp/libipm.so*
+%{_libdir}/xrdp/libmc.so*
+%{_libdir}/xrdp/libsesman.so*
+%{_libdir}/xrdp/libtoml.so*
+%{_libdir}/xrdp/libvnc.so*
+%{_libdir}/xrdp/libxrdp.so*
+%{_libdir}/xrdp/libxrdpapi.so*
+%{_libdir}/xrdp/libxup.so*
%if "%{_libexecdir}" != "%{_libdir}"
%dir %{_libexecdir}/xrdp
%endif
%attr(755,root,root) %{_libexecdir}/xrdp/waitforx
+%attr(755,root,root) %{_libexecdir}/xrdp/xrdp-droppriv
%attr(755,root,root) %{_libexecdir}/xrdp/xrdp-sesexec
%{systemdunitdir}/xrdp.service
%{systemdunitdir}/xrdp-sesman.service
%dir %{_datadir}/xrdp
+%attr(755,root,root) %{_datadir}/xrdp/xrdp-chkpriv
%{_datadir}/xrdp/ad24b.bmp
%{_datadir}/xrdp/ad256.bmp
%{_datadir}/xrdp/cursor0.cur
@@ -234,6 +238,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/xrdp/xrdp_logo.png
%{_mandir}/man1/xrdp-dis.1*
%{_mandir}/man5/sesman.ini.5*
+%{_mandir}/man5/gfx.toml.5*
%{_mandir}/man5/xrdp.ini.5*
%{_mandir}/man8/xrdp-chansrv.8*
%{_mandir}/man8/xrdp-dumpfv1.8*
diff --git a/config.patch b/config.patch
index e9b4f8d..3f9b9c7 100644
--- a/config.patch
+++ b/config.patch
@@ -1,5 +1,5 @@
---- xrdp-0.10.0/sesman/sesman.ini~ 2024-05-10 14:14:05.000000000 +0000
-+++ xrdp-0.10.0/sesman/sesman.ini 2024-05-22 22:27:17.925196022 +0000
+--- xrdp-0.10.4.1/sesman/sesman.ini.in~ 2025-07-07 12:37:24.000000000 +0000
++++ xrdp-0.10.4.1/sesman/sesman.ini.in 2026-01-02 11:35:35.637727491 +0000
@@ -12,13 +12,13 @@
ReconnectScript=reconnectwm.sh
@@ -18,7 +18,7 @@
; When RestrictOutboundClipboard=all clipboard from the
; server is not pushed to the client.
; In addition, you can control text/file/image transfer restrictions
-@@ -109,10 +109,10 @@
+@@ -112,10 +112,10 @@
[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
@@ -31,7 +31,7 @@
#EnableConsole=false
#ConsoleLevel=INFO
#EnableProcessId=false
-@@ -147,8 +147,8 @@
+@@ -150,8 +150,8 @@
param=-noreset
param=-nolisten
param=tcp
@@ -42,18 +42,20 @@
[Xvnc]
param=Xvnc
---- xrdp-0.10.0/xrdp/xrdp.ini~ 2024-05-10 14:14:05.000000000 +0000
-+++ xrdp-0.10.0/xrdp/xrdp.ini 2024-05-22 22:32:36.840354476 +0000
-@@ -4,6 +4,8 @@
+--- xrdp-0.10.4.1/xrdp/xrdp.ini.in~ 2025-07-07 12:37:24.000000000 +0000
++++ xrdp-0.10.4.1/xrdp/xrdp.ini.in 2026-01-02 11:41:07.518022458 +0000
+@@ -4,7 +4,9 @@
; fork a new process for each incoming connection
fork=true
+-
+; IP address to listen
-+;address=127.0.0.1
-
++; ;address=127.0.0.1
++;
; ports to listen on, number alone means listen on all interfaces
; 0.0.0.0 or :: if ipv6 is configured
-@@ -195,10 +197,10 @@
+ ; space between multiple occurrences
+@@ -201,10 +203,10 @@
[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
@@ -66,41 +68,48 @@
#EnableConsole=false
#ConsoleLevel=INFO
#EnableProcessId=false
-@@ -234,13 +236,13 @@
+@@ -240,17 +242,17 @@
; Some session types such as Xorg and Xvnc start a display server.
; Startup command-line parameters for the display server are configured
; in sesman.ini. See and configure also sesman.ini.
-[Xorg]
-name=Xorg
--lib=libxup.so
+-lib=libxup. at lib_extension@
-username=ask
-password=ask
-port=-1
-code=20
+#[Xorg]
+#name=Xorg
-+#lib=libxup.so
++#lib=libxup. at lib_extension@
+#username=ask
+#password=ask
+#port=-1
+#code=20
+ ; Frame capture interval (milliseconds)
+-h264_frame_interval=16
+-rfx_frame_interval=32
+-normal_frame_interval=40
++#h264_frame_interval=16
++#rfx_frame_interval=32
++#normal_frame_interval=40
[Xvnc]
name=Xvnc
-@@ -262,13 +264,13 @@
+@@ -286,13 +288,13 @@
; Generic VNC Proxy
; Tailor this to specific hosts and VNC instances by specifying an ip
; and port and setting a suitable name.
-[vnc-any]
-name=vnc-any
--lib=libvnc.so
+-lib=libvnc. at lib_extension@
-ip=ask
-port=ask5900
-username=na
-password=ask
+#[vnc-any]
+#name=vnc-any
-+#lib=libvnc.so
++#lib=libvnc. at lib_extension@
+#ip=ask
+#port=ask5900
+#username=na
@@ -108,7 +117,7 @@
#pamusername=asksame
#pampassword=asksame
#delay_ms=2000
-@@ -276,15 +278,15 @@
+@@ -309,15 +311,15 @@
; Generic RDP proxy using NeutrinoRDP
; Tailor this to specific hosts by specifying an ip and port and setting
; a suitable name.
@@ -118,12 +127,12 @@
+#name=neutrinordp-any
; To use this section, you should build xrdp with configure option
; --enable-neutrinordp.
--lib=libxrdpneutrinordp.so
+-lib=libxrdpneutrinordp. at lib_extension@
-ip=ask
-port=ask3389
-username=ask
-password=ask
-+#lib=libxrdpneutrinordp.so
++#lib=libxrdpneutrinordp. at lib_extension@
+#ip=ask
+#port=ask3389
+#username=ask
diff --git a/quiet.patch b/quiet.patch
index 487d246..0126e42 100644
--- a/quiet.patch
+++ b/quiet.patch
@@ -1,20 +1,11 @@
---- xrdp-0.9.18.1/xrdp/xrdp.c~ 2022-02-07 07:10:38.000000000 +0000
-+++ xrdp-0.9.18.1/xrdp/xrdp.c 2022-02-22 17:35:31.774377966 +0000
-@@ -506,7 +506,7 @@
-
- if (startup_params.kill)
- {
-- g_writeln("stopping xrdp");
-+ /*g_writeln("stopping xrdp");*/
- /* read the xrdp.pid file */
- fd = -1;
-
-@@ -524,7 +524,7 @@
- g_memset(text, 0, 32);
- g_file_read(fd, text, 31);
- pid = g_atoi(text);
+--- xrdp-0.10.4.1/xrdp/xrdp.c~ 2025-07-07 12:37:24.000000000 +0000
++++ xrdp-0.10.4.1/xrdp/xrdp.c 2026-01-02 11:48:56.033106160 +0000
+@@ -496,7 +496,7 @@
+ }
+ else
+ {
- g_writeln("stopping process id %d", pid);
+ /*g_writeln("stopping process id %d", pid);*/
-
- if (pid > 0)
- {
+ int i;
+ g_sigterm(pid);
+ g_sleep(100);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xrdp.git/commitdiff/290fe8847f0b838e1349c56acc5f3950d363df08
More information about the pld-cvs-commit
mailing list