Subject: CVS commit: pkgsrc/net/tnftp/files
To: None <pkgsrc-changes@NetBSD.org>
From: Luke Mewburn <lukem@netbsd.org>
List: pkgsrc-changes
Date: 06/10/2005 05:03:13
Module Name: pkgsrc
Committed By: lukem
Date: Fri Jun 10 05:03:13 UTC 2005
Update of /cvsroot/pkgsrc/net/tnftp/files
In directory ivanova.netbsd.org:/tmp/cvs-serv22901
Log Message:
Import tnftp 20050610.
Security-related bug fixes:
* Convert to use getline() instead of fgets() whenever reading user input to
ensure that an overly long input line doesn't leave excess characters for
the next input operation to accidentally use as input.
* Zero out the password & account after we've finished with it.
* Consistently use getpass(3) (i.e, character echo suppressed) when reading
the account data. For some reason, historically the "login" code
suppressed echo for Account: yet the "user" command did not!
* Improve method used in fileindir() to determine if `file' is in or under
`dir': realpath(3) on non-NetBSD systems may fail if the target filename
doesn't exist, so instead use realpath(3) on the parent directory of `file'.
(The previous code was over-aggressive in preventing transfers on systems
with a realpath(3) that had different semantics to NetBSD.)
Bug fixes:
* Display the hostname in the "getaddrinfo failed" warning.
* Only print the "Trying <address>..." message if verbose and there's more
than one struct addrinfo in the getaddrinfo() result.
* formatbuf(): fix %m and %M to use the hostname, not the username.
* fetch_ftp(): preserve 'anonftp' across a disconnect() so that multiple ftp
auto-fetches on the same command line login automatically.
* Improve bounds checking.
* Update various copyright notices.
Portability fixes:
* Look for dirname(3), which may be in -lgen on IRIX, and replace it if not
found.
* Don't use non-standard: u_char, u_short, u_int, or uint.
* Use uint32_t instead of u_int32_t.
* Don't use register.
* Helps if the definition of xconnect() matches its declaration....
* Fix some cast issues highlighted by gcc 4 on OSX.4
* Use size_t instead of int where appropriate.
* Make this compile on sparc64 (size_t != int).
* Printf field widths and size_t don't always mix well, so cast to int.
Fixes build problem for alpha.
* auto_fetch(): use an initialized volatile int to appease IRIX cc.
* Don't abuse unconstify'ing a string and writing to it, because you'll core
dump. Also remove extra const that gives pain to the irix compiler.
* Make sure we flush after we prepare when we are unbuffered otherwise the
prompt will not appear immediately.
* Terminate the arglist with a NULL instead of 0. (Shuts up gcc4.x)
* Use malloc(3) instead of alloca(3).
* Include "src/progressbar.h" for xsignal_restart() prototype.
* Ensure that fallback #define of __attribute__ is available.
Fixes build problem on HP-UX with cc.
* Pull in <poll.h> or <sys/poll.h> if they exist even if we're not using poll,
as struct pollfd might exist in those. Fixes build problem on OSX.3.
* Use NS_INADDRSZ, NS_IN6ADDRSZ and NS_INT16SZ instead of
equivalents without NS_ prefix.
* Use socklen_t instead of size_t where appropriate.
* Separate CPPFLAGS from CFLAGS.
* Use "long long" instead of "quad" in various comments & constants.
* Prefer poll over select when implementing replacement usleep().
Vendor Tag: tnftp
Release Tags: tnftp-20050610
C pkgsrc/net/tnftp/files/ChangeLog
C pkgsrc/net/tnftp/files/COPYING
U pkgsrc/net/tnftp/files/Makefile.in
U pkgsrc/net/tnftp/files/INSTALL
U pkgsrc/net/tnftp/files/acconfig.h
U pkgsrc/net/tnftp/files/README
U pkgsrc/net/tnftp/files/THANKS
U pkgsrc/net/tnftp/files/aclocal.m4
C pkgsrc/net/tnftp/files/config.h.in
C pkgsrc/net/tnftp/files/configure
C pkgsrc/net/tnftp/files/configure.in
U pkgsrc/net/tnftp/files/install-sh
C pkgsrc/net/tnftp/files/tnftp.h
U pkgsrc/net/tnftp/files/todo
N pkgsrc/net/tnftp/files/libedit/filecomplete.c
C pkgsrc/net/tnftp/files/libedit/Makefile.in
C pkgsrc/net/tnftp/files/libedit/chared.c
U pkgsrc/net/tnftp/files/libedit/chared.h
C pkgsrc/net/tnftp/files/libedit/common.c
C pkgsrc/net/tnftp/files/libedit/editline.3
U pkgsrc/net/tnftp/files/libedit/editrc.5
C pkgsrc/net/tnftp/files/libedit/el.c
U pkgsrc/net/tnftp/files/libedit/el.h
C pkgsrc/net/tnftp/files/libedit/emacs.c
U pkgsrc/net/tnftp/files/libedit/readline.c
N pkgsrc/net/tnftp/files/libedit/filecomplete.h
C pkgsrc/net/tnftp/files/libedit/hist.c
U pkgsrc/net/tnftp/files/libedit/hist.h
C pkgsrc/net/tnftp/files/libedit/histedit.h
C pkgsrc/net/tnftp/files/libedit/history.c
C pkgsrc/net/tnftp/files/libedit/key.c
U pkgsrc/net/tnftp/files/libedit/key.h
U pkgsrc/net/tnftp/files/libedit/makelist.in
C pkgsrc/net/tnftp/files/libedit/map.c
U pkgsrc/net/tnftp/files/libedit/map.h
C pkgsrc/net/tnftp/files/libedit/parse.c
C pkgsrc/net/tnftp/files/libedit/parse.h
C pkgsrc/net/tnftp/files/libedit/prompt.c
U pkgsrc/net/tnftp/files/libedit/prompt.h
C pkgsrc/net/tnftp/files/libedit/read.c
U pkgsrc/net/tnftp/files/libedit/read.h
C pkgsrc/net/tnftp/files/libedit/refresh.c
U pkgsrc/net/tnftp/files/libedit/refresh.h
C pkgsrc/net/tnftp/files/libedit/search.c
U pkgsrc/net/tnftp/files/libedit/search.h
C pkgsrc/net/tnftp/files/libedit/sig.c
U pkgsrc/net/tnftp/files/libedit/sig.h
C pkgsrc/net/tnftp/files/libedit/sys.h
C pkgsrc/net/tnftp/files/libedit/term.c
C pkgsrc/net/tnftp/files/libedit/term.h
C pkgsrc/net/tnftp/files/libedit/tokenizer.c
C pkgsrc/net/tnftp/files/libedit/tty.c
C pkgsrc/net/tnftp/files/libedit/tty.h
C pkgsrc/net/tnftp/files/libedit/vi.c
C pkgsrc/net/tnftp/files/libedit/readline/readline.h
U pkgsrc/net/tnftp/files/libnetbsd/getaddrinfo.c
C pkgsrc/net/tnftp/files/libnetbsd/Makefile.in
N pkgsrc/net/tnftp/files/libnetbsd/dirname.c
U pkgsrc/net/tnftp/files/libnetbsd/err.c
U pkgsrc/net/tnftp/files/libnetbsd/fgetln.c
U pkgsrc/net/tnftp/files/libnetbsd/fparseln.c
U pkgsrc/net/tnftp/files/libnetbsd/fseeko.c
C pkgsrc/net/tnftp/files/libnetbsd/ftpglob.h
C pkgsrc/net/tnftp/files/libnetbsd/ftpvis.h
C pkgsrc/net/tnftp/files/libnetbsd/strtoll.c
C pkgsrc/net/tnftp/files/libnetbsd/getnameinfo.c
C pkgsrc/net/tnftp/files/libnetbsd/glob.c
C pkgsrc/net/tnftp/files/libnetbsd/inet_ntop.c
C pkgsrc/net/tnftp/files/libnetbsd/inet_pton.c
C pkgsrc/net/tnftp/files/libnetbsd/mkstemp.c
U pkgsrc/net/tnftp/files/libnetbsd/setprogname.c
C pkgsrc/net/tnftp/files/libnetbsd/sl_init.c
U pkgsrc/net/tnftp/files/libnetbsd/snprintf.c
C pkgsrc/net/tnftp/files/libnetbsd/strdup.c
U pkgsrc/net/tnftp/files/libnetbsd/strerror.c
C pkgsrc/net/tnftp/files/libnetbsd/strlcat.c
C pkgsrc/net/tnftp/files/libnetbsd/strlcpy.c
U pkgsrc/net/tnftp/files/libnetbsd/strptime.c
C pkgsrc/net/tnftp/files/libnetbsd/strsep.c
C pkgsrc/net/tnftp/files/libnetbsd/strunvis.c
C pkgsrc/net/tnftp/files/libnetbsd/strvis.c
U pkgsrc/net/tnftp/files/libnetbsd/timegm.c
C pkgsrc/net/tnftp/files/libnetbsd/usleep.c
U pkgsrc/net/tnftp/files/libnetbsd/utimes.c
C pkgsrc/net/tnftp/files/src/progressbar.c
C pkgsrc/net/tnftp/files/src/Makefile.in
C pkgsrc/net/tnftp/files/src/cmds.c
C pkgsrc/net/tnftp/files/src/cmdtab.c
C pkgsrc/net/tnftp/files/src/complete.c
C pkgsrc/net/tnftp/files/src/domacro.c
C pkgsrc/net/tnftp/files/src/extern.h
C pkgsrc/net/tnftp/files/src/fetch.c
U pkgsrc/net/tnftp/files/src/ftp.1
C pkgsrc/net/tnftp/files/src/ftp.c
U pkgsrc/net/tnftp/files/src/ftp.cat1
U pkgsrc/net/tnftp/files/src/ftp_var.h
C pkgsrc/net/tnftp/files/src/main.c
U pkgsrc/net/tnftp/files/src/progressbar.h
C pkgsrc/net/tnftp/files/src/ruserpass.c
C pkgsrc/net/tnftp/files/src/util.c
C pkgsrc/net/tnftp/files/src/version.h
62 conflicts created by this import.
Use the following command to help the merge:
cvs checkout -jtnftp:yesterday -jtnftp pkgsrc/net/tnftp/files