Changes from release notes:
* added the Ssh2Connections user module
* added the following SFTPClient methods supporting
streams:SFTPClient::get(), SFTPClient::put()
* fixed bugs retrieving zero-length text files with
SFTPClient::getFile(), SFTPClient::getTextFile(),
SFTPClient::get(), and SFTPClient::retrieveFile()
* fixed bugs streaming data with SFTPClient::transferFile()
and SFTPClient::put()
* argument error in SFTPClient disconnection with
socket errors causes a crash
* infinite loop in SftpPoller polling when
PO_NO_PROCESS_CONTROL is not set and no sleep
option is given
* implement support for additional directories
in SftpPoller
* SftpPoller::run() cannot be synchronized
* compile fixes for Solaris 10 g++
* add constructor option to SftpPoller for checking
if polled directories are writable
* fixed a bug that could cause a crash when an error
occurs in the SFTPClient class
* streaming from SFTP server impossible without user
re-implementing SftpPoller methods
* fixed a bug in libssh2 library initialization
error reporting
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
Patches have been applied upstream.
Release notes:
* fixed crashing bugs handling errors and handle scope in the SFTPClient class
* added the SftpPoller user module
* force socket disconnect in case of a timeout error when trying to
close a file descriptor
* socket performance instrumentation supported in the SFTPClient class
* user modules moved to top-level qore module directory from
version-specific module directory since they are valid for multiple
versions of qore
* fixed a bug where a crash would result when attempting a connection and
libssh2 would not return any user authentication methods
* implemented an automatic disconnection when timeouts occur to avoid
dead connections
* fixed crashing bugs in the SFTPClient class handling disconnect events
when an sftp handle was open; the handle must be closed before the
socket connection is closed or a crash will result
* implemented the SFTPClient::retrieveFile() and SFTPClient::transferFile()
methods
* ported the SFTPClient class tests to QUnit and added tests for the
new methods
* ported test/sftp-poller.q to QUnit
* fixed a bug in socket handling related to asyncronous socket event polling
and select(2) and lack of socket descriptor bounds checking
(issue 714)
* requires Qore 0.8.12+ to build (uses the new QoreValue API)
Problems found locating distfiles:
Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
Package libidea: missing distfile libidea-0.8.2b.tar.gz
Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
Package uvscan: missing distfile vlp4510e.tar.Z
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.
packaged for wip by nros.
The ssh2 module provides Qore the possibility to communicate with sshd
servers via the ssh2 protocol; the underlying functionality is provided
by libssh2.