2001-11-02 Marcus Brinkmann <marcus@gnu.org>
* configure.in: When checking for utmp structure fields, always
include sys/types.h [HAVE_SYS_TYPES_H] before utmp.h (for time_t)
to get it working on FreeBSD. Add checks for fields pid, id and
user.
headers/
2001-11-02 Marcus Brinkmann <marcus@gnu.org>
* acconfig.h: Add macros for HAVE_UTMP_UT_PID, HAVE_UTMP_UT_ID,
HAVE_UTMP_UT_USER.
libinetutils/
2001-11-02 Marcus Brinkmann <marcus@gnu.org>
* utmp_logout.c (utmp_logout): Add a horde of conditionals to get
it working on FreeBSD.
* utmp_init.c (utmp_init): Likewise.
ftpd/
2001-11-02 Marcus Brinkmann <marcus@gnu.org>
* ftpd.c (complete_login): Add missing `;'.
libtelnet/
2001-11-02 Marcus Brinkmann <marcus@gnu.org>
* getent.c (getent): Move variable declaration to the beginning of
the function.
(getstr): Likewise.
tftp/
2001-11-02 Marcus Brinkmann <marcus@gnu.org>
There is a function sendfile() in the FreeBSD system headers, so:
* tftp.c (sendfile): Rename to...
(send_file): ... this.
* main.c (put): Call send_file, not sendfile.
* extern.h: Prototype send_file, not sendfile.
tftpd/
2001-11-02 Marcus Brinkmann <marcus@212.23.136.22>
* tftpd.c: Prototype send_file, not sendfile.
(formats): Use send_file, not sendfile.
(sendfile): Rename to ...
(send_file): ... this.
libls it is only use in ftpd. But it many not compile on certain platforms
because of the lack of fchdir() and dirfd(). So far it runs well on
*BSD, GNU/Linux and Solaris which are main test platforms. So by default
libls is enable.
Guard against initgroups().
undef max before using it.
"interrupt" is a reserver work for certain compiler
guard against it.
empty() uses fd_set but no <sys/select.h> corrected in ftp.
poll.[ch] Typos and not including sys/select corrected.
Various typos and bug fixes done.
add autoheader -l headers
configure.in ftpd/Makefile.am ftpd/ftpd.c
Disable the code when a working libwrap.a was not found
This is done by #if def HAVE_LIBWRAP. And configure should
check and set this macro.
headers/acconfig.h headers/config.h.in
forgot to add HAVE_LIBWRAP
inetd/inetd.c
Did not put prototpe for run_service.
libinetutils/Makefile.am
forgot to add daemon.c for distribution.
syslogd/ChangeLog syslogd/syslogd.c
Added poll() support and move the creation of the socket
in main() see ChangeLog for rationale.
headers/config.h.in libinetutils/ChangeLog
get rid of setlinebuf.
libinetutils/localhost.c
do not use static buffers when doing localhost()
to dangerous and lead to subtile dangerous bugs since
about every where in the code we do free() after getting the locahost
sometimes carrelessly. Since we usually call localhost() only once
the gain of static buffer is minimal.
syslogd/ChangeLog syslogd/syslogd.c
Remove restrictions on options -l, -s, better compliance to GNU
coding rules .i.e no limits in the number of possible open sockets.
Code indenting to conform to GNU style.
nuked try_help() and help() for usage(). regroup funix fd and name
in a structure.
ftp/extern.h ftp/ftp.1 ftp/ftp.c ftp/ftp_var.h ftp/main.c
ftp/ruserpass.c ftpd/ChangeLog ftpd/extern.h ftpd/ftpcmd.y
ftpd/ftpd.8 ftpd/ftpd.c ftpd/popen.c headers/ChangeLog
headers/paths.h headers/syslog-int.h headers/tftpsubs.h
headers/arpa/ftp.h headers/arpa/telnet.h headers/arpa/tftp.h
headers/protocols/talkd.h inetd/ChangeLog inetd/inetd.8
inetd/inetd.c libinetutils/ChangeLog libinetutils/daemon.c
libinetutils/des_rw.c libinetutils/forkpty.c
libinetutils/iruserok.c libinetutils/kcmd.c
libinetutils/krcmd.c libinetutils/login_tty.c
libinetutils/openpty.c libinetutils/snprintf.c
libinetutils/snprintf.h libinetutils/syslog.c
libinetutils/tftpsubs.c libinetutils/ttymsg.c
libinetutils/utmp_init.c libls/cmp.c libls/extern.h libls/ls.1
libls/ls.c libls/ls.h libls/print.c libls/stat_flags.c
libls/util.c libtelnet/ChangeLog libtelnet/auth-proto.h
libtelnet/auth.c libtelnet/auth.h libtelnet/enc-proto.h
libtelnet/enc_des.c libtelnet/encrypt.c libtelnet/encrypt.h
libtelnet/forward.c libtelnet/genget.c libtelnet/getent.c
libtelnet/kerberos.c libtelnet/kerberos5.c
libtelnet/key-proto.h libtelnet/misc-proto.h libtelnet/misc.c
libtelnet/misc.h libtelnet/read_passwd.c rcp/ChangeLog
rcp/extern.h rcp/rcp.1 rcp/rcp.c rcp/util.c rexecd/ChangeLog
rexecd/rexecd.8 rexecd/rexecd.c rlogin/ChangeLog
rlogin/rlogin.1 rlogin/rlogin.c rlogind/ChangeLog
rlogind/rlogind.8 rlogind/rlogind.c rsh/ChangeLog rsh/rsh.1
rsh/rsh.c rshd/ChangeLog rshd/rshd.8 rshd/rshd.c
syslog/ChangeLog syslog/syslog.1 syslog/syslog.c
syslogd/ChangeLog syslogd/syslog.conf.5 syslogd/syslogd.8
syslogd/syslogd.c talk/ChangeLog talk/ctl.c
talk/ctl_transact.c talk/display.c talk/get_addrs.c
talk/get_names.c talk/init_disp.c talk/invite.c talk/io.c
talk/look_up.c talk/msgs.c talk/talk.1 talk/talk.c talk/talk.h
talk/talk_ctl.h talkd/ChangeLog talkd/announce.c talkd/print.c
talkd/process.c talkd/table.c talkd/talkd.8 talkd/talkd.c
telnet/ChangeLog telnet/authenc.c telnet/commands.c
telnet/defines.h telnet/externs.h telnet/fdset.h
telnet/general.h telnet/main.c telnet/network.c telnet/ring.c
telnet/ring.h telnet/sys_bsd.c telnet/telnet.1 telnet/telnet.c
telnet/terminal.c telnet/tn3270.c telnet/types.h
telnet/utilities.c telnetd/ChangeLog telnetd/authenc.c
telnetd/defs.h telnetd/ext.h telnetd/global.c telnetd/slc.c
telnetd/state.c telnetd/sys_term.c telnetd/telnetd.8
telnetd/telnetd.c telnetd/telnetd.h telnetd/termstat.c
telnetd/utility.c tftp/ChangeLog tftp/extern.h tftp/main.c
tftp/tftp.1 tftp/tftp.c tftpd/ChangeLog tftpd/tftpd.8
tftpd/tftpd.c uucpd/ChangeLog uucpd/uucpd.c whois/ChangeLog
whois/main.c whois/net.c
* *: Clause 3 removed.
excerpt from email with RMS:
"UCB has agreed to drop the advertising clause from the license for all
BSD software. The advertising clause is this one:
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
This means that we can delete that paragraph from all files which give
the University of California as the only copyright holder."