`tnftp' (formerly lukemftp) is what many users affectionately call the enhanced
ftp client in NetBSD.
The enhancements over the standard ftp client in 4.4BSD include:
* command-line editing within ftp
* command-line fetching of URLS, including support for:
- http proxies (c.f: $http_proxy, $ftp_proxy)
- authentication
* context sensitive command and filename completion
* dynamic progress bar
* IPv6 support (from the WIDE project)
* modification time preservation
* paging of local and remote files, and of directory listings
(c.f: `lpage', `page', `pdir')
* passive mode support, with fallback to active mode
* `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')
ftp/tnftp: Update to 20260211
Changes since tnftp 20230507:
- Improve transfer performance by simplifying socket buffer and transfer
buffer handling.
- Add -b BUFLEN to adjust size of buffer for HTTP response line parsing.
- Add -h HEADER to support custom HTTP headers.
- Add "connect" as a synonym for "open".
- Fix ASCII mode transfers when progress bar is enabled.
- Fix creation of empty downloaded files.
- Exit non-zero if a HTTP transfer is shorter than expected.
- Fix HTTPS through a proxy.
MFH: 2026Q1
ftp/tnftp: Update to 20230507
* Release as "tnftp 20230507".
* Consistency fixes in ChangeLog and NEWS.
* Merge NetBSD ftp from 20230226 to 20230505:
- Add timeout for SSL connection setup, defaulting to 60 seconds
- Consistently use poll(2) instead of select(2).
- Check EAGAIN as well as EINTR.
- Simplify includes.
ftp/tnftp: Add mirrors and switch to DISTVERSION
- Switch to DISTVERSION as suggested by Porters Handbook
- Make use of NetBSD's CDN and add a few additional mirrors
while here:
- Add WWW url
PR: 270732
ftp/tnftp: Add license
[1]
tnftp contains a mix of BSD2CLAUSE (mostly the NetBSD
derived code) and BSD3CLAUSE (inherited from the orignal UCB BSD code).
tnftp was previously BSD4CLAUSE but that was fixed in the upstream code
a while ago so I changed the COPYING to reflect that. It's no more
restrictive than BSD3CLAUSE now.
Suggested by: [1] Luke Mewburn <lukem@NetBSD.org>
Suggested by: rodrigo, salvadore
ftp/tnftp: Adopt/Update to 20230409
ChangeLog:
* Release as "tnftp 20230409".
* Use better terminology.
* Merge NetBSD ftp from 20210826 to 20230226:
- Add option sslnoverify to control validation of SSL
certificates.
- Add netrc processing to fetch-mode (URL on command line) to
enable options and autologin via netrc.
- Fix SSL cleanup in some error paths.
- Support SSL certificate validation by default.
FTPSSLNOVERIFY=1 in the environment to disable validation.
- Handle relative URLs.
- Improve ftp(1) markup.
- Fix -? in a more portable manner.
- Equivalent to "NetBSD-ftp 20230225" with documentation and
portability fixes.
ftp: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Alexander Kriventsov
* Anders Nordby <anders@fix.no>
* Andreas Fehlner <fehlner@gmx.de>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
* Chris Piazza <cpiazza@FreeBSD.org>
* Damjan Marion <dmarion@open.hr>
* Emanuel Haupt <ehaupt@critical.ch>
* Eric Freeman <freebsdports@chillibear.com>
(Only the first 15 lines of the commit message are shown above )
- add "old/" directory to MASTER_SITES to prevent fetch problems in
future. [1]
- pet portlint
Pointed out by: Vsevolod Stakhov <vsevolod@highsecure.ru> [1]
Approved by: Tom McLaughlin (maintainer)