2002-11-17 Ollie Cook ollie@olliecook.net = Version 1.1 released, incorporating all changes below this mark * configure.in: various changes to assist with portability (-lnsl, -lsocket etc) * missing: latest version from automake 1.7.1 * src/exim_info.c: use stat () rather than d_type element of dirent structure to work out file type. d_type is not useful on some OSes Fixed memory leak if opendir () fails Improved portability with HAVE_ macros * src/eximstate.c: Modified command-line argument handling to use getopt() and added code for specifying alternative configuration file Added usage() function Improved portability with HAVE_ macros * src/eximstate.h.in: added prototype for usage() * src/eximstated.c: Improved portability with HAVE_ macros * src/eximstated.h.in: added debugflag * src/exitop.c: use stat () rather than d_type, as per src/exim_info.c replaced sprintf with snprintf * src/logging.c: replaced vasprintf to use vsnprintf with static buffer for portability Improved portability with HAVE_ macros * src/net.c: replaced vasprintf to use vsnprintf with static buffer for portability Improved portability with HAVE_ macros * src/parse.c: Improved portability with HAVE_ macros * src/process_control.c: Improved portability with HAVE_ macros * src/rrd_argv.c: Improved portability with HAVE_ macros * Started to sign new releases with PGP. (Key ID 0x4A941929 ) 2002-08-11 Ollie Cook ollie@olliecook.net = Version 1.0 released, incorporating all changes below this mark * src/exitop.c: fixed off-by-one memory allocation error for identities * src/logging.c: added debug () function, and made error () and log () copy output to stderr if debugging is set to on (-x as command line argument). * src/eximstate.c: added various debugging calls. Set debugflag to 1 if started with -x flag. * src/eximstated.c: added various debugging calls. Set debugflag to 1 if started with -x flag. * src/eximstate.h: added debugflag variable declaration. * src/eximstated.h: added debugflag variable declaration. * src/exim_info.c: added debugging calls. 2002-06-19 Ollie Cook ollie@olliecook.net = Version 0.9 released, incorporating all changes below this mark * src/net.c: if recv sets errno to EAGAIN, start the loop again instead of returning * src/eximstate.c: return code in error from read_line is 0 not -1 2002-05-03 Ollie Cook ollie@olliecook.net = Version 0.8 released, incorporating all changes below this mark * src/eximstate.c: open connection to server only after getinfo() has succeeded to make socket open for shorter period. * src/exim_info.c: if a message file can't be opened, just skip it, rather than aborting scan * src/eximstatd.c: use fcntl () to make sure sockets are non-blocking * src/exitop.c: added DT_UNKNOWN due to linux not setting d_type * README, INSTALL, doc/README: documentation fixes 2002-04-22 Ollie Cook ollie@olliecook.net * scripts/makenewrrd.sh.in: change path from "data/" to "$datadir/" which would cause old databases to be overwritten in previous versions. 2002-04-21 Ollie Cook ollie@olliecook.net Added timeouts: * doc/PROTOCOL: added new 212 error for timeouts * doc/README: added new description for 'timeout' configuration parameter * src/eximstated.c: added code to timeout clients after a configurable interval * src/eximstated.h.in: added lastcommand to client struct, and timeout to config struct * src/eximstated.c: added code to setup_state() for new 'timeout' configuration parameter * src/eximstated.c: replaced calls to disconnect() with setting client disconnect flags so that all disconnections happen in the same place, at the same time. 2002-04-17 Ollie Cook ollie@olliecook.net * exim_info.c: added DT_UNKNOWN since libc6 v2.1+ doesn't set d_type on dirent struct * eximstate.c, eximstated.c, exitop.c: changed exit () codes to all be EX_xxx Fixed bug where one rrd_ error would cause all subsequent rrd_ functions to fail: * eximstated.c, exitop.c: Reset optind and opterr before calling rrd_ functions * eximstated.c, exitop.c: Clear RRD error after each call to rrd_ functions 2002-04-16 Ollie Cook ollie@olliecook.net Tidied up distribution: * ChangeLog: renamed from CHANGES and changed format * Makefile.am: removed reference to CHANGES * doc/Makefile.am: added * NEWS: added reference to ChangeLog * docs/README: added autoconf version tag * docs/PROTOCL: added autoconf version tag * src/config.h: added CVS Id tag * src/eximstate.h.in: added CVS Id tag * src/eximstated.h.in: added CVS Id tag * src/exitop.h.in: added CVS Id tag * src/logging.h: added CVS Id tag * src/net.h: added CVS Id tag * src/parse.h: added CVS Id tag * src/process_control.h: added CVS Id tag * src/rrd_argv.h: added CVS Id tag * scripts/makenewrrd.sh.in: create data directory if it doesn't exist 2002-04-15 Ollie Cook ollie@olliecook.net * exitop.c: changed EFTYPE to EINVAL to fix Linux compilation