Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2021 17:10:54 GMT
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0c86d31161b9 - main - mail/fetchmail: Fix build with LibreSSL 3.4
Message-ID:  <202110231710.19NHAsl4026286@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c86d31161b9f576267e5d9cea2f5e18bf89fd2c

commit 0c86d31161b9f576267e5d9cea2f5e18bf89fd2c
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2021-10-23 17:08:00 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2021-10-23 17:08:00 +0000

    mail/fetchmail: Fix build with LibreSSL 3.4
    
    PR:             259214
    Approved by:    Corey Halpin <chalpin cs wisc edu> (maintainer)
---
 mail/fetchmail/files/patch-LibreSSL         | 14 ++++++++++++++
 security/p5-Net-SSLeay/files/patch-LibreSSL | 16 ++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/mail/fetchmail/files/patch-LibreSSL b/mail/fetchmail/files/patch-LibreSSL
new file mode 100644
index 000000000000..15bb350256f2
--- /dev/null
+++ b/mail/fetchmail/files/patch-LibreSSL
@@ -0,0 +1,14 @@
+$OpenBSD: patch-tls-aux_h,v 1.1 2021/07/29 10:44:07 sthen Exp $
+
+Index: tls-aux.h
+--- tls-aux.h.orig
++++ tls-aux.h
+@@ -8,7 +8,7 @@
+ #ifdef SSL_ENABLE
+ #include <openssl/opensslv.h>
+ 
+-# if defined(LIBRESSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x1010000fL
++# if OPENSSL_VERSION_NUMBER < 0x1010000fL
+ #  undef OSSL110_API
+ # else
+ #  define OSSL110_API 1
diff --git a/security/p5-Net-SSLeay/files/patch-LibreSSL b/security/p5-Net-SSLeay/files/patch-LibreSSL
new file mode 100644
index 000000000000..f8a126cb47b1
--- /dev/null
+++ b/security/p5-Net-SSLeay/files/patch-LibreSSL
@@ -0,0 +1,16 @@
+$OpenBSD: patch-SSLeay_xs,v 1.3 2021/09/01 15:04:37 bluhm Exp $
+
+https://github.com/radiator-software/p5-net-ssleay/pull/285/commits/3cea3697bfc75ab3e5f4725eb1588ed9c4bff27a
+
+Index: SSLeay.xs
+--- SSLeay.xs.orig
++++ SSLeay.xs
+@@ -6172,7 +6172,7 @@ SSL_total_renegotiations(ssl)
+   OUTPUT:
+   RETVAL
+ 
+-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL)
+ void
+ SSL_SESSION_get_master_key(s)
+      SSL_SESSION *   s



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110231710.19NHAsl4026286>