svn commit: r434499 - in branches/2017Q1/security/nss: . files

Jan Beich jbeich at FreeBSD.org
Tue Feb 21 02:32:12 UTC 2017


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
+ 


More information about the svn-ports-branches mailing list