more integration in isdn4k-utils config/build and some small fixes
This commit is contained in:
parent
9f88139eae
commit
e3ec8cc936
5
NEWS
5
NEWS
|
@ -1,8 +1,13 @@
|
||||||
Recent changes made to the isdn4k-utils archive are listed here,
|
Recent changes made to the isdn4k-utils archive are listed here,
|
||||||
most recent on top.
|
most recent on top.
|
||||||
------------------
|
------------------
|
||||||
|
1999/10/08 he (Henner Eisen <eis@baty.hanse.de)
|
||||||
|
eurofile - further integration in isdn4k-utils config/built,
|
||||||
|
removed entry from distexclude file.
|
||||||
|
|
||||||
1999/09/06 hessler (Matthias Hessler <hessler@isdn4linux.de>
|
1999/09/06 hessler (Matthias Hessler <hessler@isdn4linux.de>
|
||||||
New FAQ is now moved from FAQ2 to FAQ.
|
New FAQ is now moved from FAQ2 to FAQ.
|
||||||
|
|
||||||
1999/08/18 armin (Armin Schindler <mac@melware.de>)
|
1999/08/18 armin (Armin Schindler <mac@melware.de>)
|
||||||
eiconctrl - XLOG retrieve function for all supported active cards added.
|
eiconctrl - XLOG retrieve function for all supported active cards added.
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,15 @@ EFT_CLIENT_USERID=xxxx
|
||||||
# define this if you want x25trace debugging output
|
# define this if you want x25trace debugging output
|
||||||
# EFTD_X25TRACE=1
|
# EFTD_X25TRACE=1
|
||||||
#
|
#
|
||||||
|
# If this is set then you can test eurofile client and server locallay
|
||||||
|
# on top of the isdnloop HL driver (no external isdn connection
|
||||||
|
# required). To do so, just type `eftp -x 1 -u USER' (where USER is
|
||||||
|
# your login name)
|
||||||
|
#
|
||||||
|
# EFTD_WITH_LOOP=y
|
||||||
|
#
|
||||||
# other variables which are set in eftd.sh before this file is
|
# other variables which are set in eftd.sh before this file is
|
||||||
# included, might also be (re-)set here
|
# included, might also be (re-)set here
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ ISDNCTRL=@ISDNCTRL@
|
||||||
LOOPCTRL=@LOOPCTRL@
|
LOOPCTRL=@LOOPCTRL@
|
||||||
INSMOD=@INSMOD@
|
INSMOD=@INSMOD@
|
||||||
EFTD_BIN_SRC=@EFT_TOPDIR@/src/eftd/eftd
|
EFTD_BIN_SRC=@EFT_TOPDIR@/src/eftd/eftd
|
||||||
EFTD_BIN_INSTALL=@SBINDIR/eftd
|
EFTD_BIN_INSTALL=@SBINDIR@/eftd
|
||||||
|
|
||||||
if [ -z "$EFTD_SH_SRC" ]; then
|
if [ -z "$EFTD_SH_SRC" ]; then
|
||||||
EFTD_BIN=$EFTD_BIN_INSTALL
|
EFTD_BIN=$EFTD_BIN_INSTALL
|
||||||
|
|
|
@ -110,11 +110,11 @@ static int eft_check_user( struct eft *eft, char* user, char* pass, char *isdn_n
|
||||||
printf("user check: ruid=%d, euid=%d\n",getuid(),geteuid());
|
printf("user check: ruid=%d, euid=%d\n",getuid(),geteuid());
|
||||||
/*
|
/*
|
||||||
* Be paranoid about buggy authentification functions that claim
|
* Be paranoid about buggy authentification functions that claim
|
||||||
* success but are still runnung as root.
|
* success but are still running with super user priviliges.
|
||||||
*/
|
*/
|
||||||
if (verified && !geteuid()){
|
if (verified && !geteuid()){
|
||||||
tdu_printf(TDU_LOG_ERR, "eftd: BUG in authentification procedure.\n (claims success, but process runs still with root priviliges).\nRejecting login for security reasons.\n");
|
tdu_printf(TDU_LOG_ERR, "eftd: BUG in authentification procedure.\n (claims success, but process runs still with root priviliges).\nRejecting login for security reasons.\n");
|
||||||
/* verified=0; */
|
verified=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( ! verified ){
|
if( ! verified ){
|
||||||
|
@ -495,7 +495,7 @@ int main(int argc, char** argv)
|
||||||
tdu_stderr_mask |= level2mask(dlevel);
|
tdu_stderr_mask |= level2mask(dlevel);
|
||||||
tdu_logfile_mask |= level2mask(llevel);
|
tdu_logfile_mask |= level2mask(llevel);
|
||||||
/* FIXME: make default location an autoconf option*/
|
/* FIXME: make default location an autoconf option*/
|
||||||
if( ! logfile_name ) logfile_name = "/var/log/eftd.log";
|
if( ! logfile_name ) logfile_name = "/var/log" "/eftd.log";
|
||||||
if(llevel) tdu_open_log(logfile_name);
|
if(llevel) tdu_open_log(logfile_name);
|
||||||
/* tdu_printf(TDU_LOG_DBG, "LogBook level %d, mask %d, Stderr level %d, mask %d\n",llevel,tdu_logfile_mask,dlevel,tdu_stderr_mask); */
|
/* tdu_printf(TDU_LOG_DBG, "LogBook level %d, mask %d, Stderr level %d, mask %d\n",llevel,tdu_logfile_mask,dlevel,tdu_stderr_mask); */
|
||||||
if( tdu_stderr_mask & TDU_LOG_ISDNLOG ){
|
if( tdu_stderr_mask & TDU_LOG_ISDNLOG ){
|
||||||
|
|
|
@ -118,18 +118,8 @@ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
|
||||||
bool 'rcapid' CONFIG_RCAPID
|
bool 'rcapid' CONFIG_RCAPID
|
||||||
fi
|
fi
|
||||||
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
|
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
|
||||||
# we need to check for the presence of the eurofile subdirectory
|
bool 'eurofile' CONFIG_EUROFILE
|
||||||
# as long as it is listed in the distexclude file
|
source eurofile/.Config.in
|
||||||
if [ -d eurofile ]; then
|
|
||||||
bool 'eurofile' CONFIG_EUROFILE
|
|
||||||
# The source command fails and causes an error in the
|
|
||||||
# configure script when eurofile directory is not
|
|
||||||
# present -- even inside this if branch.
|
|
||||||
# Thus, it is left commented out until eurofile is
|
|
||||||
# removed from the distexclude file.
|
|
||||||
# Uncomment the next line for trying the eurofile sub menu
|
|
||||||
# source eurofile/.Config.in
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
endmenu
|
endmenu
|
||||||
mainmenu_option nextcomment
|
mainmenu_option nextcomment
|
||||||
|
|
Loading…
Reference in New Issue