xrdp-next/xrdp.spec

762 lines
26 KiB
RPMSpec
Raw Normal View History

%global _hardened_build 1
2017-04-12 12:15:12 +00:00
%global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null)
%global selinux_variants %([ -z "%{selinux_types}" ] && echo mls targeted || echo %{selinux_types})
2022-01-08 02:26:54 +00:00
%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
%global _hardlink /usr/bin/hardlink
%else
%global _hardlink /usr/sbin/hardlink
%endif
%if ! 0%{?fedora} && 0%{?rhel} <= 7
%global _missing_braces -Wno-error=missing-braces
%endif
2009-08-14 18:01:35 +00:00
Summary: Open source remote desktop protocol (RDP) server
Name: xrdp
2021-01-01 01:56:52 +00:00
Epoch: 1
2023-08-31 17:47:14 +00:00
Version: 0.9.23
Release: 1%{?dist}
2020-02-20 16:07:25 +00:00
License: ASL 2.0 and GPLv2+ and MIT
2016-12-26 08:51:17 +00:00
URL: http://www.xrdp.org/
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
2015-07-15 17:34:45 +00:00
Source1: xrdp-sesman.pamd
Source2: xrdp.sysconfig
Source3: xrdp.logrotate
Source4: openssl.conf
Source5: README.Fedora
2017-04-12 12:15:12 +00:00
Source6: xrdp.te
2020-01-29 18:57:13 +00:00
Source7: xrdp-polkit-1.rules
2019-01-11 08:23:27 +00:00
Patch0: xrdp-0.9.9-sesman.patch
2021-09-01 03:10:03 +00:00
Patch1: xrdp-0.9.17-xrdp-ini.patch
2017-10-06 03:36:47 +00:00
Patch2: xrdp-0.9.4-service.patch
Patch3: xrdp-0.9.10-scripts-libexec.patch
Patch4: xrdp-0.9.6-script-interpreter.patch
2021-04-30 23:39:52 +00:00
Patch5: xrdp-0.9.16-arch.patch
2022-01-11 09:43:47 +00:00
Patch6: xrdp-0.9.18-vnc-uninit.patch
2021-01-01 01:37:00 +00:00
%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8
2022-09-15 07:49:35 +00:00
Patch7: xrdp-0.9.20-sesman-ini.patch
%endif
%if ! 0%{?fedora} && 0%{?rhel} <= 7
Patch8: xrdp-0.9.22.1-no-c99.patch
%endif
2009-08-14 18:01:35 +00:00
BuildRequires: make
2018-03-09 05:55:26 +00:00
BuildRequires: gcc
2022-01-14 11:16:04 +00:00
BuildRequires: automake autoconf libtool
BuildRequires: libX11-devel
2012-02-04 23:36:33 +00:00
BuildRequires: libXfixes-devel
2015-07-15 17:34:45 +00:00
BuildRequires: libXrandr-devel
BuildRequires: imlib2-devel
BuildRequires: openssl
BuildRequires: pam-devel
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(systemd)
BuildRequires: nasm
2015-07-15 17:34:45 +00:00
2017-04-12 12:15:12 +00:00
BuildRequires: checkpolicy, selinux-policy-devel
BuildRequires: %{_hardlink}
2017-04-12 12:15:12 +00:00
# tigervnc-server-minimal provides Xvnc (default for now)
# xorgxrdp is another back end, depends on specific Xorg binary, omit
Requires: tigervnc-server-minimal
Requires: xorg-x11-xinit
Requires: util-linux
2019-09-23 11:18:34 +00:00
%if 0%{?fedora} || 0%{?rhel} >= 8
Recommends: %{name}-selinux = %{epoch}:%{version}-%{release}
%endif
2009-08-14 18:01:35 +00:00
2015-07-15 17:34:45 +00:00
Requires(post): systemd
2012-02-04 23:36:33 +00:00
Requires(post): systemd-sysv
Requires(post): /sbin/ldconfig
Requires(posttrans): openssl
2015-07-15 17:34:45 +00:00
Requires(preun): systemd
Requires(posttrans): systemd
2015-07-15 17:34:45 +00:00
2009-08-14 18:01:35 +00:00
2017-01-23 04:10:58 +00:00
%package devel
Summary: Headers and pkg-config files needed to compile xrdp backends
Requires: %{name} = %{epoch}:%{version}-%{release}
2009-08-14 18:01:35 +00:00
%description
2016-12-26 09:19:45 +00:00
xrdp provides a fully functional RDP server compatible with a wide range
of RDP clients, including FreeRDP and Microsoft RDP client.
2009-08-14 18:01:35 +00:00
2017-01-23 04:10:58 +00:00
%description devel
This package contains headers necessary for developing xrdp backends that
talk to xrdp.
2017-04-12 12:15:12 +00:00
%package selinux
Summary: SELinux policy module required tu run xrdp
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: selinux-policy >= %{_selinux_policy_version}
Requires(post): /usr/sbin/semodule
Requires(postun): /usr/sbin/semodule
2017-04-12 12:15:12 +00:00
%description selinux
This package contains SELinux policy module necessary to run xrdp.
2009-08-14 18:01:35 +00:00
%prep
%autosetup -p1
%{__cp} %{SOURCE5} .
2009-09-04 22:27:40 +00:00
2017-04-12 12:15:12 +00:00
# SELinux policy module
%{__mkdir} SELinux
%{__cp} -p %{SOURCE6} SELinux
# create 'bash -l' based startwm, to pick up PATH etc.
echo '#!/bin/bash -l
. %{_libexecdir}/xrdp/startwm.sh' > sesman/startwm-bash.sh
2009-08-14 18:01:35 +00:00
%build
2022-01-14 11:16:04 +00:00
autoreconf -vif
2022-03-17 11:33:26 +00:00
CFLAGS="$RPM_OPT_FLAGS %{?_missing_braces}" \
%configure --enable-fuse --enable-pixman --enable-painter --enable-vsock \
--enable-ipv6 --with-socketdir=%{_rundir}/%{name} --with-imlib2
2016-12-27 07:50:42 +00:00
%make_build
2009-08-14 18:01:35 +00:00
2017-04-12 12:15:12 +00:00
# SELinux policy module
cd SELinux
for selinuxvariant in %{selinux_variants}
do
%{__make} NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile
%{__mv} %{name}.pp %{name}.pp.${selinuxvariant}
%{__make} NAME=${selinuxvariant} -f /usr/share/selinux/devel/Makefile clean
done
cd -
2009-08-14 18:01:35 +00:00
%install
2016-12-27 07:50:42 +00:00
%make_install
2009-08-14 18:01:35 +00:00
#install sesman pam config /etc/pam.d/xrdp-sesman
2015-07-15 17:34:45 +00:00
%{__install} -Dp -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman
2009-08-14 18:01:35 +00:00
#install xrdp sysconfig /etc/sysconfig/xrdp
2015-07-15 17:34:45 +00:00
%{__install} -Dp -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/xrdp
2009-08-14 18:01:35 +00:00
#install logrotate /etc/logrotate.d/xrdp
2015-07-15 17:34:45 +00:00
%{__install} -Dp -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/logrotate.d/xrdp
2009-08-14 18:01:35 +00:00
#install openssl.conf /etc/xrdp
%{__install} -Dp -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/xrdp/openssl.conf
#install 'bash -l' startwm script
%{__install} -Dp -m 755 sesman/startwm-bash.sh %{buildroot}%{_libexecdir}/xrdp/startwm-bash.sh
2017-08-10 00:42:06 +00:00
#move startwm and reconnectwm scripts to libexec
%{__mv} -f %{buildroot}%{_sysconfdir}/xrdp/startwm.sh %{buildroot}%{_libexecdir}/xrdp/
2017-08-10 00:42:06 +00:00
%{__mv} -f %{buildroot}%{_sysconfdir}/xrdp/reconnectwm.sh %{buildroot}%{_libexecdir}/xrdp/
#install xrdp.rules /usr/share/polkit-1/rules.d
2020-01-29 18:57:13 +00:00
%{__install} -Dp -m 644 %{SOURCE7} %{buildroot}%{_datadir}/polkit-1/rules.d/xrdp.rules
2017-04-12 12:15:12 +00:00
# SELinux policy module
for selinuxvariant in %{selinux_variants}
do
%{__install} -d %{buildroot}%{_datadir}/selinux/${selinuxvariant}
%{__install} -p -m 644 SELinux/%{name}.pp.${selinuxvariant} \
%{buildroot}%{_datadir}/selinux/${selinuxvariant}/%{name}.pp
done
%{_hardlink} -cv %{buildroot}%{_datadir}/selinux
2017-04-12 12:15:12 +00:00
2009-08-14 18:01:35 +00:00
%post
%{?ldconfig}
2014-12-07 20:47:55 +00:00
%systemd_post xrdp.service
2009-08-14 18:01:35 +00:00
2012-02-04 23:36:33 +00:00
%preun
2014-12-07 20:47:55 +00:00
%systemd_preun xrdp.service
if [ $1 -eq 0 ]; then
# Stop services on package removal (see bug 1349083)
systemctl stop xrdp.service > /dev/null 2>&1 || :
fi
2009-08-14 18:01:35 +00:00
2012-02-04 23:36:33 +00:00
%triggerun -- xrdp < 0.6.0-1
systemd-sysv-convert --save xrdp >/dev/null 2>&1 ||:
2012-02-04 23:36:33 +00:00
# If the package is allowed to autostart:
systemctl preset xrdp.service >/dev/null 2>&1 ||:
2012-02-04 23:36:33 +00:00
# Run these because the SysV package being removed won't do them
/sbin/chkconfig --del xrdp >/dev/null 2>&1 || :
if [ "`systemctl is-active xrdp.service`" = 'active' ]; then
systemctl stop xrdp.service >/dev/null 2>&1 || :
systemctl start xrdp.service >/dev/null 2>&1 || :
fi
2009-08-14 18:01:35 +00:00
%ldconfig_postun
%posttrans
if [ ! -s %{_sysconfdir}/xrdp/rsakeys.ini ]; then
2019-08-09 23:16:25 +00:00
(umask 377; touch %{_sysconfdir}/xrdp/rsakeys.ini; %{_bindir}/xrdp-keygen xrdp %{_sysconfdir}/xrdp/rsakeys.ini &>/dev/null)
fi
if [ ! -s %{_sysconfdir}/xrdp/cert.pem ]; then
(umask 377; openssl req -x509 -newkey rsa:2048 -sha256 -nodes -days 3652 \
-keyout %{_sysconfdir}/xrdp/key.pem \
-out %{_sysconfdir}/xrdp/cert.pem \
-config %{_sysconfdir}/xrdp/openssl.conf >/dev/null 2>&1)
fi
%post selinux
for selinuxvariant in %{selinux_variants}
do
/usr/sbin/semodule -s ${selinuxvariant} -i \
%{_datadir}/selinux/${selinuxvariant}/%{name}.pp &> /dev/null || :
done
%postun selinux
if [ $1 -eq 0 ] ; then
for selinuxvariant in %{selinux_variants}
do
/usr/sbin/semodule -s ${selinuxvariant} -r %{name} &> /dev/null || :
done
fi
2009-08-14 18:01:35 +00:00
%files
%doc COPYING README.Fedora
2009-08-14 18:01:35 +00:00
%dir %{_libdir}/xrdp
%dir %{_sysconfdir}/xrdp
2015-07-20 03:06:59 +00:00
%dir %{_sysconfdir}/xrdp/pulse
2009-08-14 18:01:35 +00:00
%dir %{_datadir}/xrdp
2017-04-11 01:23:00 +00:00
%dir %{_libexecdir}/xrdp
2009-08-14 18:01:35 +00:00
%config(noreplace) %{_sysconfdir}/xrdp/xrdp.ini
%config(noreplace) %{_sysconfdir}/pam.d/xrdp-sesman
%config(noreplace) %{_sysconfdir}/logrotate.d/xrdp
%config(noreplace) %{_sysconfdir}/sysconfig/xrdp
2015-07-15 17:34:45 +00:00
%config(noreplace) %{_sysconfdir}/xrdp/sesman.ini
%config(noreplace) %{_sysconfdir}/xrdp/km*.ini
%config(noreplace) %{_sysconfdir}/xrdp/openssl.conf
%config(noreplace) %{_sysconfdir}/xrdp/xrdp_keyboard.ini
2018-04-23 05:35:23 +00:00
%config(noreplace) %{_sysconfdir}/xrdp/pulse/default.pa
%exclude %ghost %{_sysconfdir}/xrdp/*.pem
%exclude %ghost %{_sysconfdir}/xrdp/rsakeys.ini
%{_libexecdir}/xrdp/startwm*.sh
2017-08-10 00:42:06 +00:00
%{_libexecdir}/xrdp/reconnectwm.sh
2010-03-18 14:59:55 +00:00
%{_bindir}/xrdp-genkeymap
2009-08-14 18:01:35 +00:00
%{_bindir}/xrdp-sesadmin
%{_bindir}/xrdp-keygen
%{_bindir}/xrdp-sesrun
2014-04-01 06:27:44 +00:00
%{_bindir}/xrdp-dis
2009-08-14 18:01:35 +00:00
%{_sbindir}/xrdp-chansrv
%{_sbindir}/xrdp
%{_sbindir}/xrdp-sesman
%{_datadir}/xrdp/ad256.bmp
%{_datadir}/xrdp/cursor0.cur
%{_datadir}/xrdp/cursor1.cur
%{_datadir}/xrdp/xrdp256.bmp
%{_datadir}/xrdp/sans-10.fv1
2010-03-18 14:59:55 +00:00
%{_datadir}/xrdp/ad24b.bmp
%{_datadir}/xrdp/xrdp24b.bmp
2015-07-15 17:34:45 +00:00
%{_datadir}/xrdp/xrdp_logo.bmp
2020-01-29 18:59:27 +00:00
%{_datadir}/polkit-1/rules.d/xrdp.rules
2009-08-14 18:01:35 +00:00
%{_mandir}/man5/*
%{_mandir}/man8/*
2015-07-15 17:34:45 +00:00
%{_mandir}/man1/*
2023-05-23 01:52:13 +00:00
%{_libdir}/librfxencode.so*
%{_libdir}/xrdp/lib*.so*
2023-05-23 01:52:13 +00:00
%exclude %{_libdir}/librfxencode.so
%exclude %{_libdir}/xrdp/libcommon.so
%exclude %{_libdir}/xrdp/libscp.so
%exclude %{_libdir}/xrdp/libxrdp.so
%exclude %{_libdir}/xrdp/libxrdpapi.so
2015-07-15 17:34:45 +00:00
%{_unitdir}/xrdp-sesman.service
%{_unitdir}/xrdp.service
%exclude %{_includedir}/painter.h
%exclude %{_libdir}/libpainter.*
%exclude %{_libdir}/pkgconfig/libpainter.pc
2017-03-31 00:37:08 +00:00
%exclude %{_libdir}/*.a
%exclude %{_libdir}/xrdp/*.a
2023-05-07 10:55:04 +00:00
%if 0%{?rhel}
%exclude %{_libdir}/*.la
%exclude %{_libdir}/xrdp/*.la
%endif
%ghost %{_localstatedir}/log/xrdp.log
2009-08-14 18:01:35 +00:00
%ghost %{_localstatedir}/log/xrdp-sesman.log
%exclude %{_libdir}/pkgconfig/rfxcodec.pc
2009-08-14 18:01:35 +00:00
2017-01-23 04:10:58 +00:00
%files devel
2020-03-11 10:42:14 +00:00
%{_includedir}/ms-*
%{_includedir}/xrdp*
2017-03-31 00:37:08 +00:00
%{_includedir}/rfxcodec_*.h
2023-05-23 01:52:13 +00:00
%{_libdir}/librfxencode.so
%{_libdir}/xrdp/libcommon.so
%{_libdir}/xrdp/libscp.so
%{_libdir}/xrdp/libxrdp.so
%{_libdir}/xrdp/libxrdpapi.so
2023-05-23 01:52:13 +00:00
%{_libdir}/pkgconfig/rfxcodec.pc
2017-01-23 04:10:58 +00:00
%{_libdir}/pkgconfig/xrdp.pc
2017-04-12 12:15:12 +00:00
%files selinux
%doc SELinux/%{name}.te
%{_datadir}/selinux/*/%{name}.pp
2009-08-14 18:01:35 +00:00
%changelog
2023-08-31 17:47:14 +00:00
* Fri Sep 1 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.23-1
- Update to 0.9.23
- CVE-2023-40184
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.22.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-06-13 15:58:08 +00:00
* Tue Jun 13 2023 Leigh Scott <leigh123linux@gmail.com> - 1:0.9.22.1-3
- Rebuild fo new imlib2
* Tue May 23 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22.1-2
- Remove C99 loop initialisation on EPEL7
2023-05-23 01:18:19 +00:00
* Tue May 23 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22.1-1
- Update to 0.9.22.1
2023-05-18 23:27:28 +00:00
* Fri May 19 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22-5
- Patch session chooser segfault
- Bugs #2208015 and #2208248
2023-05-17 00:59:56 +00:00
* Wed May 17 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22-4
2023-05-17 01:23:31 +00:00
- Put back .so files into %%_libdir/xrdp directory
- Bug #2207733
2023-05-17 00:59:56 +00:00
* Mon May 8 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22-3
- Exclude rfxcodec.pc - shared library no longer created
2023-05-17 00:59:56 +00:00
* Sun May 7 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22-2
- Explicitly exclude .la files on RHEL
2023-05-17 00:59:56 +00:00
* Sun May 7 2023 Bojan Smojver <bojan@rexursive.com> - 1:0.9.22-1
2023-05-07 07:30:15 +00:00
- Bump up to 0.9.22
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Sun Dec 11 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.21-1
2022-12-10 23:09:03 +00:00
- Bump up to 0.9.21
2022-12-10 23:21:34 +00:00
- CVE-2022-23468 CVE-2022-23477 CVE-2022-23478 CVE-2022-23479 CVE-2022-23480
- CVE-2022-23481 CVE-2022-23483 CVE-2022-23482 CVE-2022-23484 CVE-2022-23493
2022-12-10 23:09:03 +00:00
2023-05-17 00:59:56 +00:00
* Thu Sep 15 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.20-1
2022-09-15 07:49:35 +00:00
- Bump up to 0.9.20
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Thu Mar 17 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.19-1
2022-03-17 11:33:26 +00:00
- Bump up to 0.9.19
2023-05-17 00:59:56 +00:00
* Tue Feb 8 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.18-5
2022-02-08 00:48:01 +00:00
- Add patch for CVE-2022-23613
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Fri Jan 14 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.18-3
- Add patch for imlib2 on RHEL7/8
2023-05-17 00:59:56 +00:00
* Wed Jan 12 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.18-2
- Bump release up for rebuild
2023-05-17 00:59:56 +00:00
* Tue Jan 11 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.18-1
2022-01-11 09:31:37 +00:00
- Bump up to 0.9.18
2023-05-17 00:59:56 +00:00
* Sat Jan 8 2022 Bojan Smojver <bojan@rexursive.com> - 1:0.9.17-6
2022-01-08 02:26:54 +00:00
- Adjust hardlink condition for EPEL 9
2023-05-17 00:59:56 +00:00
* Thu Dec 9 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.17-5
- Enable (experimental) IPv6 support (bug #2028630)
2023-05-17 00:59:56 +00:00
* Thu Nov 11 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.17-4
- Add -Wno-error=deprecated-declarations to CFLAGS to avoid build errors
2021-09-14 17:18:18 +00:00
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1:0.9.17-3
- Rebuilt with OpenSSL 3.0.0
2023-05-17 00:59:56 +00:00
* Mon Sep 6 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.17-2
- Trivially implement missing rfb_get_eds_status_msg() function
2023-05-17 00:59:56 +00:00
* Wed Sep 1 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.17-1
2021-09-01 02:58:54 +00:00
- Bump up to 0.9.17
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.16-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Wed Jul 14 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.16-2
- Bring logrotate file in line with defaults (BZ #1977175).
2023-05-17 00:59:56 +00:00
* Sat May 1 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.16-1
2021-04-30 23:23:33 +00:00
- Bump up to 0.9.16
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Sat Jan 2 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.15-3
- Remove setpriv patch and adjust SELinux policy to match
2023-05-17 00:59:56 +00:00
* Fri Jan 1 2021 Bojan Smojver <bojan@rexursive.com> - 1:0.9.15-2
2021-01-01 01:30:37 +00:00
- Use /usr/libexec/Xorg or Xorg session of Fedora and RHEL8+
2023-05-17 00:59:56 +00:00
* Tue Dec 29 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.15-1
2020-12-28 23:20:37 +00:00
- Bump up to 0.9.15
2023-05-17 00:59:56 +00:00
* Tue Sep 1 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.14-3
- Add a patch for uninitialised variables, courtesy of Dan Horák
2023-05-17 00:59:56 +00:00
* Mon Aug 31 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.14-2
2020-08-31 07:53:43 +00:00
- Bump up to 0.9.14
- Add a set of patches to deal with new GCC warnings/errors
- Do not emit warning on failed architecture detection
- Exclude s390x arch for now
2020-08-31 07:53:43 +00:00
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.13.1-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Tue Jun 30 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.13.1-1
2020-06-30 10:13:25 +00:00
- Bump up to 0.9.13.1
- CVE-2022-4044
2023-05-17 00:59:56 +00:00
* Thu May 14 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.13-2
- Move sockets to /run/xrdp, bug #1834178
2023-05-17 00:59:56 +00:00
* Wed Mar 11 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.13-1
2020-03-11 10:30:37 +00:00
- Bump up to 0.9.13
2020-02-21 23:58:35 +00:00
* Sat Feb 22 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.12-6
- patch a segfault
- issue #1487 and #1501, pointed out by oden dot eriksson at vattenfall dot com
2020-02-20 16:07:25 +00:00
* Thu Feb 20 2020 Tom Callaway <spot@fedoraproject.org> - 1:0.9.12-5
- fix license tag (bz1804932)
2023-05-17 00:59:56 +00:00
* Thu Jan 30 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.12-4
- README.Fedora: VSOCK support
- README.Fedora: possibly incorrect SELinux context of the sessions
- Add polkit-1 rules for colord access and repo refresh
2023-05-17 00:59:56 +00:00
* Mon Jan 13 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.12-3
- Add vsock items to SELinux policy (thanks to mm19827 of gmail.com)
2023-05-17 00:59:56 +00:00
* Sun Jan 12 2020 Bojan Smojver <bojan@rexursive.com> - 1:0.9.12-2
2020-01-12 10:48:27 +00:00
- Enable vsock (bug #1787953)
2023-05-17 00:59:56 +00:00
* Sun Dec 29 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.12-1
2019-12-29 04:07:31 +00:00
- Bump up to 0.9.12
2023-05-17 00:59:56 +00:00
* Mon Sep 23 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.11-5
- Make xrdp-selinux a weak dependency on versions that support them.
- Drop xrdp-selinux dependency completely.
2023-05-17 00:59:56 +00:00
* Sun Sep 15 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.11-3
- Decouple xrdp from xorgxrdp, causing repeated installation issues in RHEL.
2023-05-17 00:59:56 +00:00
* Tue Aug 27 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.11-2
2019-08-27 12:14:57 +00:00
- Increment release for rebuild in F31.
2023-05-17 00:59:56 +00:00
* Thu Aug 22 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.11-1
2019-08-22 12:11:46 +00:00
- Bump up to 0.9.11
2023-05-17 00:59:56 +00:00
* Sat Aug 10 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.10-3
- Make sure rsakeys.ini exists (bug #1739176).
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Fri May 3 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.10-1
2019-05-02 21:48:01 +00:00
- Bump up to 0.9.10
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Fri Jan 11 2019 Bojan Smojver <bojan@rexursive.com> - 1:0.9.9-1
2019-01-11 08:12:58 +00:00
- Bump up to 0.9.9
2019-01-11 08:23:27 +00:00
- Fix sesman.ini patch
2019-01-11 08:31:06 +00:00
- Fix xrdp.ini patch
2019-01-11 08:12:58 +00:00
2023-05-17 00:59:56 +00:00
* Wed Nov 14 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.8-2
- Make main and selinux packages codependent
2023-05-17 00:59:56 +00:00
* Wed Sep 26 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.8-1
2018-09-26 02:11:34 +00:00
- Bump up to 0.9.8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Wed Jul 4 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.7-1
2018-07-04 06:38:17 +00:00
- Bump up to 0.9.7
2023-05-17 00:59:56 +00:00
* Mon Apr 23 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.6-4
2018-04-23 05:35:23 +00:00
- mark files in /etc/xrdp/pulse as configs
- add null command on postun, so that it is never empty
2023-05-17 00:59:56 +00:00
* Mon Apr 23 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.6-3
2018-04-23 05:35:23 +00:00
- mark files in /etc/xrdp as configs
- run ldconfig
- remove chmod of certs/keys
- fix script interpreter
2023-05-17 00:59:56 +00:00
* Sun Apr 22 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.6-2
- Allow oddjob-mkhomedir in SELinux policy (stolen from grishin-a)
- Allow no new privileges transition in SELinux policy
2023-05-17 00:59:56 +00:00
* Tue Mar 27 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.6-1
2018-03-26 23:22:54 +00:00
- Bump up to 0.9.6
2023-05-17 00:59:56 +00:00
* Fri Mar 9 2018 Bojan Smojver <bojan@rexursive.com> - 1:0.9.5-2
2018-03-09 05:55:26 +00:00
- add gcc build requirement
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:0.9.5-2
- Escape macros in %%changelog
2023-05-17 00:59:56 +00:00
* Sat Dec 30 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.5-1
2017-12-30 08:10:44 +00:00
- Bump up to 0.9.5
2023-05-17 00:59:56 +00:00
* Fri Nov 24 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.4-2
2017-11-23 23:53:52 +00:00
- Patch CVE-2017-16927
2023-05-17 00:59:56 +00:00
* Fri Oct 6 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.4-1
2017-10-06 03:36:47 +00:00
- Bump up to 0.9.4
2023-05-17 00:59:56 +00:00
* Tue Sep 19 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.3-2
2017-09-18 21:22:54 +00:00
- Add patch to clean up sockets
2023-05-17 00:59:56 +00:00
* Thu Aug 10 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.3-1
2017-08-10 00:42:06 +00:00
- Bump up to 0.9.3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2023-05-17 00:59:56 +00:00
* Thu May 18 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-12
- Document problems/workaround with clipboard support in TigerVNC 1.8.0
2023-05-17 00:59:56 +00:00
* Thu May 18 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-11
- Add a patch that allows equal signs in ini file values
2023-05-17 00:59:56 +00:00
* Thu Apr 13 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-10
- Use epoch in version dependency
- Provide selinux sub-package scriptlets
2023-05-17 00:59:56 +00:00
* Thu Apr 13 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-9
- Adjust Fedora README file for SELinux changes
2023-05-17 00:59:56 +00:00
* Wed Apr 12 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-8
2017-04-12 12:15:12 +00:00
- Add SELinux policy sub-package
2023-05-17 00:59:56 +00:00
* Tue Apr 11 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-7
2017-04-11 01:23:00 +00:00
- Own /usr/libexec/xrdp directory
2023-05-17 00:59:56 +00:00
* Tue Apr 11 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-6
- Move scripts to /usr/libexec/xrdp, so that they get labelled as bin_t
2023-05-17 00:59:56 +00:00
* Sat Apr 8 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-5
- Rework call to Xorg to use setpriv instead, properly
2023-05-17 00:59:56 +00:00
* Fri Apr 7 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-4
- Do not call prctl() from xrdp, use setpriv instead
2023-05-17 00:59:56 +00:00
* Tue Apr 4 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-3
- Do not attempt xrdp restarts, may cause dnf transaction problems
- Stop depending on Xorg server, xorgxrdp already does
- Add README.Fedora
2023-05-17 00:59:56 +00:00
* Mon Apr 3 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-2
- Stop using /usr/libexec/Xorg, not present on EL7
2023-05-17 00:59:56 +00:00
* Fri Mar 31 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.2-1
2017-03-31 00:37:08 +00:00
- Bump up to 0.9.2
2023-05-17 00:59:56 +00:00
* Tue Mar 14 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.1-8
- Require tigervnc-server-minimal again, make it default
- Comment out references to X11rdp
* Fri Mar 10 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-7
- Require /etc/X11/xinit/Xsession, it's called from startwm.sh
- Call xrdp-keygen with full path in %%posttrans
2017-03-10 21:08:40 +00:00
- Exclude *.so files for non-modules
* Thu Mar 09 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-6
- Make xrdp depend on xorgxrdp, not on tigervnc-server-minimal
- Make Xorg backend default
- Call /usr/libexec/Xorg directly to avoid permission checks
2023-05-17 00:59:56 +00:00
* Tue Feb 21 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.1-5
- Require openssl in posttrans phase
- Move conditional restart to posttrans phase
2023-05-17 00:59:56 +00:00
* Mon Feb 20 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.1-4
- Move key/cert generation to posttrans stage
2023-05-17 00:59:56 +00:00
* Thu Feb 16 2017 Bojan Smojver <bojan@rexursive.com> - 1:0.9.1-3
- Fix log file rotation
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Feb 07 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-2
- Enable hardened build
* Tue Jan 24 2017 Pavel Roskin <plroskin@gmail.com> - 1:0.9.1-1
- Split out xrdp-devel
- Generate certificate for TLS authentication on package install
- Add fastpath hotfix
- Fix stopping services on package uninstall
- Use packaged pixman library
- Enable libpainter for compatibility with "noorders" clients
- Upgrade to 0.9.1
2016-12-22 23:55:36 +00:00
2016-03-13 05:15:55 +00:00
* Sun Mar 13 2016 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1:0.9.0-6
- enable fuse for drive redirection or clipboard file transfer
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-07-20 03:06:59 +00:00
* Mon Jul 20 2015 Bojan Smojver <bojan@rexursive.com> - 1:0.9.0-4
- own /etc/xrdp/pulse directory
* Fri Jul 17 2015 Bojan Smojver <bojan@rexursive.com> - 1:0.9.0-3
- service files fixes and dependencies
- sesman default configuration
2015-07-17 01:09:44 +00:00
* Wed Jul 15 2015 Dan Horák <dan[at]danny.cz> - 1:0.9.0-2
- install epoch back to keep clean upgrade path
2015-07-15 17:34:45 +00:00
* Tue Jul 14 2015 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.9.0-1
- upgrade to 0.9.0
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-04 06:29:32 +00:00
* Thu Jun 4 2015 Bojan Smojver <bojan@rexursive.com> - 1:0.6.1-10
- remove -ac from X server calls: bug #1105202
- put other sesman.ini changes into a patch
2015-05-15 05:27:00 +00:00
* Fri May 15 2015 Bojan Smojver <bojan@rexursive.com> - 1:0.6.1-9
- hopefully better service dependencies
* Thu Apr 23 2015 Dan Horák <dan[at]danny.cz> - 1:0.6.1-8
- fix upgrade path after the 0.8 bump in 2014-09 by adding Epoch
2014-12-22 07:11:55 +00:00
* Mon Dec 22 2014 Bojan Smojver <bojan@rexursive.com> - 0.6.1-7
- add a delay loop when connecting to VNC back end
2014-12-07 20:47:55 +00:00
* Mon Dec 8 2014 Bojan Smojver <bojan@rexursive.com> - 0.6.1-6
- use systemd rpm macros: bug #850374
2014-08-21 17:55:27 +00:00
* Thu Aug 21 2014 Kevin Fenzi <kevin@scrye.com> - 0.6.1-5
- Rebuild for rpm bug 1131960
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-04-01 07:57:56 +00:00
* Tue Apr 1 2014 Bojan Smojver <bojan@rexursive.com> - 0.6.1-2
2014-04-01 06:32:06 +00:00
- try a bump to official 0.6.1
- provide format for syslog() call
2014-04-01 07:57:56 +00:00
- fix memset() call
2014-04-01 08:14:30 +00:00
- fix implicit declarations
2014-04-01 06:32:06 +00:00
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-0.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jan 29 2013 Dan Horák <dan[at]danny.cz> - 0.6.0-0.7
- fix check for big endian arches (#905411)
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-0.6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-05-28 00:05:27 +00:00
* Mon May 28 2012 Bojan Smojver <bojan@rexursive.com> - 0.6.0-0.5
- bind xrdp-sesman.service to xrdp.service, so that restarts work
- do not use forking style, but run services in the foreground instead
- dispense with ExecStop, systemd will do that for us
* Sat May 26 2012 Bojan Smojver <bojan@rexursive.com> - 0.6.0-0.4
- do explicit stop/start in order to get xrdp-sesman.service up too
* Sat May 26 2012 Bojan Smojver <bojan@rexursive.com> - 0.6.0-0.3
- also attempt to restart xrdp-sesman.service (just xrdp.service won't do it)
- stop xrdp-sesman.service when not needed by xrdp.service
* Fri May 25 2012 Bojan Smojver <bojan@rexursive.com> - 0.6.0-0.2
- bump release for rebuild with the correct e-mail address
2012-05-25 07:08:06 +00:00
* Fri May 25 2012 Bojan Smojver <bojan@rexursive.com> - 0.6.0-0.1
2012-05-25 06:48:00 +00:00
- more work on systemd support
- remove xrdp-dis for now, current HEAD is broken (explicit rpaths)
* Wed May 23 2012 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.6.0-0.1
- include patch's from Bojan Smojver bz#821569 , bz#611669
2012-02-04 23:36:33 +00:00
2012-05-25 06:48:00 +00:00
* Sat Feb 04 2012 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.16
- add support for systemd
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Nov 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.13
- up to git tag a9cfc235211a49c69c3cce3f98ee5976ff8103a4
* Thu Nov 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.12.03172010
- fix logrotate to not restart xrdp and drop all open connections
* Mon Oct 04 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.11.03172010
- Load a default keymap when current keymap doesnt exist
2010-07-09 01:08:12 +00:00
* Thu Jul 08 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.10.03172010
- fix rhbz #611669 (load environment variables)
2010-03-18 17:31:36 +00:00
* Thu Mar 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.9.03172010
- buildrequires libXfixes-devel
2010-03-18 15:26:39 +00:00
* Thu Mar 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.8.03172010
- buildrequires libX11-devel
2010-03-18 14:59:55 +00:00
* Thu Mar 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.7.03172010
- sync with last xrdp cvs
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 0.5.0-0.6.20090811cvs
- use password-auth instead of system-auth
2009-09-08 16:06:52 +00:00
* Tue Sep 08 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.5.20090811cvs
- fix xrdp-sesman pam.d to uses system-auth
2009-09-04 22:27:40 +00:00
* Fri Sep 04 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.4.20090811cvs
- increase encryption to 128 bit's
- include system-auth into /etc/pam.d/xrdp-sesman
2009-08-26 15:22:56 +00:00
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 0.5.0-0.3.20090811cvs
- rebuild with new openssl
2009-08-14 18:01:35 +00:00
* Thu Aug 13 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.2.20090811cvs
- more changes to spec file https://bugzilla.redhat.com/show_bug.cgi?id=516364#c10
* Wed Aug 12 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.1.20090811cvs
- change versioning schema
- improve initscript
- fix some macros
* Tue Aug 11 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-2.20090811cvs
- changes from BZ#516364 comment 2 from Mamoru Tasaka
- changed license to "GPLv2+ with exceptions"
- dropped -libs subpackage
- use cvs version
- remove a patch and use sed instead
- remove attr's
* Thu Apr 02 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> 0.5.0-1
- Initial RPM release