home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
inetutils-1.2-src.tgz
/
tar.out
/
fsf
/
inetutils
/
ChangeLog
next >
Wrap
Text File
|
1996-09-28
|
26KB
|
621 lines
Wed Aug 21 12:42:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (enable_talk): Define `HAVE_OSOCKADDR_H' if we
supply that include file.
* headers/acconfig.h (HAVE_OSOCKADDR): Define slot removed.
(HAVE_OSOCKADDR_H): New define slot.
* talkd/talkd.c <osockaddr.h>: Conditionalize on HAVE_OSOCKADDR_H
instead of !HAVE_OSOCKADDR.
Tue Aug 20 19:55:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/Makefile.in (DISTFILES): Add err.h.
Fri Aug 16 00:49:23 1996 Miles Bader <miles@gnu.ai.mit.edu>
* Makefile.in (DISTFILES): Add TODO.
* tftp/main.c (get_args): New function.
(setpeer, put, get, setrexmt, settimeout): Use get_args.
(command): Use fgets instead of gets.
* Makefile.in (dist): Remove dependency on $(DISTFILES).
(DISTFILES): Add $(SUBDIRS). Remove glob & glob/*.
(dist-prepare): Don't make subdirectories explicitly.
Link or copy package directories as a unit into the distribution.
(DISTPACKAGES): New variable.
* headers/Makefile.in (DISTFILES): Add confpaths.h.in.
* headers/crypt.h [__GNUC__] (CRYPT): Use alternate definition to
avoid apparent gcc bug with weak refs and ?: operator.
* ftpd/ftpd.c (try_login): New function, guts from `pass'.
(pass): Call try_login.
(user): Always ask for a password for an uknown user.
Call try_login directly if a known user with no password.
* headers/Makefile.in (DISTFILES): Remove iupaths.h.
Thu Aug 15 22:29:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
* uucpd/uucpd.c (dologin, dologout): Always use logwtmp now.
<utmp.h>: Include removed.
(struct utmp): Type removed.
(dologout): Check HAVE_WAIT3 instead of BSDINETD.
* ftpd/ftpd.c (end_login, pass, dologout): Use logwtmp_keep_open.
* ftpd/Makefile.in (SRCS): Remove logwtmp.c.
* logwtmp.c: File removed.
* configure.in: Add check for errno being declared.
* libinetutils/logwtmp.c [!HAVE_ERRNO_DECL] (errno): New decl.
[HAVE_ERRNO_H] <errno.h>: New
[KEEP_OPEN] Add code to define `logwtmp_keep_open' version.
* libinetutils/logwtmp.c <sys/fcntl.h>: New include.
* libinetutils/Makefile.in (CPPFLAGS): Add $(PATHDEF_WTMP) and
$(PATHDEF_UTMP).
(SRCS): Add logwtmpko.c.
(OBJS): Add logwtmpko.o.
* logwtmpko.c: New file.
* headers/acconfig.h (HAVE_STAT_ST_MTIMESPEC): Renamed from
HAVE_ST_TIMESPEC.
(HAVE_STAT_ST_MTIME_USC): Renamed from HAVE_ST_TIME_USEC.
(HAVE_ATTR_WEAK_REFS, HAVE_UTMP_UT_TYPE, HAVE_UTMP_UT_HOST,
HAVE_UTMP_UT_TV): New define slots.
* headers/crypt.h: Replace HAVE_WEAK_REFS with
HAVE_ATTR_WEAK_REFS, and test for any of the three with HAVE_WEAK_REFS.
* configure.in (sys_glob): Add checks for ut_type, ut_host, and
ut_tv fields in struct utmp.
(AC_CHECK_HEADERS): Add utmp.h & utmpx.h.
(AC_CHECK_FUNCS): Add flock, ftruncate, wait3.
* libinetutils/logwtmp.c (_logwtmp): Close FD after use.
* ftpd/logwtmp.c: Replace with version derived from libinetutils.
* rcp/rcp.c (write_stat_time): Replace HAVE_ST_TIME* with
HAVE_STAT_ST_MTIME* (as generated by new configure rules).
Thu Aug 8 02:37:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4: New file.
* configure.in: Use macros from iumacros.m4.
Rearrange to be more clear, and add lots of comments.
Check for libutils functions in libutil if it exists.
Wed Aug 7 15:24:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_FUNCS): Remove strdup & logwtmp.
(AC_REPLACE_FUNCS): Add strdup, logout, & logwtmp.
* libinetutils/logout.c, libinetutils/logwtmp.c,
libinetutils/cleansess.c, libinetutils/strdup.c: New files.
* libinetutils/Makefile.in (SRCS): Add strdup.c, logout.c,
logwtmp.c, & cleansess.c.
(OBJS): Add cleansess.o.
* ftp/cmds.c [!HAVE_STRDUP] (strdup): Function removed.
* ftpd/logwtmp.c [!PATH_WTMP && WTMP_FILE] (PATH_WTMP): Macro removed.
* rlogind/rlogind.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H]
<sys/time.h>: New include.
* configure.in: Rework format of path configuration file.
* headers/acconfig.h: Include <confpaths.h> at end.
* headers/confpaths.h.in: Renamed from iu_paths.h.
* paths: Change format of entries.
* libinetutils/Makefile.in (CPPFLAGS): New variable.
* libinetutils/daemon.c, libinetutils/ttymsg.c, rexecd/rexecd.c,
talkd/announce.c, talkd/process.c, talkd/talkd.c, uucpd/uucpd.c
<paths.h>: Include removed.
* ftp/cmds.c, ftpd/ftpd.c, ftpd/logwtmp.c, inetd/inetd.c,
rcp/rcp.c, rcp/util.c, rlogind/rlogind.c, rsh/rsh.c, rshd/rshd.c,
syslogd/syslogd.c, telnetd/sys_term.c, telnetd/telnetd.c
<iu_paths.h>: Include removed.
* Makefile.in (DISTCLEAN): Add pathdefs.make and paths.defs.
Tue Aug 6 01:44:37 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to 1.2.
* paths: New file.
* configure.in: Add huge wodge of code to parse the `paths' file
and produce pathdefs.make and paths.defs.
* Makefile.in (DISTFILES): Add paths.
* config.make.in: Put @PATHDEFS_MAKE@ at the end.
* headers/iu_paths.h: New file.
* headers/Makefile.in (DISTFILES): Add iu_paths.h & remove paths.h.
* inetd/Makefile.in, telnetd/Makefile.in, ftpd/Makefile.in,
syslogd/makefile.in, rsh/Makefile.in, rlogind/Makefile.in,
rcp/Makefile.in
(CPPFLAGS): Use $(PATHDEF_...) variables.
* inetd/inetd.c, ftp/cmds.c, telnetd/telnetd.c, telnetd/sys_term.c,
syslogd/syslogd.c, rshd/rshd.c, rlogind/rlogind.c, rcp/util.c
<iu_paths.h>: Changed from <paths.h>.
* rsh/rsh.c, rcp/rcp.c <iu_paths.h>: New include.
* inetd/inetd.c (CONFIG): Initialize from PATH_INETDCONF.
* ftp/Makefile.in, rshd/Makefile.in (CPPFLAGS): New macro.
* syslogd/syslogd.c (LogName, ConfFile, PidFile, ctty, main, wallmsg):
Use PATH_* macros instead of _PATH_* ones.
* ftp/cmds.c (remglob, shell): Likewise
* rsh/rsh.c (main): Likewise.
* rshd/rshd.c (doit): Likewise.
* rlogind/rlogind.c (doit, cleanup): Likewise.
* rcp/util.c (susystem): Likewise.
* rcp/rcp.c (toremote, tolocal): Likewise.
* telnetd/sys_term.c (start_login): Likewise.
Mon Aug 5 00:23:07 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in: Check to see if the fd_set macros are defined by
<sys/time.h> rather than <sys/types.h> (!).
* headers/acconfig.h (HAVE_FD_SET_MACROS_IN_SYS_TIME_H): New def slot.
* rsh/rsh.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H] <sys/time.h>: New inc.
* talk/init_disp.c (init_display): Use sigaction or sigvec as appr.
* configure.in: Include $LIBTERMCAP in LIBCURSES if necessary.
* rlogin/rlogin.c (oob): Only use TIOCFLUSH if it's defined.
(writer): Only check VDSUSP if it's defined.
* talkd/announce.c <sgtty.h>: Include removed.
* rsh/rsh.c: [HAVE_STDARG_H] <stdarg.h>: New include.
[!HAVE_STDARG_H] <varargs.h>: Conditionalize include.
* libinetutils/hstrerror.c: New file.
* libinetutils/Makefile.in (SRCS): Add strerror.c & hstrerror.c.
* headers/acconfig.h (HAVE_H_ERRLIST_DECL): New define slot.
* configure.in: Check for hstrerror, and various things to provide
a replacement if it doesn't exist.
* syslogd/syslogd.c (cfline): Declare hstrerror.
* rlogind/rlogind.c [!TTYDEF_IFLAG] (TTYDEF_IFLAG),
[!TTYDEF_OFLAG] (TTYDEF_OFLAG), [!TTYDEF_LFLAG] (TTYDEF_LFLAG):
New macros.
* rshd/rshd.c (doit): Use setpgid instead of setpgrp.
* uucpd/uucpd.c (dologin): Only write lastlog if HAVE_STRUCT_LASTLOG.
* configure.in: Add check for struct lastlog in <utmp.h>.
* headers/acconfig.h (HAVE_STRUCT_LASTLOG): New define slot.
* daemon.c: New file.
libinetutils/Makefile.in (SRCS): Add daemon.c.
* configure.in (AC_REPLACE_FUNCS): New test, for daemon.
* configure.in: Check whether crypt is declared in <unistd.h>.
(AC_CHECK_FUNCS): Add sigvec & sigaction.
* inetd/inetd.c (main): Use sigaction, sigvec, or signal as appropriate.
* rlogin/rlogin.c (main): Likewise.
* headers/acconfig.h (HAVE_CRYPT_DECL): New define slot.
* headers/crypt.h: If there's a system decl for crypt, use an
ambiguous argument signature (`()') to avoid conflicting with it.
* ftpd/ftpd.c (send_file_list): Test for '\0' in name rather than
looking at DIR's d_namlen field (which doesn't exist on all systems).
(retrieve, store): Use SEEK_* macros instead of L_*.
[!LOG_FTP] (LOG_FTP): New macro.
(version): Variable removed.
(main, statcmd): Use INETUTILS_VERSION instead of VERSION.
* configure.in: Add tests for SEEK_* macros and L_* macros,
defining the SEEK_* ones if they don't already exists.
* headers/acconfig.h (SEEK_SET, SEEK_CUR, SEEK_END): New define slots.
* tftpd/tftpd.c [!LOG_FTP] (LOG_FTP): New macro.
* telnetd/sys_term.c (tty_linemode): If EXTPROC isn't defined,
always return false (we can't set linemode either in this case).
* telnetd/telnetd.c (telnet): Only use TIOCPKT_IOCTL if it's defined.
* telnet/externs.h: Prefer termios if both <termios.h> & <termio.h>
exist.
Move define of `termio' to `termios' outside of file-already-
included test, as sometimes the file's already been included.
* ftp/ruserpass.c: Include <stdarg.h> or <varargs.h> before
including <err.h> (which needs va_list).
(localhost): New declaration.
* ftp/ftp.c [!HAVE_HSTRERROR] (hookup): Add grot to print error
message for h_errno, using herror.
Sun Aug 4 23:00:29 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/cmds.c (site_idle): Renamed from `idle' to avoid conflict
with linux <unistd.h>.
* ftp/extern.h: Likewise.
(command): Add arg decls to prototype.
* ftp/cmdtab.c (cmdtab): Change entry for "idle" to use site_idle.
* ftp/ftp.c [HAVE_STDARG_H] <stdarg.h>: New include.
[!HAVE_STDARG_H] <varargs.h>: Conditionalize include.
(command): Make work with either <stdarg.h> or <varargs.h>.
* configure.in (AC_CHECK_HEADERS): Add glob.h.
Check for system glob, and config in our own if necessary.
* Makefile.in (SUBDIRS, SERVERS, CLIENTS, BOTH): Add @subdirs@,
the autoconf-supplied list of sub-configured directories.
(DISTFILES): Add `glob' and `glob/*' (ick, but what else can be
done without modifying glob?).
* ftp/Makefile.in, ftpd/Makefile.in (LDLIBS): Add $(LIBGLOB).
* config.make.in (LIBGLOB): New variable.
* headers/Makefile.in (DISTFILES): Add paths.h.
Wed Jul 31 14:49:18 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnet/main.c (help): Shorten description for -l/--user.
* configure.in: Add a check for various types of weak reference.
Add crypt.h to INCLUDES.
* headers/acconfig.h (HAVE_WEAK_REFS, HAVE_PRAGMA_WEAK_REFS,
HAVE_ASM_WEAK_REFS): New define slots.
* headers/crypt.h: New file.
* headers/Makefile.in (DISTFILES): Add crypt.h.
* ftpd/ftpd.c (pass): Use CRYPT instead of crypt.
* libtelnet/krb4encpwd.c (passwdok): Likewise.
* libtelnet/rsaencpwd.c (rsaencpwd_passwdok): Likewise.
* rexecd/rexecd.c (doit): Likewise.
* uucpd/uucpd.c (doit): Likewise
* ftpd/ftpd.c, libtelnet/krb4encpwd.c, libtelnet/rsaencpwd.c,
rexecd/rexecd.c, uucpd/uucpd.c <crypt.h>: New include.
Tue Jul 30 18:36:11 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to 1.1.
* configure.in (AC_CHECK_FUNCS): Check for crypt.
Check for EWOULDBLOCK.
* ftpd/ftpd.c (pass): Only call crypt if HAVE_CRYPT defined.
* libtelnet/krb4encpwd.c (passwdok): Likewise
* libtelnet/rsaencpwd.c (passwdok): Likewise.
* rexecd/rexecd.c (doit): Likewise.
* uucpd/uucpd.c (doit): Likewise.
* headers/acconfig.h (EWOULDBLOCK): New define slot.
Sat Jul 27 11:32:13 1996 Miles Bader <miles@gnu.ai.mit.edu>
* uucpd/uucpd.c [!HAVE_LOGWTMP] (dologin): Supply name to copy in wtmp.
* rlogind/rlogind.c <getopt.h>: New include.
(fatal): Don't depend on sprintf returning a count.
* telnetd/defs.h: Prefer termios if <termios.h> & <termio.h> exist.
* inetd/inetd.c <getopt.h>: New include.
(line): Define with a size of 2048 if LINE_MAX isn't defined.
Fri Jul 26 09:06:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/Makefile.in (DISTFILES): Add `arpa' (the directory).
* config.make.in (_LINK_DISTFILE): Copy directories too.
Wed Jul 24 01:36:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* config.make.in (_LINK_DISTFILE): Copy into $(DISTDIR)/$$FILE.
(LINK_DISTFILES): Always set $$FILE as well as $$DISTFILE before
using $(_LINK_DISTFILE).
Tue Jul 23 22:59:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
* Makefile.in: Use dependencies instead of shell loops for
iteration over subdirs, to make it interruptible in a sane
fashion.
Mon Jul 22 00:14:09 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/arpa/telnet.h, headers/arpa/ftp.h, headers/arpa/tftp.h:
New files.
* headers/Makefile (DISTFILES): Add arpa/telnet.h, arpa/ftp.h, &
arpa/tftp.h.
* configure.in (INCLUDES): Likewise.
* tftp/tftp.c [HAVE_CONFIG_H] <config.h>: New include.
* configure.in (paths.h): New test.
(AC_CHECK_HEADERS): Add stdlib.h, errno.h, string.h, stdarg.h &
sys/cdefs.h.
Check for __P in <sys/cdefs.h>, not <stdlib.h>.
Define HAVE___P if we do.
(verrx, strerror, __progname, snprintf): New tests.
Check for sig_t.
(AC_CHECK_FUNCS): Temporarily add $LIBUTIL to $LIBS while doing this.
* headers/acconfig.h (HAVE_SYS_ERRLIST_DECL, HAVE_SIG_T,
HAVE___PROGNAME, HAVE_SNPRINTF): New entries.
[!HAVE_SIG_T] (sig_t): New macro.
* libinetutils/err.c: New file.
* libinetutils/__progname.c: New file.
* libinetutils/strerror.c: New file.
* libinetutils/snprintf.c: New file.
* headers/err.h: New file.
* ftp/main.c, rcp/rcp.c, rlogin/rlogin.c, rsh/rsh.c, talk/talk.c
[!HAVE___PROGNAME] (main): Set __progname.
* rcp/rcp.c, rsh/rsh.c, rshd/rshd.c <getopt.c>: New include.
Sun Jul 21 12:19:48 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CONFIG_HEADER): Added.
Add test for __P in <stdlib.h>.
(termlib): New test, if can't find termcap.
(curses): Don't depend on termcap if it's not necessary.
(util, crypt): Define unique substs for each lib found.
* config.make.in (CPPFLAGS): Remove -D_BSD_SOURCE (now in config.h).
(LIBCRYPT, LIBUTIL): New variables.
* ftpd/Makefile.in, ftp/Makefile.in, rlogind/Makefile.in,
rexecd/Makefile.in, uucpd/Makefile.in (LDLIBS): New variable.
* telnet/Makefile.in, telnetd/Makefile.in (LDLIBS):
Add $(LIBUTIL) & $(LIBCRYPT)
* Makefile.in (MAINTCLEAN, DISTCLEAN): New variables.
(distclean): Use $(DISTCLEAN).
(maintainer-clean): New target.
(%-clients, %-servers): New targets.
* headers/acconfig.h: New file.
* headers/Makefile.in (DISTFILES): Add config.h.in & acconfig.h.
(MAINTCLEAN): New variable.
* uucpd/uucpd.c, tftpd/tftpd.c, tftp/tftpsubs.c, tftp/main.c,
telnetd/utility.c, telnetd/termstat.c, telnetd/telnetd.c,
telnetd/sys_term.c, telnetd/state.c, telnetd/slc.c, telnetd/global.c,
telnetd/authenc.c, telnet/telnet.c, telnet/utilities.c,
telnet/tn3270.c, telnet/terminal.c, telnet/sys_bsd.c, telnet/ring.c,
telnet/network.c, telnet/main.c, telnet/commands.c, telnet/authenc.c,
talkd/talkd.c, talkd/table.c, talkd/process.c, talkd/print.c,
talkd/announce.c, talk/talk.c, talk/msgs.c, talk/look_up.c, talk/io.c,
talk/invite.c, talk/init_disp.c, talk/get_names.c, talk/get_addrs.c,
talk/display.c, talk/ctl_transact.c, talk/ctl.c, syslogd/syslogd.c,
syslog/syslog.c, rshd/rshd.c, rsh/rsh.c, rlogind/rlogind.c,
rlogin/rlogin.c, rlogin/krcmd.c, rlogin/kcmd.c, rlogin/des_rw.c,
rexecd/rexecd.c, rcp/util.c, rcp/rcp.c, libtelnet/rsaencpwd.c,
libtelnet/read_password.c, libtelnet/misc.c, libtelnet/krb4encpwd.c,
libtelnet/kerberos5.c, libtelnet/kerberos.c, libtelnet/genget.c,
libtelnet/enc_des.c, libtelnet/auth.c, libinetutils/ttymsg.c,
libinetutils/localhost.c, inetd/inetd.c, ftpd/ftpd.c, ftpd/ftpcmd.y,
ftp/main.c, ftp/ftp.c, ftp/domacro.c, ftp/cmdtab.c, ftp/cmds.c
[HAVE_CONFIG_H] <config.h>: New include.
* rules.make (install, uninstall, mostlyclean, distclean,
maintainer-clean, dist): Make :: rules.
(clean): New rule.
(mostlyclean): Merge with clean.
(.PHONY): New target.
(uninstall): Put command in right place.
* ftp/Makefile.in, uucpd/Makefile.in, tftpd/Makefile.in,
tftp/Makefile.in, telnetd/Makefile.in, telnet/Makefile.in,
talkd/Makefile.in, talk/Makefile.in, syslogd/Makefile.in,
syslog/Makefile.in, rshd/Makefile.in, rsh/Makefile.in,
rlogin/Makefile.in, rcp/Makefile.in, libtelnet/Makefile.in,
libinetutils/Makefile.in, ftpd/Makefile.in (clean): Target removed.
(CLEAN, OBJS): New variables.
* inetd/Makefile.in (CLEAN): New variable.
(clean): Target removed.
(inet): Depend on inetd.o directly.
* tftpd/Makefile.in (tftpd): Depend on $(OBJS), not $(SRCS:.c=.o)
* tftp/Makefile.in (tftp): Likewise.
* telnetd/Makefile.in (telnetd): Likewise.
* telnet/Makefile.in (telnet): Likewise.
* talkd/Makefile.in (talkd): Likewise.
* talk/Makefile.in (talk): Likewise.
* rcp/Makefile.in (rcp): Likewise.
* libtelnet/Makefile.in (libtelnet.a): Likewise.
* libinetutils/Makefile.in (libinetutils.a): Likewise.
* ftpd/Makefile.in (ftpd): Likewise.
* talkd/announce.c [!HAVE_VIS_H] (strvis): Test CH for
printability, not *STR (STR has already been incremented).
Fri Jul 19 01:37:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
* rsh/Makefile.in (INST_PROG_FLAGS): New variable.
* rcp/Makefile.in (INST_PROG_FLAGS): New variable.
Fri Jul 12 13:08:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
* talkd/announce.c (tty_msg): New declaration.
* talk/look_up.c (check_local): Replace one hack for
copying the addr into the message with another.
* talk/invite.c (invite_remote): Likewise.
* talk/init_disp.c (set_edit_chars): Use tcgetattr if we have it.
[HAVE_TERMIOS] <termios.h>: New include.
[!HAVE_TERMIOS]: Guard <sys/ioctl.h> with HAVE_SYS_IOCTL_COMPAT_H.
* configure.in (AC_CHECK_HEADERS): Add sys/ioctl_compat.h.
(AC_CHECK_FUNCS): Add tcgetattr.
* talkd/announce.c: Guard include of <vis.h> with HAVE_VIS_H.
[!HAVE_VIS_H] (strvis): New function.
* configure.in (AC_CHECK_HEADERS): Add vis.h.
* libinetutils/localhost.c: New file.
* libinetutils/Makefile.in (SRCS): Add localhost.c.
* ftp/ruserpass.c (ruserpass): Use localhost.
* rlogind/rlogind.c (local_domain): Likewise.
* rshd/rshd.c (local_domain): Likewise.
* talk/get_names.c (get_names): Likewise.
* telnet/commands.c (env_init): Use likewise.
* telnet/telnet.c (telnet): Likewise.
* ftpd/ftpd.c (main): Use localhost.
(hostname_len): Variable removed.
* syslogd/syslogd.c (LocalHostNameLen): Variable removed.
(localhost): New declaration.
(main): Use localhost.
* talkd/talkd.c (main): Use localhost.
(hostname): Change to be a char *.
(localhost): New declaration.
* talkd/announce.c (hostname): Change to be a char *.
* talkd/print.c, talkd/process.c, talkd/table.c, talkd/talkd.c,
talkd/announce.c, talk/look_up.c, talk/get_names.c, talk/invite.c,
talk/ctl_transact.c, talk/ctl.c, talk/get_addrs.c:
[!HAVE_OSOCKADDR] <osockaddr.h>: New include.
* configure.in: Check for struct osockaddr in <sys/socket.h>.
* headers/osockaddr.h: New file.
* headers/Makefile.in (DISTFILES): Add osockaddr.h.
* configure.in: Change references to $ac_cv_lib_LIB variables
to $ac_cv_lib_LIB_FUNC.
* syslog/Makefile.in ($(bindir)/logger): Remove before linking.
* configure.in (SUBDIRS): Add headers.
* headers/Makefile.in: New file.
* libinetutils/Makefile.in (DISTFILES): Remove $(HDRS).
(HDRS): Variable removed.
Thu Jul 11 00:39:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers: New directory.
* configure.in: Link include files from headers.
LIB_INCLUDES -> INCLUDES.
(_ISRCS, _DSTS, SUBDIR_MAKEFILES): Frob quoting to satisfy
brain-dead shells.
* ftpd/logwtmp.c (_PATH_WTMP): Define to be WTMP_FILE if necessary.
Check for HAVE_UTMPNAME too.
* configure.in: Check for -lcrypt.
* inetd/inetd.c (set_proc_title): Renamed from `setproctitle' to
avoid conflict with the <stdlib.h> function in netbsd.
(chargen_stream, discard_stream, echo_stream): Use set_proc_title.
* ftp/main.c (ohelp): Remove extra newline.
* telnet/main.c (help): Remove extra newlines. Fiddle text.
Wed Jul 10 03:41:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/main.c (ohelp, try_help, usage): New functions.
(long_options): New variable.
(main): Use getopt_long, and new help functions.
<getopt.h>, <version.h>: New includes.
* telnet/main.c (try_help): New function.
(usage): Use try_help, not help.
(help): Remove arg, and only implement long help.
(main): Use help & try_help appropiately.
* config.make.in (_LINK_DISTFILE): New variable.
(LINK_DISTFILES): Use $(_LINK_DISTFILE); support OPT_DISTFILES.
* rules.make (distclean): Remove $(DISTCLEAN) too.
(maintainer-clean): New rule.
* ftpd/Makefile.in (MAINTCLEAN): New variable.
(OPT_DISTFILES): New variable.
* uucpd/uucpd.c (dologin, dologout): If HAVE_LOGWTMP, use it.
* ftpd/logwtmp.c (logwtmp): If HAVE_SETUTENT_R, use a more sysvish
style of wtmp frobbing.
* configure.in (AC_CHECK_FUNCS): Add setutent_r & logwtmp.
* Makefile.in (distclean, clean): Split out targets, and clean up here.
Use $(SUBDIRS).
* telnetd/Makefile.in, telnet/Makefile.in (LDLIBS): Use
$(LIBTERMCAP), not -ltermcap.
* configure.in: Put library specs for found libraries in specific substs.
* config.make.in (LIBCURSES, LIBTERMCAP, LIBAUTH): New variables.
(LDLIBS): Put $(LIBS) last.
* libinetutils/stub_tgetent.c: New file.
* talk/Makefile.in (LDLIBS): Use $(LIBCURSES), not -lcurses.
* libinetutils/Makefile.in (SRCS): Enumerate all sources, don't
include @LIBOBJS@.
(libinetutils.a): List constant objects + @LIBOBJS@.
* ftp/Makefile.in, ftpd/Makefile.in, libinetutils/Makefile.in,
libtelnet/Makefile.in, rcp/Makefile.in, rlogin/Makefile.in,
talk/Makefile.in, telnet/Makefile.in, telnetd/Makefile.in,
tftp/Makefile.in (HDRS): New variable.
(DISTFILES): Add $(HDRS).
* config.make.in (CPPFLAGS): Add -I$(srcdir).
* Makefile.in (distname): Depend on libinetutils/version.c.
Variable is named `inetutils_version', not `version_string'.
* libinetutils/version.c, libinetutils/version.h
(inetutils_version): Renamed from version_string.
* telnet/main.c (main): Use inetutils_version, not version_string.
* configure.in: Add test for setpgid.
* rexecd/rexecd.c (doit): Use setpgid instead of setpgrp.
* config.make.in (CPPFLAGS): Add -D_BSD_SOURCE.
* syslogd/Makefile.in (syslogd): Rule removed.
* talkd/Makefile.in (talkd): Get rid of ttymsg.o.
* ftpd/Makefile.in (ftpd): Fix subst for generating .o files.
* config.make.in (top_srcdir): Variable removed.
* ftp/Makefile.in, ftpd/Makefile.in, inetd/Makefile.in,
libinetutils/Makefile.in, libtelnet/Makefile.in, ping/Makefile.in,
rcp/Makefile.in, rexecd/Makefile.in, rlogin/Makefile.in,
rlogind/Makefile.in, rsh/Makefile.in, rshd/Makefile.in,
syslog/Makefile.in, syslogd/Makefile.in, talk/Makefile.in,
talkd/Makefile.in, telnet/Makefile.in, telnetd/Makefile.in,
tftp/Makefile.in, tftpd/Makefile.in, uucpd/Makefile.in
(top_srcdir): New variable.
* telnet/main.c (help): New function.
(usage): Just use help now.
(long_options): New variable.
(main): Use help sometimes instead of usage. Use getopt_long.
Add --help and --version options.
<getopt.h>, "version.h": New includes.
* libinetutils: New directory, mostly from old comon dir.
* common: Dir removed.
* config.make.in (CPPFLAGS): Add -I../include.
(LDLIBS): Add -L../inetinetutils -linetutils.
* configure.in (COMMON): New variable & subst.
(SUBDIRS): Add $COMMON.
Add rules for using gnu getopt.
Add rules for linking in optional header files into obj include dir.
* Makefile.in (COMMON): Use autoconf subst.
Tue Jul 9 16:15:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (SUBDIRS): New subst.
(AC_OUTPUT): Automatically compute the subdir makefiles.
Fix test to turn on talk if $enable_talk == maybe.
* Makefile.in (distname, dist): New targets.
* rules.make (dist): New rule.
* config.make.in (LINK_DISTFILES): New variable.
* inetd/Makefile.in, libtelnet/Makefile.in, rcp/Makefile.in,
rexecd/Makefile.in, ftpd/Makefile.in, telnetd/Makefile.in,
rshd/Makefile.in, rlogind/Makefile.in, uucpd/Makefile.in,
syslogd/Makefile.in, tftpd/Makefile.in, telnet/Makefile.in,
ftp/Makefile.in, rsh/Makefile.in, rlogin/Makefile.in,
tftp/Makefile.in, syslog/Makefile.in, talkd/Makefile.in,
talk/Makefile.in (SRCS, DISTFILES): New variables.
* libtelnet/Makefile.in (OBJS): Derive from $(SRCS).
* inetd/Makefile.in (inetd): Derive objects from $(SRCS).
* rcp/Makefile.in (rcp): Likewise.
* ftpd/Makefile.in (ftpd): Likewise.
* telnet/Makefile.in (telnet): Likewise.
* ftp/Makefile.in (ftp): Likewise.
* tftp/Makefile.in (tftp): Likewise.
* talk/Makefile.in (tftp): Likewise.
* syslogd/Makefile.in (ttymsg.o): Rule removed.
(syslogd): Derive syslogd objects from $(SRCS) (keep ttymsg.o).
* tftpd/Makefile.in (tftpd): Derive tftpd objects from $(SRCS)
(keep tftpsubs.o).
* talkd/Makefile.in (ttymsg.o): Rule removed.
(talkd): Derive talkd objects from $(SRCS) (keep ttymsg.o).
* config.make.in (VPATH): Add $(srcdir)/common
* common/version.c, common/version.h: New files.
* configure.in (CLIENTS): Remove ping. Change `logger' to `syslog'.
Tue Jun 25 02:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* ftp/cmds.c: Include errno.h.
Wed Feb 7 17:06:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/cmds.c (remglob): Make sure return value is mallocated.
(mdelete): Free CP after use.
(remglob): Don't keep BUF around between calls, as the caller frees it.
Wed Jan 31 16:08:44 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftpd/ftpd.c (user, pass): Don't require users to have a password.
Sat Dec 30 06:36:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* ftpd/ftpcmd.y: Allow `SITE IDLE 0' for non-anonymous user to
disable idle timer.