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_8-195-g2106a3e


From: Mats Erik Andersson
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_8-195-g2106a3e
Date: Sun, 11 Dec 2011 17:51:59 +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  2106a3ea5028ac3d2c84503a0b89a66de5c6d5e2 (commit)
      from  0d725f8b366b69c389503bf006ba2de058025336 (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=2106a3ea5028ac3d2c84503a0b89a66de5c6d5e2


commit 2106a3ea5028ac3d2c84503a0b89a66de5c6d5e2
Author: Mats Erik Andersson <address@hidden>
Date:   Sun Dec 11 18:49:22 2011 +0100

    Portability of test and of build.
    
    * tests/ftp-localhost.sh: Strict IPv4-calls.
    * configure.ac: Building rshd/rlogind needs iruserok.

diff --git a/ChangeLog b/ChangeLog
index dd036a9..86e02dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-12-11  Mats Erik Andersson <address@hidden>
 
+       * tests/ftp-localhost.sh: Use strict IPv4 options for portability.
+       * configure.ac: Check for iruserok.  Disable building of rshd and
+       rlogind if it is missing.
+       * NEWS,TODO: Updated.
+
+2011-12-11  Mats Erik Andersson <address@hidden>
+
        * tests/ftp-localhost.sh: Replace `echo' with portable construct.
 
 2011-12-10  Mats Erik Andersson <address@hidden>
diff --git a/NEWS b/NEWS
index f0a7624..9ba0d28 100644
--- a/NEWS
+++ b/NEWS
@@ -15,9 +15,15 @@ Support is still new, so please report any bugs to
 
 * Many OpenBSD fixes.
 
-* tftp
+* ftp, tftp, tftpd
+
+Handle IPv6 connections.  (Ftpd is IPv4-only until next release.)
+
+* syslogd, logger
 
-Handle IPv6 connections.
+Handle IPv6 connections.  The server can forward messages
+without using a listening INET socket.  It can also bind
+to a single INET/INET6 address.
 
 * ifconfig
 
diff --git a/TODO b/TODO
index 325307d..5ee5012 100644
--- a/TODO
+++ b/TODO
@@ -134,6 +134,9 @@ Ability to ping multiple host in one go.
 ** Make sure it is a drop in replacement at least for the most
    common options on Linux and BSD.
 
+** Parse options before taking actions: `ifconfig --down -i gif0'
+   segfaults, but `ifconfig -i gif0 --down' does not.
+
 ** Some systems can provide more interfaces than
   SIOCGIFCONF/if_nameindex, interfaces which are usually not UP but
   registered nevertheless.  (linux: /prov/net/dev). Some support for
@@ -151,6 +154,10 @@ Ability to ping multiple host in one go.
   For example, if a system specific option shadows a normal option?
   Allow this?
 
+* ftpd
+
+Complete the initiated rewrite for supporting IPv6.
+
 * tftpd
 
 OpenSolaris is only able to transmit a single package of
diff --git a/configure.ac b/configure.ac
index 5828951..817fecc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -219,6 +219,17 @@ else
   talk_BUILD=''
 fi
 
+dnl FIXME: Presently rshd and rlogind need iruserok(3),
+dnl which is not univerally available.  Replacement code?
+AC_CHECK_FUNC(iruserok, , , [#include <netdb.h>])
+if test "$ac_cv_func_iruserok" = no; then
+  enable_rlogind=no
+  rlogind_BUILD=''
+  enable_rshd=no
+  rshd_BUILD=''
+fi
+
+
 dnl FIXME: Make this test case a bit more robust. Remove KRB4
 LIBAUTH=
 INCAUTH=
diff --git a/tests/ftp-localhost.sh b/tests/ftp-localhost.sh
index 793a14d..e50c5cb 100755
--- a/tests/ftp-localhost.sh
+++ b/tests/ftp-localhost.sh
@@ -19,6 +19,10 @@
 
 # Written by Simon Josefsson
 
+# FIXME: Strict IPv4 setup, until Mats has completed the migration
+# of ftpd to support IPv6.  Address mapping IPv4-to-IPv6 is not
+# uniform an all platforms, thus `tcp4' for inetd and '-4' for ftp.
+
 set -e
 
 FTP=${FTP:-../ftp/ftp$EXEEXT}
@@ -56,8 +60,8 @@ posttesting () {
 
 trap posttesting 0 1 2 3 15
 
-echo "4711 stream tcp nowait root $PWD/$FTPD ftpd -A -l" > $TMPDIR/inetd.conf
-echo "machine 127.0.0.1 login ftp password foobar" > $TMPDIR/.netrc
+echo "4711 stream tcp4 nowait root $PWD/$FTPD ftpd -A -l" > $TMPDIR/inetd.conf
+echo "machine $TARGET login ftp password foobar" > $TMPDIR/.netrc
 chmod 600 $TMPDIR/.netrc
 
 $INETD --pidfile=$TMPDIR/inetd.pid $TMPDIR/inetd.conf
@@ -69,9 +73,11 @@ cat <<STOP |
 rstatus
 dir
 STOP
-HOME=$TMPDIR $FTP $TARGET 4711 -v -p -t | tee $TMPDIR/ftp.stdout
+HOME=$TMPDIR $FTP $TARGET 4711 -4 -v -p -t >$TMPDIR/ftp.stdout
 
 errno=$?
+cat $TMPDIR/ftp.stdout
+
 if [ $errno != 0 ]; then
     echo running ftp failed? errno $errno
     exit 77

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

Summary of changes:
 ChangeLog              |    7 +++++++
 NEWS                   |   10 ++++++++--
 TODO                   |    7 +++++++
 configure.ac           |   11 +++++++++++
 tests/ftp-localhost.sh |   12 +++++++++---
 5 files changed, 42 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 



reply via email to

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