mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
Portability of test and of build.
* tests/ftp-localhost.sh: Strict IPv4-calls. * configure.ac: Building rshd/rlogind needs iruserok.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2011-12-11 Mats Erik Andersson <gnu@gisladisker.se>
|
||||
|
||||
* 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 <gnu@gisladisker.se>
|
||||
|
||||
* tests/ftp-localhost.sh: Replace `echo' with portable construct.
|
||||
|
||||
10
NEWS
10
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.
|
||||
Handle IPv6 connections. (Ftpd is IPv4-only until next release.)
|
||||
|
||||
* syslogd, logger
|
||||
|
||||
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
|
||||
|
||||
|
||||
7
TODO
7
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
|
||||
|
||||
11
configure.ac
11
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=
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user