Commit Graph

114 Commits

Author SHA1 Message Date
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
c90b0028bb Put Xvnc first, then Xorg and X11rdp, remove rdp-any
Until xorgxrdp package is ready and is a dependency of xrdp, Xvnc should
be first. Enable X11rdp, but put it to the end of the list. rdp-any is
beyond repair and has been deleted in git, so don't leave it even
commented out.
2017-01-23 23:34:41 -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
6dbe746373 Remove xrdp-0.9.0-service.patch, none of the changes appear to be useful 2016-12-26 21:53:32 -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
Bojan Smojver
db390059b0 Add back a couple of patches:
Service files fixes and dependencies.
Sesman default configuration.
2015-07-17 11:01:18 +10:00