Up to [cvs.NetBSD.org] / pkgsrc / security / libssh2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: bump for openssl 3
*: Recursive revision bump for openssl 1.1.1.
Bump PKGREVISION for security/openssl ABI bump.
Updated libssh2 to version 1.6.0.
Changelog:
Changes:
Added libssh2_userauth_publickey_frommemory()
Bug fixes:
wait_socket: wrong use of difftime()
userauth: Fixed prompt text no longer being copied to the prompts struct
mingw build: allow to pass custom CFLAGS
Let mansyntax.sh work regardless of where it is called from
Init HMAC_CTX before using it
direct_tcpip: Fixed channel write
WinCNG: fixed backend breakage
OpenSSL: caused by introducing libssh2_hmac_ctx_init
userauth.c: fix possible dereferences of a null pointer
wincng: Added explicit clear memory feature to WinCNG backend
openssl.c: fix possible segfault in case EVP_DigestInit fails
wincng: fix return code of libssh2_md5_init()
kex: do not ignore failure of libssh2_sha1_init()
scp: fix that scp_send may transmit not initialised memory
scp.c: improved command length calculation
nonblocking examples: fix warning about unused tvdiff on Mac OS X
configure: make clear-memory default but WARN if backend unsupported
OpenSSL: Enable use of OpenSSL that doesn't have DSA
OpenSSL: Use correct no-blowfish #define
kex: fix libgcrypt memory leaks of bignum
libssh2_channel_open: more detailed error message
wincng: fixed memleak in (block) cipher destructor
Update libssh2 to 1.5.0 to address CVE-2015-1782. http://www.libssh2.org/adv_20150311.html Set LICENSE. Changelog: This release includes the following changes: o Added Windows Cryptography API: Next Generation based backend This release includes the following bugfixes: o Security Advisory for CVE-2015-1782, using SSH_MSG_KEXINIT data unbounded o missing _libssh2_error in _libssh2_channel_write o knownhost: Fix DSS keys being detected as unknown. o knownhost: Restore behaviour of `libssh2_knownhost_writeline` with short buffer. o libssh2.h: on Windows, a socket is of type SOCKET, not int o libssh2_priv.h: a 1 bit bit-field should be unsigned o windows build: do not export externals from static library o Fixed two potential use-after-frees of the payload buffer o Fixed a few memory leaks in error paths o userauth: Fixed an attempt to free from stack on error o agent_list_identities: Fixed memory leak on OOM o knownhosts: Abort if the hosts buffer is too small o sftp_close_handle: ensure the handle is always closed o channel_close: Close the channel even in the case of errors o docs: added missing libssh2_session_handshake.3 file o docs: fixed a bunch of typos o userauth_password: pass on the underlying error code o _libssh2_channel_forward_cancel: accessed struct after free o _libssh2_packet_add: avoid using uninitialized memory o _libssh2_channel_forward_cancel: avoid memory leaks on error o _libssh2_channel_write: client spins on write when window full o windows build: fix build errors o publickey_packet_receive: avoid junk in returned pointers o channel_receive_window_adjust: store windows size always o userauth_hostbased_fromfile: zero assign to avoid uninitialized use o configure: change LIBS not LDFLAGS when checking for libs o agent_connect_unix: make sure there's a trailing zero o MinGW build: Fixed redefine warnings. o sftpdir.c: added authentication method detection. o Watcom build: added support for WinCNG build. o configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS o sftp_statvfs: fix for servers not supporting statfvs extension o knownhost.c: use LIBSSH2_FREE macro instead of free o Fixed compilation using mingw-w64 o knownhost.c: fixed that 'key_type_len' may be used uninitialized o configure: Display individual crypto backends on separate lines o examples on Windows: check for WSAStartup return code o examples on Windows: check for socket return code o agent.c: check return code of MapViewOfFile o kex.c: fix possible NULL pointer de-reference with session->kex o packet.c: fix possible NULL pointer de-reference within listen_state o tests on Windows: check for WSAStartup return code o userauth.c: improve readability and clarity of for-loops o examples on Windows: use native SOCKET-type instead of int o packet.c: i < 256 was always true and i would overflow to 0 o kex.c: make sure mlist is not set to NULL o session.c: check return value of session_nonblock in debug mode o session.c: check return value of session_nonblock during startup o userauth.c: make sure that sp_len is positive and avoid overflows o knownhost.c: fix use of uninitialized argument variable wrote o openssl: initialise the digest context before calling EVP_DigestInit() o libssh2_agent_init: init ->fd to LIBSSH2_INVALID_SOCKET o configure.ac: Add zlib to Requires.private in libssh2.pc if using zlib o configure.ac: Rework crypto library detection o configure.ac: Reorder --with-* options in --help output o configure.ac: Call zlib zlib and not libz in text but keep option names o Fix non-autotools builds: Always define the LIBSSH2_OPENSSL CPP macro o sftp: seek: Don't flush buffers on same offset o sftp: statvfs: Along error path, reset the correct 'state' variable. o sftp: Add support for fsync (OpenSSH extension). o _libssh2_channel_read: fix data drop when out of window o comp_method_zlib_decomp: Improve buffer growing algorithm o _libssh2_channel_read: Honour window_size_initial o window_size: redid window handling for flow control reasons o knownhosts: handle unknown key types
Recursive PKGREVISION bump for OpenSSL API version bump.
PKGREVISION bumps for the security/openssl 1.0.1d update.
Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=) It turns out there were a lot of these.
Recursive PKGREVISION bump for jpeg update to 8.
Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
Import libssh2-0.18, a library implementing the SSH2 protocol (available under the revised BSD license).
Initial revision