Date: Tue, 21 Feb 2017 02:32:10 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r434499 - in branches/2017Q1/security/nss: . files Message-ID: <201702210232.v1L2WABF017927@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Feb 21 02:32:10 2017 New Revision: 434499 URL: https://svnweb.freebsd.org/changeset/ports/434499 Log: MFH: r434142 security/nss: stop excessive getpid(2) calls FreeBSD implements pthread_atfork(3) and (as required by a nearby code comment) deregisters callbacks located in dlclose(3)ed shared objects. Take advantage of it instead of looping with getpid(2). Submitted by: cem Approved by: ports-secteam (junovitch) Added: branches/2017Q1/security/nss/files/patch-bug1335284 - copied unchanged from r434142, head/security/nss/files/patch-bug1335284 Modified: branches/2017Q1/security/nss/Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/security/nss/Makefile ============================================================================== --- branches/2017Q1/security/nss/Makefile Tue Feb 21 02:02:17 2017 (r434498) +++ branches/2017Q1/security/nss/Makefile Tue Feb 21 02:32:10 2017 (r434499) @@ -4,7 +4,7 @@ PORTNAME= nss PORTVERSION= 3.28.1 #DISTVERSIONSUFFIX= -with-ckbi-1.98 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src Copied: branches/2017Q1/security/nss/files/patch-bug1335284 (from r434142, head/security/nss/files/patch-bug1335284) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q1/security/nss/files/patch-bug1335284 Tue Feb 21 02:32:10 2017 (r434499, copy of r434142, head/security/nss/files/patch-bug1335284) @@ -0,0 +1,11 @@ +--- lib/softoken/softoken.h.orig 2017-01-04 14:24:24 UTC ++++ lib/softoken/softoken.h +@@ -183,7 +183,7 @@ extern PRBool sftk_fatalError; + + #define CHECK_FORK_MIXED + +-#elif defined(LINUX) ++#elif defined(LINUX) || defined(FREEBSD) || defined(OPENBSD) + + #define CHECK_FORK_PTHREAD +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702210232.v1L2WABF017927>