From owner-svn-ports-head@freebsd.org Mon Sep 12 18:28:21 2016 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 ABE38BD83F8; Mon, 12 Sep 2016 18:28:21 +0000 (UTC) (envelope-from marino@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 7C04D5F7; Mon, 12 Sep 2016 18:28:21 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8CISKtj045553; Mon, 12 Sep 2016 18:28:20 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8CISKIP045552; Mon, 12 Sep 2016 18:28:20 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609121828.u8CISKIP045552@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Mon, 12 Sep 2016 18:28:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421949 - head/security/strongswan/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: Mon, 12 Sep 2016 18:28:21 -0000 Author: marino Date: Mon Sep 12 18:28:20 2016 New Revision: 421949 URL: https://svnweb.freebsd.org/changeset/ports/421949 Log: security/strongswan: Fix build with LibreSSL Approved by: SSL blanket Added: head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c (contents, props changed) Added: head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/strongswan/files/patch-src_libstrongswan_plugins_openssl_openssl__plugin.c Mon Sep 12 18:28:20 2016 (r421949) @@ -0,0 +1,11 @@ +--- src/libstrongswan/plugins/openssl/openssl_plugin.c.orig 2016-06-30 14:20:10 UTC ++++ src/libstrongswan/plugins/openssl/openssl_plugin.c +@@ -573,7 +573,7 @@ plugin_t *openssl_plugin_create() + }, + ); + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + /* note that we can't call OPENSSL_cleanup() when the plugin is destroyed + * as we couldn't initialize the library again afterwards */ + OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG |