From owner-svn-ports-all@freebsd.org Sat Oct 20 10:55:47 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32F0EFCF7EC; Sat, 20 Oct 2018 10:55:47 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5D2889CD2; Sat, 20 Oct 2018 10:55:46 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pl1-x636.google.com with SMTP id c8-v6so16953542plo.9; Sat, 20 Oct 2018 03:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tPH5+hSgyvaj7Bme/9/qAcy5LctZEMSqCo3ZD3BNtes=; b=jx1Nzc5p70afFM1Oq1Z72I3nnCn3HD08bQjKIBzACQ1fHWF9GzmkM+HsikD2Sq3PZq 46GtpED6E7t1IrPYarp7IWKFnEoTJqU9oGW989iG1iivJ+ydccjgTznNfYwP7TNrdSD/ P8eGJfTiFqNLPcEZlgRT9I4PUVf6jcskK1hLTq5BEuZrw/47xxSoEFKaecqZrzDlhIRW 96l5V7R/lgDheZaQB6IncvM2FWbcAOPaDPa00/371Ju5WWbYkZv5gtNdNh+mHq4yLOtN ARzUOdi3GMxH+RzNgtETb4DgD9sGSZyQRfS0y5P9NWyftgA2CIbjhL1UyPWxSfsyHhKY 1v7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=tPH5+hSgyvaj7Bme/9/qAcy5LctZEMSqCo3ZD3BNtes=; b=LvWtOb50WIHdufGNdEvonWfcGDmP77F413aFf6iLbTMtoLjkb0CFbuh8Fldg2XvaDO Bcl1GrfwRpYmCBGtdDITOqgVuSU42mjmcdQylQvsyBZdG0ylhkAFAxu/9XBWrj3pMkbB DlwQSy2QEOmlOgDFs3qjuEix+6l+H5n4e1AAfXzaCxz+8TncoxSY/fq/vqoKeSzV/3xr 9lLygQq8TPKY3FIt2g0yXvbhvufWNYJIP+tBT7nDQ285SPDS6laj9fsiqhB/5rUeA453 TleijyY+yfmdorREBzzlG4m1roScwyWitQqtwld1ysD+kCRAub1QsdY19kNVzLzM20eP eiqQ== X-Gm-Message-State: ABuFfog02zOOyvh53c+Rzvka6jG3Y7/WttYysaR9oTc6+08rPBePwBAG ImCD+qhbPjtyBn3rgNkxTY1uKisiFtc= X-Google-Smtp-Source: ACcGV6374SHQcf4x2AtDoR5BnD2+QzfPpqhPbFj6otoocNZ4XyW7jpyXVlEwe1kMKUlGDZlWhxIOHQ== X-Received: by 2002:a17:902:2825:: with SMTP id e34-v6mr28943372plb.244.1540032944905; Sat, 20 Oct 2018 03:55:44 -0700 (PDT) Received: from [192.168.1.102] ([103.103.242.159]) by smtp.gmail.com with ESMTPSA id b8-v6sm7092987pgm.68.2018.10.20.03.55.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Oct 2018 03:55:44 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r482484 - head/mail/opendkim/files To: Matthias Fechner , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org References: <201810201051.w9KApUNW089133@repo.freebsd.org> From: Kubilay Kocak Message-ID: <101b22e2-14ad-fab4-da14-ac6dcef4eaca@FreeBSD.org> Date: Sat, 20 Oct 2018 21:55:41 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:63.0) Gecko/20100101 Thunderbird/63.0 MIME-Version: 1.0 In-Reply-To: <201810201051.w9KApUNW089133@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sat, 20 Oct 2018 10:55:47 -0000 On 20/10/2018 9:51 pm, Matthias Fechner wrote: > Author: mfechner > Date: Sat Oct 20 10:51:30 2018 > New Revision: 482484 > URL: https://svnweb.freebsd.org/changeset/ports/482484 > > Log: > Update devel/py-pygit2 to version 0.27.2. > > Changelog: https://github.com/libgit2/pygit2/blob/v0.27.2/CHANGELOG.rst > > Reported by: PORTSCOUT > Approved by: mentors (implicit) > > Added: > head/mail/opendkim/files/patch-configure.ac (contents, props changed) > head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c (contents, props changed) Was this the correct log message but with the different files, or the right files, but a different log message? > Added: head/mail/opendkim/files/patch-configure.ac > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/mail/opendkim/files/patch-configure.ac Sat Oct 20 10:51:30 2018 (r482484) > @@ -0,0 +1,50 @@ > +--- configure.ac.orig 2015-05-12 18:43:09 UTC > ++++ configure.ac > +@@ -860,26 +860,28 @@ then > + AC_SEARCH_LIBS([ERR_peek_error], [crypto], , > + AC_MSG_ERROR([libcrypto not found])) > + > +- AC_SEARCH_LIBS([SSL_library_init], [ssl], , > +- [ > +- if test x"$enable_shared" = x"yes" > +- then > +- AC_MSG_ERROR([Cannot build shared opendkim > +- against static openssl libraries. > +- Configure with --disable-shared > +- to get this working or obtain a > +- shared libssl library for > +- opendkim to use.]) > +- fi > + > +- # avoid caching issue - last result of SSL_library_init > +- # shouldn't be cached for this next check > +- unset ac_cv_search_SSL_library_init > +- LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl" > +- AC_SEARCH_LIBS([SSL_library_init], [ssl], , > +- AC_MSG_ERROR([libssl not found]), [-ldl]) > +- ] > +- ) > ++ AC_LINK_IFELSE( > ++ [AC_LANG_PROGRAM([[#include ]], > ++ [[SSL_library_init();]])], > ++ [od_have_ossl="yes";], > ++ [od_have_ossl="no";]) > ++ if test x"$od_have_ossl" = x"no" > ++ then > ++ if test x"$enable_shared" = x"yes" > ++ then > ++ AC_MSG_ERROR([Cannot build shared opendkim > ++ against static openssl libraries. > ++ Configure with --disable-shared > ++ to get this working or obtain a > ++ shared libssl library for > ++ opendkim to use.]) > ++ fi > ++ > ++ LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS -ldl" > ++ AC_SEARCH_LIBS([SSL_library_init], [ssl], , > ++ AC_MSG_ERROR([libssl not found]), [-ldl]) > ++ fi > + > + AC_CHECK_DECL([SHA256_DIGEST_LENGTH], > + AC_DEFINE([HAVE_SHA256], 1, > > Added: head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/mail/opendkim/files/patch-opendkim_opendkim-crypto.c Sat Oct 20 10:51:30 2018 (r482484) > @@ -0,0 +1,30 @@ > +--- opendkim/opendkim-crypto.c.orig 2013-02-25 21:02:41 UTC > ++++ opendkim/opendkim-crypto.c > +@@ -222,7 +222,11 @@ dkimf_crypto_free_id(void *ptr) > + { > + assert(pthread_setspecific(id_key, ptr) == 0); > + > ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 > ++ OPENSSL_thread_stop(); > ++#else > + ERR_remove_state(0); > ++#endif > + > + free(ptr); > + > +@@ -392,11 +396,15 @@ dkimf_crypto_free(void) > + { > + if (crypto_init_done) > + { > ++#if OPENSSL_VERSION_NUMBER >= 0x10100000 > ++ OPENSSL_thread_stop(); > ++#else > + CRYPTO_cleanup_all_ex_data(); > + CONF_modules_free(); > + EVP_cleanup(); > + ERR_free_strings(); > + ERR_remove_state(0); > ++#endif > + > + if (nmutexes > 0) > + { >