Bug 237541

Summary: security/libssh2: Update to 1.8.2, fix broken userauth module in 1.8.1
Product: Ports & Packages Reporter: Craig Leres <leres>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: sbz
Priority: --- Keywords: patch
Version: LatestFlags: sbz: maintainer-feedback+
sbz: merge-quarterly+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
patch swills: maintainer-approval? (sbz)

Description Craig Leres freebsd_committer freebsd_triage 2019-04-24 22:35:37 UTC
Starting with 1.8.1, libssh2_userauth_publickey_fromfile() returns LIBSSH2_ERROR_SOCKET_SEND (-7) for a call that completes successfully with 1.8.0. This problem is fixed by 1.8.2:

    https://www.libssh2.org/changes.html

Bug fixes:

    - Fixed the misapplied userauth patch that broke 1.8.1
    - moved the MAX size declarations from the public header

As discussed offline this is a MFH candidate.
Comment 1 Craig Leres freebsd_committer freebsd_triage 2019-04-24 22:36:00 UTC
Created attachment 203988 [details]
patch
Comment 2 Craig Leres freebsd_committer freebsd_triage 2019-04-24 23:03:37 UTC
Created attachment 203989 [details]
patch

(Leave PORTEPOCH alone, I didn't intend on removing it.)
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-04-30 11:13:16 UTC
A commit references this bug:

Author: swills
Date: Tue Apr 30 11:12:28 UTC 2019
New revision: 500478
URL: https://svnweb.freebsd.org/changeset/ports/500478

Log:
  security/libssh2: Update to 1.8.2

  Fixes broken userauth module in 1.8.1

  PR:		237541
  Submitted by:	leres
  Approved by:	sbz (maintainer)
  MFH:		2019Q2

Changes:
  head/security/libssh2/Makefile
  head/security/libssh2/distinfo
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-04-30 11:14:19 UTC
A commit references this bug:

Author: swills
Date: Tue Apr 30 11:13:48 UTC 2019
New revision: 500479
URL: https://svnweb.freebsd.org/changeset/ports/500479

Log:
  MFH: r500478

  security/libssh2: Update to 1.8.2

  Fixes broken userauth module in 1.8.1

  PR:		237541
  Submitted by:	leres
  Approved by:	sbz (maintainer)

  Approved by:	ports-secteam (implicit)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/security/libssh2/Makefile
  branches/2019Q2/security/libssh2/distinfo
Comment 5 Steve Wills freebsd_committer freebsd_triage 2019-04-30 11:15:06 UTC
Committed, thanks!