Itamar Reis Peixoto
6138462d52
Merge pull request #499 from proski/pkgconfig
...
Use PKG_INSTALLDIR to determine pkg-config file install location
2016-11-21 09:39:10 -02:00
Pavel Roskin
3ffdcfe02d
Use PKG_INSTALLDIR to determine pkg-config file install location
...
The PKG_INSTALLDIR macro also enables --with-pkgconfigdir for easy
overrides.
PKG_INSTALLDIR is relatively new, it appeared in pkg-config 0.27. To
ensure we have a recent pkg.m4 copy, copy pkg.m4 to the m4 directory.
2016-11-20 21:58:31 -08:00
Itamar Reis Peixoto
7cc1dd2ba8
Merge pull request #460 from metalefty/ipv6/logs
...
common: Fix client IP address logging when IPv6 is enabled
2016-11-20 16:00:26 -02:00
Jay Sorg
e8308d58b3
xrdp: do case insensitive compare for section names
2016-11-19 07:44:28 +00:00
Jay Sorg
25fd585d55
chansrv: some fixes to log file path
2016-11-19 07:31:36 +00:00
Itamar Reis Peixoto
ab69b8501d
Merge pull request #496 from proski/pkgconfig
...
Fix for xrdp-uninstalled.pc and addition of pkgconfig/.gitignore
2016-11-18 21:46:43 -02:00
Pavel Roskin
5afc5bd8b3
Fix include path in xrdp-uninstalled.pc.in
...
${pcfiledir} refers to the directory of the package-config file. For an
xrdp build in the source tree, the correct include location would be
${pcfiledir}/../common, not ${pcfiledir}/common
For xrdp build outside the source tree, there is no way to find the
source tree without help from the configure script.
While the '${pc_top_builddir}/${pcfiledir}' pattern is still widespread,
many packages (e.g. gstreamer) are switching to @abs_top_srcdir@ and
@abs_top_builddir@, which are always absolute and have knowledge about
the source tree location from the configure script.
Use @abs_top_srcdir@ for the headers. @abs_top_builddir@ is not needed,
as xrdp produces no externally consumable libraries or generated
headers.
2016-11-18 23:42:26 +00:00
Pavel Roskin
42d639f30d
Add pkgconfig/.gitignore
2016-11-18 23:41:30 +00:00
Itamar Reis Peixoto
c83c736073
Merge pull request #495 from proski/distcheck
...
Add "make distcheck" to travis checks
2016-11-18 18:55:50 -02:00
Pavel Roskin
d8a5b62125
Add "make distcheck" to travis checks
2016-11-18 20:34:04 +00:00
Itamar Reis Peixoto
824564f979
Merge pull request #494 from proski/openssl
...
Fix "unable to find 'distinguished_name' in config" with older openssl
2016-11-18 12:25:08 -02:00
Pavel Roskin
401612fd1d
Fix "unable to find 'distinguished_name' in config" with older openssl
...
This also fixes "make distcheck", which expects "make uninstall" to
remove all installed files.
2016-11-18 03:59:37 +00:00
Itamar Reis Peixoto
f7b0b0d89c
Merge pull request #488 from metalefty/docs
...
Update man pages and config files
2016-11-17 23:12:49 -02:00
Itamar Reis Peixoto
6d23df0ef0
Merge pull request #493 from proski/pkgconfig
...
Fixes for pkg-config
2016-11-17 23:12:34 -02:00
Pavel Roskin
0a300f5113
Simplify pkgconfig/Makefile.am
2016-11-18 00:43:07 +00:00
Pavel Roskin
0fdda4ee2e
Add xrdp-uninstalled.pc to allow compilation against xrdp sources
2016-11-18 00:38:07 +00:00
Pavel Roskin
3ae4968af4
Pass all substitutions to AC_CONFIG_FILES, sort and reformat them
...
Passing arguments to AC_OUTPUT is obsolete.
Remove commented out configure code.
2016-11-18 00:35:33 +00:00
Pavel Roskin
5706bfadea
Improve xrdp description, substitute package version
2016-11-18 00:31:09 +00:00
Jay Sorg
6810a58280
update description in .pc file
2016-11-17 12:15:50 -08:00
Jay Sorg
9e9ae2fa1f
fix a typo in .pc file
2016-11-17 11:59:42 -08:00
Jay Sorg
50db3bb983
add pkgconfig xrdp.pc file
2016-11-17 11:57:10 -08:00
Koichiro IWAO
8dac31ca52
CI: remove xorgxrdp
2016-11-17 17:31:20 +09:00
Jay Sorg
bf8bc585b3
remove xorgxrdp submodule
2016-11-16 22:56:00 -08:00
Jay Sorg
2066ea2ff2
remove xorgxrdp submodule
2016-11-16 22:51:34 -08:00
jsorg71
9b778583b2
Merge pull request #492 from metalefty/certs
...
Do not create SHA-1 certificates anymore
2016-11-16 10:56:13 -08:00
Koichiro IWAO
7196094016
Do not create SHA-1 certificates anymore
...
as many systems in the world still default to create SHA-1 certs if
hash algorithm is not specified explicitly.
2016-11-16 17:24:26 +09:00
metalefty
9deaa078fc
Merge pull request #477 from proski/vnc-strerror
...
Improve error messages about VNC password file
2016-11-16 17:10:38 +09:00
metalefty
8516e6f97b
Merge pull request #476 from proski/auth
...
Fix compile warnings for non-default authentication methods
2016-11-16 17:08:15 +09:00
metalefty
b89956d06e
Merge pull request #485 from proski/code-standards
...
Code standards
2016-11-16 17:05:21 +09:00
metalefty
d335c93a75
Merge pull request #480 from proski/strncat
...
Fix potential buffer overflow in strncat() invocation
2016-11-16 17:02:33 +09:00
metalefty
0712cf2747
Merge pull request #483 from proski/autorun
...
Fix regression in domain to session type mapping
2016-11-16 17:00:23 +09:00
Pavel Roskin
5d2ce60340
Fix regression in domain to session type mapping
...
If no domain is passed, self->session->client_info->domain is an empty
string that is incorrectly treated as if the domain were passed by the
client.
The regression was introduced in fc753a95
, when an incorrect check for
non-empty domain was added. That check was removed in 67119ecc
based on
coverity report, leaving no trace of the original intention.
Check domain both for '_' and '\0' as the initial character. In either
case, select the first session type section in xrdp.ini.
2016-11-15 22:42:04 -08:00
Pavel Roskin
35b336272b
Fix compilation with C++
2016-11-15 22:40:06 -08:00
Pavel Roskin
16c3bbdb8d
Remove all tabs in sources
2016-11-15 22:40:06 -08:00
Pavel Roskin
e9d064e390
Don't try to create .vnc directory if it exists
...
Report system error if it cannot be created.
2016-11-15 22:39:22 -08:00
Pavel Roskin
60029514a6
Report system error if the VNC password file cannot be created
2016-11-15 22:39:22 -08:00
Pavel Roskin
e9a0324cb3
Fix compile warnings for non-default authentication methods
...
Include string.h for strcmp(). Don't define _XOPEN_SOURCE, it conflicts
with libc headers and hides putpwent(). Make input strings constant. Fix
functions to match their declarations.
2016-11-15 22:38:56 -08:00
Pavel Roskin
92423a466e
Fix potential buffer overflow in strncat() invocation
...
strncat() will copy at most the specified number of characters and append
the null character on top of that. strlen() doesn't count the final null
character.
2016-11-15 22:38:21 -08:00
Koichiro IWAO
0a7f1bb007
docs: revise description for disableSSLv3 in xrdp.ini
2016-11-16 15:02:46 +09:00
Koichiro IWAO
5ee3b9b96d
docs: s/Italy/Italian/ for language name
2016-11-16 14:53:34 +09:00
Koichiro IWAO
d74366a6f2
config: change order of parameters
...
Put same layer configuration parameters together, bring low layer
parameters earlier.
2016-11-16 14:15:44 +09:00
Koichiro IWAO
13aa2fcc2a
docs: update descriptions for encryption
...
- Add descriptions for certificate and key_file
- xrdp actually supports 128-bit encryption in Standard RDP Security
- change line breaks
2016-11-16 14:15:44 +09:00
Koichiro IWAO
d6e8435a72
docs: sort parameters in xrdp.ini.5
2016-11-16 14:15:44 +09:00
Koichiro IWAO
b74b030891
docs: document security_layer
2016-11-16 14:15:44 +09:00
Koichiro IWAO
4b95a5f347
docs: reword, add description for default value
2016-11-16 14:15:44 +09:00
Koichiro IWAO
ad1b484e7a
docs: unify the rest boolean values to true/false
2016-11-16 14:15:44 +09:00
Koichiro IWAO
7cb3ffc33f
docs: document use_fastpath, require_credentials, pamerrortxt
2016-11-16 14:15:44 +09:00
Koichiro IWAO
901bc9f40c
docs: section "Connection" is not used
2016-11-16 14:15:44 +09:00
Koichiro IWAO
f6fd8f16d7
docs: Capitalize section title
2016-11-16 14:15:44 +09:00
Koichiro IWAO
1490da309e
docs: document tcp_send/recv_buffer_bytes
2016-11-16 14:15:44 +09:00