Commit Graph

221 Commits

Author SHA1 Message Date
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
Pavel Roskin
a8b78e203e Express build dependencies using pkgconfig() when pkg-config is used 2016-12-26 22:57:38 -08:00
Pavel Roskin
c4014bc858 Remove build dependencies on autotools
xrdp is properly packaged now, and we are not patching any file that is
processed by autotools.
2016-12-26 22:47:37 -08:00
Pavel Roskin
d1afc2981b Remove xrdp-sestest reference, it's not installed 2016-12-26 22:00:45 -08:00
Pavel Roskin
381dd3af8b Use installed pixman library 2016-12-26 01:33:23 -08:00
Pavel Roskin
df13244dcc Move all xrdp.ini adjustments to a patch
Replacements with sed may fail silently. Failure to apply a patch is
never silent.

Leave Xorg section uncommented in preparation for xorgxrdp packaging.
2016-12-26 01:27:47 -08:00
Pavel Roskin
ca5aa8f803 Update package description 2016-12-26 01:19:45 -08:00
Pavel Roskin
0b31773f88 Restore sesman patch, one part of it is still needed
If bash is run as /bin/sh, it may choke on bashisms from the user
initialization files.
2016-12-26 01:07:00 -08:00
Pavel Roskin
5c6b1d1cf9 Update URL and source location 2016-12-26 00:51:17 -08:00
Pavel Roskin
1b680bdcad Change license to APL 2.0, the source was relicensed in September 2012 2016-12-26 00:46:43 -08:00
Pavel Roskin
6aa3c55555 Add openssl to BuildRequires to fix build for 0.9.1 2016-12-26 00:36:29 -08:00
Itamar Reis Peixoto
dd6ac31dff - new version 2016-12-22 21:55:36 -02:00
Itamar Reis Peixoto
30049d3261 enable fuse 2016-03-13 02:15:55 -03:00
Fedora Release Engineering
85c478af0f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:49:11 +00:00
Bojan Smojver
d8da0f8e39 Remove --enable-ipv6 when configuring the package. 2015-07-29 11:33:11 +10:00
Bojan Smojver
6e846050ef Own /etc/xrdp/pulse directory. 2015-07-20 13:06:59 +10:00
Bojan Smojver
0bc91fd6f4 Fix bogus date in changelog. 2015-07-17 11:09:44 +10:00
Bojan Smojver
0807851053 Bump up the release number and document changes. 2015-07-17 11:05:01 +10:00
Dan Horák
0f6603a9df - install epoch back to keep clean upgrade path 2015-07-17 11:02:49 +10:00
Bojan Smojver
0a0994e944 Integrate patches in the spec file. 2015-07-17 11:02:42 +10:00
Itamar Reis Peixoto
310bc7685a upgrade to 0.9.0 2015-07-15 14:34:45 -03:00
Dennis Gilmore
a51d30a142 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:25:52 +00:00
Bojan Smojver
7acfd85491 Try to fix bug #1105202. 2015-06-04 16:29:32 +10:00
Bojan Smojver
cfb3ac7ea3 Hopefully better service dependencies. 2015-05-15 15:27:00 +10:00
Dan Horák
ae76cf704d - fix upgrade path after the 0.8 bump in 2014-09 by adding Epoch 2015-04-23 08:54:46 +02:00
Bojan Smojver
bc184a5e80 Add a delay loop for VNC back end. 2014-12-22 18:11:55 +11:00
Bojan Smojver
6fa52392b5 Use preset in trigger, no need for absolute paths. 2014-12-08 08:16:48 +11:00
Bojan Smojver
05d4ed8bd8 Bump up release number. 2014-12-08 08:08:00 +11:00
Bojan Smojver
ccdfc5c47a Use systemd rpm macros: bug #850374. 2014-12-08 07:47:55 +11:00
Bojan Smojver
6ef183b5dd Revert "Bump up to 0.8.0, rework patches."
This reverts commit d4d3c59ba6.
2014-09-10 10:16:46 +10:00
Bojan Smojver
3c85a76e4c Revert "Update license to ASL 2.0."
This reverts commit 351c3e5111.
2014-09-10 10:16:42 +10:00
Bojan Smojver
b29a33f841 Revert "Add libXrandr-devel to build dependencies."
This reverts commit b228177320.
2014-09-10 10:16:25 +10:00
Bojan Smojver
b228177320 Add libXrandr-devel to build dependencies. 2014-09-05 10:18:44 +10:00
Bojan Smojver
351c3e5111 Update license to ASL 2.0. 2014-09-05 10:10:09 +10:00
Bojan Smojver
d4d3c59ba6 Bump up to 0.8.0, rework patches. 2014-09-05 10:07:43 +10:00
Kevin Fenzi
627e77d66b Rebuild for rpm bug 1131960 2014-08-21 11:55:27 -06:00
Peter Robinson
6d28139377 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 10:54:45 +00:00
Dennis Gilmore
960730894c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:48:12 -05:00
Bojan Smojver
48ba45452b Fix implicit declarations. 2014-04-01 19:14:30 +11:00
Bojan Smojver
e71625c8d1 Fix a memset() call. 2014-04-01 18:57:56 +11:00
Bojan Smojver
27e24144d6 Provide format for syslog() call to avoid warning/error. 2014-04-01 17:57:00 +11:00
Bojan Smojver
eeeef36c3f Fix changelog. 2014-04-01 17:32:06 +11:00
Bojan Smojver
88d0b98d8c Try a bump to official 0.6.1. 2014-04-01 17:27:44 +11:00
Dennis Gilmore
9acd09d241 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 04:12:27 -05:00
Dan Horák
bec09a0d78 fix check for big endian arches (#905411) 2013-01-29 12:42:16 +01:00
Dennis Gilmore
a8eba7d583 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 02:12:34 -05:00
Bojan Smojver
c17bb4da02 Revert "Revert "Do explicit stop/start on upgrade, to force xrdp-sesman restart as well.""
This reverts commit 59d72aa513.
2012-05-28 10:32:55 +10:00
Bojan Smojver
59d72aa513 Revert "Do explicit stop/start on upgrade, to force xrdp-sesman restart as well."
This reverts commit 5c7d5110a7.

Conflicts:
	xrdp.spec
2012-05-28 10:22:20 +10:00
Bojan Smojver
fb46d3e6ae Bump the release and record changelog. 2012-05-28 10:05:27 +10:00
Bojan Smojver
98bd694da3 Correct name of the service.
Bump release up for rebuild.
2012-05-26 11:59:38 +10:00
Bojan Smojver
5c7d5110a7 Do explicit stop/start on upgrade, to force xrdp-sesman restart as well. 2012-05-26 11:48:21 +10:00
Bojan Smojver
9c41b862e1 Trying to restart xrdp-sesman.service won't work either.
Have to come up with something more explicit.
2012-05-26 09:13:03 +10:00
Bojan Smojver
182f0e85f2 Make xrdp-sesman.service stop when not needed by xrdp.service.
Also try to restart xrdp-sesman.service.
Just restarting xrdp.service not enough.
2012-05-26 08:53:12 +10:00
Bojan Smojver
7e41e2f666 Bump release for rebuild with the correct e-mail address. 2012-05-25 17:16:08 +10:00
Bojan Smojver
deb41fa088 Fix my e-mail address. 2012-05-25 17:08:06 +10:00
Bojan Smojver
c24970cc3b More work on systemd support. 2012-05-25 16:48:00 +10:00
Bojan Smojver
a088f95a31 Fix typo in patch name. 2012-05-25 14:38:42 +10:00
Itamar Reis Peixoto
d37d9732a5 include patches from Bojan Smojver <bojan@rexursive.com> 2012-05-23 22:45:59 -03:00
Itamar Reis Peixoto
1880550ff3 - add support for systemd 2012-02-04 21:36:33 -02:00
Dennis Gilmore
86e0ee81c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:17:50 -06:00
Dennis Gilmore
8625603976 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 00:53:32 -06:00
Itamar Reis Peixoto
c468641d78 - up to git tag a9cfc235211a49c69c3cce3f98ee5976ff8103a4 2010-11-18 01:58:50 -02:00
Itamar Reis Peixoto
5a536b60cf - fix logrotate to not restart xrdp and drop all open connections 2010-11-18 00:36:13 -02:00
Itamar Reis Peixoto
c70e62f1d1 - Load a default keymap when current keymap doesnt exist 2010-10-04 02:21:37 -03:00
Itamar Reis Peixoto
ecc73c7769 use -l for startwm.sh 2010-07-09 01:08:12 +00:00
Itamar Reis Peixoto
c3501d185f buildrequires libXfixes-devel 2010-03-18 17:31:36 +00:00
Itamar Reis Peixoto
1d453ff54d buildrequires libX11-devel 2010-03-18 15:26:39 +00:00
Itamar Reis Peixoto
df20ba509f - sync with last cvs 2010-03-18 14:59:55 +00:00
Tomáš Mráz
859f21f4c5 - use password-auth instead of system-auth 2009-09-16 19:34:00 +00:00
Itamar Reis Peixoto
fda43e66ea - fix pam.d 2009-09-08 16:06:52 +00:00
Itamar Reis Peixoto
2fab812e3e - fix bz 519294 2009-09-04 22:27:40 +00:00
Tomáš Mráz
6f274d15f2 - rebuild with new openssl 2009-08-26 15:22:56 +00:00
Itamar Reis Peixoto
4faf1d1422 initial version 2009-08-14 18:01:35 +00:00