summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Antonio Huete Jimenez [Tue, 6 Dec 2022 20:16:03 +0000 (21:16 +0100)]
vendor/TNFTP: Import tnftp-
20210827
For a detailed list of changes, please check ChangeLog.
John Marino [Wed, 4 Nov 2015 16:54:26 +0000 (17:54 +0100)]
Vendor branch: Upgrade from CVS (7 JUN 2014) to release (
20151004)
Since 2006, DragonFly has synced with NetBSD's TNFTP program using CVS.
This isn't necessary; NetBSD actually publishes releases. Let's move
over to the release tarballs from this point forward.
The file hierarchy changes as a result; the sources files in the tarball
are located in the "src" subdirectory.
Peter Avalos [Sat, 7 Jun 2014 16:15:09 +0000 (09:15 -0700)]
Sync ftp with NetBSD.
* Fix timeout on http fetches.
* Let progressmeter deal with a timeout.
Obtained-from: NetBSD
Peter Avalos [Sun, 7 Apr 2013 04:34:01 +0000 (21:34 -0700)]
Import tnftp-
20121224.
* Add https support.
* When using the response to SYST to decide whether to default to
'binary' be a lot less specific.
Obtained-from: NetBSD
Peter Avalos [Wed, 11 Jul 2012 06:45:26 +0000 (23:45 -0700)]
ftp: Sync with NetBSD:
make -R work the same in ftp:// like it does for http:// (i.e. work if
there is no local file).
Don't display expected EHOSTUNREACH for all but
the last connect attempts in terse mode.
When given an URL that contains "://" but is not recognised,
print an error message.
Remove unnecessary Bk/Ek pairs from SYNOPSIS.
Peter Avalos [Sun, 8 Jan 2012 20:36:27 +0000 (12:36 -0800)]
ftp: Import NetBSD's latest version.
Move determination of socket buffer sizes from startup to the first
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).
Use __dead
Fix warnings.
Obtained-from: NetBSD
Peter Avalos [Wed, 15 Dec 2010 05:40:35 +0000 (19:40 -1000)]
Snyc tnftp with NetBSD:
Fix numerous WARNS issues.
Rename internal getline() function to get_line() to prevent conflicts.
Rename argument from "bool" to "val".
Parse HTTP 'Date' entries in the `C' locale rather than the user's.
Avoid NULL dereference in log output if the command line parser
failed to extract a port number from the URL.
Use AF_INET instead of AF_UNSPEC as the default family if
!defined(INET6).
In ftpvis(), prevent incomplete escape sequences at end of dst,
and ensure NUL-termination of dst. Also tweak for readibility.
Peter Avalos [Sat, 17 May 2008 21:46:19 +0000 (21:46 +0000)]
Sync with NetBSD:
Use the service name to getaddrinfo() (along with the host name), so that
features such as DNS Service Discovery have a better chance of working.
Display the service name in various status & error messages.
Don't getservbyname() the :port component of a URL; RFC 3986 says it's
just an unsigned number, not a service name.
Only attempt to el_parse() a command unknown by the default parser
if editing is enabled.
Fixes NetBSD PR bin/38589
Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4
and ipv6 respectively.
Peter Avalos [Sat, 9 Feb 2008 18:35:32 +0000 (18:35 +0000)]
Sync tnftp with NetBSD:
Rename HAVE_STRUCT_SOCKADDR_SA_LEN to HAVE_STRUCT_SOCKADDR_IN_SIN_LEN
to accurately reflect the structure member being used.
Turn off the alarmtimer before resetting the SIGALRM handler back to SIG_DFL.
Peter Avalos [Sat, 25 Aug 2007 21:05:27 +0000 (21:05 +0000)]
Improve parsing of chunked transfer chunks per RFC2616:
* more stringent chunk-size parsing
* ignore optional trailing ';chunk-ext' stuff, instead of barfing
* detect EOF before final \r\n.
Peter Avalos [Sat, 4 Aug 2007 15:09:31 +0000 (15:09 +0000)]
Sync with NetBSD:
- Fix up display of interrupted prompts.
- Modify parse_url() to consistently strip the leading `/' off ftp URLs.
- Display times in RFC2822.
- Enforce restriction that (http) proxied URL fetchs don't support
being restarted.
Peter Avalos [Sat, 21 Apr 2007 20:18:21 +0000 (20:18 +0000)]
Sync with NetBSD. In addition to some bug fixes, this brings in -s srcaddr
functionality -- using srcaddr as the local IP address for the connection.
Peter Avalos [Wed, 8 Nov 2006 21:21:34 +0000 (21:21 +0000)]
Import of NetBSD's ftp client under its new name (tnftp)