From owner-svn-ports-all@freebsd.org Wed Jan 31 21:00:33 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 2183EEE1592; Wed, 31 Jan 2018 21:00:33 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C99B277CF5; Wed, 31 Jan 2018 21:00:32 +0000 (UTC) (envelope-from jbeich@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C49752B072; Wed, 31 Jan 2018 21:00:32 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0VL0WiH025771; Wed, 31 Jan 2018 21:00:32 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0VL0WwL025765; Wed, 31 Jan 2018 21:00:32 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801312100.w0VL0WwL025765@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 31 Jan 2018 21:00:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r460530 - in branches/2018Q1: mail/thunderbird mail/thunderbird/files www/firefox-esr www/firefox-esr/files www/seamonkey www/seamonkey/files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2018Q1: mail/thunderbird mail/thunderbird/files www/firefox-esr www/firefox-esr/files www/seamonkey www/seamonkey/files X-SVN-Commit-Revision: 460530 X-SVN-Commit-Repository: ports 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.25 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: Wed, 31 Jan 2018 21:00:33 -0000 Author: jbeich Date: Wed Jan 31 21:00:31 2018 New Revision: 460530 URL: https://svnweb.freebsd.org/changeset/ports/460530 Log: MFH: r460357 www/firefox-esr: work around race on sqlite3 init PR: 225364 Obtained from: upstream (Firefox 56) Approved by: ports-secteam (swills) Added: branches/2018Q1/mail/thunderbird/files/patch-bug1380706 - copied unchanged from r460357, head/mail/thunderbird/files/patch-bug1380706 branches/2018Q1/www/firefox-esr/files/patch-bug1380706 - copied unchanged from r460357, head/www/firefox-esr/files/patch-bug1380706 branches/2018Q1/www/seamonkey/files/patch-bug1380706 - copied unchanged from r460357, head/www/seamonkey/files/patch-bug1380706 Modified: branches/2018Q1/mail/thunderbird/Makefile branches/2018Q1/www/firefox-esr/Makefile branches/2018Q1/www/seamonkey/Makefile Directory Properties: branches/2018Q1/ (props changed) Modified: branches/2018Q1/mail/thunderbird/Makefile ============================================================================== --- branches/2018Q1/mail/thunderbird/Makefile Wed Jan 31 20:58:28 2018 (r460529) +++ branches/2018Q1/mail/thunderbird/Makefile Wed Jan 31 21:00:31 2018 (r460530) @@ -3,6 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 52.6.0 +PORTREVISION= 1 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source Copied: branches/2018Q1/mail/thunderbird/files/patch-bug1380706 (from r460357, head/mail/thunderbird/files/patch-bug1380706) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/mail/thunderbird/files/patch-bug1380706 Wed Jan 31 21:00:31 2018 (r460530, copy of r460357, head/mail/thunderbird/files/patch-bug1380706) @@ -0,0 +1,36 @@ +commit 10b55207992c +Author: Kai Engert +Date: Fri Jul 14 15:31:30 2017 +0200 + + Bug 1380706, PSM should depend on mozStorage, as a workaround for a sqlite3_config race, r=keeler +--- + security/manager/ssl/nsNSSComponent.cpp | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git security/manager/ssl/nsNSSComponent.cpp security/manager/ssl/nsNSSComponent.cpp +index f51f8af47d51..a82c1ed61fba 100644 +--- mozilla/security/manager/ssl/nsNSSComponent.cpp ++++ mozilla/security/manager/ssl/nsNSSComponent.cpp +@@ -13,6 +13,7 @@ + #include "SharedSSLState.h" + #include "cert.h" + #include "certdb.h" ++#include "mozStorageCID.h" + #include "mozilla/ArrayUtils.h" + #include "mozilla/Assertions.h" + #include "mozilla/Casting.h" +@@ -2032,6 +2033,14 @@ nsNSSComponent::Init() + return NS_ERROR_NOT_AVAILABLE; + } + ++ // To avoid a sqlite3_config race in NSS init, as a workaround for ++ // bug 730495, we require the storage service to get initialized first. ++ nsCOMPtr storageService = ++ do_GetService(MOZ_STORAGE_SERVICE_CONTRACTID); ++ if (!storageService) { ++ return NS_ERROR_NOT_AVAILABLE; ++ } ++ + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("Beginning NSS initialization\n")); + + nsresult rv = InitializePIPNSSBundle(); Modified: branches/2018Q1/www/firefox-esr/Makefile ============================================================================== --- branches/2018Q1/www/firefox-esr/Makefile Wed Jan 31 20:58:28 2018 (r460529) +++ branches/2018Q1/www/firefox-esr/Makefile Wed Jan 31 21:00:31 2018 (r460530) @@ -4,7 +4,7 @@ PORTNAME= firefox DISTVERSION= 52.6.0 DISTVERSIONSUFFIX=esr -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ Copied: branches/2018Q1/www/firefox-esr/files/patch-bug1380706 (from r460357, head/www/firefox-esr/files/patch-bug1380706) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/firefox-esr/files/patch-bug1380706 Wed Jan 31 21:00:31 2018 (r460530, copy of r460357, head/www/firefox-esr/files/patch-bug1380706) @@ -0,0 +1,36 @@ +commit 10b55207992c +Author: Kai Engert +Date: Fri Jul 14 15:31:30 2017 +0200 + + Bug 1380706, PSM should depend on mozStorage, as a workaround for a sqlite3_config race, r=keeler +--- + security/manager/ssl/nsNSSComponent.cpp | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git security/manager/ssl/nsNSSComponent.cpp security/manager/ssl/nsNSSComponent.cpp +index f51f8af47d51..a82c1ed61fba 100644 +--- security/manager/ssl/nsNSSComponent.cpp ++++ security/manager/ssl/nsNSSComponent.cpp +@@ -13,6 +13,7 @@ + #include "SharedSSLState.h" + #include "cert.h" + #include "certdb.h" ++#include "mozStorageCID.h" + #include "mozilla/ArrayUtils.h" + #include "mozilla/Assertions.h" + #include "mozilla/Casting.h" +@@ -2032,6 +2033,14 @@ nsNSSComponent::Init() + return NS_ERROR_NOT_AVAILABLE; + } + ++ // To avoid a sqlite3_config race in NSS init, as a workaround for ++ // bug 730495, we require the storage service to get initialized first. ++ nsCOMPtr storageService = ++ do_GetService(MOZ_STORAGE_SERVICE_CONTRACTID); ++ if (!storageService) { ++ return NS_ERROR_NOT_AVAILABLE; ++ } ++ + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("Beginning NSS initialization\n")); + + nsresult rv = InitializePIPNSSBundle(); Modified: branches/2018Q1/www/seamonkey/Makefile ============================================================================== --- branches/2018Q1/www/seamonkey/Makefile Wed Jan 31 20:58:28 2018 (r460529) +++ branches/2018Q1/www/seamonkey/Makefile Wed Jan 31 21:00:31 2018 (r460530) @@ -3,8 +3,8 @@ PORTNAME= seamonkey DISTVERSION= 2.49.1 -PORTREVISION= 7 MOZILLA_VER= 52 # above + 3 +PORTREVISION= 8 CATEGORIES?= www mail news editors irc ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build4/source Copied: branches/2018Q1/www/seamonkey/files/patch-bug1380706 (from r460357, head/www/seamonkey/files/patch-bug1380706) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q1/www/seamonkey/files/patch-bug1380706 Wed Jan 31 21:00:31 2018 (r460530, copy of r460357, head/www/seamonkey/files/patch-bug1380706) @@ -0,0 +1,36 @@ +commit 10b55207992c +Author: Kai Engert +Date: Fri Jul 14 15:31:30 2017 +0200 + + Bug 1380706, PSM should depend on mozStorage, as a workaround for a sqlite3_config race, r=keeler +--- + security/manager/ssl/nsNSSComponent.cpp | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git security/manager/ssl/nsNSSComponent.cpp security/manager/ssl/nsNSSComponent.cpp +index f51f8af47d51..a82c1ed61fba 100644 +--- mozilla/security/manager/ssl/nsNSSComponent.cpp ++++ mozilla/security/manager/ssl/nsNSSComponent.cpp +@@ -13,6 +13,7 @@ + #include "SharedSSLState.h" + #include "cert.h" + #include "certdb.h" ++#include "mozStorageCID.h" + #include "mozilla/ArrayUtils.h" + #include "mozilla/Assertions.h" + #include "mozilla/Casting.h" +@@ -2032,6 +2033,14 @@ nsNSSComponent::Init() + return NS_ERROR_NOT_AVAILABLE; + } + ++ // To avoid a sqlite3_config race in NSS init, as a workaround for ++ // bug 730495, we require the storage service to get initialized first. ++ nsCOMPtr storageService = ++ do_GetService(MOZ_STORAGE_SERVICE_CONTRACTID); ++ if (!storageService) { ++ return NS_ERROR_NOT_AVAILABLE; ++ } ++ + MOZ_LOG(gPIPNSSLog, LogLevel::Debug, ("Beginning NSS initialization\n")); + + nsresult rv = InitializePIPNSSBundle();