Bug 237613

Summary: [patch] mail/nullmailer: Fix send fail with interrupted/again calls on GnuTLS
Product: Ports & Packages Reporter: David Hauweele <david>
Component: Individual Port(s)Assignee: freebsd-ports-bugs mailing list <ports-bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: david
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
GnuTLS patches for tls[io]buf.cc none

Description David Hauweele 2019-04-27 22:35:48 UTC
Created attachment 204073 [details]
GnuTLS patches for tls[io]buf.cc

With the latest version of GnuTLS, nullmailer fails for SMTP TLS sends because it doesn't check for gnutls_record_(send|recv) E_AGAIN/E_INTERRUPTED error codes. The two attached patches fix this for the latest port revision. 

This was also partially fixed in the latest upstream version of nullmailer. However it doesn't build on FreeBSD at the moment.
Comment 1 commit-hook freebsd_committer 2019-05-30 01:48:30 UTC
A commit references this bug:

Author: swills
Date: Thu May 30 01:47:54 UTC 2019
New revision: 503026
URL: https://svnweb.freebsd.org/changeset/ports/503026

Log:
  mail/nullmailer: Fix send fail on GnuTLS

  PR:		237613
  Submitted by:	David Hauweele <david@hauweele.net>

Changes:
  head/mail/nullmailer/Makefile
  head/mail/nullmailer/files/patch-lib_fdbuf_tlsibuf.cc
  head/mail/nullmailer/files/patch-lib_fdbuf_tlsobuf.cc
Comment 2 Steve Wills freebsd_committer 2019-05-30 01:49:01 UTC
Committed, thanks!