Commit Graph

129 Commits (84c160725a671a4eaf546e557ed5f5716becbdb0)

Author SHA1 Message Date
Justin Terry (VM) 50bd624cc4 Implements XRDP over vsock
1. Implements the ability to use AV_VSOCK for the transport rather than TCP.
2. Updates the ini file to be able to conditionally turn this feature on.
7 years ago
Koichiro IWAO ac5987cf13 Prepare release v0.9.4 8 years ago
Koichiro IWAO a094c65aaf Release v0.9.3.1 8 years ago
Jay Sorg 152318ad7c use pkg-config to configure with fdk-aac 8 years ago
Jay Sorg 4f91a52109 chansrv: sound, remove a do not know and a comment 8 years ago
Jay Sorg bf0d56c314 chansrv: sound, add aac 8 years ago
Koichiro IWAO 9f8a902476 Add a pam file for FreeBSD
as existing xrdp-sesman.unix doesn't suit FreeBSD.
8 years ago
Koichiro IWAO 73a37a5441 Prepare release v0.9.3 8 years ago
Koichiro IWAO 67aab0a706 configure: fix confusing help text about painter and librfxcodec
painter and librfxcodec are enabled by default. --disable-* options
disables them.

Before:
  --disable-painter       Use included painter library (default: yes)
  --disable-rfxcodec      Use included librfxcodec library (default: yes)

After:
  --disable-painter       Do not use included painter library (default: no)
  --disable-rfxcodec      Do not use included librfxcodec library (default:
                          no)
8 years ago
speidy d7882d5041 Bump version number to v0.9.2 8 years ago
Jay Sorg 05c599666d sesman: remove sessvc, one less process to manage 8 years ago
Pavel Roskin 58c9cb43e9 Make socket directory configurable, don't hardcode /tmp/.xrdp
Use XRDP_SOCKET_PATH in file_loc.h

Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.

Define all paths unconditionally, they should not be defined elsewhere.

Pass XRDP_SOCKET_PATH as environment variable to the backends.
8 years ago
Pavel Roskin 24d44def60 Add --enable-strict-locations option, describe default in its help text
Rather than guess user's intention based on whether --prefix was
specified, use an explicit option to enable strict GNU Coding Standards
for installation directories.

The default is to use /etc and /var rather than corresponding directories
under prefix.

