Bug 237613 - [patch] mail/nullmailer: Fix send fail with interrupted/again calls on GnuTLS
Summary: [patch] mail/nullmailer: Fix send fail with interrupted/again calls on GnuTLS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2019-04-27 22:35 UTC by David Hauweele
Modified: 2019-05-30 01:49 UTC (History)
1 user (show)

See Also:

GnuTLS patches for tls[io]buf.cc (2.13 KB, patch)
2019-04-27 22:35 UTC, David Hauweele
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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

  mail/nullmailer: Fix send fail on GnuTLS

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

Comment 2 Steve Wills freebsd_committer 2019-05-30 01:49:01 UTC
Committed, thanks!