Date: Tue, 14 Feb 2017 21:49:26 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r434142 - in head/security/nss: . files Message-ID: <201702142149.v1ELnQLL064397@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Tue Feb 14 21:49:25 2017 New Revision: 434142 URL: https://svnweb.freebsd.org/changeset/ports/434142 Log: 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 MFH: 2017Q1 Added: head/security/nss/files/patch-bug1335284 (contents, props changed) Modified: head/security/nss/Makefile (contents, props changed) Modified: head/security/nss/Makefile ============================================================================== --- head/security/nss/Makefile Tue Feb 14 21:05:34 2017 (r434141) +++ head/security/nss/Makefile Tue Feb 14 21:49:25 2017 (r434142) @@ -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 Added: head/security/nss/files/patch-bug1335284 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/nss/files/patch-bug1335284 Tue Feb 14 21:49:25 2017 (r434142) @@ -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?201702142149.v1ELnQLL064397>