Merge pull request #319 from proski/misc
Miscellaneous minor patches, mostly for the build system
This commit is contained in:
commit
371ad8d90d
23
.gitignore
vendored
23
.gitignore
vendored
@ -3,6 +3,7 @@ aclocal.m4
|
|||||||
AUTHORS
|
AUTHORS
|
||||||
autom4te.cache/
|
autom4te.cache/
|
||||||
ChangeLog
|
ChangeLog
|
||||||
|
compile
|
||||||
config_ac.h
|
config_ac.h
|
||||||
config_ac-h.in
|
config_ac-h.in
|
||||||
config.guess
|
config.guess
|
||||||
@ -10,10 +11,11 @@ config.log
|
|||||||
config.status
|
config.status
|
||||||
config.sub
|
config.sub
|
||||||
configure
|
configure
|
||||||
compile
|
|
||||||
depcomp
|
depcomp
|
||||||
.deps/
|
.deps/
|
||||||
|
genkeymap/xrdp-genkeymap
|
||||||
install-sh
|
install-sh
|
||||||
|
keygen/xrdp-keygen
|
||||||
*.la
|
*.la
|
||||||
.libs
|
.libs
|
||||||
libtool
|
libtool
|
||||||
@ -22,18 +24,17 @@ ltmain.sh
|
|||||||
Makefile
|
Makefile
|
||||||
Makefile.in
|
Makefile.in
|
||||||
missing
|
missing
|
||||||
|
mkinstalldirs
|
||||||
NEWS
|
NEWS
|
||||||
*.o
|
*.o
|
||||||
README
|
README
|
||||||
|
sesman/chansrv/xrdp-chansrv
|
||||||
|
sesman/sessvc/xrdp-sessvc
|
||||||
|
sesman/tools/xrdp-dis
|
||||||
|
sesman/tools/xrdp-sesadmin
|
||||||
|
sesman/tools/xrdp-sesrun
|
||||||
|
sesman/tools/xrdp-sestest
|
||||||
|
sesman/tools/xrdp-xcon
|
||||||
|
sesman/xrdp-sesman
|
||||||
stamp-h1
|
stamp-h1
|
||||||
xrdp-chansrv
|
|
||||||
xrdp-genkeymap
|
|
||||||
xrdp-keygen
|
|
||||||
xrdp-sesadmin
|
|
||||||
xrdp-sesman
|
|
||||||
xrdp-sesrun
|
|
||||||
xrdp-sessvc
|
|
||||||
xrdp-sestest
|
|
||||||
xrdp-dis
|
|
||||||
xrdp-xcon
|
|
||||||
xrdp/xrdp
|
xrdp/xrdp
|
||||||
|
@ -26,7 +26,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-DXRDP_LOG_PATH=\"${localstatedir}/log\"
|
-DXRDP_LOG_PATH=\"${localstatedir}/log\"
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libcommon.la
|
libcommon.la
|
||||||
|
|
||||||
libcommon_la_SOURCES = \
|
libcommon_la_SOURCES = \
|
||||||
|
@ -37,8 +37,8 @@
|
|||||||
#define XRDP_SHARE_PATH "/usr/local/share/xrdp"
|
#define XRDP_SHARE_PATH "/usr/local/share/xrdp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(XRDP_LIB_PATH)
|
#if !defined(XRDP_MODULE_PATH)
|
||||||
#define XRDP_LIB_PATH "/usr/local/lib/xrdp"
|
#define XRDP_MODULE_PATH "/usr/local/lib/xrdp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(XRDP_LOG_PATH)
|
#if !defined(XRDP_LOG_PATH)
|
||||||
|
@ -3,13 +3,16 @@
|
|||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_INIT([xrdp], [0.9.0], [xrdp-devel@googlegroups.com])
|
AC_INIT([xrdp], [0.9.0], [xrdp-devel@googlegroups.com])
|
||||||
AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
|
AC_CONFIG_HEADERS(config_ac.h:config_ac-h.in)
|
||||||
AM_INIT_AUTOMAKE([1.6 foreign])
|
AM_INIT_AUTOMAKE([1.7.2 foreign])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
||||||
PKG_PROG_PKG_CONFIG
|
PKG_PROG_PKG_CONFIG
|
||||||
|
|
||||||
|
# Use silent rules by default if supported by Automake
|
||||||
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||||
|
|
||||||
case $host_os in
|
case $host_os in
|
||||||
*linux*)
|
*linux*)
|
||||||
linux=yes
|
linux=yes
|
||||||
@ -223,7 +226,8 @@ AC_CHECK_HEADER([X11/extensions/Xrandr.h], [],
|
|||||||
|
|
||||||
CFLAGS="$save_CFLAGS"
|
CFLAGS="$save_CFLAGS"
|
||||||
|
|
||||||
libdir="${libdir}/xrdp";
|
AC_SUBST([moduledir], '${libdir}/xrdp')
|
||||||
|
|
||||||
if test "x${prefix}" = "xNONE" ; then
|
if test "x${prefix}" = "xNONE" ; then
|
||||||
sysconfdir="/etc";
|
sysconfdir="/etc";
|
||||||
localstatedir="/var";
|
localstatedir="/var";
|
||||||
|
1
fontdump/.gitignore
vendored
Normal file
1
fontdump/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!Makefile
|
@ -32,28 +32,28 @@ startscript_DATA = \
|
|||||||
#
|
#
|
||||||
# platform specific files
|
# platform specific files
|
||||||
#
|
#
|
||||||
SUBDIRS=
|
SUBDIRS =
|
||||||
if LINUX
|
if LINUX
|
||||||
SUBDIRS+= \
|
SUBDIRS += \
|
||||||
pam.d \
|
pam.d \
|
||||||
pulse
|
pulse
|
||||||
startscript_DATA+= xrdp.sh
|
startscript_DATA += xrdp.sh
|
||||||
if HAVE_SYSTEMD
|
if HAVE_SYSTEMD
|
||||||
systemdsystemunit_DATA = \
|
systemdsystemunit_DATA = \
|
||||||
xrdp-sesman.service \
|
xrdp-sesman.service \
|
||||||
xrdp.service
|
xrdp.service
|
||||||
else
|
else
|
||||||
SUBDIRS+= \
|
SUBDIRS += \
|
||||||
default \
|
default \
|
||||||
init.d
|
init.d
|
||||||
endif # HAVE_SYSTEMD
|
endif # HAVE_SYSTEMD
|
||||||
endif # LINUX
|
endif # LINUX
|
||||||
|
|
||||||
if FREEBSD
|
if FREEBSD
|
||||||
SUBDIRS+= \
|
SUBDIRS += \
|
||||||
pam.d \
|
pam.d \
|
||||||
rc.d \
|
rc.d \
|
||||||
pulse
|
pulse
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -37,7 +37,7 @@ AM_CPPFLAGS = \
|
|||||||
-I$(top_srcdir)/common \
|
-I$(top_srcdir)/common \
|
||||||
$(EXTRA_INCLUDES)
|
$(EXTRA_INCLUDES)
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libxrdp.la
|
libxrdp.la
|
||||||
|
|
||||||
libxrdp_la_SOURCES = \
|
libxrdp_la_SOURCES = \
|
||||||
|
@ -98,8 +98,8 @@ xrdp_rdp_read_config(struct xrdp_client_info *client_info)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log_message(LOG_LEVEL_ALWAYS,"Warning: Your configured crypt level is"
|
log_message(LOG_LEVEL_ALWAYS,"Warning: Your configured crypt level is "
|
||||||
"undefined 'high' will be used");
|
"undefined, 'high' will be used");
|
||||||
client_info->crypt_level = 3;
|
client_info->crypt_level = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-I$(top_srcdir)/common
|
-I$(top_srcdir)/common
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libmc.la
|
libmc.la
|
||||||
|
|
||||||
libmc_la_SOURCES = mc.c
|
libmc_la_SOURCES = mc.c
|
||||||
|
@ -16,7 +16,7 @@ AM_CPPFLAGS = \
|
|||||||
-I$(top_srcdir)/common \
|
-I$(top_srcdir)/common \
|
||||||
$(FREERDP_CFLAGS)
|
$(FREERDP_CFLAGS)
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libxrdpneutrinordp.la
|
libxrdpneutrinordp.la
|
||||||
|
|
||||||
libxrdpneutrinordp_la_SOURCES = xrdp-neutrinordp.c xrdp-color.c
|
libxrdpneutrinordp_la_SOURCES = xrdp-neutrinordp.c xrdp-color.c
|
||||||
|
@ -15,7 +15,7 @@ AM_CPPFLAGS = \
|
|||||||
$(EXTRA_DEFINES) \
|
$(EXTRA_DEFINES) \
|
||||||
-I$(top_srcdir)/common
|
-I$(top_srcdir)/common
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
librdp.la
|
librdp.la
|
||||||
|
|
||||||
librdp_la_SOURCES = \
|
librdp_la_SOURCES = \
|
||||||
|
@ -93,7 +93,7 @@ access_login_mng_allowed(char *user)
|
|||||||
|
|
||||||
if (0 == g_cfg->sec.ts_admins_enable)
|
if (0 == g_cfg->sec.ts_admins_enable)
|
||||||
{
|
{
|
||||||
LOG_DBG("[MNG] Terminal Server Admin group is disabled,"
|
LOG_DBG("[MNG] Terminal Server Admin group is disabled, "
|
||||||
"allowing authentication", 1);
|
"allowing authentication", 1);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
1
sesman/chansrv/pcsc/.gitignore
vendored
Normal file
1
sesman/chansrv/pcsc/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!Makefile
|
1
sesman/chansrv/pulse/.gitignore
vendored
Normal file
1
sesman/chansrv/pulse/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!Makefile
|
@ -77,7 +77,7 @@ PA_MODULE_USAGE(
|
|||||||
"sink_name=<name for the sink> "
|
"sink_name=<name for the sink> "
|
||||||
"sink_properties=<properties for the sink> "
|
"sink_properties=<properties for the sink> "
|
||||||
"format=<sample format> "
|
"format=<sample format> "
|
||||||
"rate=<sample rate>"
|
"rate=<sample rate> "
|
||||||
"channels=<number of channels> "
|
"channels=<number of channels> "
|
||||||
"channel_map=<channel map>");
|
"channel_map=<channel map>");
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-I$(top_srcdir)/common
|
-I$(top_srcdir)/common
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libscp.la
|
libscp.la
|
||||||
|
|
||||||
libscp_la_SOURCES = \
|
libscp_la_SOURCES = \
|
||||||
|
@ -110,7 +110,7 @@ scp_v1_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s)
|
|||||||
if (scount == 0)
|
if (scount == 0)
|
||||||
{
|
{
|
||||||
/* no disconnected sessions - start a new one */
|
/* no disconnected sessions - start a new one */
|
||||||
log_message(LOG_LEVEL_DEBUG, "No disconnected sessions for this user"
|
log_message(LOG_LEVEL_DEBUG, "No disconnected sessions for this user "
|
||||||
"- we create a new one");
|
"- we create a new one");
|
||||||
|
|
||||||
if (0 != s->client_ip)
|
if (0 != s->client_ip)
|
||||||
|
@ -29,36 +29,34 @@ wm_start()
|
|||||||
xterm
|
xterm
|
||||||
}
|
}
|
||||||
|
|
||||||
#Execution sequence for interactive login shell
|
# Execution sequence for interactive login shell - pseudocode
|
||||||
#Following pseudo code explains the sequence of execution of these files.
|
#
|
||||||
#execute /etc/profile
|
# IF /etc/profile is readable THEN
|
||||||
#IF ~/.bash_profile exists THEN
|
# execute ~/.bash_profile
|
||||||
# execute ~/.bash_profile
|
# END IF
|
||||||
#ELSE
|
# IF ~/.bash_profile is readable THEN
|
||||||
# IF ~/.bash_login exist THEN
|
# execute ~/.bash_profile
|
||||||
# execute ~/.bash_login
|
# ELSE
|
||||||
# ELSE
|
# IF ~/.bash_login is readable THEN
|
||||||
# IF ~/.profile exist THEN
|
# execute ~/.bash_login
|
||||||
# execute ~/.profile
|
# ELSE
|
||||||
# END IF
|
# IF ~/.profile is readable THEN
|
||||||
# END IF
|
# execute ~/.profile
|
||||||
#END IF
|
# END IF
|
||||||
|
# END IF
|
||||||
|
# END IF
|
||||||
pre_start()
|
pre_start()
|
||||||
{
|
{
|
||||||
if [ -f /etc/profile ]
|
if [ -r /etc/profile ]; then
|
||||||
then
|
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
fi
|
fi
|
||||||
if [ -f ~/.bash_profile ]
|
if [ -r ~/.bash_profile ]; then
|
||||||
then
|
|
||||||
. ~/.bash_profile
|
. ~/.bash_profile
|
||||||
else
|
else
|
||||||
if [ -f ~/.bash_login ]
|
if [ -r ~/.bash_login ]; then
|
||||||
then
|
|
||||||
. ~/.bash_login
|
. ~/.bash_login
|
||||||
else
|
else
|
||||||
if [ -f ~/.profile ]
|
if [ -r ~/.profile ]; then
|
||||||
then
|
|
||||||
. ~/.profile
|
. ~/.profile
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@ -66,15 +64,14 @@ pre_start()
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
#When you logout of the interactive shell, following is the
|
# When loging out from the interactive shell, the execution sequence is:
|
||||||
#sequence of execution:
|
#
|
||||||
#IF ~/.bash_logout exists THEN
|
# IF ~/.bash_logout exists THEN
|
||||||
# execute ~/.bash_logout
|
# execute ~/.bash_logout
|
||||||
#END IF
|
# END IF
|
||||||
post_start()
|
post_start()
|
||||||
{
|
{
|
||||||
if [ -f ~/.bash_logout ]
|
if [ -r ~/.bash_logout ]; then
|
||||||
then
|
|
||||||
. ~/.bash_logout
|
. ~/.bash_logout
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
||||||
|
1
tests/.gitignore
vendored
Normal file
1
tests/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!Makefile
|
@ -7,7 +7,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-I$(top_srcdir)/common
|
-I$(top_srcdir)/common
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libvnc.la
|
libvnc.la
|
||||||
|
|
||||||
libvnc_la_SOURCES = vnc.c
|
libvnc_la_SOURCES = vnc.c
|
||||||
|
1
xorg/.gitignore
vendored
Normal file
1
xorg/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!Makefile
|
@ -22,7 +22,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
||||||
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-DXRDP_LIB_PATH=\"${libdir}\" \
|
-DXRDP_MODULE_PATH=\"${moduledir}\" \
|
||||||
$(EXTRA_DEFINES) \
|
$(EXTRA_DEFINES) \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
-I$(top_srcdir)/common \
|
-I$(top_srcdir)/common \
|
||||||
|
@ -357,7 +357,7 @@ xrdp_mm_setup_mod1(struct xrdp_mm *self)
|
|||||||
|
|
||||||
if (self->mod_handle == 0)
|
if (self->mod_handle == 0)
|
||||||
{
|
{
|
||||||
g_snprintf(text, 255, "%s/%s", XRDP_LIB_PATH, lib);
|
g_snprintf(text, 255, "%s/%s", XRDP_MODULE_PATH, lib);
|
||||||
/* Let the main thread load the lib,*/
|
/* Let the main thread load the lib,*/
|
||||||
self->mod_handle = g_xrdp_sync(xrdp_mm_sync_load, (tintptr)text, 0);
|
self->mod_handle = g_xrdp_sync(xrdp_mm_sync_load, (tintptr)text, 0);
|
||||||
|
|
||||||
@ -1151,7 +1151,7 @@ xrdp_mm_connect_chansrv(struct xrdp_mm *self, char *ip, char *port)
|
|||||||
|
|
||||||
if (!(self->chan_trans_up))
|
if (!(self->chan_trans_up))
|
||||||
{
|
{
|
||||||
log_message(LOG_LEVEL_ERROR,"xrdp_mm_connect_chansrv: error in"
|
log_message(LOG_LEVEL_ERROR,"xrdp_mm_connect_chansrv: error in "
|
||||||
"trans_connect chan");
|
"trans_connect chan");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1164,7 +1164,7 @@ xrdp_mm_connect_chansrv(struct xrdp_mm *self, char *ip, char *port)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log_message(LOG_LEVEL_DEBUG,"xrdp_mm_connect_chansrv: chansrv"
|
log_message(LOG_LEVEL_DEBUG,"xrdp_mm_connect_chansrv: chansrv "
|
||||||
"connect successful");
|
"connect successful");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ AM_CPPFLAGS = \
|
|||||||
$(EXTRA_DEFINES) \
|
$(EXTRA_DEFINES) \
|
||||||
$(EXTRA_INCLUDES)
|
$(EXTRA_INCLUDES)
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libxrdpapi.la
|
libxrdpapi.la
|
||||||
|
|
||||||
libxrdpapi_la_SOURCES = \
|
libxrdpapi_la_SOURCES = \
|
||||||
|
@ -9,7 +9,7 @@ AM_CPPFLAGS = \
|
|||||||
$(EXTRA_DEFINES) \
|
$(EXTRA_DEFINES) \
|
||||||
$(EXTRA_INCLUDES)
|
$(EXTRA_INCLUDES)
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libxrdpvr.la
|
libxrdpvr.la
|
||||||
|
|
||||||
libxrdpvr_la_SOURCES = \
|
libxrdpvr_la_SOURCES = \
|
||||||
|
@ -7,7 +7,7 @@ AM_CPPFLAGS = \
|
|||||||
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
||||||
-I$(top_srcdir)/common
|
-I$(top_srcdir)/common
|
||||||
|
|
||||||
lib_LTLIBRARIES = \
|
module_LTLIBRARIES = \
|
||||||
libxup.la
|
libxup.la
|
||||||
|
|
||||||
libxup_la_SOURCES = xup.c
|
libxup_la_SOURCES = xup.c
|
||||||
|
@ -211,7 +211,7 @@ lib_mod_connect(struct mod *mod)
|
|||||||
error = -1;
|
error = -1;
|
||||||
if (trans_connect(mod->trans, mod->ip, con_port, 3000) == 0)
|
if (trans_connect(mod->trans, mod->ip, con_port, 3000) == 0)
|
||||||
{
|
{
|
||||||
LLOGLN(0, ("lib_mod_connect: connected to Xserver"
|
LLOGLN(0, ("lib_mod_connect: connected to Xserver "
|
||||||
"(Xorg or X11rdp) sck %d", mod->trans->sck));
|
"(Xorg or X11rdp) sck %d", mod->trans->sck));
|
||||||
error = 0;
|
error = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user