From owner-svn-ports-head@freebsd.org Sat Feb 4 07:55:31 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56BD6CD0EEC; Sat, 4 Feb 2017 07:55:31 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2ECE0129A; Sat, 4 Feb 2017 07:55:31 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v147tUdT052159; Sat, 4 Feb 2017 07:55:30 GMT (envelope-from ohauer@FreeBSD.org) Received: (from ohauer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v147tURg052156; Sat, 4 Feb 2017 07:55:30 GMT (envelope-from ohauer@FreeBSD.org) Message-Id: <201702040755.v147tURg052156@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ohauer set sender to ohauer@FreeBSD.org using -f From: Olli Hauer Date: Sat, 4 Feb 2017 07:55:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433285 - in head/mail/postfix-current: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 07:55:31 -0000 Author: ohauer Date: Sat Feb 4 07:55:29 2017 New Revision: 433285 URL: https://svnweb.freebsd.org/changeset/ports/433285 Log: - update to 20170129 - fix build with libressl < 2.5.x Release Notes: ftp://ftp.porcupine.org/mirrors/postfix-release/experimental/postfix-3.2-20170129.RELEASE_NOTES PR: 216732 Submitted by: Bernard Spil Reported by: Piotr Kubaj Obtained from: OpenBSD Added: head/mail/postfix-current/files/patch-src_tls_tls__dh.c (contents, props changed) Modified: head/mail/postfix-current/Makefile head/mail/postfix-current/distinfo Modified: head/mail/postfix-current/Makefile ============================================================================== --- head/mail/postfix-current/Makefile Sat Feb 4 07:41:56 2017 (r433284) +++ head/mail/postfix-current/Makefile Sat Feb 4 07:55:29 2017 (r433285) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postfix -DISTVERSION= 3.2-20161224 +DISTVERSION= 3.2-20170129 PORTREVISION?= 0 PORTEPOCH= 4 CATEGORIES= mail ipv6 Modified: head/mail/postfix-current/distinfo ============================================================================== --- head/mail/postfix-current/distinfo Sat Feb 4 07:41:56 2017 (r433284) +++ head/mail/postfix-current/distinfo Sat Feb 4 07:55:29 2017 (r433285) @@ -1,3 +1,3 @@ -TIMESTAMP = 1482623407 -SHA256 (postfix/postfix-3.2-20161224.tar.gz) = d49a19a1cfd2e8d7a2d5a2f09de90c69b0d2219762b753aa13119c463751002e -SIZE (postfix/postfix-3.2-20161224.tar.gz) = 4377777 +TIMESTAMP = 1485724016 +SHA256 (postfix/postfix-3.2-20170129.tar.gz) = 72e997e8e5b0d9fc8380a990ac2032603b8f4919d07b125f4fb8d28b1ec0b838 +SIZE (postfix/postfix-3.2-20170129.tar.gz) = 4401582 Added: head/mail/postfix-current/files/patch-src_tls_tls__dh.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/postfix-current/files/patch-src_tls_tls__dh.c Sat Feb 4 07:55:29 2017 (r433285) @@ -0,0 +1,48 @@ +PR 216732: Fix build with libressl < 2.5.1 +========================================================= +--- src/tls/tls_dh.c.orig 2016-12-26 23:47:24 UTC ++++ src/tls/tls_dh.c +@@ -94,7 +94,7 @@ + #define TLS_INTERNAL + #include + #include +-#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(OPENSSL_NO_ECDH) ++#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(OPENSSL_NO_ECDH) && !defined(LIBRESSL_VERSION_NUMBER) + #include + #endif + +@@ -244,7 +244,7 @@ DH *tls_tmp_dh_cb(SSL *unused_ssl, i + + void tls_auto_eecdh_curves(SSL_CTX *ctx) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(OPENSSL_NO_ECDH) ++#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(OPENSSL_NO_ECDH) && !defined(LIBRESSL_VERSION_NUMBER) + SSL_CTX *tmpctx; + int *nids; + int space = 5; +@@ -337,14 +337,14 @@ void tls_set_eecdh_curve(SSL_CTX *ser + #define TLS_EECDH_NONE 1 + #define TLS_EECDH_STRONG 2 + #define TLS_EECDH_ULTRA 3 +-#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL ++#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(LIBRESSL_VERSION_NUMBER) + #define TLS_EECDH_AUTO 4 + #endif + static NAME_CODE eecdh_table[] = { + "none", TLS_EECDH_NONE, + "strong", TLS_EECDH_STRONG, + "ultra", TLS_EECDH_ULTRA, +-#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL ++#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(LIBRESSL_VERSION_NUMBER) + "auto", TLS_EECDH_AUTO, + #endif + 0, TLS_EECDH_INVALID, +@@ -364,7 +364,7 @@ void tls_set_eecdh_curve(SSL_CTX *ser + case TLS_EECDH_ULTRA: + curve = var_tls_eecdh_ultra; + break; +-#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL ++#if OPENSSL_VERSION_NUMBER >= 0x1000200fUL && !defined(LIBRESSL_VERSION_NUMBER) + case TLS_EECDH_AUTO: + tls_auto_eecdh_curves(server_ctx); + return;