commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_9_1-72-g8f92df


From: Alfred M. Szmidt
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_9_1-72-g8f92df2
Date: Sat, 31 Mar 2012 10:42:29 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  8f92df2bd52bcbddf8841e3b79d779109d485e5c (commit)
       via  a1376ccecbc1c69dd312d33b1277195231af0469 (commit)
       via  143e3a69d6685083bc3928803f10510d0acd5a16 (commit)
       via  6f3a934df2759e1bbc7cf1998b7c33eec3d705ba (commit)
       via  97e598f08705de4797903452a25a86cf89a30e1a (commit)
       via  f5490a698f4b8c530240683cc029c0895897a627 (commit)
      from  fb27938e459a824d09f648bfa05ca3dad5f4cd02 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=8f92df2bd52bcbddf8841e3b79d779109d485e5c


commit 8f92df2bd52bcbddf8841e3b79d779109d485e5c
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:39:58 2012 +0200

    configure.ac: Minor cleanup.

diff --git a/ChangeLog b/ChangeLog
index e005464..7bdd098 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2012-03-31  Alfred M. Szmidt  <address@hidden>
 
+       configure.ac: Minor cleanup.
+
+       * configure.ac: Don't check for mkstemp, don't try to replace
+       strdup.
+       (long long, long double): Remove checks.
+       (AM_C_PROTOTYPES): Likewise.
+       (AC_FUNC_ALLOCA, AC_FUNC_MALLOC, AC_FUNC_REALLOC): Likewise.
+
+2012-03-31  Alfred M. Szmidt  <address@hidden>
+
        * Makefile.am (DISTCLEANFILES): Added $(PACKAGE)-$(VERSION).tar.xz
        to list.
 
