Commit Graph

222 Commits

Author SHA1 Message Date
Bojan Smojver
4297537b9e Bump the release for rebuild. 2020-05-14 11:26:09 +10:00
Bojan Smojver
e526d2ff3a Move sockets to /run/xrdp, bug #1834178. 2020-05-14 11:21:05 +10:00
Bojan Smojver
30646c9647 Include ms-*.h files in devel package. 2020-03-11 21:42:14 +11:00
Bojan Smojver
862707ff82 Bump up to 0.9.13. 2020-03-11 21:30:37 +11:00
Bojan Smojver
566c5fb28e Fix the author name in changelog. 2020-02-22 10:58:35 +11:00
Bojan Smojver
8cd3c1ad8e Patch a segfault.
Issue #1487 and #1501, pointed out by oden dot eriksson at vattenfall dot com.
2020-02-22 10:42:26 +11:00
Tom Callaway
800dde62a0 fix license tag (bz1804932) 2020-02-20 11:07:25 -05:00
Bojan Smojver
b4f4c5c988 Remove polkit-devel, not required. 2020-01-30 06:10:41 +11:00
Bojan Smojver
0248468e55 File xrdp.sh no longer shipped, remove from excludes. 2020-01-30 06:04:59 +11:00
Bojan Smojver
353084fd0a Actually package polkit rules. 2020-01-30 05:59:27 +11:00
Bojan Smojver
a73c343f60 Fix source file versioning. 2020-01-30 05:57:13 +11:00
Bojan Smojver
ca00d54484 README.Fedora: VSOCK support.
README.Fedora: possibly incorrect SELinux context of the session.
Add polkit-1 rules for colord access and repo refresh.
2020-01-30 05:55:40 +11:00
Bojan Smojver
d012f391c4 Add vsock items to SELinux policy (thanks to mm19827 of gmail.com). 2020-01-13 07:28:49 +11:00
Bojan Smojver
fb8dad37fc Fix the epoch/release mixup. 2020-01-12 21:49:21 +11:00
Bojan Smojver
79f7d84f7d Enable vsock (bug #1787953). 2020-01-12 21:48:27 +11:00
Bojan Smojver
8fe5b5709d Bump up to 0.9.12. 2019-12-29 15:07:31 +11:00
Bojan Smojver
4e70d29b68 Hopefully fix the %if. 2019-09-23 21:18:34 +10:00
Bojan Smojver
97b0b912df Make xrdp-selinux a weak dependency on versions that support them.
Drop xrdp-selinux dependency completely.
2019-09-23 21:15:38 +10:00
Bojan Smojver
97fedc358a Revert "Turn xrdp-selinux into a weak dependency."
This reverts commit d52895cbc7.
2019-09-23 20:55:32 +10:00
Bojan Smojver
d52895cbc7 Turn xrdp-selinux into a weak dependency. 2019-09-23 20:17:56 +10:00
Bojan Smojver
0c1109091e Decouple xrdp from xorgxrdp, causing repeated installation issues in RHEL. 2019-09-15 21:40:59 +10:00
Bojan Smojver
65f983efe8 Increment release for rebuild in F31. 2019-08-27 22:14:57 +10:00
Bojan Smojver
ec60b4cc96 Bump up to 0.9.11. 2019-08-22 22:11:46 +10:00
Bojan Smojver
b3f30b29e2 Make sure rsakeys.ini exists (bug #1739176). 2019-08-10 11:35:56 +10:00
Bojan Smojver
cd101d1ce8 There is no __touch, use touch. 2019-08-10 09:16:25 +10:00
Bojan Smojver
0e617c2d5a Touch rsakeys.ini, because on FIPS enabled systems, xrdp-keygen fails. 2019-08-10 09:09:51 +10:00
Fedora Release Engineering
f7fa226b26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:37:17 +00:00
Bojan Smojver
c275c4121e Hardlink moved to util-linux in f31, try to compensate. 2019-05-03 09:28:24 +10:00
Bojan Smojver
a123474ebc Adjust scripts path patch to 0.9.10. 2019-05-03 08:04:27 +10:00
Bojan Smojver
6060e97528 Bump up to 0.9.10. 2019-05-03 07:48:01 +10:00
Fedora Release Engineering
34af43db09 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 12:48:17 +00:00
Igor Gnatenko
1cec800b19 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:56 +01:00
Igor Gnatenko
9c8f1ff61e
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:22 +01:00
Bojan Smojver
d6af8928b2 Fix xrdp.ini patch. 2019-01-11 19:31:06 +11:00
Bojan Smojver
7384cc1e10 Fix patch name, add to changelog. 2019-01-11 19:23:27 +11:00
Bojan Smojver
cd45daef35 Bump up to 0.9.9. 2019-01-11 19:12:58 +11:00
Bojan Smojver
1a031d4e90 Make main and selinux packages codependent. 2018-11-14 21:29:42 +11:00
Bojan Smojver
7a961da383 Bump up to 0.9.8. 2018-09-26 12:11:34 +10:00
Fedora Release Engineering
b8c8a396fd - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:34:20 +00:00
Bojan Smojver
e5ba9c447b Bump up to 0.9.7. 2018-07-04 16:38:17 +10:00
Bojan Smojver
02f845c1b8 Some more rpmlint driven fixes. 2018-04-23 15:35:23 +10:00
Bojan Smojver
4d36aa7cf9 Various fixed based on rpmlint errors/warnings. 2018-04-23 15:02:48 +10:00
Bojan Smojver
18ba1a2928 Some SELinux policy additions/improvements. 2018-04-22 16:37:17 +10:00
Bojan Smojver
50a24a40bf Bump up to 0.9.6. 2018-03-27 10:22:54 +11:00
Bojan Smojver
48590c0764 Add gcc build requirement. 2018-03-09 16:55:26 +11:00
Igor Gnatenko
37a48ffc35
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:06:32 +01:00
Bojan Smojver
dff3e4c958 Revert "Add patch for gnome-settings-daemon crash."
This reverts commit 71ab6050ee.
2018-01-15 16:47:12 +11:00
Bojan Smojver
71ab6050ee Add patch for gnome-settings-daemon crash. 2018-01-15 16:37:40 +11:00
Bojan Smojver
2fc72167a1 Bump up to 0.9.5. 2017-12-30 19:10:44 +11:00
Bojan Smojver
95313000bd Patch CVE-2017-16927. 2017-11-24 10:53:52 +11:00
Bojan Smojver
ebf3964dd6 Bump up to 0.9.4. 2017-10-06 14:36:47 +11:00
Bojan Smojver
39d1b75d13 Add patch to clean sockets. 2017-09-19 07:22:54 +10:00
Bojan Smojver
f5708ae118 Bump up to 0.9.3. 2017-08-10 10:42:06 +10:00
Fedora Release Engineering
2892a14dfd - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:58:09 +00:00
Fedora Release Engineering
6eb1547e64 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 22:26:06 +00:00
Bojan Smojver
12a8dc25dd Document problems/workaround with clipboard support in TigerVNC 1.8.0. 2017-05-18 15:37:54 +10:00
Bojan Smojver
0e4fbd83c7 Add a patch that allows equal signs in ini file values. 2017-05-18 12:28:38 +10:00
Bojan Smojver
4b1af7e079 Use epoch in version dependency.
Provide SELinux scriptlets.
2017-04-13 15:22:09 +10:00
Bojan Smojver
294ba5281a Adjust Fedora README file for SELinux changes. 2017-04-13 08:31:21 +10:00
Bojan Smojver
75d49d9d76 Add SELinux policy sub-package. 2017-04-12 22:15:12 +10:00
Bojan Smojver
24e3a2139d Own /usr/libexec/xrdp directory. 2017-04-11 11:23:00 +10:00
Bojan Smojver
ba89333c84 Move scripts to /usr/libexec/xrdp, so that they get labelled as bin_t. 2017-04-11 11:16:53 +10:00
Bojan Smojver
c89b807752 Rework starting of Xorg to use setpriv, directly from xrdp.
Document SELinux deficiencies.
2017-04-08 16:24:24 +10:00
Bojan Smojver
0e2197f37f Fix the name of the renamed patch. 2017-04-07 14:19:03 +10:00
Bojan Smojver
c248a7d1ef Avoid SELinux context transition after prctl() call by using setpriv. 2017-04-07 14:13:47 +10:00
Bojan Smojver
2824937920 Do not attempt xrdp restarts, may cause dnf transaction problems.
Stop depending on Xorg server, xorgxrdp already does.
Add README.Fedora.
2017-04-04 08:49:00 +10:00
Bojan Smojver
9b7edb41eb Stop using /usr/libexec/Xorg, not present on EL7. 2017-04-03 19:04:12 +10:00
Bojan Smojver
ef84d9ffb3 Add nasm to the list of build requirements. 2017-03-31 11:38:39 +11:00
Bojan Smojver
19dd11b67f Bump up to 0.9.2. 2017-03-31 11:37:08 +11:00
Bojan Smojver
1316fae0cf Revert "Patch CVE-2017-6967."
This reverts commit 34847db9aa.
2017-03-21 19:34:09 +11:00
Bojan Smojver
34847db9aa Patch CVE-2017-6967. 2017-03-21 19:12:27 +11:00
Bojan Smojver
fdd3ba2522 Bump up release number. 2017-03-14 15:39:33 +11:00
Bojan Smojver
5e20737406 Require tigervnc-server-minimal again, make it default.
Comment out references to X11rdp.
2017-03-14 15:35:35 +11:00
Pavel Roskin
f1350805d5 Revert the last change, it's not working on f25 2017-03-11 00:07:43 -08:00
Pavel Roskin
cf3b9a55dc Set tls_ciphers to PROFILE=SYSTEM, disable SSLv3
See https://fedoraproject.org/wiki/Packaging:CryptoPolicies
2017-03-10 14:24:08 -08:00
Pavel Roskin
e27e31d616 Exclude *.so files for non-modules 2017-03-10 13:08:40 -08:00
Pavel Roskin
81cb1033b1 Call xrdp-keygen with full path in %posttrans 2017-03-10 10:31:17 -08:00
Pavel Roskin
3c9d286368 Require Xsession
- Require /etc/X11/xinit/Xsession, it's called from startwm.sh
2017-03-10 09:13:02 -08:00
Pavel Roskin
d3c649536b Use xorgxrdp by default
- Make xrdp depend on xorgxrdp, not on tigervnc-server-minimal
- Make Xorg backend default
- Call /usr/libexec/Xorg directly to avoid permission checks
2017-03-09 15:51:11 -08:00
Bojan Smojver
2d35ec095a Require openssl in posttrans phase.
Move conditional restart to posttrans phase.
2017-02-21 05:15:28 +11:00
Bojan Smojver
7271948d04 Move key/cert generation to posttrans phase. 2017-02-20 15:13:56 +11:00
Bojan Smojver
341ecd47bb Fix log file rotation.
PID files do not exist, so sending a HUP will not be possible. Use
copytruncate instead. Create option is irrelevant in that case.

Also, include xrdp.log file.
2017-02-16 10:02:51 +11:00
Fedora Release Engineering
3a33d2ee40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:08:46 +00:00
Pavel Roskin
041d3cee4a Enable hardened build, it's required for daemons that run as root 2017-02-08 00:24:48 -08:00
Pavel Roskin
5504de0cad Be careful to only package xrdp headers in xrdp-devel 2017-01-25 01:17:08 -08:00
Pavel Roskin
c02680c663 Use version 0.9.1-1 for the package, it was never built 2017-01-24 00:54:06 -08:00
Pavel Roskin
cb6a7d777b Fix permissions on keys and certificates
Make sure to generate them with mode 400. Adjust permissions on
preexisiting keys. Regenerate empty keys.
2017-01-24 00:11:42 -08:00
Pavel Roskin
6277dbab0f Enable libpainter for compatibility with "noorders" clients 2017-01-23 23:46:02 -08:00
Pavel Roskin
dcc8234cc7 Remove duplicate files, prepare 0.9.1-2 build 2017-01-23 23:13:54 -08:00
Pavel Roskin
993073e124 Stop services on package removal (see bug 1349083) 2017-01-23 22:51:59 -08:00
Pavel Roskin
7e4969065f Mark xrdp.log as ghost, don't create empty xrdp-sesman.log 2017-01-22 22:45:41 -08:00
Pavel Roskin
703134b7c4 Add expanded openssl.conf to sources, use no location in certificate 2017-01-22 22:23:24 -08:00
Pavel Roskin
74dabc2cd6 Split out xrdp-devel package 2017-01-22 20:10:58 -08:00
Pavel Roskin
5872e948e0 Add fastpath hotfix 2017-01-22 12:31:24 -08:00
Pavel Roskin
66c205af73 Restore patch for *.service files
Thanks to Bojan Smojver.
2017-01-22 11:59:32 -08:00
Pavel Roskin
ab7b4e9cce Don't package xrdp.sh, it's for systems without systemd 2016-12-27 00:32:11 -08:00
Pavel Roskin
1ab54b8592 Move key generation to the post-install stage
Don't package any keys. Generate the keys only if they are missing. Keep
the keys on uninstall.

For TLS keys, increase validity to 10 years. No need to have xrdp stop
working in one year.
2016-12-27 00:22:59 -08:00
Pavel Roskin
85247383dc Use %make_build and %make_install 2016-12-26 23:50:42 -08:00
Pavel Roskin
b3f77696e1 Use %autosetup instead of %setup and %patch 2016-12-26 23:38:44 -08:00
Pavel Roskin
91f91dc6ef Exclude *.a and *.la from package instead of removing them 2016-12-26 23:19:25 -08:00