Accepting request 729870 from X11:RemoteDesktop

OBS-URL: https://build.opensuse.org/request/show/729870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xrdp?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2019-09-11 08:37:11 +00:00 committed by Git OBS Bridge
commit 7d57883c39
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,36 @@
Index: b/instfiles/xrdp-sesman.service.in
===================================================================
--- a/instfiles/xrdp-sesman.service.in 2019-04-18 13:38:26.000000000 +0800
+++ b/instfiles/xrdp-sesman.service.in 2019-09-10 18:16:37.077484890 +0800
@@ -6,12 +6,9 @@ StopWhenUnneeded=true
BindsTo=xrdp.service
[Service]
-Type=forking
-PIDFile=@localstatedir@/run/xrdp-sesman.pid
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
EnvironmentFile=-@sysconfdir@/default/xrdp
-ExecStart=@sbindir@/xrdp-sesman $SESMAN_OPTIONS
-ExecStop=@sbindir@/xrdp-sesman $SESMAN_OPTIONS --kill
+ExecStart=@sbindir@/xrdp-sesman $SESMAN_OPTIONS --nodaemon
[Install]
WantedBy=multi-user.target
Index: b/instfiles/xrdp.service.in
===================================================================
--- a/instfiles/xrdp.service.in 2019-04-18 13:38:26.000000000 +0800
+++ b/instfiles/xrdp.service.in 2019-09-10 18:16:24.737376128 +0800
@@ -5,12 +5,9 @@ Requires=xrdp-sesman.service
After=network.target xrdp-sesman.service
[Service]
-Type=forking
-PIDFile=@localstatedir@/run/xrdp.pid
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
EnvironmentFile=-@sysconfdir@/default/xrdp
-ExecStart=@sbindir@/xrdp $XRDP_OPTIONS
-ExecStop=@sbindir@/xrdp $XRDP_OPTIONS --kill
+ExecStart=@sbindir@/xrdp $XRDP_OPTIONS --nodaemon
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 10 10:19:14 UTC 2019 - Felix Zhang <fezhang@suse.com>
- Add xrdp-systemd-services.patch: Let systemd handle the daemons,
fix daemon start failures (boo#1138954, boo#1144327).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 5 03:42:13 UTC 2019 - Felix Zhang <fezhang@suse.com> Mon Aug 5 03:42:13 UTC 2019 - Felix Zhang <fezhang@suse.com>

View File

@ -42,6 +42,8 @@ Patch3: xrdp-default-config.patch
Patch4: xrdp-disable-8-bpp-vnc-support.patch Patch4: xrdp-disable-8-bpp-vnc-support.patch
# PATCH-FIX-OPENSUSE xrdp-support-KillDisconnected-for-Xvnc.patch boo#1101506 - fezhang@suse.com -- Support the KillDisconnected option for TigerVNC Xvnc sessions # PATCH-FIX-OPENSUSE xrdp-support-KillDisconnected-for-Xvnc.patch boo#1101506 - fezhang@suse.com -- Support the KillDisconnected option for TigerVNC Xvnc sessions
Patch5: xrdp-support-KillDisconnected-for-Xvnc.patch Patch5: xrdp-support-KillDisconnected-for-Xvnc.patch
# PATCH-FIX-OPENSUSE xrdp-systemd-services.patch boo#1138954 boo#1144327 - fezhang@suse.com -- Let systemd handle the daemons
Patch6: xrdp-systemd-services.patch
# PATCH-FEATURE-SLE xrdp-avahi.diff bnc#586785 - hfiguiere@novell.com -- Add Avahi support # PATCH-FEATURE-SLE xrdp-avahi.diff bnc#586785 - hfiguiere@novell.com -- Add Avahi support
Patch11: xrdp-avahi.diff Patch11: xrdp-avahi.diff
# PATCH-FIX-SLE xrdp-filter-tab-from-mstsc-on-focus-change.patch bnc#601996 bnc#623534 - dliang@novell.com -- filter the fake tab key which is used to notify the session # PATCH-FIX-SLE xrdp-filter-tab-from-mstsc-on-focus-change.patch bnc#601996 bnc#623534 - dliang@novell.com -- filter the fake tab key which is used to notify the session
@ -102,6 +104,7 @@ This package contains libraries for the JPEG2000 codec for RDP.
%patch3 -p1 %patch3 -p1
%patch4 -p1 %patch4 -p1
%patch5 -p1 %patch5 -p1
%patch6 -p1
%if ! 0%{?is_opensuse} %if ! 0%{?is_opensuse}
%patch11 -p1 %patch11 -p1
%patch12 -p1 %patch12 -p1