svn commit: r485924 - in head/mail/postfix: . files

Olli Hauer ohauer at FreeBSD.org
Mon Nov 26 06:59:19 UTC 2018


Author: ohauer
Date: Mon Nov 26 06:59:17 2018
New Revision: 485924
URL: https://svnweb.freebsd.org/changeset/ports/485924

Log:
  - fix build with libressl 2.8.2
  
  PR:             233517 233527
  Submitted by:   Andrej Ebert
  Reported by:	Herbert J. Skuhra

Modified:
  head/mail/postfix/Makefile
  head/mail/postfix/files/patch-src_tls_tls__server.c

Modified: head/mail/postfix/Makefile
==============================================================================
--- head/mail/postfix/Makefile	Mon Nov 26 06:44:58 2018	(r485923)
+++ head/mail/postfix/Makefile	Mon Nov 26 06:59:17 2018	(r485924)
@@ -3,7 +3,7 @@
 
 PORTNAME=	postfix
 DISTVERSION=	3.3.2
-PORTREVISION?=	0
+PORTREVISION?=	1
 PORTEPOCH=	1
 CATEGORIES=	mail ipv6
 MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/ \

Modified: head/mail/postfix/files/patch-src_tls_tls__server.c
==============================================================================
--- head/mail/postfix/files/patch-src_tls_tls__server.c	Mon Nov 26 06:44:58 2018	(r485923)
+++ head/mail/postfix/files/patch-src_tls_tls__server.c	Mon Nov 26 06:59:17 2018	(r485924)
@@ -1,4 +1,4 @@
---- src/tls/tls_server.c.orig	2016-08-27 20:27:50 UTC
+--- src/tls/tls_server.c.orig	2018-11-17 22:33:15 UTC
 +++ src/tls/tls_server.c
 @@ -174,7 +174,7 @@ static const char server_session_id_cont
  #endif					/* OPENSSL_VERSION_NUMBER */
@@ -18,7 +18,16 @@
  
      /*
       * Initialize the OpenSSL library by the book! To start with, we must
-@@ -588,7 +588,7 @@ TLS_APPL_STATE *tls_server_init(const TL
+@@ -486,7 +486,7 @@ TLS_APPL_STATE *tls_server_init(const TL
+      * OpenSSL 0.9.8h, while SSL_NO_TICKET was added in 0.9.8f.
+      */
+ #ifdef SSL_OP_NO_TICKET
+-#if !defined(OPENSSL_NO_TLSEXT) && OPENSSL_VERSION_NUMBER >= 0x0090808fL
++#if !defined(OPENSSL_NO_TLSEXT) && OPENSSL_VERSION_NUMBER >= 0x0090808fL && !defined(LIBRESSL_VERSION_NUMBER)
+     ticketable = (*var_tls_tkt_cipher && scache_timeout > 0
+ 		  && !(off & SSL_OP_NO_TICKET));
+     if (ticketable) {
+@@ -595,7 +595,7 @@ TLS_APPL_STATE *tls_server_init(const TL
      /*
       * 2015-12-05: Ephemeral RSA removed from OpenSSL 1.1.0-dev
       */


More information about the svn-ports-all mailing list