more integration in isdn4k-utils config/build and some small fixes

This commit is contained in:
he 1999-10-08 16:25:35 +00:00
parent 623633535a
commit d94e0fc978
5 changed files with 24 additions and 20 deletions

5
NEWS
View File

@ -1,8 +1,13 @@
Recent changes made to the isdn4k-utils archive are listed here,
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>
New FAQ is now moved from FAQ2 to FAQ.
1999/08/18 armin (Armin Schindler <mac@melware.de>)
eiconctrl - XLOG retrieve function for all supported active cards added.

View File

@ -1,5 +1,5 @@
# @configure_input@
# from $Id: eft.conf.in,v 1.1 1999/10/08 00:31:05 he Exp $
# from $Id: eft.conf.in,v 1.2 1999/10/08 16:25:35 he Exp $
#
# MSNs to be used be eurofile server and client.
#
@ -30,6 +30,15 @@ EFT_CLIENT_USERID=xxxx
# define this if you want x25trace debugging output
# 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
# included, might also be (re-)set here
#

View File

@ -1,7 +1,7 @@
#!/bin/sh
# @configure_input@
#
# generated from $Id: eftd.sh.in,v 1.5 1999/10/08 00:31:05 he Exp $
# generated from $Id: eftd.sh.in,v 1.6 1999/10/08 16:25:35 he Exp $
#
# Henner Eisen 1998
#
@ -48,7 +48,7 @@ ISDNCTRL=@ISDNCTRL@
LOOPCTRL=@LOOPCTRL@
INSMOD=@INSMOD@
EFTD_BIN_SRC=@EFT_TOPDIR@/src/eftd/eftd
EFTD_BIN_INSTALL=@SBINDIR/eftd
EFTD_BIN_INSTALL=@SBINDIR@/eftd
if [ -z "$EFTD_SH_SRC" ]; then
EFTD_BIN=$EFTD_BIN_INSTALL

View File

@ -1,4 +1,4 @@
/* $Id: eftd.c,v 1.4 1999/10/06 18:16:23 he Exp $ */
/* $Id: eftd.c,v 1.5 1999/10/08 16:25:36 he Exp $ */
/*
Copyright 1998 by Henner Eisen
@ -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());
/*
* 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()){
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 ){
@ -495,7 +495,7 @@ int main(int argc, char** argv)
tdu_stderr_mask |= level2mask(dlevel);
tdu_logfile_mask |= level2mask(llevel);
/* 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);
/* 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 ){

View File

@ -1,5 +1,5 @@
#
# $Id: config.in,v 1.29 1999/07/11 17:19:12 armin Exp $
# $Id: config.in,v 1.30 1999/10/08 16:25:37 he Exp $
#
# The whole configuration stuff is borrowed from the kernel
# configuration.
@ -118,18 +118,8 @@ if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
bool 'rcapid' CONFIG_RCAPID
fi
if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
# we need to check for the presence of the eurofile subdirectory
# as long as it is listed in the distexclude file
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
bool 'eurofile' CONFIG_EUROFILE
source eurofile/.Config.in
fi
endmenu
mainmenu_option nextcomment