Bug 215788

Summary: [Maintainer] news/nzbget: patch to fix problems with TLS handshake.
Product: Ports & Packages Reporter: Toxic <toxic>
Component: Individual Port(s)Assignee: Torsten Zuehlsdorff <tz>
Status: Closed FIXED    
Severity: Affects Some People CC: tz
Priority: --- Flags: tz: merge-quarterly+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to news/nzbget
none
Poudriere build log 10.3 amd64 none

Description Toxic 2017-01-05 05:45:47 UTC
Created attachment 178533 [details]
Patch to news/nzbget

I've gotten a series of reports of TLS handshake failures from users who installed the prebuilt nzbget package.

This appears to be a bug upstream (and may be a regression), and occurs when nzbget 17.1 is linked to GnuTLS 3.4.x and is launched as a daemon.

The attached patch changes the default configuration to use OpenSSL instead of GnuTLS.  It also corrects some path and variable name issues in the pkg-message.
Comment 1 Toxic 2017-01-05 05:58:33 UTC
Created attachment 178534 [details]
Poudriere build log 10.3 amd64
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-01-10 09:30:02 UTC
A commit references this bug:

Author: tz
Date: Tue Jan 10 09:29:32 UTC 2017
New revision: 431072
URL: https://svnweb.freebsd.org/changeset/ports/431072

Log:
  news/nzbget: Switch default option from GNUTLS to OPENSSL

  There are a series of reports of TLS handshake failures from users of the port.
  Upstream responds to this reports with "Use OpenSSL instead of GNU TLS".
  Therefore the maintainer decided to switch the default option to OPENSSL.

  PR:            215788
  Submitted by:  Toxic (maintainer)
  MFH:           2017Q1

Changes:
  head/news/nzbget/Makefile
  head/news/nzbget/files/pkg-message.in
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-01-11 10:01:01 UTC
A commit references this bug:

Author: tz
Date: Wed Jan 11 10:00:45 UTC 2017
New revision: 431168
URL: https://svnweb.freebsd.org/changeset/ports/431168

Log:
  MFH: r431072

  news/nzbget: Switch default option from GNUTLS to OPENSSL

  There are a series of reports of TLS handshake failures from users of the port.
  Upstream responds to this reports with "Use OpenSSL instead of GNU TLS".
  Therefore the maintainer decided to switch the default option to OPENSSL.

  PR:            215788
  Submitted by:  Toxic (maintainer)

  Approved by:   ports-secteam (junovitch)

Changes:
_U  branches/2017Q1/
  branches/2017Q1/news/nzbget/Makefile
  branches/2017Q1/news/nzbget/files/pkg-message.in
Comment 4 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2017-01-11 10:02:30 UTC
Now merged into quarterly branch! Everything is done, thanks for the PR! :)