diff --git a/configure.ac b/configure.ac
index 96ccc91..47e8133 100644
--- a/configure.ac
+++ b/configure.ac
@@ -555,10 +555,6 @@ AC_CHECK_TYPE(sig_atomic_t, , AC_DEFINE([sig_atomic_t], 
int, [FIXME]),
   [IU_FLUSHLEFT([#include <sys/types.h>
                  #include <signal.h> ])])
 
-# Check for compile support for ceratin type
-AC_CHECK_TYPE(long long, , AC_DEFINE([LONG_LONG], long, [Define to long if 
compiler does not support]))
-AC_CHECK_TYPE(long double, , AC_DEFINE([LONG_DOUBLE], double, [Define to 
double if compiler does not support]))
-
 ### Checks for structures.
 IU_CHECK_MEMBERS([struct sockaddr_in.sin_len], , ,
     [ #include <sys/types.h>
@@ -614,18 +610,15 @@ IU_CHECK_WEAK_REFS
 
 ### Checks for library functions.
 AC_FUNC_CLOSEDIR_VOID
-AC_FUNC_ALLOCA
 AC_FUNC_SETVBUF_REVERSED
 AC_FUNC_FORK
 AC_FUNC_STRCOLL
 AC_FUNC_MMAP
-AC_FUNC_MALLOC
-AC_FUNC_REALLOC
 
 AC_CHECK_FUNCS(cfsetspeed cgetent dirfd fchdir flock \
                fork fpathconf ftruncate \
               getcwd getmsg getspnam initgroups initsetproctitle killpg \
-               mkstemp ptsname \
+               ptsname \
                setegid seteuid setpgid \
                setsid setregid setreuid setresgid setresuid setutent_r \
                sigaction sigvec strchr setproctitle tcgetattr tzset utimes \
@@ -635,7 +628,7 @@ AC_CHECK_FUNCS(cfsetspeed cgetent dirfd fchdir flock \
 
 # Functions that we will define if necessary.
 AC_REPLACE_FUNCS(getpass getusershell memcmp memcpy memmove memset \
-                setenv strdup poll)
+                strdup poll)
 
 # Look for the crypt function itself (in libcrypt if possible)
 _SAVE_LIBS="$LIBS"

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=a1376ccecbc1c69dd312d33b1277195231af0469


commit a1376ccecbc1c69dd312d33b1277195231af0469
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:34:20 2012 +0200

    configure.ac: Replace M4 comments with `#'.  (silent change)

diff --git a/configure.ac b/configure.ac
index 3b3258d..96ccc91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,11 +31,8 @@ AC_CANONICAL_HOST
 
 AM_INIT_AUTOMAKE([1.11.1 dist-xz])
 
-# config.h turns this on, so make sure it's on for our tests too
-#CPPFLAGS=-D_BSD_SOURCE
-
-dnl For now, we always use libexecdir; later we may want to vary where the
-dnl daemons go.
+# For now, we always use libexecdir; later we may want to vary where
+# the daemons go.
 inetdaemondir='$(libexecdir)'
 AC_SUBST(inetdaemondir)
 
@@ -122,7 +119,7 @@ IU_ENABLE_CLIENT(traceroute)
 
 AM_INIT_AUTOMAKE
 
-AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
+AM_SILENT_RULES([yes])
 
 AC_ISC_POSIX
 
@@ -166,17 +163,18 @@ if test "$gl_cv_lib_readline" = no; then
   ftp_INSTALL_HOOK=''
 fi
 
-dnl See if there's a separate libcrypt (many systems put crypt there)
+# See if there's a separate libcrypt (many systems put crypt there).
 AC_CHECK_LIB(crypt, crypt, LIBCRYPT=-lcrypt)
 AC_SUBST(LIBCRYPT)
 
-dnl libutil is a 4.4BSD library that defines several functions handy for
-dnl inetutil daemons, doing such things as utmp frobbing, and pty setup.
+# libutil is a 4.4BSD library that defines several functions handy for
+# inetutils daemons, doing such things as utmp frobbing, and pty
+# setup.
 AC_CHECK_LIB(util, logout, LIBUTIL=-lutil)
 AC_SUBST(LIBUTIL)
 
-# Check if they want support for PAM.  Certain daemons like
-# ftpd have support for it.
+# Check if they want support for PAM.  Certain daemons like ftpd have
+# support for it.
 
 # See if we have libpam.a this is for ftpd.
 if test "$with_pam" = yes ; then
@@ -200,7 +198,7 @@ fi
 AC_SUBST(LIBLS)
 AC_SUBST(libls_BUILD)
 
-dnl At least OpenSolaris is missing <protocols/talkd.h>.
+# At least OpenSolaris is missing <protocols/talkd.h>.
 AC_CHECK_HEADER(protocols/talkd.h, , ,
   [IU_FLUSHLEFT([#include <sys/types.h>
                 #include <sys/socket.h>])])
@@ -227,9 +225,9 @@ else
   talk_BUILD=''
 fi
 
-dnl FIXME: Presently rshd and rlogind prefer iruserok(3),
-dnl which is not universally available.  Replacement code?
-dnl A fallback is being built from ruserok(3) and inet_ntoa(3).
+# FIXME: Presently rshd and rlogind prefer iruserok(3), which is not
+# universally available.  Replacement code?  A fallback is being built
+# from ruserok(3) and inet_ntoa(3).
 AC_CHECK_FUNC(iruserok, , , [#include <netdb.h>])
 AC_CHECK_FUNC(ruserok, , , [#include <netdb.h>])
 if test "$ac_cv_func_iruserok" = yes; then
@@ -248,7 +246,7 @@ else
 fi
 
 
-dnl FIXME: Make this test case a bit more robust. Remove KRB4
+# FIXME: Make this test case a bit more robust.  Remove KRB4
 LIBAUTH=
 INCAUTH=
 if test "$enable_encryption" = yes \
@@ -269,7 +267,7 @@ if test "$enable_encryption" = yes \
       AC_CHECK_LIB(des, des_key_sched,
                    [LIBAUTH="$LIBAUTH -ldes"],
                    -L$KERBEROS_DIR)
-      dnl FIXME: Fix this to one test case.
+      # FIXME: Fix this to one test case.
       test "$enable_authentication" = yes \
       && test "$ac_cv_lib_krb_krb_mk_req" = yes \
       && AC_DEFINE([KRB4])
@@ -313,7 +311,7 @@ fi
 AC_SUBST(LIBAUTH)
 AC_SUBST(INCAUTH)
 
-dnl Define CPP macros that enable auth/encrypt code
+# Define CPP macros that enable auth/encrypt code
 if test ".$LIBAUTH" != .; then
   test "$enable_authentication" = yes && AC_DEFINE([AUTHENTICATION], 1,
                    [Define to one if you want authentication.])
@@ -321,7 +319,7 @@ if test ".$LIBAUTH" != .; then
                    [Define to one if you want encryption.])
 fi
 
-dnl Checks for IPv6 support.
+# Checks for IPv6 support.
 
 AC_ARG_ENABLE([ipv6],
   AS_HELP_STRING([--disable-ipv6], [disable IPv6 support]),
@@ -470,13 +468,12 @@ else
 fi
 
 
-dnl Check if they want support for Wrap.  Certain daemons like
-dnl ftpd have support for it.
+# Check if they want support for Wrap.  Certain daemons like ftpd have
+# support for it.
 
 if test "$with_wrap" = yes; then
-dnl See if we have libwrap.a
-dnl we cannot use AC_CHECK_LIB reliably since for the wrap lib
-dnl you have to define some global variables
+# See if we have libwrap.a we cannot use AC_CHECK_LIB reliably since
+# for the wrap lib you have to define some global variables
 #AC_CHECK_LIB(wrap, hosts_ctl, LIBWRAP=-lwrap)
   AC_CHECK_HEADERS([tcpd.h])
   AC_MSG_CHECKING(hosts_ctl in -lwrap);
@@ -496,6 +493,7 @@ fi
 AC_SUBST(LIBWRAP)
 
 ### Checks for header files.
+
 AC_HEADER_STDC
 AC_HEADER_TIME
 AC_HEADER_DIRENT
@@ -531,7 +529,8 @@ AC_CHECK_HEADERS([arpa/nameser.h com_err.h des.h errno.h 
fcntl.h features.h \
 )
 
 ### Checks for types.
-dnl Checks return type of signal handlers
+
+# Checks return type of signal handlers
 AC_TYPE_SIGNAL
 
 AC_CHECK_TYPE(socklen_t, ,
@@ -545,17 +544,18 @@ AC_CHECK_TYPES(struct if_nameindex, , ,
                  #include <sys/socket.h>
                  #include <net/if.h>])])
 
-dnl sigset_t is a set of signals (4.4BSD)
+# sigset_t is a set of signals (4.4BSD)
 AC_CHECK_TYPE(sigset_t, , AC_DEFINE([sigset_t], unsigned long, [FIXME]),
   [IU_FLUSHLEFT([#include <sys/types.h>
                  #include <signal.h> ])])
 
-dnl I'm not sure what this is, but netbsd has it; just use int if necessary.
+# I'm not sure what this is, but netbsd has it; just use int if
+# necessary.
 AC_CHECK_TYPE(sig_atomic_t, , AC_DEFINE([sig_atomic_t], int, [FIXME]),
   [IU_FLUSHLEFT([#include <sys/types.h>
                  #include <signal.h> ])])
 
-dnl Check for compile support for ceratin type
+# Check for compile support for ceratin type
 AC_CHECK_TYPE(long long, , AC_DEFINE([LONG_LONG], long, [Define to long if 
compiler does not support]))
 AC_CHECK_TYPE(long double, , AC_DEFINE([LONG_DOUBLE], double, [Define to 
double if compiler does not support]))
 
@@ -592,23 +592,24 @@ IU_CHECK_MEMBERS([struct hostent.h_addr_list], , , 
[#include <netdb.h>])
 
 IU_CHECK_MEMBERS([struct stat.st_blksize])
 
-dnl OpenSolaris does not use a union for `struct tftphdr.th_u'.
-dnl As a consequence `struct tftphdr.th_stuff' is a macro
-dnl resolving to a `ushort_t'. BSD and Linux produce `char *'.
+# OpenSolaris does not use a union for `struct tftphdr.th_u'.  As a
+# consequence `struct tftphdr.th_stuff' is a macro resolving to a
+# `ushort_t'.  BSD and Linux produce `char *'.
 IU_CHECK_MEMBERS([struct tftphdr.th_u], , ,
                 [#include <sys/types.h>
                  #include <sys/socket.h>
                  #include <arpa/tftp.h>])
 
 ### Checks for compiler characteristics.
-AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
+AM_C_PROTOTYPES # FIXME: Does inetutils even compile on pre-ANSI
+               # compilers?
 AC_C_CONST
 
-dnl See if `weak refs' are possible; these make it possible (with shared
-dnl libraries) to check for the existance of a standard function at run-time
-dnl instead of compile time, which is very handy for distributing binary
-dnl version programs that automatically adapt -- in inetutils case, to whether
-dnl or not crypt is available.
+# See if `weak refs' are possible; these make it possible (with shared
+# libraries) to check for the existance of a standard function at
+# run-time instead of compile time, which is very handy for
+# distributing binary version programs that automatically adapt -- in
+# inetutils case, to whether or not crypt is available.
 IU_CHECK_WEAK_REFS
 
 ### Checks for library functions.
@@ -632,11 +633,11 @@ AC_CHECK_FUNCS(cfsetspeed cgetent dirfd fchdir flock \
                updwtmp updwtmpx vhangup wait3 wait4 opendir2 \
               __rcmd_errstr __check_rhosts_file )
 
-dnl Functions that we will define if necessary.
+# Functions that we will define if necessary.
 AC_REPLACE_FUNCS(getpass getusershell memcmp memcpy memmove memset \
                 setenv strdup poll)
 
-dnl Look for the crypt function itself (in libcrypt if possible)
+# Look for the crypt function itself (in libcrypt if possible)
 _SAVE_LIBS="$LIBS"
 LIBS="$LIBCRYPT $LIBS"
 AC_CHECK_FUNCS(crypt)
@@ -644,28 +645,29 @@ LIBS="$_SAVE_LIBS"
 
 AC_CHECK_FUNC(_obstack_free)
 
-dnl Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
+# Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
 AC_CHECK_FUNC(setpgid, , AC_DEFINE([setpgid], setpgrp,
                           [Define to `setpgrp' if you don't have `setpgid'.]))
 
-dnl We use our own version of getopt (including our own header file) if the
-dnl system one doesn't have getopt_long.
+# We use our own version of getopt (including our own header file) if
+# the system one doesn't have getopt_long.
 AC_CHECK_FUNC(getopt_long)
 
 AC_CHECK_HEADER(poll.h)
 
-dnl See if snprintf exists, otherwise just use a bogus version
+# See if snprintf exists, otherwise just use a bogus version
 AC_CHECK_FUNC(snprintf,
   [AC_DEFINE([HAVE_SNPRINTF], 1, [Define to one if you have snprintf])])
 
-dnl See if vsnprintf exists, otherwise use our own.
+# See if vsnprintf exists, otherwise use our own.
 AC_CHECK_FUNC(vsnprintf,
   [AC_DEFINE([HAVE_VSNPRINTF], 1, [Define to one if you have vsnprintf])])
 
-dnl See if the system has strerror, and replace it if not
+# See if the system has strerror, and replace it if not
 AC_CHECK_FUNC(strerror)
 if test "$ac_cv_func_strerror" = no; then
-  # No strerror, so see if the SYS_ERRLIST variable can be used by ours
+  # No strerror, so see if the SYS_ERRLIST variable can be used by
+  # ours
   AC_CHECK_FUNC(sys_errlist, AC_DEFINE([HAVE_SYS_ERRLIST], 1,
                               [Define to one if you have sys_errlist.]))
   if test "$ac_cv_func_sys_errlist" = yes; then
@@ -675,7 +677,7 @@ if test "$ac_cv_func_strerror" = no; then
   fi
 fi
 
-dnl See if the system has hstrerror, and replace it if not
+# See if the system has hstrerror, and replace it if not
 AC_CHECK_FUNC(hstrerror)
 if test "$ac_cv_func_hstrerror" = yes; then
   AC_CHECK_DECL(hstrerror, , , [#include <netdb.h>])
@@ -688,24 +690,25 @@ else
 fi
 if test "$ac_cv_func_hstrerror" = yes \
    || test "$ac_cv_func_h_errlist" = yes; then
-  # If there's a system hstrerror, or we can reasonably replace it, say so.
-  # We still provide some definition, regardless, but this allows people to use
-  # a reasonable alternative if the situation allows, rather than using a
-  # degenerate version that only says `Host lookup error N'.
+  # If there's a system hstrerror, or we can reasonably replace it,
+  # say so.  We still provide some definition, regardless, but this
+  # allows people to use a reasonable alternative if the situation
+  # allows, rather than using a degenerate version that only says
+  # `Host lookup error N'.
   AC_DEFINE([HAVE_HSTRERROR], 1, [Define to one if you have hstrerror.])
 fi
 
-dnl OpenSolaris does not provide an external reference.
+# OpenSolaris does not provide an external reference.
 AC_CHECK_DECLS(telcmds, , ,
   [IU_FLUSHLEFT([#undef TELCMDS
                  #include <arpa/telnet.h>])])
 
-dnl NetBSD does include an external reference.
+# NetBSD does include an external reference.
 AC_CHECK_DECLS(telopts, , ,
   [IU_FLUSHLEFT([#undef TELOPTS
                  #include <arpa/telnet.h>])])
 
-dnl OpenSolaris provides Schedule and Session_Key.
+# OpenSolaris provides Schedule and Session_Key.
 AC_CHECK_TYPE(Schedule,
   AC_DEFINE([HAVE_ARPA_TELNET_H_SCHEDULE], 1,
            [Define to one if <arpa/telnet.h> defines a type Schedule.]), ,
@@ -721,14 +724,15 @@ AC_DECL_SYS_SIGLIST
 
 AC_CHECK_DECLS(crypt, , , [#include <unistd.h>])
 
-dnl EWOULDBLOCK is more or less the BSD version of posix EAGAIN.
+# EWOULDBLOCK is more or less the BSD version of posix EAGAIN.
 IU_CHECK_MACRO(EWOULDBLOCK, [#include <errno.h>], , ,
   AC_DEFINE([EWOULDBLOCK], EAGAIN, 1, [FIXME]))
 AC_CHECK_DECLS(errno, , , [#include <errno.h>])
 
-dnl See whether <syslog.h> will declare special internal stuff if we define
-dnl SYSLOG_NAMES before including it.  We check for various syslog internal
-dnl macros, the typedef `CODE', and the variable `prioritynames'.
+# See whether <syslog.h> will declare special internal stuff if we
+# define SYSLOG_NAMES before including it.  We check for various
+# syslog internal macros, the typedef `CODE', and the variable
+# `prioritynames'.
 define([iu_syslog_includes],
   [[#include <stdlib.h>
     #define SYSLOG_NAMES
@@ -742,8 +746,8 @@ IU_CHECK_MACRO(syslog internal macros,
       iu_syslog_includes), , iu_syslog_includes),)
 undefine([iu_syslog_includes])
 
-dnl Some systems don't declare common functions (especially if they return
-dnl int), at least in the expected header file.  Check.
+# Some systems don't declare common functions (especially if they
+# return int), at least in the expected header file.  Check.
 AC_CHECK_DECLS([fclose, pclose], , , [#include <stdio.h>])
 AC_CHECK_DECLS([getcwd, getlogin, getpass, getusershell, ttyname], , ,
                [#include <unistd.h>])
@@ -757,28 +761,29 @@ AC_CHECK_DECLS(htons, , ,
                  #endif
                  #include <netinet/in.h> ])])
 
-dnl Our home-grown version of setenv needs to use ENVIRON
+# Our home-grown version of setenv needs to use ENVIRON
 AC_CHECK_DECLS(environ, , ,
   [IU_FLUSHLEFT([#include <unistd.h>
                  #include <stdlib.h>])])
 
-dnl See if we have h_errno (the test is here so we can use -lresolv
-dnl if necessary).
+# See if we have h_errno (the test is here so we can use -lresolv if
+# necessary).
 AC_CACHE_CHECK([for h_errno], inetutils_cv_var_h_errno,
   AC_TRY_COMPILE([#include <netdb.h>],
     [ extern int h_errno; int iu_x = h_errno; ],
     inetutils_cv_var_h_errno=yes, inetutils_cv_var_h_errno=no))
 if test "$inetutils_cv_var_h_errno" = yes; then
-  dnl FIXME: Isn't this wrong? Shouldn't the declaration check define
-  dnl        this if we find h_errno?
+  # FIXME: Isn't this wrong? Shouldn't the declaration check define
+  #        this if we find h_errno?
   AC_DEFINE([HAVE_H_ERRNO], 1, [Define to one if you have h_errno.])
   AC_CHECK_DECL(h_errno, , , [#include <netdb.h>])
 fi
 
 ## Checks for CPP macros.
-dnl Look for the posix SEEK_ macros (for lseek), and if not found, try the
-dnl similar berkeley L_ macros; if neither can be found, use the classic unix
-dnl values.
+
+# Look for the posix SEEK_ macros (for lseek), and if not found, try
+# the similar berkeley L_ macros; if neither can be found, use the
+# classic unix values.
 IU_CHECK_MACRO(SEEK_ macros,
   [#include <unistd.h>], SEEK_SET SEEK_CUR SEEK_END,
   :,
@@ -791,7 +796,8 @@ IU_CHECK_MACRO(SEEK_ macros,
     AC_DEFINE([SEEK_CUR], 1, [FIXME])
     AC_DEFINE([SEEK_END], 2, [FIXME])))
 
-dnl Look for the posix _FILENO macros; if not found, use the classic unix 
values.
+# Look for the posix _FILENO macros; if not found, use the classic
+# unix values.
 IU_CHECK_MACRO(_FILENO macros,
   [#include <unistd.h>], STDIN_FILENO STDOUT_FILENO STDERR_FILENO,
   :,
@@ -799,7 +805,8 @@ IU_CHECK_MACRO(_FILENO macros,
   AC_DEFINE([STDOUT_FILENO], 1, [FIXME])
   AC_DEFINE([STDERR_FILENO], 2, [FIXME]))
 
-dnl See where to find fd_set (bit-vectors for select) manipulation macros.
+# See where to find fd_set (bit-vectors for select) manipulation
+# macros.
 IU_CHECK_MACRO(fd_set macros, [#include <sys/types.h>],
   FD_ZERO FD_CLR FD_SET FD_ISSET)
 if test "$inetutils_cv_macro_fd_set_macros" = no; then
@@ -807,14 +814,14 @@ if test "$inetutils_cv_macro_fd_set_macros" = no; then
     FD_ZERO FD_CLR FD_SET FD_ISSET)
 fi
 
-dnl Set convinience variables for inetutils.
+# Set convinience variables for inetutils.
 iu_LIBRARIES='$(top_builddir)/libinetutils/libinetutils.a 
$(top_builddir)/lib/libgnu.a'
 iu_INCLUDES='-I$(top_srcdir)/lib -I$(top_builddir)/lib 
-I$(top_srcdir)/libinetutils'
 AC_SUBST(iu_LIBRARIES)
 AC_SUBST(iu_INCLUDES)
 
-dnl Configure paths used by inetutils programs.  See the file `paths' for
-dnl details.
+# Configure paths used by inetutils programs.  See the file `paths'
+# for details.
 PATHDEFS_MAKE=pathdefs.make
 PATHS_DEFS=paths.defs
 IU_CONFIG_PATHS($srcdir/paths, PATHDEFS_MAKE, PATHS_DEFS)
@@ -822,10 +829,10 @@ AH_BOTTOM(
 [/* Defaults for PATH_ variables.  */
 #include <confpaths.h>])
 
-dnl Ok this is the end of the rope, even autoconf can't help.
-dnl For example on certain system login(1) will not work if we
-dnl don't have an entry in utmpx.
-dnl Also for some OS they are better handle with STREAMS
+# Ok this is the end of the rope, even autoconf can't help.  For
+# example on certain system login(1) will not work if we don't have an
+# entry in utmpx.  Also for some OS they are better handle with
+# STREAMS.
 case "$host" in
 *olaris*)
   AC_DEFINE([SOLARIS], 1, [FIXME])

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=143e3a69d6685083bc3928803f10510d0acd5a16


commit 143e3a69d6685083bc3928803f10510d0acd5a16
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:24:34 2012 +0200

    README-alpha: Updated.  (silent change)

diff --git a/README-alpha b/README-alpha
index 5f8883d..a5605d2 100644
--- a/README-alpha
+++ b/README-alpha
@@ -3,15 +3,15 @@ Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 
2007,
 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 See end of file for copying conditions.
 
-This document describes the actions needed to build the pre-release or
-Git version of the package.
+This document describes the actions needed to build GNU inetutils from
+a pre-release tarball or sources checked out from the version control.
 
 * Introduction
 
 This is a *pre-release* version, and not ready for production use yet.
-If you are taking source from Git, you will need to have several
-special tools to help contribute.  See chapter `Building', below,
-for the detailed instructions on how to build the package.
+If you are taking source from version control, you will need to have
+several special tools to help contribute.  See the section `Building',
+below, for the detailed instructions on how to build the package.
 
 Please, note that the accompanying documentation may be inaccurate or
 incomplete.  See ChangeLog for the list of recent changes.
@@ -27,21 +27,21 @@ it or got back to you, please let us know!
 * Checking Out the Sources
 
 The following instructions apply if you wish to obtain sources from
-the Git repository:
+the version control repository.
 
-To clone the source tree from the repository, issue the following command:
+To download the source tree from the repository, issue the following
+command:
 
   git clone git://git.savannah.gnu.org/inetutils.git
 
-This will give you read-only access.  If you think you need write access,
-contact the mailing list.
+This will give you read-only access.  If you think you need write
+access, contact the mailing list.
 
 * Prerequisites
 
-You need the following packages to build the development version of
-GNU Inetutils.  We don't make any extra effort to accommodate older
-versions of these packages, so please make sure that you have the
-latest stable version.
+You need the following packages, we don't make any extra effort to
+accommodate older versions of these packages, so please make sure that
+you have the latest stable version.
 
 - Autoconf <http://www.gnu.org/software/autoconf/>
 - Automake <http://www.gnu.org/software/automake/>
@@ -64,11 +64,10 @@ latest stable version.
 Once done, proceed as described in the file INSTALL.
 
 Normally you will have to run bootstrap only once.  However, if you
-intend to hack on Inetutils, you might need to run it again later.  In
-this case, you will probably want to save some time and bandwidth by
-avoiding downloading the same files again.  If so, create in the
-inetutils root directory the file named `.bootstrap' with the
-following contents:
+intend to hack, you might need to run it again later.  In this case,
+you will probably want to save some time and bandwidth by avoiding
+downloading the same files again.  If so, create in the top level
+directory the file named `.bootstrap' with the following contents:
 
    --gnulib-srcdir=$HOME/gnulib --skip-po
 
@@ -86,18 +85,20 @@ See INSTALL and README for the detailed instructions.
 * Development
 
 If you are looking for something to hack on, please take a look at the
-TODO file in the Git repository.
+TODO file in the repository, or in our bug tracker
+<https://savannah.gnu.org/bugs/?group=inetutils>.
 
-You can track the development process through the <address@hidden>
-mailing list.  This is a medium volume moderated list.
+You can track the development process through the
+<address@hidden> mailing list.  This is a medium volume
+moderated list.
 
-Daily snapshots built from Git are available from
+Daily snapshots built are available from
 <http://hydra.nixos.org/view/gnu/inetutils-master/latest>.
 
 Log outputs from building the daily snapshot on some systems are
 available from <http://autobuild.josefsson.org/inetutils/>
 
-Statistics based on Git commit logs are available from
+Statistics based on commit logs are available from
 <http://gitstats.josefsson.org/inetutils/>.
 
 * Release procedures
@@ -106,7 +107,7 @@ Statistics based on Git commit logs are available from
 
 To make an release issue the following commands:
 
-make alpha        # or stable
+  make alpha        # or stable
 
 Finally, bump the version number in NEWS, and configure.ac.
 
@@ -119,15 +120,13 @@ When doing a stable release, do not forget to:
 
 ** Announcement template
 
-Subject: inetutils-VERSION released
+Subject: GNU inetutils VERSION released
 
 The GNU inetutils team is proud to present version VERSION of the GNU
-network utilities suite.  The GNU network utilities suite provides the
-following tools: ftp(d), hostname, ifconfig, inetd, logger, ping, rcp,
-rexec(d), rlogin(d), rsh(d), syslogd, talk(d), telnet(d), tftp(d),
-traceroute, uucpd, and whois.
+networking utilities.  The GNU Networking Utilities are the common
+networking utilities, clients and servers of the GNU Operating System.
 
-The following things are new in this release:
+The following is new in this release:
 
 FIXME: put recent NEWS items here
 
@@ -142,9 +141,9 @@ Here are the GPG detached signatures[*]:
 To reduce load on the main server, use a mirror listed at:
   http://www.gnu.org/order/ftp.html
 
-[*] You can use either of the above signature files to verify that
-the corresponding file (without the .sig suffix) is intact.  First,
-be sure to download both the .sig file and the corresponding tarball.
+[*] You can use either of the above signature files to verify that the
+corresponding file (without the .sig suffix) is intact.  First, be
+sure to download both the .sig file and the corresponding tarball.
 Then, run a command like this:
 
   gpg --verify inetutils-VERSION.tar.xz.sig
@@ -161,15 +160,10 @@ hacking!
 
 * Copyright information
 
-Permission is granted to anyone to make or distribute verbatim copies
-of this document as received, in any medium, provided that the
-copyright notice and this permission notice are preserved,
-thus giving the recipient permission to redistribute in turn.
-
-Permission is granted to distribute modified versions
-of this document, or of portions of it,
-under the above conditions, provided also that they
-carry prominent notices stating who last changed them.
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.  This file is offered as-is,
+without any warranty.
 
 Local Variables:
 mode: outline

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=6f3a934df2759e1bbc7cf1998b7c33eec3d705ba


commit 6f3a934df2759e1bbc7cf1998b7c33eec3d705ba
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:15:13 2012 +0200

    README: Updated.  (silent change)

diff --git a/README b/README
index f5c2588..91cf5ac 100644
--- a/README
+++ b/README
@@ -1,6 +1,7 @@
-GNU inetutils - The GNU Network Utilities
+GNU inetutils - The GNU Networking Utilities
 
-This is a distribution of common networking utilities and servers.
+The GNU Networking Utilities are the common networking utilities,
+clients and servers of the GNU Operating System.
 
 The individual utilities were originally derived from the 4.4BSDLite2
 distribution.  Many features were integrated from NetBSD, OpenBSD,
@@ -39,8 +40,8 @@ Some known deficiencies:
 
  - Non-Shishi Kerberos support does not build.  Patches welcome.
 
- - Shishi Kerberos support is only implemented for 'rlogin', 'rlogind',
-   'rsh', 'rshd', 'telnet', and 'telnetd'.
+ - Shishi Kerberos support is only implemented for 'rlogin',
+   'rlogind', 'rsh', 'rshd', 'telnet', and 'telnetd'.
 
  - Not all utilities are Kerberized even when built with Kerberos
    libraries, including 'rcp'.

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=97e598f08705de4797903452a25a86cf89a30e1a


commit 97e598f08705de4797903452a25a86cf89a30e1a
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:11:16 2012 +0200

    Makefile.am (DISTCLEANFILES): Added $(PACKAGE)-$(VERSION).tar.xz to list.

diff --git a/ChangeLog b/ChangeLog
index 789ba4a..e005464 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-31  Alfred M. Szmidt  <address@hidden>
+
+       * Makefile.am (DISTCLEANFILES): Added $(PACKAGE)-$(VERSION).tar.xz
+       to list.
+
 2012-03-29  Alfred M. Szmidt  <address@hidden>
 
        * tests/.gitignore: Added tools.sh to list.
diff --git a/Makefile.am b/Makefile.am
index a34c914..3efee5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,8 @@ SUBDIRS = lib \
        doc man \
        tests
 
-DISTCLEANFILES = pathdefs.make paths.defs $(PACKAGE)-$(VERSION).tar.gz
+DISTCLEANFILES = pathdefs.make paths.defs \
+       $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION).tar.xz
 
 BUILT_SOURCES = $(top_srcdir)/.version
 $(top_srcdir)/.version:

http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=f5490a698f4b8c530240683cc029c0895897a627


commit f5490a698f4b8c530240683cc029c0895897a627
Author: Alfred M. Szmidt <address@hidden>
Date:   Sat Mar 31 12:10:25 2012 +0200

    ChangeLog: Formating fixes.  (silent change)

diff --git a/ChangeLog b/ChangeLog
index 69375b7..789ba4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,72 +16,65 @@
 
        * whois/whois.c: Include "xalloc.h".
        (gwhois_argp_parser, queryformat): Use xmalloc over malloc.
-
        * telnet/commands.c: Include "xalloc.h".
        (env_init, env_define): Use xmalloc over malloc.
-
        * src/syslogd.c: Include "xalloc.h".
        (crunch_list): Use xmalloc over malloc.
-
        * src/rshd.c: Include "xalloc.h".
        (doit): Use xmalloc over malloc.
-
        * src/rsh.c: Include "xalloc.h".
        (main): Use xmalloc over malloc.
-
        * src/rlogind.c: Include "xalloc.h".
        (do_shishi_login): Use xmalloc over malloc.
-
        * src/rlogin.c: Include "xalloc.h".
        (main): Use xmalloc over malloc.
-
        * libtelnet/shishi.c (krb5shishi_send): Check return code of
        malloc.
-
        * libtelnet/kerberos5.c (kerberos5_send): Don't use assert to
        check the return code for malloc
-
        * libinetutils/kcmd.c (kcmd): Check return code of malloc.
-
        * ifconfig/printif.c: Include "xalloc.h".
        (print_interfaceX): Use xmalloc over malloc.
-
        * ftp/cmds.c: Include "xalloc.h".
        (dotrans, domap): Use xmalloc over malloc.
 
 2012-03-21  Mats Erik Andersson  <address@hidden>
 
-       * configure.ac (DD, MKTEMP, NETSTAT): New variables.  Use AC_PATH_PROG
-       on `dd', `mktemp', and `netstat'.  Declare as precious with AC_ARG_VAR.
-       (SED): New variable.  Set using AC_PROG_SED, protect by AC_ARG_VAR.
+       * configure.ac (DD, MKTEMP, NETSTAT): New variables.  Use
+       AC_PATH_PROG on `dd', `mktemp', and `netstat'.  Declare as
+       precious with AC_ARG_VAR.
+       (SED): New variable.  Set using AC_PROG_SED, protect by
+       AC_ARG_VAR.
        (GREP): Protect using AC_ARG_VAR.
        * tests/Makefile.am (BUILT_SOURCES, EXTRA_DIST, CLEANFILES)
        (tools_subst): New variables.
        (tools.sh): New target.
        * tests/ftp-localhost.sh: Source `tools.sh'.  Use $GREP, $MKTEMP,
-       $NETSTAT, and $SED instead of utility names.  Change tests for `grep',
-       and `netstat'; check $need_mktemp.
-       (FTPHOME): Check also fifth field of passwd, should GECOS be missing.
+       $NETSTAT, and $SED instead of utility names.  Change tests for
+       `grep', and `netstat'; check $need_mktemp.
+       (FTPHOME): Check also fifth field of passwd, should GECOS be
+       missing.
        (USER): Calculate using `func_id_user'.
-       * tests/hostname.sh: Source `tools.sh'.  `func_id_uid` replaces `id -u'.
+       * tests/hostname.sh: Source `tools.sh'.  `func_id_uid` replaces
+       `id -u'.
        * tests/ping-localhost.sh: Likewise.
        * tests/traceroute-localhost.sh: Likewise.
        * tests/syslogd.sh: Check directory early, then source `tools.sh'.
-       Check $need_mktemp and $need_netstat.  Use $SED, $MKTEMP, $NETSTAT,
-       and $GREP.  Replace `id -u' by `func_id_uid'.
-       * tests/telnet-localhost.sh: Source `tools.sh'.  Check $need_mktemp.
-       Use $SED, $MKTEMP, and $GREP.
+       Check $need_mktemp and $need_netstat.  Use $SED, $MKTEMP,
+       $NETSTAT, and $GREP.  Replace `id -u' by `func_id_uid'.
+       * tests/telnet-localhost.sh: Source `tools.sh'.  Check
+       $need_mktemp.  Use $SED, $MKTEMP, and $GREP.
        (USER): Compute using `func_id_user'.
        * tests/tftp.sh: Source `tools.sh'.  Check $need_dd, $need_mktemp,
-       and $need_netstat.  Remove checks for `netstat' and `grep'.  Use $SED,
-       $MKTEMP, $NETSTAT, $GREP, and $DD.
+       and $need_netstat.  Remove checks for `netstat' and `grep'.  Use
+       $SED, $MKTEMP, $NETSTAT, $GREP, and $DD.
        (USER): Compute using `func_id_user'.
        * tests/tools.sh.in: New file.
 
 2012-03-20  Mats Erik Andersson  <address@hidden>
 
-       * am/libcurses.m4 (IU_LIB_TERMCAP) <termlib detection>: Add a missing
-       use of `test'.
+       * am/libcurses.m4 (IU_LIB_TERMCAP) <termlib detection>: Add a
+       missing use of `test'.
        (HAVE_TERMLIB_TGETENT): New macro, replaces HAVE_TERMINFO_TGETENT.
 
 2012-03-15  Simon Josefsson  <address@hidden>
@@ -100,8 +93,8 @@
 
 2012-03-15  Mats Erik Andersson  <address@hidden>
 
-       * tests/dnsdomainname.sh: Replace `! test -x' by `test ! -x'
-       for shell portability.
+       * tests/dnsdomainname.sh: Replace `! test -x' by `test ! -x' for
+       shell portability.
 
 2012-03-14  Simon Josefsson  <address@hidden>
 
@@ -112,20 +105,21 @@
 
        Make explicit dependency on header files for libwrap and termcap.
 
-       * am/libcurses.m4 (IU_LIB_TERMCAP): Check whether tgetent() is really
-       declared in <termcap.h>, not only checking presence of <termcap.h>.
-       That failing, check declaration of tgetent() using the pair <curses.h>,
-       and <term.h>.  In case of no successful detection at all, set LIBTERMCAP
-       to empty.
+       * am/libcurses.m4 (IU_LIB_TERMCAP): Check whether tgetent() is
+       really declared in <termcap.h>, not only checking presence of
+       <termcap.h>.  That failing, check declaration of tgetent() using
+       the pair <curses.h>, and <term.h>.  In case of no successful
+       detection at all, set LIBTERMCAP to empty.
        * configure.ac (LIBWRAP): Define only if hosts_ctl() is present in
        libwrap and also the header <tcpd.h> exists.
 
 2012-03-13  Mats Erik Andersson  <address@hidden>
 
-       * src/traceroute.c (do_try): When displaying traces, print host name
-       only if in resolving mode; otherwise only numerical address.  Insert
-       one additional blank before time printout.
-       (get_hostname): Remove conditional clause on OPT_RESOLVE_HOSTNAMES.
+       * src/traceroute.c (do_try): When displaying traces, print host
+       name only if in resolving mode; otherwise only numerical address.
+       Insert one additional blank before time printout.
+       (get_hostname): Remove conditional clause on
+       OPT_RESOLVE_HOSTNAMES.
 
 2012-03-12  Simon Josefsson  <address@hidden>
 
@@ -143,30 +137,32 @@
 
 2012-03-10  Mats Erik Andersson  <address@hidden>
 
-       * whois/tld_serv_list (.cz, .fo, .gl, .gs, .hk, .ie, .il, .in, .is)
-       (.jp, .kr, .kz, .lt, .lu, .lv, .ms, .mx, .ng, .nz, .pe, .pl, .ro, .ru)
-       (.se, .sg, .si, .sk, .sm, .su, .tf, .th, .tr, .tw, .us): Updated entry.
-       (.dz, .ec, .es, .eu, .fi, .gd, .gg, .gi, .gy, .hn, .hr, .ht, .im, .io)
-       (.ir, .je, .ke, .la, .ly, .ma, .md, .me, .mg, .mn, .mp, .mu, .my, .na)
-       (.nc, .nf, .pm, .pr, .pt, .qa, .re, .rs, .sa, .sb, .sc, .so, .sx, .tk)
-       (.tl, .tv, .tz, .ua, .uy, .uz, .vc, .ve, .wf, .yt): New or upgraded
-       from web entry.
+       * whois/tld_serv_list (.cz, .fo, .gl, .gs, .hk, .ie, .il, .in)
+       (.is, .jp, .kr, .kz, .lt, .lu, .lv, .ms, .mx, .ng, .nz, .pe, .pl)
+       (.ro, .ru, .se, .sg, .si, .sk, .sm, .su, .tf, .th, .tr, .tw, .us):
+       Updated entry.
+       (.dz, .ec, .es, .eu, .fi, .gd, .gg, .gi, .gy, .hn, .hr, .ht, .im)
+       (.io, .ir, .je, .ke, .la, .ly, .ma, .md, .me, .mg, .mn, .mp, .mu)
+       (.my, .na, .nc, .nf, .pm, .pr, .pt, .qa, .re, .rs, .sa, .sb, .sc)
+       (.so, .sx, .tk, .tl, .tv, .tz, .ua, .uy, .uz, .vc, .ve, .wf, .yt):
+       New or upgraded from web entry.
        (.hm, .ki, .mf, .pk, .pw, .sl, .sn, .tj, .ug, .um, .vn, .yu, .za):
        Broken address or other comment.
 
 2012-03-06  Mats Erik Andersson  <address@hidden>
 
-       * ping/ping6.c (print_echo): Use flag NI_NUMERICHOST in call
-       to getnameinfo() whenever the option OPT_NUMERIC is active.
-       * ping/ping_echo.c (ipaddr2str): Isolate case OPT_NUMERIC to
-       call xstrdup().  Then call xstrdup() if gethostbyaddr() fails.
-       In main body, replace every `hp->h_name' for `ipstr', and
-       conversely, since only `hp->h_name' can fail do be defined.
+       * ping/ping6.c (print_echo): Use flag NI_NUMERICHOST in call to
+       getnameinfo() whenever the option OPT_NUMERIC is active.
+       * ping/ping_echo.c (ipaddr2str): Isolate case OPT_NUMERIC to call
+       xstrdup().  Then call xstrdup() if gethostbyaddr() fails.  In main
+       body, replace every `hp->h_name' for `ipstr', and conversely,
+       since only `hp->h_name' can fail do be defined.
        * tests/ping-localhost.sh: Insert option `-n' to ping and ping6.
 
 2012-03-03  Mats Erik Andersson <address@hidden>
 
        Display command prompt only in interactive mode.
+
        * src/tftp.c (fromatty): New variable; true in interactive mode.
        (main): Assign value to FROMATTY.
        (command): Display prompt only if FROMATTY is true.
@@ -174,39 +170,44 @@
 2012-03-02  Mats Erik Andersson <address@hidden>
 
        Make service lookup optional in FTP client.
-       * ftp/cmds.h [!DEFPORT] (DEFPORT): New macro.  Define as IPPORT_FTP
-       if available, otherwise as 21.
+
+       * ftp/cmds.h (DEFPORT) [!DEFPORT]: New macro.  Define as
+       IPPORT_FTP if available, otherwise as 21.
        (another): Condition call to add_history() on FROMATTY.
-       (setpeer): Call getservbyname() for `ftp/tcp'.  Set port if successful;
-       use DEFPORT otherwise.
+       (setpeer): Call getservbyname() for `ftp/tcp'.  Set port if
+       successful; use DEFPORT otherwise.
        * ftp/ftp_var.h (sp): Remove external variable.
-       * ftp/main.c (main): Remove call to getservbyname() and the use of SP.
+       * ftp/main.c (main): Remove call to getservbyname() and the use of
+       SP.
        (cmdscanner): Condition call to add_history() on FROMATTY.
 
 2012-03-01  Mats Erik Andersson <address@hidden>
 
        Subtests for SIGHUP reaction of `inetd' and `syslogd'.
 
-       * tests/syslogd.sh: Write a second configuration file after first run,
-       send SIGHUP to server, and evaluate message response.
+       * tests/syslogd.sh: Write a second configuration file after first
+       run, send SIGHUP to server, and evaluate message response.
        (SUCCESSES): Update arithmetic expression used in evaluation.
-       (OUT_USER, OUT_DEBUG, TAG2, COUNT2, COUNT2_debug, COUNT3, COUNT3_info):
-       New variables.
-       <verbose report>: Print messages of files $OUT_USER and $OUT_DEBUG.
+       (OUT_USER, OUT_DEBUG, TAG2, COUNT2, COUNT2_debug, COUNT3)
+       (COUNT3_info): New variables.  <verbose report>: Print messages of
+       files $OUT_USER and $OUT_DEBUG.
 
-       * tests/tftp.sh: Calculate new port after first test run, send SIGHUP
-       to server, and transmit a small file at each adress in old list.
+       * tests/tftp.sh: Calculate new port after first test run, send
+       SIGHUP to server, and transmit a small file at each adress in old
+       list.
        (do_conf_reload): New variable.
 
 2012-03-01  Mats Erik Andersson <address@hidden>
 
        Reduce external prerequisites in test scripts.
+
        * tests/ftp-localhost.sh: Replace `head -1' by `sed 1q'.
-       * tests/telnet-localhost.sh, tests/tftp.sh: Likewise.  Replace `ps pid'
-       by `kill -0 pid'.
+       * tests/telnet-localhost.sh, tests/tftp.sh: Likewise.  Replace `ps
+       pid' by `kill -0 pid'.
        * tests/syslogd.sh: Likewise.  Replace `wc -l' by `grep -c'.
 
-       * tests/tftp.sh: Do not issue `set -m', since no job control in use.
+       * tests/tftp.sh: Do not issue `set -m', since no job control in
+       use.
 
 2012-02-25  Alfred M. Szmidt  <address@hidden>
 
@@ -232,7 +233,8 @@
 
 2012-02-25  Alfred M. Szmidt  <address@hidden>
 
-       * cfg.mk (local-checks-to-skip): Added sc_assignment_in_if to list.
+       * cfg.mk (local-checks-to-skip): Added sc_assignment_in_if to
+       list.
        (sc_assignment_in_if): New target.
 
        * bootstrap: Updated from gnulib.
@@ -242,8 +244,8 @@
 
 2012-02-22  Mats Erik Andersson <address@hidden>
 
-       * tests/ping-localhost.sh, tests/traceroute-localhost.sh: Mend string
-       quotation for expected variable expansion.
+       * tests/ping-localhost.sh, tests/traceroute-localhost.sh: Mend
+       string quotation for expected variable expansion.
        * tests/syslogd.sh (SYSLOGD, LOGGER): Allow value overriding.
        * tests/telnet-localhost.sh (INETD, TELNET, ADDRPEEK): Likewise.
        (TARGET): New variable, replacing previous TARGET4.
@@ -251,31 +253,37 @@
 2012-02-22  Mats Erik Andersson <address@hidden>
 
        Implement group assignment for services.
+
        * src/inetd.c (struct servtab): New component `char *se_group'.
-       (run_service): New variable GRP.  Check existence of `sep->se_group'.
-       If valid, then apply setgid() to `grp->gr_gid' instead of `pwd->pw_gid'.
-       [HAVE_INITGROUPS] <initgroups>: Use `grp->gr_id' if an explicit group
-       was stated, otherwise use `pwd->pw_gid'.
+       (run_service): New variable GRP.  Check existence of
+       `sep->se_group'.  If valid, then apply setgid() to `grp->gr_gid'
+       instead of `pwd->pw_gid'.  <initgroups> [HAVE_INITGROUPS]: Use
+       `grp->gr_id' if an explicit group was stated, otherwise use
+       `pwd->pw_gid'.
        (print_service): Display also group membership.
        (enter, freeconfig): Add string handling for groups.
        (getconfigent): Parse user string for an optional group component.
        (nextconfig): Assure that an assigned group really exists.
        (fix_tcpmux): Add empty group string.
-       * doc/inetutils.texi (inetd configuration file): Add setting of group.
+       * doc/inetutils.texi (inetd configuration file): Add setting of
+       group.
 
 2012-02-21  Mats Erik Andersson <address@hidden>
 
        * tests/telnet-localhost.sh: Skip test in absence of assigned TTY.
-       Rewrite case evaluation without nested pipelines and OR connectives.
+       Rewrite case evaluation without nested pipelines and OR
+       connectives.
 
 2012-02-21  Mats Erik Andersson <address@hidden>
 
        Basic test case for `telnet'.
-       * tests/Makefile.am (dist_check_SCRIPTS) [ENABLE_inetd && 
ENABLE_telnet]:
-       Added telnet-localhost.sh.
+
+       * tests/Makefile.am (dist_check_SCRIPTS) [ENABLE_inetd &&
+       ENABLE_telnet]: Added telnet-localhost.sh.
        * tests/telnet-localhost.sh: New file.
 
-       * tests/ftp-localhost.sh (posttesting): Use SIGTERM first, then SIGKILL.
+       * tests/ftp-localhost.sh (posttesting): Use SIGTERM first, then
+       SIGKILL.
        (locate_port): Adapt regex alternate pattern for legacy `grep'.
        * tests/syslogd.sh (clean_testdir, locate_port): Likewise.
        * tests/tftp.sh (posttesting, locate_port): Likewise.
@@ -283,6 +291,7 @@
 2012-02-20  Mats Erik Andersson <address@hidden>
 
        Improve behaviour of single stacked clients.
+
        * ftp/ftp.c (hookup): Do not add AI_ADDRCONFIG to HINTS.ai_flags.
        * src/logger.c (open_socket): Likewise.
        * telnet/commands.c (tn): Likewise.
@@ -311,15 +320,16 @@
 
 2012-02-09  Mats Erik Andersson <address@hidden>
 
-       * am/krb5.m4: When examining `libkrb5', replace AC_CHECK_LIB
-       by AC_TRY_LINK in order to avoid cached results, since identical
-       library and function names are tested for.
-       <OpenBSD Heimdal>: New test case.
+       * am/krb5.m4: When examining `libkrb5', replace AC_CHECK_LIB by
+       AC_TRY_LINK in order to avoid cached results, since identical
+       library and function names are tested for.  <OpenBSD Heimdal>: New
+       test case.
 
 2012-02-08  Mats Erik Andersson <address@hidden>
 
-       * tests/syslogd.sh: Reimplement a subtest using standard INET port.
-       A second SYSLOG daemon is started, which only uses INET sockets.
+       * tests/syslogd.sh: Reimplement a subtest using standard INET
+       port.  A second SYSLOG daemon is started, which only uses INET
+       sockets.
        (do_standard_port): New variable, initially `true', changed to
        `false' for non-root user and when 514/udp is in use.
 
@@ -329,52 +339,54 @@
        standard port `syslog/udp'.  Fall back to `514' if `syslog' fails.
        (find_inet_port): New function.
        (BindPort): New variable.
-       [IPPORT_SYSLOG] (portstr): New variable.
+       (portstr) [IPPORT_SYSLOG]: New variable.
        (LogPortText): Initialize to NULL.
        (LogForwardPort): New variable.
        (argp_options, parse_opt): New option `-B/--bind-port'.
        (main): New call to `find_inet_port'.
        (create_inet_socket): Check that LOGPORTTEXT is non-null,
        otherwise inet sockets are left disabled.
-       [AI_ADDRCONFIG] (fprintflog, cfline): Only AF_UNSPEC invokes
-       AI_ADDRCONFIG.  Replace LOGPORTTEXT by LOGFORWARDPORT in calls
-       to getaddrinfo.
+       (fprintflog, cfline) [AI_ADDRCONFIG]: Only AF_UNSPEC invokes
+       AI_ADDRCONFIG.  Replace LOGPORTTEXT by LOGFORWARDPORT in calls to
+       getaddrinfo.
 
-       * tests/syslogd.sh: Adapt to `syslogd' allowing non-standard ports.
+       * tests/syslogd.sh: Adapt to `syslogd' allowing non-standard
+       ports.
        (PORT): Make presetable from command line.
-       (locate_port): New function.
-       <non-root && privileged port>: Use a pseudo-random port.
-       <port in use>: Take a pseudo-random step to an even higher port, only
-       to disable inet sockets if even that action fails.
+       (locate_port): New function.  <non-root && privileged port>: Use a
+       pseudo-random port.  <port in use>: Take a pseudo-random step to
+       an even higher port, only to disable inet sockets if even that
+       action fails.
        [do_inet_socket]: Add `-B$PORT' to IU_OPTIONS and append `:$PORT'
        to option `-h' in calls to logger.
 
-       * tests/ftp-localhost.sh, tests/tftp.sh (NSSWITCH): Override
-       with value `/etc/services' when running OpenBSD.
+       * tests/ftp-localhost.sh, tests/tftp.sh (NSSWITCH): Override with
+       value `/etc/services' when running OpenBSD.
 
 2012-02-06  Mats Erik Andersson <address@hidden>
 
-       * doc/inetutils.texi (logger invocation): Describe option `-u/--unix'.
+       * doc/inetutils.texi (logger invocation): Describe option
+       `-u/--unix'.
        (ftpd invocation): Describe options `-4/ipv4' and `-6/--ipv6'.
-       * tests/ftp-localhost.sh (NSSWITCH, PASSWD, PROTOCOLS): New variables
-       naming standard files.  Check their presence and skip test otherwise.
+       * tests/ftp-localhost.sh (NSSWITCH, PASSWD, PROTOCOLS): New
+       variables naming standard files.  Check their presence and skip
+       test otherwise.
        * tests/tftp.sh (NSSWITCH, PASSWD, PROTOCOLS): Likewise.
 
 2012-02-05  Mats Erik Andersson <address@hidden>
 
        * tests/tftp.sh: Need job control, issue `set -m'.
-       (spawned_pid): New variable.
-       <inetd restart failure>: For better robustness, kill process
-       immediately using SPAWNED_PID.
+       (spawned_pid): New variable.  <inetd restart failure>: For better
+       robustness, kill process immediately using SPAWNED_PID.
 
 2012-02-04  Mats Erik Andersson <address@hidden>
 
        * src/logger.c (unixsock): New variable.
-       (open_socket): Allow HOST and UNIXSOCK to determine
-       UNIX socket name.  Add test that HOST be non-NULL.
+       (open_socket): Allow HOST and UNIXSOCK to determine UNIX socket
+       name.  Add test that HOST be non-NULL.
        (argp_options): New option `-u/--unix'.
-       (parse_opt) <h>: Erase UNIXSOCK, i.e., clear `-u'.
-       <u>: New option. Set UNIXSOCK, erase HOST.
+       (parse_opt) <h>: Erase UNIXSOCK, i.e., clear `-u'.  <u>: New
+       option.  Set UNIXSOCK, erase HOST.
 
 2012-02-04  Mats Erik Andersson <address@hidden>
 
@@ -384,6 +396,7 @@
 2012-02-03  Mats Erik Andersson <address@hidden>
 
        Do not use which(1) in test scripts.
+
        * tests/ftp-localhost.sh: Use a trivial match to detect grep(1)
        and a trivial invokation of netstat(1).  Use `sysctl -a', while
        discarding STDOUT and STDERR, to sense for sysctl(8).
@@ -392,39 +405,42 @@
 2012-02-03  Mats Erik Andersson <address@hidden>
 
        Attempt full detection of any intermediary step failing.
+
        * tests/ftp-localhost.sh: Test presence of grep(1), netstat(1).
        Capture failing mktemp(1).
        (posttesting): Verify non-empty TMPDIR and it being a directory.
        <inetd.conf, .netrc>: Test successful write to these files.
        <starting INETD>: Test successful start as well as presence of
        `$TMPDIR/inetd.pid' afterwards.
-       * tests/tftp.sh: Test presence of grep(1) and netstat(1).
-       Capture failing mktemp(1).
+       * tests/tftp.sh: Test presence of grep(1) and netstat(1).  Capture
+       failing mktemp(1).
        (posttesting): Verify non-empty TMPDIR and it being a directory.
        <write_conf>: Test successful execution.
-       (REDIRECT): New variable.
-       <INETD invokation>: Always use debug-mode `-d', but suppress STDERR
-       in non-verbose execution mode.  An eval call implements this during
-       the first attempt.  Test the validity of `inetd_pid' afterwards.
-       <restart of INETD>: Use `kill -9' and delete the file INETD_PID.
-       <creation of test files>: Check validity of TMPDIR and test for
-       failure when creating the directory `$TMPDIR/tftp-test'.
+       (REDIRECT): New variable.  <INETD invokation>: Always use
+       debug-mode `-d', but suppress STDERR in non-verbose execution
+       mode.  An eval call implements this during the first attempt.
+       Test the validity of `inetd_pid' afterwards.  <restart of INETD>:
+       Use `kill -9' and delete the file INETD_PID.  <creation of test
+       files>: Check validity of TMPDIR and test for failure when
+       creating the directory `$TMPDIR/tftp-test'.
 
 2012-02-02  Mats Erik Andersson <address@hidden>
 
        Full set of prototypes for Shishi enabled builds.
-       * libinetutils/shishi_def.h [SHISHI] (krcmd, krcmd_mutual):
-       New prototypes.
-       * libtelnet/auth-proto.h [AUTHENTICATION] (auth_name): Likewise.
-       * libtelnet/auth.c [AUTHENTICATION] (auth_onoff): Likewise.
-       * libtelnet/enc-proto.h [ENCRYPTION] (EncryptStart, EncryptStartInput)
+
+       * libinetutils/shishi_def.h (krcmd, krcmd_mutual) [SHISHI]: New
+       prototypes.
+       * libtelnet/auth-proto.h (auth_name) [AUTHENTICATION]: Likewise.
+       * libtelnet/auth.c (auth_onoff) [AUTHENTICATION]: Likewise.
+       * libtelnet/enc-proto.h (EncryptStart, EncryptStartInput)
+       [ENCRYPTION]
        (EncryptStartOutput, EncryptStatus, EncryptStop, EncryptStopInput)
        (EncryptStopOutput, EncryptType, encrypt_start, encrypt_end)
        (encrypt_request_start, encrypt_request_end, encrypt_support)
        (encrypt_dec_keyid, encrypt_enc_keyid): Likewise.
        * libtelnet/genget.h (Ambiguous): Likewise.
        * libtelnet/misc-proto.h (auth_encrypt_user): Likewise.
-       * src/rlogind.c [SHISHI] (do_shishi_login): New prototype.
+       * src/rlogind.c (do_shishi_login) [SHISHI]: New prototype.
        * telnet/commands.c [ENCRYPTION]: Include <libtelnet/encrypt.h>.
        [AUTHENTICATION || ENCRYPTION]: Include <libtelnet/misc.h>.
        * telnet/main.c [AUTHENTICATION]: Include <libtelnet/auth.h>.
@@ -438,10 +454,10 @@
 
 2012-02-01  Mats Erik Andersson <address@hidden>
 
-       * tests/syslogd.sh (do_inet_socket): New variable.
-       <port is busy>: Continue, but disable INET test.  Issue a notice.
-       * tests/tftp.sh (write_conf): New function.
-       <failed inetd launch>: Make a second start attempt, with new port.
+       * tests/syslogd.sh (do_inet_socket): New variable.  <port is
+       busy>: Continue, but disable INET test.  Issue a notice.
+       * tests/tftp.sh (write_conf): New function.  <failed inetd
+       launch>: Make a second start attempt, with new port.
 
 2012-02-01  Guillem Jover  <address@hidden>
 
@@ -451,36 +467,40 @@
 
 2012-02-01  Mats Erik Andersson <address@hidden>
 
-       * configure.ac: Check for typedefs `Schedule' and `Session_Key'
-       in <arpa/telnet.h>.
-       * libinetutils/des_rw.c [ENCRYPTION && KERBEROS && !MIN] (MIN):
+       * configure.ac: Check for typedefs `Schedule' and `Session_Key' in
+       <arpa/telnet.h>.
+       * libinetutils/des_rw.c (MIN) [ENCRYPTION && KERBEROS && !MIN]:
        Define missing macro.
-       [ENCRYPTION && KERBEROS && !roundup] (roundup): Likewise.
-       * libinetutils/kcmd.c (kcmd) [HAVE_SIGACTION]:  Use modern signal
+       (roundup) [ENCRYPTION && KERBEROS && !roundup]: Likewise.
+       * libinetutils/kcmd.c (kcmd) [HAVE_SIGACTION]: Use modern signal
        handling.  New variables SIGS and OSIGS.
-       * libtelnet/auth.c [AUTHENTICATION] (AUTHTYPE_NAMES): New macro,
-       needed by OpenSolaris to fill in `authtype_names' by <arpa/telnet.h>.
-       * libtelnet/encrypt.h [ENCRYPTION && !HAVE_ARPA_TELNET_H_SCHEDULE]:
-       Typedef for `Schedule' is conditional.
+       * libtelnet/auth.c (AUTHTYPE_NAMES) [AUTHENTICATION]: New macro,
+       needed by OpenSolaris to fill in `authtype_names' by
+       <arpa/telnet.h>.
+       * libtelnet/encrypt.h [ENCRYPTION &&
+       !HAVE_ARPA_TELNET_H_SCHEDULE]: Typedef for `Schedule' is
+       conditional.
        [ENCRYPTION && !HAVE_ARPA_TELNET_H_SESSION_KEY]: Typedef for
        `Session_Key' is conditional.
        * libtelnet/misc.c: Include <arpa/telnet.h>.
-       * src/rlogind.c [KERBEROS && ENCRYPTION] (ENC_WRITE): Define macro
+       * src/rlogind.c (ENC_WRITE) [KERBEROS && ENCRYPTION]: Define macro
        using correct name.
-       * src/rshd.c [!MAX] (MAX): Define missing macro.
+       * src/rshd.c (MAX) [!MAX]: Define missing macro.
 
 2012-02-01  Mats Erik Andersson <address@hidden>
 
        Detect and protect header files for Kerberos support.
+
        * configure.ac: Check for <com_err.h>, <kerberosIV/des.h>,
        <kerberosIV/krb.h>, <kerberosV/krb5.h>, <krb5.h>, <krb5/asn1.h>,
-       <krb5/crc-32.h>, <krb5/ext-proto.h>, <krb5/krb5.h>, <krb5/los-proto.h>.
+       <krb5/crc-32.h>, <krb5/ext-proto.h>, <krb5/krb5.h>,
+       <krb5/los-proto.h>.
 
        * libinetutils/des_rw.c
-       [ENCRYPTION && KERBEROS && HAVE_KERBEROSIV_DES_H]:
-       Include <kerberosIV/des.h>.
-       [ENCRYPTION && KERBEROS && HAVE_KERBEROSIV_KRB_H]:
-       Include <kerberosIV/krb.h>.
+       [ENCRYPTION && KERBEROS && HAVE_KERBEROSIV_DES_H]: Include
+       <kerberosIV/des.h>.
+       [ENCRYPTION && KERBEROS && HAVE_KERBEROSIV_KRB_H]: Include
+       <kerberosIV/krb.h>.
        * libinetutils/kcmd.c, libinetutils/krcmd.c
        [KERBEROS && HAVE_KERBEROSIV_DES_H]: Include <kerberosIV/des.h>.
        [KERBEROS && HAVE_KERBEROSIV_KRB_H]: Include <kerberosIV/krb.h>.
@@ -488,8 +508,10 @@
        Include <krb5/krb5.h>.
        [KRB5 && FORWARD && HAVE_KRB5_ASN1_H]: Include <krb5/asn1.h>.
        [KRB5 && FORWARD && HAVE_KRB5_CRC_32_H]: Include <krb5/crc-32.h>.
-       [KRB5 && FORWARD && HAVE_KRB5_LOS_PROTO_H]: Include <krb5/los-proto.h>.
-       [KRB5 && FORWARD && HAVE_KRB5_EXT_PROTO_H]: Include <krb5/ext-proto.h>.
+       [KRB5 && FORWARD && HAVE_KRB5_LOS_PROTO_H]: Include
+       <krb5/los-proto.h>.
+       [KRB5 && FORWARD && HAVE_KRB5_EXT_PROTO_H]: Include
+       <krb5/ext-proto.h>.
        * libtelnet/kerberos.c [KRB4 && HAVE_DES_H]: Include <des.h>.
        [KRB4 && HAVE_KRB_H]: Include <krb.h>.
        * libtelnet/kerberos5.c [KRB5 && HAVE_KRB5_H]: Include <krb5.h>.
@@ -499,28 +521,33 @@
        [KERBEROS && HAVE_KERBEROSIV_KRB_H]: Include <kerberosIV/krb.h>.
        * src/rlogin.c: Likewise.
        [SHISHI]: Do inclusions independently of conditional code.
-       * src/rlogind.c [KERBEROS && KRB4 && HAVE_KERBEROSIV_DES_H]: Include
-       <kerberosIV/des.h>.
-       [KERBEROS && KRB4 && HAVE_KERBEROSIV_KRB_H]: Include <kerberosIV/krb.h>.
+       * src/rlogind.c [KERBEROS && KRB4 && HAVE_KERBEROSIV_DES_H]:
+       Include <kerberosIV/des.h>.
+       [KERBEROS && KRB4 && HAVE_KERBEROSIV_KRB_H]: Include
+       <kerberosIV/krb.h>.
        [KERBEROS && KRB5 && HAVE_KRB5_H]: Include <krb5.h>.
-       [KERBEROS && KRB5 && HAVE_KERBEROSIV_KRB_H]: Include <kerberosIV/krb.h>.
-       * src/rsh.c, src/rshd.c [KERBEROS && HAVE_KERBEROSIV_DES_H]: Include
-       <kerberosIV/des.h>.
+       [KERBEROS && KRB5 && HAVE_KERBEROSIV_KRB_H]: Include
+       <kerberosIV/krb.h>.
+       * src/rsh.c, src/rshd.c [KERBEROS && HAVE_KERBEROSIV_DES_H]:
+       Include <kerberosIV/des.h>.
        [KERBEROS && HAVE_KERBEROSIV_KRB_H]: Include <kerberosIV/krb.h>.
        [SHISHI]: Do inclusions independently of conditional code.
 
 2012-01-31  Mats Erik Andersson <address@hidden>
 
        * libinetutils/kcmd.c: Include <fcntl.h>.
-       * libtelnet/auth.h [!AUTH_REJECT] (AUTH_REJECT): Protect `#define'.
-       [!AUTH_UNKNOWN] (AUTH_UNKNOWN): Likewise.
-       [!AUTH_OTHER] (AUTH_OTHER): Likewise.
-       [!AUTH_USER] (AUTH_USER): Likewise.
-       [!AUTH_VALID] (AUTH_VALID): Likewise.
-       * libtelnet/enc_des.c [ENCTYPE_DES_OFB64] (ofb64_init, ofb64_start)
-       (ofb64_is, ofb64_reply, ofb64_session, ofb64_keyid, ofb64_printsub)
+       * libtelnet/auth.h (AUTH_REJECT) [!AUTH_REJECT]: Protect
+       `#define'.
+       (AUTH_UNKNOWN) [!AUTH_UNKNOWN]: Likewise.
+       (AUTH_OTHER) [!AUTH_OTHER]: Likewise.
+       (AUTH_USER) [!AUTH_USER]: Likewise.
+       (AUTH_VALID) [!AUTH_VALID]: Likewise.
+       * libtelnet/enc_des.c (ofb64_init, ofb64_start)
+       [ENCTYPE_DES_OFB64]
+       (ofb64_is, ofb64_reply, ofb64_session, ofb64_keyid)
+       (ofb64_printsub)
        (ofb64_encrypt, ofb64_decrypt): Protect definitions.
-       * libtelnet/encrypt.c [ENCTYPE_DES_OFB64] (i_support_encrypt)
+       * libtelnet/encrypt.c (i_support_encrypt) [ENCTYPE_DES_OFB64]
        (i_support_decrypt): Add ENCTYPE_DES_OFB64 only if existing,
        otherwise only ENCTYPE_DES_CFB64.
        (encryptions) [ENCTYPE_DES_OFB64]: Conditional use of OFB64 calls.
@@ -530,8 +557,8 @@
        (ENCTYPE_DES_CFB64): Likewise
        [!ENCTYPE_DES_OFB64 && TELOPT_ENCTYPE_DES_OFB64]
        (ENCTYPE_DES_OFB64): Likewise.
-       [!ENCTYPE_CNT && TELOPT_ENCTYPE_CNT] (ENCTYPE_CNT): Likewise.
-       [!VALIDKEY] (VALIDKEY): Protect `#define'.
+       (ENCTYPE_CNT) [!ENCTYPE_CNT && TELOPT_ENCTYPE_CNT]: Likewise.
+       (VALIDKEY) [!VALIDKEY]: Protect `#define'.
 
 2012-01-31  Mats Erik Andersson <address@hidden>
 
@@ -557,17 +584,18 @@
 
        * libtelnet/auth.c, libtelnet/enc_des.c, libtelnet/encrypt.c,
        libtelnet/kerberos.c, libtelnet/kerberos5.c, libtelnet/shishi.c:
-       Add external prototype `void printsub (char, unsigned char *, int)',
-       appearing as callback.
+       Add external prototype `void printsub (char, unsigned char *,
+       int)', appearing as callback.
        * libtelnet/auth-proto.h (auth_gen_printsub): Remove prototype.
        (auth_printsub): Missing prototype.
        * libtelnet/auth.c (auth_gen_printsub): Declare as static, and
        position before code for `auth_printsub'.
        * libtelnet/enc-proto.h (encrypt_printsub): Missing prototype.
-       [ENCRYPTION && TELNETD]: Rename macro TELENTD as TELNETD,
-       both are otherwise not in use.
+       [ENCRYPTION && TELNETD]: Rename macro TELENTD as TELNETD, both are
+       otherwise not in use.
        * libtelnet/encrypt.c (encrypt_gen_printsub): Reorder parameters
-       in declaration to read `(unsigned char *, int, unsigned char *, int)'.
+       in declaration to read `(unsigned char *, int, unsigned char *,
+       int)'.
        (encrypt_printsub): Likewise.
        * telnet/utilities.c [AUTHENTICATION]: Include <libtelnet/auth.h>.
        [ENCRYPTION]: Include <libtelnet/encrypt.h>.
@@ -575,14 +603,14 @@
 
 2012-01-27  Mats Erik Andersson <address@hidden>
 
-       * tests/ftp-localhost.sh, tests/tftp.sh (PORT): Detect if it
-       is preset, or detect an unused value from a short list.
+       * tests/ftp-localhost.sh, tests/tftp.sh (PORT): Detect if it is
+       preset, or detect an unused value from a short list.
        * tests/ftp-localhost.sh (locate_port): New function.
 
 2012-01-26  Mats Erik Andersson <address@hidden>
 
-       * tests/syslogd.sh (SOCKET): Disable the use of this
-       UNIX socket name if its length would be excessive.
+       * tests/syslogd.sh (SOCKET): Disable the use of this UNIX socket
+       name if its length would be excessive.
 
 2012-01-26  Mats Erik Andersson <address@hidden>
 
@@ -596,20 +624,19 @@
 2012-01-25  Mats Erik Andersson <address@hidden>
 
        * tests/syslogd.sh: Substantial rewrite.  Early verbosity.
-       Consistent quoting for white space in IU_TESTDIR.  Robustness
-       with error checking.  Execution inside `tests/'.
+       Consistent quoting for white space in IU_TESTDIR.  Robustness with
+       error checking.  Execution inside `tests/'.
        (TARGET, TARGET6): New variables.
        (TMPDIR): Overrides `/tmp/' as temporary directory.
 
 2012-01-23  Mats Erik Andersson <address@hidden>
 
-       * tests/ftp-localhost.sh: New preamble to fail
-       with SVR4 shell.  Backtics in command substitution.
-       * tests/tftp.sh: Rewrite for SVR4 portability.
-       Backtics in command substitution.  expr(1) for
-       arithmetic.  Only basic regex with grep(1), no `-q'.
-       Remove character classes.  Quotation issue for tr(1).
-       Use `test -r /dev/urandom' to circumvent soft link.
+       * tests/ftp-localhost.sh: New preamble to fail with SVR4 shell.
+       Backtics in command substitution.
+       * tests/tftp.sh: Rewrite for SVR4 portability.  Backtics in
+       command substitution.  expr(1) for arithmetic.  Only basic regex
+       with grep(1), no `-q'.  Remove character classes.  Quotation issue
+       for tr(1).  Use `test -r /dev/urandom' to circumvent soft link.
 
 2012-01-22  Mats Erik Andersson <address@hidden>
 
@@ -617,8 +644,8 @@
 
 2012-01-22  Mats Erik Andersson <address@hidden>
 
-       * tests/ftp-localhost.sh: sysctl(1) uses `=' or `:'
-       as delimeter.  Detect both.
+       * tests/ftp-localhost.sh: sysctl(1) uses `=' or `:' as delimeter.
+       Detect both.
 
 2012-01-22  Mats Erik Andersson <address@hidden>
 
@@ -626,32 +653,33 @@
        * ftpd/ftpd.c (options): New options `-4/ipv4' and `-6/ipv6`.
        (parse_opt): Detect `4' and `6'.
        * ftpd/server_mode.c (usefamily): New variable.
-       [!DEFPORT] (DEFPORT): Use IPPORT_FTP if available.
-       (server_mode): Remove use of AI_ADDRCONFIG.  When seeing AF_UNSPEC,
-       build AF_INET6 socket and reset socket option IPV6_V6ONLY.
+       (DEFPORT) [!DEFPORT]: Use IPPORT_FTP if available.
+       (server_mode): Remove use of AI_ADDRCONFIG.  When seeing
+       AF_UNSPEC, build AF_INET6 socket and reset socket option
+       IPV6_V6ONLY.
 
 2012-01-22  Mats Erik Andersson <address@hidden>
 
        * ftpd/extern.h (passive): New prototype.
        * ftpd/ftpcmd.y (EPRT, EPSV, CHAR): New tokens.
        (net_proto, tcp_port, net_addr): New value returning types.
-       (cmd) <PORT>: Use value returned from `host_port'. Erase PDATA
+       (cmd) <PORT>: Use value returned from `host_port'.  Erase PDATA
        and USEDEFAULT only if successful.
        (cmd) <PASV>: Changed call to passive().
        (cmd) <EPRT, EPSV>: New code for token parsers.
-       (host_port): Declare as `%type <i>', returning an integer.
-       Handle mapped IPv4 addresses.  Erase DATA_DEST after an address
-       resolving failure.
+       (host_port): Declare as `%type <i>', returning an integer.  Handle
+       mapped IPv4 addresses.  Erase DATA_DEST after an address resolving
+       failure.
        (DLIST): New macro used as state in finite state automata.
        (cmdtab): New entries EPRT and EPSV.
        (yylex) <DLIST>: Implement new state.
-       * ftpd/ftpd.c (passive): New prototype `passive(int, int)'.
-       New variable TRY_AF.  Select address family based on parameters
-       and CTRL_ADDR.
+       * ftpd/ftpd.c (passive): New prototype `passive(int, int)'.  New
+       variable TRY_AF.  Select address family based on parameters and
+       CTRL_ADDR.
        (passive) <EPSV>: Handle AF_INET and AF_INET6.
        (passive) <PASV>: Process also mapped IPv4 address.
-       * tests/ftp-localhost.sh: More tests in inetd mode: EPSV and
-       EPRT for IPv4 and IPv6.  Suppress FTP dialog unless verbose.
+       * tests/ftp-localhost.sh: More tests in inetd mode: EPSV and EPRT
+       for IPv4 and IPv6.  Suppress FTP dialog unless verbose.
 
 2012-01-18  Simon Josefsson  <address@hidden>
 
@@ -665,16 +693,16 @@
 
 2012-01-07  Mats Erik Andersson <address@hidden>
 
-       * telnet/utilities.c (SetNetTrace): Filename buffer overrun: replace
-       strcpy() by strncpy().
+       * telnet/utilities.c (SetNetTrace): Filename buffer overrun:
+       replace strcpy() by strncpy().
        (printoption, printsub): Code formatting of ternary operator.
 
 2012-01-07  Guillem Jover  <address@hidden>
 
        * telnet/utilities.c (printsub) <env_common>: Use constant format
-       strings instead of offsets into fixed string.  Remove NOQUOTE,
-       add QUOTE.
-
+       strings instead of offsets into fixed string.  Remove NOQUOTE, add
+       QUOTE.
+
 2012-01-06  Simon Josefsson  <address@hidden>
 
        inetutils 1.9.1
@@ -691,9 +719,10 @@
 
        * ftpd/ftpcmd.y (host_port): Use AI_NUMERICHOST and AI_NUMERICSERV
        in `HINTS.ai_flags'.  Do not use AI_ADDRCONFIG.
-       * ftpd/ftpd.c (getdatasock): Erase port number stored in DATA_SOURCE.
-       * tests/ftp-localhost.sh: Detect transfered data and duplicate tests
-       also for an active connection, not only a passive attempt.
+       * ftpd/ftpd.c (getdatasock): Erase port number stored in
+       DATA_SOURCE.
+       * tests/ftp-localhost.sh: Detect transfered data and duplicate
+       tests also for an active connection, not only a passive attempt.
 
 2012-01-03  Alfred M. Szmidt  <address@hidden>
 
@@ -703,24 +732,25 @@
 
        Internal address structure rewrite for `ftpd'.
 
-       * ftpd/extern.h (data_dest, his_addr): Change to `struct 
sockaddr_storage'.
+       * ftpd/extern.h (data_dest, his_addr): Change to `struct
+       sockaddr_storage'.
        (server_mode): New prototype: second argument `struct sockaddr *'.
-       * ftpd/ftpcmd.y (cmd): Use casts to `struct sockaddr_in' to evaluate
-       sub case `host_port'.
+       * ftpd/ftpcmd.y (cmd): Use casts to `struct sockaddr_in' to
+       evaluate sub case `host_port'.
        (yylex) [HAVE_SETPROCTITLE]: Compare to numeric naught, not NULL.
-       * ftpd/ftpd.c (data_dest, his_addr, ctrl_addr, data_source, pasv_addr):
-       Change to `struct sockaddr_storage'.
+       * ftpd/ftpd.c (data_dest, his_addr, ctrl_addr, data_source)
+       (pasv_addr): Change to `struct sockaddr_storage'.
        (main): Apply updated server_mode().
        (main, getdatasock, dataconn): Set IP_TOS only for AF_INET.
        (dataconn, passive): Copy addresses using memcpy().
        (statfilecmd): Change SIN to `struct sockaddr_storage'.
        (statcmd): Casts as `struct sockaddr_in' needed for A and P.
-       (passive): Clear port number depending on address family.
-       Reply with 229 for EPSV/IPv6 and 227 for PASV.
+       (passive): Clear port number depending on address family.  Reply
+       with 229 for EPSV/IPv6 and 227 for PASV.
        * ftpd/server_mode.c (check_host): Activate AF_INET6 case.
        (server_mode): Second argument is 'struct sockaddr *', must be
-       initiated before call, and returns actual address length.
-       New variable SAVED_ADDRLEN.  Changed call due to these two.
+       initiated before call, and returns actual address length.  New
+       variable SAVED_ADDRLEN.  Changed call due to these two.
 
 2012-01-02  Mats Erik Andersson <address@hidden>
 
@@ -732,9 +762,9 @@
        * ftpd/ftpcmd.y: Include <netdb.h>.
        (cmd) [unix || __unix__]: SYS_TYPE must recognize __unix__.
        (host_port): Use getaddrinfo to initiate DATA_DEST.
-       * ftpd/ftpd.c (data_set_len, his_addrlen, addrstr, portstr,
-       ctrl_addrlen, data_source_len, pasv_addrlen): New variables.
-       [HAVE_LIBWRAP] (check_host): Prototype extended with socklen_t.
+       * ftpd/ftpd.c (data_set_len, his_addrlen, addrstr, portstr)
+       (ctrl_addrlen, data_source_len, pasv_addrlen): New variables.
+       (check_host) [HAVE_LIBWRAP]: Prototype extended with socklen_t.
        (dolog): Likewise.
        (main): Use HIS_ADDRLEN, CTRL_ADDRLEN instead of local ADDRLEN.
        Changed calls to server_mode and dolog due to new prototypes.
@@ -742,20 +772,21 @@
        fields in DATA_SOURCE from CTRL_ADDR, and DATA_SOURCE_LEN from
        CTRL_ADDRLEN.  Dynamic address length to bind().
        (dataconn): Use FROM as `struct sockaddr_storage.  Change socket
-       descriptor S to be `int'.  Assign DATA_DEST and DATA_DEST_LEN
-       in a block.  Use getnameinfo for error message.  Dynamic socket
-       length in connect().
+       descriptor S to be `int'.  Assign DATA_DEST and DATA_DEST_LEN in a
+       block.  Use getnameinfo for error message.  Dynamic socket length
+       in connect().
        (statcmd): Lookup using getnameinfo().
        (dolog): New prototype, extended by `socklen_t'.  Likewise.
-       (passive): Removed variable LEN, now using length and family stored
-       in address variables, which are global.
-       * ftpd/server_mode.c (check_host): New prototype: adding `socklen_t'.
-       Removed SIN, HP. New variables ERR, NAME.  Lookup uses getnameinfo().
-       (server_mode): New prototype: adding `socklen_t'.  Delete SERVER_ADDR.
-       New varables ERR, PORTSTR, HINTS, RES, AI.  Lookup uses getaddrinfo
-       and a loop to get listener.  Server loop removes ADDRLEN, now setting
-       address length by use of PHIS_ADDRLEN.
-
+       (passive): Removed variable LEN, now using length and family
+       stored in address variables, which are global.
+       * ftpd/server_mode.c (check_host): New prototype: adding
+       `socklen_t'.  Removed SIN, HP.  New variables ERR, NAME.  Lookup
+       uses getnameinfo().
+       (server_mode): New prototype: adding `socklen_t'.  Delete
+       SERVER_ADDR.  New varables ERR, PORTSTR, HINTS, RES, AI.  Lookup
+       uses getaddrinfo and a loop to get listener.  Server loop removes
+       ADDRLEN, now setting address length by use of PHIS_ADDRLEN.
+
 2011-12-31  Alfred M. Szmidt  <address@hidden>
 
        inetutils 1.9
@@ -779,13 +810,14 @@
 
 2011-12-30  Mats Erik Andersson <address@hidden>
 
-       * configure.ac: Check for ruserok.  If iruserok exists, then define
-       WITH_IRUSEROK, else if ruserok exists, then define WITH_RUSEROK.
-       Disable rlogind and rshd otherwise.  Check for __check_rhosts_file.
-       * src/rlogind.c [HAVE___CHECK_RHOSTS_FILE] (__check_rhosts_file):
+       * configure.ac: Check for ruserok.  If iruserok exists, then
+       define WITH_IRUSEROK, else if ruserok exists, then define
+       WITH_RUSEROK.  Disable rlogind and rshd otherwise.  Check for
+       __check_rhosts_file.
+       * src/rlogind.c (__check_rhosts_file) [HAVE___CHECK_RHOSTS_FILE]:
        Protect declaration as extern variable.
-       [__GLIBC__ && WITH_IRUSEROK] (iruserok): Protect declaration
-       as extern.
+       (iruserok) [__GLIBC__ && WITH_IRUSEROK]: Protect declaration as
+       extern.
        (options) [HAVE___CHECK_RHOSTS_FILE]: Conditionally include the
        option `-l/--no-rhosts'.
        (parse_opt) [HAVE___CHECK_RHOSTS_FILE]: Likewise.
@@ -795,10 +827,10 @@
        composed with inet_ntoa.
        * src/rshd.c (options) [HAVE___CHECK_RHOSTS_FILE]: Conditionally
        include the option `-l/--no-rhosts'.
-       [HAVE___CHECK_RHOSTS_FILE] (__check_rhosts_file): Protect declaration
-       as extern variable.
-       [__GLIBC__ && WITH_IRUSEROK] (iruserok): Protect declaration
-       as extern.
+       (__check_rhosts_file) [HAVE___CHECK_RHOSTS_FILE]: Protect
+       declaration as extern variable.
+       (iruserok) [__GLIBC__ && WITH_IRUSEROK]: Protect declaration as
+       extern.
        (parse_opt) [HAVE___CHECK_RHOSTS_FILE]: Conditional detection of
        `-l/--no-rhosts'.
        (doit) [WITH_IRUSEROK]: Protect call to iruserok.
@@ -1073,7 +1105,7 @@
 2011-11-21  Mats Erik Andersson <address@hidden>
 
        * libtelnet/getent.c [HAVE_CGETENT]: Include <stdlib.h>.
-       * telnet/sys_bsd.c [SIGINFO] (sendayt): Missing declaration.
+       * telnet/sys_bsd.c (sendayt) [SIGINFO]: Missing declaration.
        * doc/inetutils.texi (telnet invocation): Minor fixes.
        * TODO: Updated.
 
@@ -8283,7 +8315,6 @@
        * ping/ping_address.c, ping/ping_echo.c, ping/ping_router.c,
        ping/ping_timestamp.c: <signal.h> -> <sys/signal.h>
 
-
 2001-06-20  Sergey Poznyakoff  <address@hidden>
 
        Patches by Alain:
@@ -10040,7 +10071,6 @@ AC_REPLACE_FUNC (setproctitle).
        OpenBSD, FreeBSD, Debian, Redhat and wu-ftpd.  Heads-up for their
        nice work.
 
-
        * ftpd/popen.c : overflow in argv[] and gargv[] fix.
 
 1999-02-17 Alain Magloire

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |  515 +++++++++++++++++++++++++++++++--------------------------
 Makefile.am  |    3 +-
 README       |    9 +-
 README-alpha |   78 ++++-----
 configure.ac |  170 ++++++++++----------
 5 files changed, 408 insertions(+), 367 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]