From owner-svn-ports-all@freebsd.org Mon Sep 12 18:20:25 2016 Return-Path: Delivered-To: svn-ports-all@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 230DABD8252; Mon, 12 Sep 2016 18:20:25 +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 E9DEFE9C; Mon, 12 Sep 2016 18:20:24 +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 u8CIKOU9041791; Mon, 12 Sep 2016 18:20:24 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8CIKOna041789; Mon, 12 Sep 2016 18:20:24 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609121820.u8CIKOna041789@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:20:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421947 - in head/security/xca: . 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2016 18:20:25 -0000 Author: marino Date: Mon Sep 12 18:20:23 2016 New Revision: 421947 URL: https://svnweb.freebsd.org/changeset/ports/421947 Log: security/xca: Fix build with LibreSSL Added: head/security/xca/files/ head/security/xca/files/patch-lib_pki__temp.cpp (contents, props changed) Modified: head/security/xca/Makefile Modified: head/security/xca/Makefile ============================================================================== --- head/security/xca/Makefile Mon Sep 12 18:18:54 2016 (r421946) +++ head/security/xca/Makefile Mon Sep 12 18:20:23 2016 (r421947) @@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT LIB_DEPENDS= libltdl.so:devel/libltdl -USES= desktop-file-utils gmake localbase pkgconfig shared-mime-info -USE_OPENSSL= yes +USES= desktop-file-utils gmake localbase pkgconfig \ + shared-mime-info ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-openssl=${OPENSSLDIR} \ --with-qt=${QT_PREFIX} Added: head/security/xca/files/patch-lib_pki__temp.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/xca/files/patch-lib_pki__temp.cpp Mon Sep 12 18:20:23 2016 (r421947) @@ -0,0 +1,11 @@ +--- lib/pki_temp.cpp.orig 2015-10-10 12:54:12 UTC ++++ lib/pki_temp.cpp +@@ -363,7 +363,7 @@ BIO *pki_temp::pem(BIO *b, int format) + QByteArray ba = toExportData(); + if (!b) + b = BIO_new(BIO_s_mem()); +-#if OPENSSL_VERSION_NUMBER < 0x10002000L ++#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) + PEM_write_bio(b, PEM_STRING_XCA_TEMPLATE, (char*)"", + (unsigned char*)(ba.data()), ba.size()); + #else