pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tnftp/files Merge tnftp 20070806.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bb953c3811db
branches: trunk
changeset: 531825:bb953c3811db
user: lukem <lukem%pkgsrc.org@localhost>
date: Tue Aug 07 02:06:54 2007 +0000
description:
Merge tnftp 20070806.
diffstat:
net/tnftp/files/COPYING | 4 +-
net/tnftp/files/ChangeLog | 181 +-
net/tnftp/files/Makefile.in | 2 +-
net/tnftp/files/README | 23 +-
net/tnftp/files/acconfig.h | 105 -
net/tnftp/files/aclocal.m4 | 257 -
net/tnftp/files/config.h.in | 672 +-
net/tnftp/files/configure | 14065 +++++++++++++++++++------
net/tnftp/files/configure.in | 379 -
net/tnftp/files/install-sh | 251 -
net/tnftp/files/libedit/Makefile.in | 2 +-
net/tnftp/files/libedit/chared.c | 2 +-
net/tnftp/files/libedit/chared.h | 2 +-
net/tnftp/files/libedit/common.c | 2 +-
net/tnftp/files/libedit/editline.3 | 2 +-
net/tnftp/files/libedit/editrc.5 | 2 +-
net/tnftp/files/libedit/el.c | 2 +-
net/tnftp/files/libedit/el.h | 2 +-
net/tnftp/files/libedit/emacs.c | 2 +-
net/tnftp/files/libedit/hist.c | 2 +-
net/tnftp/files/libedit/hist.h | 2 +-
net/tnftp/files/libedit/histedit.h | 2 +-
net/tnftp/files/libedit/history.c | 2 +-
net/tnftp/files/libedit/key.c | 2 +-
net/tnftp/files/libedit/key.h | 2 +-
net/tnftp/files/libedit/makelist.in | 2 +-
net/tnftp/files/libedit/map.c | 2 +-
net/tnftp/files/libedit/map.h | 2 +-
net/tnftp/files/libedit/parse.c | 2 +-
net/tnftp/files/libedit/parse.h | 2 +-
net/tnftp/files/libedit/prompt.c | 2 +-
net/tnftp/files/libedit/prompt.h | 2 +-
net/tnftp/files/libedit/read.c | 2 +-
net/tnftp/files/libedit/read.h | 2 +-
net/tnftp/files/libedit/readline/readline.h | 2 +-
net/tnftp/files/libedit/refresh.c | 2 +-
net/tnftp/files/libedit/refresh.h | 2 +-
net/tnftp/files/libedit/search.c | 2 +-
net/tnftp/files/libedit/search.h | 2 +-
net/tnftp/files/libedit/sig.c | 2 +-
net/tnftp/files/libedit/sig.h | 2 +-
net/tnftp/files/libedit/sys.h | 2 +-
net/tnftp/files/libedit/term.c | 2 +-
net/tnftp/files/libedit/term.h | 2 +-
net/tnftp/files/libedit/tokenizer.c | 2 +-
net/tnftp/files/libedit/tty.c | 2 +-
net/tnftp/files/libedit/tty.h | 2 +-
net/tnftp/files/libedit/vi.c | 2 +-
net/tnftp/files/libnetbsd/Makefile.in | 2 +-
net/tnftp/files/libnetbsd/err.c | 2 +-
net/tnftp/files/libnetbsd/fgetln.c | 10 +-
net/tnftp/files/libnetbsd/fparseln.c | 207 -
net/tnftp/files/libnetbsd/fseeko.c | 2 +-
net/tnftp/files/libnetbsd/ftpglob.h | 21 +-
net/tnftp/files/libnetbsd/ftpvis.h | 2 +-
net/tnftp/files/libnetbsd/getaddrinfo.c | 12 +-
net/tnftp/files/libnetbsd/getnameinfo.c | 4 +-
net/tnftp/files/libnetbsd/glob.c | 41 +-
net/tnftp/files/libnetbsd/inet_ntop.c | 29 +-
net/tnftp/files/libnetbsd/inet_pton.c | 33 +-
net/tnftp/files/libnetbsd/mkstemp.c | 2 +-
net/tnftp/files/libnetbsd/setprogname.c | 2 +-
net/tnftp/files/libnetbsd/sl_init.c | 2 +-
net/tnftp/files/libnetbsd/snprintf.c | 8 +-
net/tnftp/files/libnetbsd/strdup.c | 2 +-
net/tnftp/files/libnetbsd/strerror.c | 2 +-
net/tnftp/files/libnetbsd/strlcat.c | 2 +-
net/tnftp/files/libnetbsd/strlcpy.c | 2 +-
net/tnftp/files/libnetbsd/strptime.c | 13 +-
net/tnftp/files/libnetbsd/strsep.c | 2 +-
net/tnftp/files/libnetbsd/strtoll.c | 2 +-
net/tnftp/files/libnetbsd/strunvis.c | 2 +-
net/tnftp/files/libnetbsd/strvis.c | 2 +-
net/tnftp/files/libnetbsd/timegm.c | 2 +-
net/tnftp/files/libnetbsd/usleep.c | 6 +-
net/tnftp/files/libnetbsd/utimes.c | 2 +-
net/tnftp/files/src/Makefile.in | 3 +-
net/tnftp/files/src/cmds.c | 292 +-
net/tnftp/files/src/cmdtab.c | 19 +-
net/tnftp/files/src/complete.c | 51 +-
net/tnftp/files/src/domacro.c | 23 +-
net/tnftp/files/src/extern.h | 23 +-
net/tnftp/files/src/fetch.c | 383 +-
net/tnftp/files/src/ftp.1 | 219 +-
net/tnftp/files/src/ftp.c | 614 +-
net/tnftp/files/src/ftp.cat1 | 250 +-
net/tnftp/files/src/ftp_var.h | 40 +-
net/tnftp/files/src/main.c | 134 +-
net/tnftp/files/src/progressbar.c | 81 +-
net/tnftp/files/src/progressbar.h | 8 +-
net/tnftp/files/src/ruserpass.c | 94 +-
net/tnftp/files/src/util.c | 275 +-
net/tnftp/files/src/version.h | 8 +-
net/tnftp/files/tnftp.h | 359 +-
net/tnftp/files/todo | 16 +-
95 files changed, 12833 insertions(+), 6492 deletions(-)
diffs (truncated from 24108 to 300 lines):
diff -r 5e86412ea335 -r bb953c3811db net/tnftp/files/COPYING
--- a/net/tnftp/files/COPYING Tue Aug 07 00:06:31 2007 +0000
+++ b/net/tnftp/files/COPYING Tue Aug 07 02:06:54 2007 +0000
@@ -1,6 +1,6 @@
-NetBSD: COPYING,v 1.5 2005/05/28 13:15:14 lukem Exp
+$NetBSD: COPYING,v 1.5 2007/08/07 02:06:54 lukem Exp $
-Copyright (c) 2001-2005 The NetBSD Foundation, Inc.
+Copyright (c) 2001-2007 The NetBSD Foundation, Inc.
All rights reserved.
This code is derived from software contributed to The NetBSD Foundation
diff -r 5e86412ea335 -r bb953c3811db net/tnftp/files/ChangeLog
--- a/net/tnftp/files/ChangeLog Tue Aug 07 00:06:31 2007 +0000
+++ b/net/tnftp/files/ChangeLog Tue Aug 07 02:06:54 2007 +0000
@@ -1,4 +1,183 @@
-NetBSD: ChangeLog,v 1.30 2005/06/25 06:27:32 lukem Exp
+$NetBSD: ChangeLog,v 1.7 2007/08/07 02:06:54 lukem Exp $
+
+Mon Aug 6 04:55:19 UTC 2007 lukem
+
+ * Release as "tnftp 20070806"
+
+ * Add a NEWS file.
+
+ * Reduce differences between NetBSD-ftp and local copy.
+
+ * Merge NetBSD ftp from 20070605 to 20070722.
+ Changes:
+ - Document about:ftp and about:version.
+
+ * Add autoconf check for (Dante) SOCKS5.
+ (Needs run-time testing and more portability testing.)
+
+Mon Jul 23 11:44:42 UTC 2007 lukem
+
+ * Don't use non-standard: u_char u_short u_int.
+ Use uint32_t instead of u_int32_t.
+
+ * Consistently use AS_CASE() and AS_IF() in configure.ac.
+
+ * Don't use defined() with HAVE_DECL_xxx.
+ Use `LL' instead of `L' suffix for fallback
+ defines of LLONG_MIN and LLONG_MAX.
+
+Sun Jul 22 12:00:17 UTC 2007 lukem
+
+ * Include <arpa/nameser.h> if available, and provide fallback #defines.
+
+ * Sync with lib/libc/inet/inet_pton.c 1.3:
+ * Sync to bind 9.3.x version
+ * Update ISC copyright
+ * Fix some lint
+
+ * Sync with lib/libc/inet/inet_ntop.c 1.3:
+ * Sync to bind 9.3.x version
+ * Update ISC copyright
+ * Use socklen_t instead of size_t
+ * Use snprintf() instead of SPRINTF()
+ * Improve detection of various boundary conditions
+
+ * Sync to NetBSD glob.h 1.21, glob.c 1.16:
+ * Standards compliance fix
+ * De-lint
+ * Don't overflow when DEBUG is defined.
+
+ * Sync fgetln.c to tools/compat/fgetln.c 1.7:
+ * Clause 3 removal.
+
+ * Sync to config.guess 2007-07-22, config.sub 2007-06-28.
+
+ * Consistency tweaks in configure help strings.
+
+ * Add check for struct sockaddr.sa_len.
+ Change tests for HAVE_foo to defined(HAVE_foo).
+ Replace HAVE_SOCKADDR_SA_LEN with HAVE_STRUCT_SOCKADDR_SA_LEN.
+
+ * Remove pretence of supporting SOCKS for now;
+ no test system is available, and the old
+ autoconf 2.13 support wasn't upgraded to 2.61.
+
+ * configure.ac style consistency tweaks.
+ Move autoconf aux files from ./ to build-aux/
+
+ * Remove duplicate HAVE_STRERROR replacement in tnftp.h.
+
+Thu Jun 7 04:47:47 UTC 2007 lukem
+
+ * Merge NetBSD ftp from 20070510 to 20070605. Changes:
+ - Enforce restriction that (http) proxied URL fetchs don't
+ support being restarted at this time.
+ Addresses NetBSD Problem Report 28697.
+ - Display times in RFC2822 form rather than using ctime(3),
+ since the former is more explicit about the timezone offset.
+ - main: call tzset() to ensure TZ is setup for other <time.h>
+ functions.
+ - remotemodtime(): use strptime() to parse the reply.
+ - fetch_url(): ensure struct tm is zeroed before calling
+ strptime().
+ - Modify parse_url() to consistently strip the leading `/'
+ off ftp URLs.
+ Fixes NetBSD Problem Report 17617.
+ - Use 'RFCnnnn' (with leading 0) instead of 'RFC nnnn', to be
+ consistent with the style in the RFC index.
+ - Refer to RFC3916 instead of 1738 or 2732.
+ - Expand the list of supported RFCs in ftp(1) to contain the
+ document name as well.
+
+Fri May 11 04:39:55 UTC 2007 lukem
+
+ * Update INSTALL and COPYING.
+
+ * Rename HAVE_QUAD_SUPPORT to HAVE_PRINTF_LONG_LONG, and only
+ require support for 'long long' in that check rather than
+ needing sizeof(off_t)>=8, as some systems have a separate
+ off64_t when Large File Support is enabled.
+
+ * config.guess: treat 'i86xen:SunOS:5.*' as 'i86pc:SunOS:5.*'
+
+Thu May 10 15:23:33 UTC 2007 lukem
+
+ * Remove checks for util.h and libutil.h, and replacement for
+ fparseln(), since fparseln() isn't used any more.
+
+ * Merge NetBSD ftp from 20070418 to 20070510. Changes:
+ - Switch from fparseln() to the internal getline() when
+ parsing HTTP headers. Makes ftp a bit more portable
+ (not needing fparseln()) at the expense of not supporting
+ arbitrary long header lines, which I'm not concerned about
+ because we don't support header line continuation either...
+ - Replace references from draft-ietf-ftpext-mlst-NN to RFC 3659.
+ - Fix misplaced const.
+ - Implement copy_bytes() to copy bytes from one fd to another
+ via the provided buffer, with optional rate-limiting and
+ hash-mark printing, using one loop and handle short writes.
+ Refactor sendrequest() and recvrequest() to use copy_data().
+ Addresses NetBSD Problem Report 15943.
+
+Wed May 9 05:24:55 UTC 2007 lukem
+
+ * Fix typo in poll()-based implementation of usleep() replacement.
+
+Wed May 9 04:58:50 UTC 2007 lukem
+
+ * Rename configure.in to configure.ac, as the latter is the
+ preferred name in autoconf 2.61.
+
+ * Convert from autoconf 2.13 to 2.61:
+ * Use a consistent quoting mechanism.
+ * Use modern autoconf macros, #define names, etc.
+ * Search for more header files, and only #include if found.
+ * Remove old-style config.h.in generation.
+ This may fix various tests on platforms such as FreeBSD and OS X.
+
+ * Add -Wl,-search_paths_first to LDFLAGS on OS X (Darwin) if the
+ linker supports it. This is needed so we use our libedit
+ rather than the system one.
+
+ XXX: SOCKS support is currently disabled until I update the
+ autoconf support.
+
+Mon Apr 23 06:04:26 UTC 2007 lukem
+
+ * Merge NetBSD ftp from 20050610 to 20070418. Changes:
+ - Add '-s srcaddr'.
+ - Use IEC 60027-2 2^N based "KiB", "MiB" (etc) instead of
+ 10^n "KB", "MB", ...
+ - Recognize 307 redirect code.
+ - Suppress printing non-COMPLETE reply strings when EPSV/EPRT
+ fails and we fall-back to PASV/PORT. Should fix a problem
+ with the emacs ftp wrapper.
+ - Fix display of 'Continue with <cmd>' messages.
+ - Prevent segfaults in .netrc parsing.
+ - Flush stdout before each command; ftp as slave process on
+ a pipe should work.
+ - getpass() can return NULL in some implementations; cope.
+ - Support '-q quittime' when waiting for server replies.
+ - Various spelling & grammatical fixes in the manual.
+ - Plug some memory leaks.
+ - If a file upload (via -u) fails, return an non-zero exit
+ value based on the index of the file that caused the
+ problem (a la auto-fetch retrieval).
+ - Coverity fixes for CIDs: 873 874 875 1447 1448 2194 2195 3610
+ - Don't remove trailing character during auth_url()
+ - Fix progressbar display on narrow terminals (<43 columns)
+
+Fri Mar 16 06:00:14 UTC 2007 lukem
+
+ * Change the return value of the replacement gai_strerror()
+ from "char *" to "const char *", to match the current
+ standards.
+ Problem noted by Thomas Klausner.
+
+Thu Oct 26 07:24:22 UTC 2006 lukem
+
+ * Correctly parse "AM" and "PM" in the replacement strptime().
+ Problem noted by Kathryn Hogg.
Sat Jun 25 06:27:00 UTC 2005 lukem
diff -r 5e86412ea335 -r bb953c3811db net/tnftp/files/Makefile.in
--- a/net/tnftp/files/Makefile.in Tue Aug 07 00:06:31 2007 +0000
+++ b/net/tnftp/files/Makefile.in Tue Aug 07 02:06:54 2007 +0000
@@ -1,4 +1,4 @@
-# NetBSD: Makefile.in,v 1.3 2005/05/11 03:03:42 lukem Exp
+# $NetBSD: Makefile.in,v 1.3 2007/08/07 02:06:54 lukem Exp $
#
srcdir = @srcdir@
diff -r 5e86412ea335 -r bb953c3811db net/tnftp/files/README
--- a/net/tnftp/files/README Tue Aug 07 00:06:31 2007 +0000
+++ b/net/tnftp/files/README Tue Aug 07 02:06:54 2007 +0000
@@ -11,26 +11,29 @@
derivatives) include:
* command-line editing within ftp
* command-line fetching of URLS, including support for:
- - http proxies (c.f: $http_proxy, $ftp_proxy)
+ - http proxies (see $http_proxy, $ftp_proxy)
- authentication
* configurable prompt
* context sensitive command and filename completion
* dynamic progress bar
* feature negotiation extensions from RFC 2389
- (c.f: `feat' and `remopts')
+ (see `feat' and `remopts')
* extensions to ftp from the IETF ftpext working group
- (c.f: `mlsd' and `mlst')
+ (see `mlsd' and `mlst')
* IPv6 support (from the WIDE project)
* modification time preservation
* paging of local and remote files, and of directory listings
- (c.f: `lpage', `page', `pdir')
+ (see `lpage', `page', `pdir')
* passive mode support, with fallback to active mode
- * retrieval of filenames listed in a given file (c.f: `fget')
+ * retrieval of filenames listed in a given file (see `fget')
* `set option' override of ftp environment variables
- * socks4/socks5 support
- * TIS Firewall Toolkit gate ftp proxy support (c.f: `gate')
- * transfer-rate throttling (c.f: `-T', `rate')
- * uploading of files on the command line (c.f: `-u')
+ * TIS Firewall Toolkit gate ftp proxy support (see `gate')
+ * transfer-rate throttling (see `-T', `rate')
+ * uploading of files on the command line (see `-u')
+ * (Dante) SOCKS5 support
+
+Previous features, currently disabled until a test system is available:
+ * SOCKS4 support
INSTALLATION
@@ -62,4 +65,4 @@
DOCUMENT REFERENCE
------------------
-NetBSD: README,v 1.6 2005/05/11 03:05:52 lukem Exp
+$NetBSD: README,v 1.4 2007/08/07 02:06:54 lukem Exp $
diff -r 5e86412ea335 -r bb953c3811db net/tnftp/files/acconfig.h
--- a/net/tnftp/files/acconfig.h Tue Aug 07 00:06:31 2007 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,105 +0,0 @@
-/* NetBSD: acconfig.h,v 1.8 2005/06/25 06:14:08 lukem Exp */
-
-@TOP@
-@BOTTOM@
-
-/* Define if your compiler supports `long long' */
-#undef HAVE_LONG_LONG
-
-/* Define if *printf() uses %qd to print `long long' (otherwise uses %lld) */
-#undef HAVE_PRINTF_QD
-
-/* Define if in_port_t exists */
-#undef HAVE_IN_PORT_T
-
-/* Define if sa_family_t exists in <sys/socket.h> */
-#undef HAVE_SA_FAMILY_T
-
-/* Define if struct sockaddr.sa_len exists (implies sockaddr_in.sin_len, etc) */
-#undef HAVE_SOCKADDR_SA_LEN
-
-/* Define if socklen_t exists */
-#undef HAVE_SOCKLEN_T
-
-/* Define if AF_INET6 exists in <sys/socket.h> */
-#undef HAVE_AF_INET6
-
-/* Define if `struct sockaddr_in6' exists in <netinet/in.h> */
-#undef HAVE_SOCKADDR_IN6
-
-/* Define if `struct addrinfo' exists in <netdb.h> */
-#undef HAVE_ADDRINFO
-
-/* Define if NS_IN6ADDRSZ exists in <arpa/nameser.h> */
-#undef HAVE_NS_IN6ADDRSZ
-
-/*
- * Define if <netdb.h> contains AI_NUMERICHOST et al.
- * Systems which only implement RFC2133 will need this.
- */
Home |
Main Index |
Thread Index |
Old Index