Use --enable-strict-locations in "make distcheck", it expects all
installed files to be under prefix.
8 years ago
Pavel Roskin a71e5395f1 Enable painter and librfxcodec by default
Change help messages to clarify that both libraries are included. Move
messages next to each other. Remove duplicate XRDP_PAINTER conditional.
8 years ago
Pavel Roskin 6a3f0a75bd Remove support for OpenSSL older than 0.9.8
It's hard to find an older version of OpenSSL even on long term support
distros.
8 years ago
mirabilos 6257bae23f Add GNU/kFreeBSD support (#645)
* GNU/kFreeBSD is a FreeBSD variant, for code purposes.

* GNU/kFreeBSD uses GNU/Linux-ish init scripts, however.
8 years ago
Idan Freiberg 92d9f2e37e Merge pull request #627 from proski/openssl
Check for openssl binary in configure, don't fail if not found
8 years ago
Pavel Roskin 3cace61d9e Only check for systemd on Linux, no need to warn users of other OSes 8 years ago
Pavel Roskin 250bb61025 Check for openssl binary in configure, don't fail if not found
Prefer openssl binary from the same location as the openssl library.

Make it possible to suppress certificate generation during install by
passing OPENSSL=: to make.
8 years ago
Pavel Roskin 2b614ed4ab Remove librdp.so sources, it's obsoleted by neutrinordp
Remove "rdp-any" section from xrdp.ini.
8 years ago
Pavel Roskin 8799bbac42 Allow PAM file selection in configure, improve autodetection, add SUSE
Use easy to understand names for config files (debian, redhat, suse,
unix). Move all autodetection to a separate script.
8 years ago
Pavel Roskin ce69280951 Remove obsolete --enable-nopam option 8 years ago
Pavel Roskin 3376a6daf8 Exit with error message if pkg-config is not found
PKG_PROG_PKG_CONFIG does not exit if it fails to find pkg-config.

Continuing without pkg-config leads to misleading error messages when
checks for packages fail.
8 years ago
Pavel Roskin ac51259573 When Xfixes.h is checked, the user should have libX11 already
No need to confuse the user by asking to install libX11 headers.
8 years ago
Itamar Reis Peixoto 5c2a84da60 Merge pull request #568 from proski/v091
Update version to 0.9.1
8 years ago
Pavel Roskin 6aed11a8ce Update version to 0.9.1 8 years ago
Pavel Roskin 914cdcfee2 Don't fail without working nasm if rfxcodec is not enabled 8 years ago
metalefty 25e5243ecf Merge pull request #553 from jsorg71/libpainter
add libpainter for drawing when client does not have minimum orders
8 years ago
Pavel Roskin 191eec5e8d Make libpainter a subpackage of xrdp 8 years ago
Pavel Roskin e65aa594e8 Make librfxcodec a subpackage
Since libpainter is going to become a subpackage, we can make librfxcodec
a subpackage as well.

With this change, librfxcodec is configured, built and linked to xrdp
automatically if enabled by "--enable-rfxcodec"

librfxcodec is packaged by "make dist" regardless of "--enable-rfxcodec"

librfxcodec/confgure is run unconditionally, it's needed for "make dist"
to work. But librfxcodec is only compiled if enabled.
8 years ago
Jay Sorg 1f51586769 add libpainter for drawing when client does not have minimum orders 8 years ago
Pavel Roskin 04414e0fd4 Disable privilege elevation by setuid for the X server 8 years ago
Pavel Roskin c759a1a645 Make configure show it's looking for "pixman", not "xrdp_pixman"
The pixman library in not part of xrdp. If users see that "xrdp_pixman"
is not found, they might assume it is some xrdp specific library.

The Automake conditional is still XRDP_PIXMAN, but the pkg-config
variables become PIXMAN_LIBS and PIXMAN_CFLAGS.
8 years ago
Pavel Roskin c6307aa2b0 Use pkg-config to discover OpenSSL
All supported versions of OpenSSL have pkg-config files.
8 years ago
Pavel Roskin 06f4f72e28 Add -ldl to libcommon link flags if it's needed for dlopen() 8 years ago
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.
8 years ago
Pavel Roskin 0fdda4ee2e Add xrdp-uninstalled.pc to allow compilation against xrdp sources 8 years ago
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.
8 years ago
Jay Sorg 9e9ae2fa1f fix a typo in .pc file 8 years ago
Jay Sorg 50db3bb983 add pkgconfig xrdp.pc file 8 years ago
Pavel Roskin 5465b8c85e Add socklen_t check with substitution, use socklen_t as needed 9 years ago
Jay Sorg d35e57b117 Pixman fixes 9 years ago
Jay Sorg 58c777783b add more advances region support using pixman 9 years ago
jsorg71 8353baab3d Merge pull request #390 from proski/june21
Cleanups and C++ compatibility
9 years ago
Jay Sorg 9ccbfb6985 chansrv: added mp3 compression from Speidy 9 years ago
Pavel Roskin a680d46edf Use -Wwrite-strings compiler flag if supported, add required macros
String literals are const in C++. Using this warnings moves us closer to
the stated goal of C++ compatibility, makes the code cleaner and lets
compilers optimize the code better.

Add m4/ax_append_compile_flags.m4 from Autoconf Archives for the
AX_APPEND_COMPILE_FLAGS macro and m4/ax_check_compile_flag.m4 as its
dependency.
9 years ago
Pavel Roskin 9091c3eef2 Annotate printf-like functions if supported by the compiler
Both GCC and Clang support it. Add a macro from Autoconf archive to check
for format attribute support.
9 years ago
Pavel Roskin 4da6f8a538 Enable -Wall flag for compilers that support it
Add Autoconf archive macros to check for -Wall and its dependencies.
Adjust m4/.gitignore to only ignore libtool macros.

Require Autoconf 2.65 for compatibility with Autoconf archive macros.
9 years ago
Pavel Roskin dcab7552db Stop redefining libdir, use moduledir for ${libdir}/xrdp
libdir is for shared and static libraries. Some xrdp libraries are loaded
dynamically from a non-standard directory, so they are used like modules.

Having separate libdir and moduledir would eventually allow to separate
dynamically loaded modules from shared libraries.
9 years ago
Pavel Roskin 0e75e13b42 Automake 1.7.2 is the oldest version working with xrdp
Automake 1.6.x cannot deal with conditional EXTRA_LIBS. Automake 1.7 and
1.7.1 cannot deal with line continuation in SUBDIRS.

It is important to have correct requirements to know what Automake
features can be used.
9 years ago