-diff -ur xrdp-0.9.19.orig/sesman/sesman.ini xrdp-0.9.19/sesman/sesman.ini
---- xrdp-0.9.19.orig/sesman/sesman.ini 2022-03-17 07:21:20.000000000 +0100
-+++ xrdp-0.9.19/sesman/sesman.ini 2022-04-01 00:52:52.926266171 +0200
+diff -ur xrdp-0.10.0.orig/sesman/sesman.ini xrdp-0.10.0/sesman/sesman.ini
+--- xrdp-0.10.0.orig/sesman/sesman.ini 2024-05-10 16:14:05.000000000 +0200
++++ xrdp-0.10.0/sesman/sesman.ini 2024-06-13 19:35:30.492411263 +0200
@@ -12,13 +12,13 @@
ReconnectScript=reconnectwm.sh
; When RestrictOutboundClipboard=all clipboard from the
; server is not pushed to the client.
; In addition, you can control text/file/image transfer restrictions
-@@ -80,13 +80,13 @@
+@@ -109,13 +109,13 @@
[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
[LoggingPerLogger]
; Note: per logger configuration is only used if xrdp is built with
-@@ -117,8 +117,8 @@
+@@ -147,8 +147,8 @@
param=-noreset
param=-nolisten
param=tcp
[Xvnc]
param=Xvnc
-diff -ur xrdp-0.9.19.orig/xrdp/xrdp.ini xrdp-0.9.19/xrdp/xrdp.ini
---- xrdp-0.9.19.orig/xrdp/xrdp.ini 2022-03-17 07:16:35.000000000 +0100
-+++ xrdp-0.9.19/xrdp/xrdp.ini 2022-04-01 00:53:37.547367844 +0200
+diff -ur xrdp-0.10.0.orig/xrdp/xrdp.ini xrdp-0.10.0/xrdp/xrdp.ini
+--- xrdp-0.10.0.orig/xrdp/xrdp.ini 2024-05-10 16:14:05.000000000 +0200
++++ xrdp-0.10.0/xrdp/xrdp.ini 2024-06-13 19:36:33.477301111 +0200
@@ -5,6 +5,9 @@
; fork a new process for each incoming connection
fork=true
; ports to listen on, number alone means listen on all interfaces
; 0.0.0.0 or :: if ipv6 is configured
; space between multiple occurrences
-@@ -178,13 +181,13 @@
+@@ -195,13 +198,13 @@
[Logging]
; Note: Log levels can be any of: core, error, warning, info, debug, or trace
[LoggingPerLogger]
; Note: per logger configuration is only used if xrdp is built with
-@@ -218,14 +221,15 @@
- ; Some session types such as Xorg, X11rdp and Xvnc start a display server.
+@@ -234,13 +237,13 @@
+ ; 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]
-lib=libxup.so
-username=ask
-password=ask
--ip=127.0.0.1
-port=-1
-code=20
-+
+#[Xorg]
+#name=Xorg
+#lib=libxup.so
+#username=ask
+#password=ask
-+#ip=127.0.0.1
+#port=-1
+#code=20
[Xvnc]
name=Xvnc
-@@ -247,13 +251,13 @@
+@@ -262,13 +265,13 @@
; Generic VNC Proxy
; Tailor this to specific hosts and VNC instances by specifying an ip
; and port and setting a suitable name.
+#password=ask
#pamusername=asksame
#pampassword=asksame
- #pamsessionmng=127.0.0.1
-@@ -262,15 +266,15 @@
+ #delay_ms=2000
+@@ -276,15 +279,15 @@
; Generic RDP proxy using NeutrinoRDP
; Tailor this to specific hosts by specifying an ip and port and setting
; a suitable name.
Summary: Remote desktop server
Summary(pl.UTF-8): Serwer remote desktop
Name: xrdp
-Version: 0.9.25.1
+Version: 0.10.0
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: f30ad85ce78c8542d4f7b03c28c8815f
+# Source0-md5: 2221e0a307fbf553d6d99416496525ab
Source1: %{name}.init
Source2: %{name}.pamd
Source3: %{name}.README.TLD
Requires(postun): /usr/sbin/groupdel
Requires(pre): /usr/bin/getgid
Requires(pre): /usr/sbin/groupadd
-Requires: %{name}-libs = %{version}-%{release}
Requires: /usr/bin/Xvnc
Requires: fdk-aac >= 0.1.0
Requires: imlib2 >= 1.4.5
Requires: pixman >= 0.1.0
Requires: rc-scripts
Requires: xinitrc-ng
+Obsoletes: xrdp-libs < 0.10
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
xrdp używa jako backendu Xvnc lub X11rdp.
-%package libs
-Summary: xrdp shared libraries
-Summary(pl.UTF-8): Biblioteki współdzielone xrdp
-Group: Libraries
-
-%description libs
-xrdp shared libraries.
-
-%description libs -l pl.UTF-8
-Biblioteki współdzielone xrdp.
-
%package devel
Summary: Header files for xrdp libraries
Summary(pl.UTF-8): Pliki nagłówkowe bibliotek xrdp
Group: Development/Libraries
-Requires: %{name}-libs = %{version}-%{release}
%description devel
Header files for xrdp libraries.
%clean
rm -rf $RPM_BUILD_ROOT
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%doc COPYING NEWS.md README.md README.TLD
%attr(755,root,root) %{_sysconfdir}/xrdp/reconnectwm.sh
%attr(755,root,root) %{_sysconfdir}/xrdp/startwm.sh
%attr(755,root,root) %{_bindir}/xrdp-dis
+%attr(755,root,root) %{_bindir}/xrdp-dumpfv1
%attr(755,root,root) %{_bindir}/xrdp-genkeymap
%attr(755,root,root) %{_bindir}/xrdp-keygen
%attr(755,root,root) %{_bindir}/xrdp-sesadmin
%dir %{_libdir}/xrdp
%attr(755,root,root) %{_libdir}/xrdp/libcommon.so*
%attr(755,root,root) %{_libdir}/xrdp/libmc.so*
-%attr(755,root,root) %{_libdir}/xrdp/libscp.so*
+%attr(755,root,root) %{_libdir}/xrdp/libipm.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*
+%dir %{_prefix}/libexec/xrdp
+%attr(755,root,root) %{_prefix}/libexec/xrdp/waitforx
+%attr(755,root,root) %{_prefix}/libexec/xrdp/xrdp-sesexec
%dir %{_datadir}/xrdp
%{_datadir}/xrdp/ad24b.bmp
%{_datadir}/xrdp/ad256.bmp
%{_datadir}/xrdp/cursor0.cur
%{_datadir}/xrdp/cursor1.cur
%{_datadir}/xrdp/sans-10.fv1
+%{_datadir}/xrdp/sans-18.fv1
%{_datadir}/xrdp/xrdp24b.bmp
%{_datadir}/xrdp/xrdp256.bmp
%{_datadir}/xrdp/xrdp_logo.bmp
+%{_datadir}/xrdp/xrdp_logo.png
+%{_datadir}/xrdp/README.logo
%{_mandir}/man1/xrdp-dis.1*
%{_mandir}/man5/sesman.ini.5*
%{_mandir}/man5/xrdp.ini.5*
%{_mandir}/man8/xrdp-chansrv.8*
+%{_mandir}/man8/xrdp-dumpfv1.8*
%{_mandir}/man8/xrdp-genkeymap.8*
%{_mandir}/man8/xrdp-keygen.8*
%{_mandir}/man8/xrdp-sesadmin.8*
%{_mandir}/man8/xrdp-sesrun.8*
%{_mandir}/man8/xrdp.8*
-%files libs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpainter.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpainter.so.0
-%attr(755,root,root) %{_libdir}/librfxencode.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/librfxencode.so.0
-
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpainter.so
-%attr(755,root,root) %{_libdir}/librfxencode.so
%{_includedir}/ms-*.h
%{_includedir}/painter.h
%{_includedir}/rfxcodec_common.h