Up to [cvs.NetBSD.org] / pkgsrc / net / ncftp3
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
ncftp3: updated to 3.2.7 3.2.7 Bug fixes
ncftp3: add reproducibility patch from debian.
net: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts...): net/radsecproxy/distinfo The following distfiles could not be fetched (fetched conditionally?): ./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz ./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch ./net/djbdns/distinfo djbdns-1.05-test28.diff.xz ./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch ./net/djbdns/distinfo djbdns-1.05-multiip.diff ./net/djbdns/distinfo djbdns-cachestats.patch
net: Remove SHA1 hashes for distfiles
3.2.6: If a recursive download operation is also requested with delete mode, attempt to remove empty directories after all files have completed successfully. No longer trying to utime() after every single block on downloads, which could cause noticable performance degradation when the local filesystem was not local. Changed behavior of resuming downloads where the timestamp wasn't preserved (because of the utime change, above). The new behavior is to resume the download when the local copy has a recent timestamp (less than a week). You can now disable use of MFMT like you could similarly disable SITE UTIME (e.g., "-o noMFMT" and "-o noSITE_UTIME"). Now able to use sendfile() for uploads, on Linux/FreeBSD/Mac. Progress reports work too, with a small performance penalty. Ncftpput has a "-s" option to toggle whether it is used (defaults to on in ncftpput and ncftpbatch, off in ncftp). Ncftpbatch/spooler now use larger buffers for pathnames, allowing for deeper directory trees. Ncftpbatch/spooler now interpret a received SIGUSR1 as a hint to exit when the current file has finished. Ncftpbatch/spooler now interpret a received SIGUSR2 to request it to stop sleeping and recheck the queue immediately. Ncftpbatch/spooler's spool files now allow for you to specify that the local and/or remote file be renamed after a successful transfer. Ncftpbatch/spooler now a little less chatty by reducing the number of PWD/CWD operations. Ncftpbatch/spooler now log some xfer stats in its general log file, and ncftpspooler has a new "-x" option to specify a separate xfer log file. Ncftpbatch/spooler now use a larger default maximum for its log file (10 MiB rather than 200 kB), and ncftpspooler has an -O command line option that can set this limit. Use "-O 0" for no maximum. Ncftpbatch/spooler now try to present time in local timezone rather than UTC where possible. Ncftpbatch/spooler now support multiple items per transaction (spool) file.
Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Update to 3.2.5 Changelog: 3.2.5, 2011-01-01 + Fixed a problem on Mac OS X Snow Leopard for universal binary support. + ncftpls now prefers that you omit the leading dash when you use the -x option. For example, if you wanted to try "ls -lrt", then try doing "ncftpls -x lrt" rather than "ncftpls -x -lrt". + If a server's MLSx output returns both the "UNIX.mode" and the "perm" parameters, UNIX.mode will take precedence (Thanks, Jay Kulpinski). + confirm-close is now off by default.
Update ncftp3 to 3.2.4. Add LICENSE. Change Log: 3.2.4, 2010-04-07 * Ncftpget and ncftpput can now read $HOME/.ncftp/bookmarks and take a bookmark name in place of a hostname. If the hostname specified is not fully qualified (i.e. does not contain a period), then bookmarks will be queried; if no bookmarks match, then a local hostname is assumed. Bookmarks are also queried for the config file option, -f, when the file specified by -f does not exist. * Compatibility fixes for FreeBSD 8. * Support for local validation of DNSSEC when combined with libraries available from the DNSSEC Tools project (Thanks, Robert Story). * Microsoft disabled recursive directory listings altogether when fixing KB975254 (Thanks, Andrew Coggeshall). When entire directories are downloaded, instead of using "LIST -R" for one efficient listing of all files, the directories are manually traversed with one directory listing for each subdirectory. This will improve reliability of recursive downloads, except for the case when their are circular symbolic links (which is why "LIST -R" had been favored, which the server can easily handle). * Compatibility fixes for Mac OS X for building from source code (Thanks, Mathieu Rene) the complete changelog is available here: http://www.ncftp.com/ncftp/doc/changelog.html
update to 3.1.9 ok'd by zuntum@ Add a patch from darwinports to disable Framework checks. changes: 3.1.9, 2005-03-19 + Renamed internal libraru function getline() to gl_getline() to avoid namespace collision with glibc. + Renamed internal library function Duration() to FTPDuration() to avoid namespace collision on Mac OS X. + Recognize additional error response codes to SITE UTIME, to prevent using it if the server doesn't support it. + If the server does not support setting timestamps in MDTM, quit trying it if it fails the first time. + Do not allow control characters such as NUL, CR, LF in FTP URLs, to avoid command injection as described by Albert Puigsech Galicia <ripe AT 7a69ezine.org>. + Fixed a problem where a timed-out transfer may have been detected but still locked up the process (Thanks, IWAI, Masaharu). + Ncftpget and ncftpput now accept a "-C" parameter which is similar to the "-c" option (ftp "cat" mode), where stdin (stdout) is not used and the filename is specified as a parameter instead. This is useful if you don't want to specify a password on the command line. + Ncftpput now allows the "-m" option in conjunction with the "-c" or "-C" options. + Small compatibility fixes for Mac OS X, Solaris 10, Linux. 3.1.8.1, 2004-07-27 + A fix for some DNS resolution problems on Linux.
Add RMD160 digests.
Ensure the manpages are always installed under PREFIX/man instead of PREFIX/share/man. The later may happen if that directory exists if created by another package. Fixes PR pkg/28959.
update to ncftp-3.1.8 patch submitted by Ove Soerensen in PR 26810 3.1.8.1, 2004-07-27 + A fix for some DNS resolution problems on Linux. 3.1.8, 2004-07-07 + Ncftpget, ncftpput, and ncftpls now try to erase the arguments to the -u/-p/-j (user, password, account) options so they do not show in a "ps" command (Thanks, Konstantin Gavrilenko). + Recognize broken IBM mainframe FTP servers and work around them. + Working around a problem with ProFTPD 1.2.9 and later which would cause recursive downloads to fail. + Fixed a bug where ncftpput in recursive mode could lock up if you used a trailing slash on the directory to upload. + For the malicious server problem that was addressed in 3.1.5, enhanced the fix for better compatibility with mainframe FTP servers. + Ncftpget, ncftpput, and ncftpls, and ncftp's open command now accept an additional advanced option (-o) which lets you do things like disable NcFTP's use of SITE UTIME, FEAT, HELP SITE, etc. + Several HP-UX 10 compatibility bugs fixed (Thanks, Laurent FAILLIE). + A couple of looping problems with ncftpbatch fixed (Thanks, George Goffe). + Bug fixed with the upload socket buffer not being set (Thanks, ybobble). + The utility programs now accept "-" for the config file name used with "-f" to denote standard input (Thanks, Jeremy Monin). + Bug fixed with ncftpput when using both -c and -A (Thanks, Ken Woodmansee). + Support for boldface text in Windows version (Thanks, Adam Gates). 3.1.7, 2004-01-07 + Fixed a memory leak introduced in 3.1.6. + Fixed problem where it was assumed that daylight saving's time occurred at the same time each year for all timezones. + Bug fixed with running a shell escape. + Ncftpget now uses passive-with-fall-back-to-port mode like ncftpput and ncftpls. + Problem fixed with "ls -a" where occasionally a row with ".." and another file would be omitted. + Ncftpbatch now uses the UTC timezone for spool files. + The configure script can now detect when the config.cache file has been improperly recycled from a machine with a different OS. + The Windows version now uses the USERPROFILE environment variable, if it was set, as the location of the user's home directory. + Recognize broken DG/UX servers and work around them.
Update to 3.1.6, provided by Hiramatsu Yoshifumi in PR 22979. 3.1.6, 2003-08-25 + Fixed an important bug that was causing socket leaks on Windows. + Added support for GCC 3.4 precompiled headers. + Aborting transfers is now more robust. + Re-fixed a problem where high ASCII characters at the NcFTP prompt could cause it to exit. + Bug fixed where timeouts may not have worked. + To the improved ASCII handling from 3.1.5, added another case where we workaround files sent by a buggy FTP server implementation whose files have CR+CR+LF end-of-lines. + More fixes related to the above, as well as few other fixes from Martin StorsjÃ. + Bug fixed where an upload filename could have been limited to 127 characters. + Firewall exception hosts are no longer case sensitive. + Bug fixed in ncftpput's "-c" option so it works with the "-f" option (Thanks, ITO Tsuyoshi). + Ncftpbatch will now try to temporarily skip a failing host in the current run (Thanks, Eric Engstrom). + Bug fixed where a several minute delay would be incurred if you tried to transfer a file that did not exist. + For the malicious server problem that was addressed in 3.1.5, enhanced the fix for better compatibility with Serv-U and WS_FTP servers. 3.1.5, 2002-10-13 + Problem fixed where a malicious or trojaned FTP server could send back pathnames with directories different from the directory requested. For example, if you did: cd /pub get *.zip the malicious server could send back a pathname like ../../../some/other/dir/filename.here rather than pathnames such as filename.zip and trick NcFTP into writing into a different local pathname if your user privileges had permission to write it. For details, see the CERT Vulnerability Note, at http://www.kb.cert.org/vuls/id/210409 + Bug fixed where cd messages from remote server were not being displayed. + It's now possible to capture the output of the progress reports from ncftpget/put by redirecting descriptor(s) to a file. Previous releases required a "tty" to enable progress reports. + Compatibility fixes for AIX, Linux, Mac OS X, IRIX 6.2 and SunOS 4. + Be less pedantic about incorrectly formatted multi-line responses. + Bug fixed where NcFTP could hang at exit. + For ASCII transfers, try harder to handle non-native end-of-line formats. 3.1.4, 2002-07-02 + Bug fixed in Win32 port which could cause NcFTP to mis-parse output from Roxen FTP servers. + We now try to have ncftpbatch leave a core file for debugging if it exits with SIGSEGV, SIGBUS, or SIGILL. + Fixed(?) an elusive bug which had been present for the past few versions which could cause ncftpbatch to infinite loop or sleep too long. + New configure flag, --disable-ccdv. + Compatibility fixes for C++ and Linux. + Fixed a socket leak and a crash on Win32. + A few minor fixes for firewall logins (Thanks, Jochen Schnapka). + By default, proxy connections for PORT are no longer allowed. This is mostly an extra security precaution, to eliminate cases where someone could hijack a data connection by connecting to us after we issue PORT but before the server could connect to us. + ncftpls now accepts a "-R" flag which is equivalent to "-x -lR". + Bugs fixed in configure script for our "--with-*" arguments (Thanks, David Kaelbling). + A few new firewalls (permutations of type 1). (Thanks, Felix Buenemann) 3.1.3, 2002-03-27 + Bug fixed on Solaris where a socket could be left in non-blocking mode. + Ls parsing is now more forgiving of weird /bin/ls implementations (AIX). + Be more lenient on broken server implementations which include extra blank lines in the control connection conversation. + Fix for ncftpget which was exiting with code 3 if URL mode was used and the file already existed. + Fix for resume prompts which in some cases was printing dates in the format like "Sun Feb 20:02:15 CST 2002" instead of "Sun Feb 24 20:02:15 CST 2002". (I.e. the day of the month was missing.) + Compatibility fixes for IRIX 5.x and AIX 4.2.x. + Compatibility fixes for Cygwin (Thanks, Charles Wilson <cwilson AT ece.gatech.edu>). + Some extra debugging information is now logged to the trace logs. + When running the Windows bookmark editor in standalone mode, the program may not have launched NcFTP correctly with the selected bookmark (Thanks, Jochen.Erwied AT mbs-software.de). 3.1.2, 2002-01-30: + A fix for the local hostname detection code which could result with only the first character of the domain appended, rather than the entire domain (Thanks, Bernhard Sadlowski <sadlowsk AT mathematik.uni-bielefeld.de>). + Another bug fixed in local hostname detection where looking up the host by IP address was not done correctly. + Fixed a few portability problems on HP-UX 10.20 which were introduced in 3.1.0. + Fixed bug with readdir_r usage on Solaris, which could cause crashes when doing "put -R", among other things. + On Linux, use gethostbyname2_r() to specify that we only want IPv4 addresses returned. + Reversing behavior from 3.1.0 where we did a shutdown() on the half of the socket that wasn't used. We suspect this was causing some firewalls and routers to panic and assume the whole connection was to be closed. + Bug fixed where an unresolvable hostname caused a pointless connection attempt which would fail. + Shell utilities now print an error message when incompatible flags are used in conjunction with "-b" or "-c". + A few fixes for ncftpbatch. + Numerous fixes for SOCKS5. 3.1.1, 2001-12-23: + Fixed bugs with our use of gethostbyname_r/addr_r on Linux. + Fixed bugs with our implementation of stat64() on Windows, which caused problems when querying information about local directories. + Source distributions now include install-sh again. + Bug fixed with Win32 version of ncftpbookmarks, which could look in $HOME/.ncftp rather than $HOME/ncftp. Many Win32 users weren't affected, since the HOME environment variable is not always set. 3.1.0, 2001-12-17: + ACCT is now always sent if the server requests it and you're going through the firewall. + Bug fixed where puts could delay a few seconds unnecessarily after the file had been sent. + Bug fixed where passwords were saved if you chose to autosave bookmarks. NcFTP also makes an effort to avoid saving passwords in the history and trace files if you foolishly use passwords on your command lines. + Bug fixed on Win32 port where putting a file that did not exist could cause a crash. + The "-r" (recursive) flag is back for "bgget" and "bgput". We now spool the directory by creating individual spool files for each file in the directory, which should increase reliability and usability of this feature. + The binary packages should be a bit leaner, since ncftpls wasn't getting stripped. + Library optimizations should result in less unneeded code included with programs that use the libraries. The binaries should be smaller as a result. + Recursive uploading has been substantially reworked. "put -R" should now work better, especially on the Win32 port. Arbitrary pathname sizes have also been removed, so directory trees should only be limited by available memory and stack space. + Huge number of lint fixes. NcFTP now compiles cleanly on several platforms even with extra warning options enabled. + Large number of internal changes to the configure scripts. + Using my cool hack, "ccdv", in Makefiles. Originally this became a necessity since some platforms could have $CFLAGS 4 or 5 lines long! Besides streamlining the build process so that lint warnings can easily be spotted, the builds are pleasing to the eye with ANSI color if your $TERM supports it. + Fixed bug where Win32 $HOME bug fixed for 3.0.4 wasn't fixed for ncftpbookmarks. + Fixes for large file support for the Win32 port. + Bugs fixed in Win32 port of ncftpbatch. + A few bug fixes for getline. + The default ASCII extensions list no longer include ".sh", since Sun apparently distributes the JDK as a shell script with binary data appended. 3.0.4, 2001-10-24: + Workaround new "feature" of glibc which defines printf as a macro if gcc is version 2.97 or later. + Bug fixed from 3.0.3 that caused ^Z (suspend) to quit ncftp when it was brought back to the foreground. + Bug fixed where large file support (LFS) was disabled on most systems. + New "ncftpspooler" utility program (actually a hard link to "ncftpbatch") serves as a "Global batch FTP job processor daemon." + The utility program ncftpget now has a "-c" flag like ncftpput has. + Utility programs can now accept more than one -W/-X/-Y option, if multiple commands are needed. + When changing directories, programs will try to change to the full path first, then fall back to using "change one subdir at a time" mode. + Bug fixed where using the "delete local file after upload" option and the "upload into temp file, then rename" option, the local file would get deleted anyway if the rename failed. + Compatibility fixes for HP-UX. + Internal limits increased to handle longer command lines and more parameters. + Improvement to the reliability of the Win32 version by using the _snprintf and _vsnprintf functions rather than sprintf and vsprintf. + A few more tweaks for MS-DOS pathname compatibility. + A tweak for better compatibility with Microsoft IIS. + A few tweaks for Cygwin support. + Fixes for --sysconfdir configure option courtesy of Christian Wiesgerber. + SOCKS5 is back in, but we don't support it. + Improved Y2K bug detection in remote servers. + Changed naming format for bgget/put spool files. The contents are now documented; see the ncftpspooler man page. + Bug fixed in Win32 port which used $HOME rather than $HOME/ncftp as the UNIX equivalent of the $HOME/.ncftp directory. Since most folks won't have a $HOME environment variable on Win32, you'll probably not notice the change.
Buildlinkify.
Update ncftp3 to version 3.0.3: Sorry for dirty-looking list of changes but fmt didn't help much and I don't want to spend whole day reworking it.. o Preference options can now be "file" completed on the command line with the set/show/prefs commands. o NcFTP directory changes are now always one subdirectory at a time, for better portability on remote servers with non-UNIX filesystems. o NcFTP tries to maintain the current directory itself, like /bin/ksh and Bash do, which means that symlinks remain part of the current working directory when possible. For example, on ftp.freesoftware.com if your current directory is /pub and you "cd linux", NcFTP will use /pub/linux as the current directory, even though the canonical directory on the server is /.0/linux. This is also useful for things like Linux's Kernel.org mirrors, so if you bgget a kernel.tar.gz file the "virtual" current directory is used rather than a specific-machine's layout. o Mac OS X support added. No Mac or Aqua specific features yet. o NcFTP now has an option to automatically use ASCII mode for transfers if the file's extension corresponds to a textual data file type. o Using homegrown gl_getpass in place of getpass() and getpassphrase for all platforms, not just Windows.. o Incorporating a few getline suggestions from Ken Cox. o Configuration tweaks for Cygwin port. o Removed some arbitrary buffer size limits. o Lint fixes. o Curses configuration fixes for HP-UX. o Shell utilities now have a "-bb" flag which is just like "-b" only the job is submitted only (and no ncftpbatch is spawned). o More problems fixed with interaction with Windows FTP servers. o Better compatibility with non-standard extensions to the FTP which allow for TCP Large Windows (specifically, SITE BUFSIZE). o Win32 port had a bug which leaked file handles. o Miscellaneous Win32 port fixes. o Changed default anonymous password to NcFTP@, since no one really cares any more about using a real e-mail address. o Bug fixed where some types of servers' features might not be queried. o Fixed some inconsistencies with the -a and -A flags among NcFTP and the shell utilities. "-a" is now ASCII mode across the board, and "-A" is the flag to use for append mode (which not many people use anyway). o Bug fixed where the flag for delete after upload (-DD) was being ignored. o You can now do "set yes-i-know-about-NcFTPd yes" from a NcFTP prompt to get it to quit plugging NcFTPd every 7th time you run the program. o Like the system-wide /etc/ncftp.firewall and /etc/ncftp.firewall.fixed files for global preferences, there is now the equivalent for regular preference files (/etc/ncftp.prefs_v3 and /etc/ncftp.prefs_v3.fixed). o The ncftpbatch spool files now support some additional options for sending additional FTP commands. The options are called "pre-command", "post-command", and "per-file-command". This is useful if you need to send some odd SITE command before transfer, for example. o Similarly, ncftpget and ncftpput have new -W/-X/-Y switches so you can send pre/each/post commands. (i.e. "-W SITE MY_WEIRD_IBM_MAINFRAME_OPTION"). o Bug fixed where NcFTP was not taking advantage of re-using a currently open host when exiting and launching ncftpbatch. If you bgget a file from within NcFTP, then exit while the host is still connected, ncftpbatch is supposed to inherit that existing context without having to reopen the host. o When using a URL with ncftpget, you can do "-a" to have it use ASCII. Prior versions forced to you use the little-known URL syntax to specify ASCII mode (btw, example of that is "ftp://ftp.foo.com/pub/README.TXT;a") o Bug fixed where our handling of the TCP_NODELAY option was not getting enabled. o A few tweaks for C++ compatibility.
Move to sha1 checksum, and/or add distfile sizes.
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo