rpms/nss/F-12 546221.patch,1.1,1.2 nss.spec,1.126,1.127

Elio Maldonado emaldonado at fedoraproject.org
Sun Dec 20 06:36:22 UTC 2009


Author: emaldonado

Update of /cvs/pkgs/rpms/nss/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv639

Modified Files:
	546221.patch nss.spec 
Log Message:
Removed left over print statements

546221.patch:
 nsssysinit.c |   42 ++++++++++++++++++++++++++++++------------
 1 file changed, 30 insertions(+), 12 deletions(-)

Index: 546221.patch
===================================================================
RCS file: /cvs/pkgs/rpms/nss/F-12/546221.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- 546221.patch	18 Dec 2009 22:36:41 -0000	1.1
+++ 546221.patch	20 Dec 2009 06:36:20 -0000	1.2
@@ -1,16 +1,16 @@
 diff -up nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c.546221 nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c
---- nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c.546221	2009-12-18 10:48:35.969726219 -0800
-+++ nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c	2009-12-18 10:51:05.866851066 -0800
-@@ -54,6 +54,8 @@
- #ifdef XP_UNIX
- #include <sys/stat.h>
- #include <sys/types.h>
-+#include <stdio.h>
-+#include <stdarg.h>
- 
- static int 
- testdir(char *dir)
-@@ -208,8 +210,8 @@ askpw=any timeout=30 ] }  ";
+--- nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c.546221	2009-12-19 21:11:06.590930221 -0800
++++ nss-3.12.5/mozilla/security/nss/lib/sysinit/nsssysinit.c	2009-12-19 21:17:29.019931181 -0800
+@@ -37,8 +37,6 @@
+ #include "prio.h"
+ #include "prprf.h"
+ 
+-
+-
+ /*
+  * The following provides a default example for operating systems to set up
+  * and manage applications loading NSS on their OS globally.
+@@ -208,8 +206,8 @@ askpw=any timeout=30 ] }  ";
  static char **
  get_list(char *filename, char *stripped_parameters)
  {
@@ -21,7 +21,7 @@ diff -up nss-3.12.5/mozilla/security/nss
      int isFIPS = getFIPSMode();
      const char *nssflags = isFIPS ? nssDefaultFIPSFlags : nssDefaultFlags;
      int next = 0;
-@@ -219,17 +221,25 @@ get_list(char *filename, char *stripped_
+@@ -219,13 +217,20 @@ get_list(char *filename, char *stripped_
  	return NULL;
      }
  
@@ -44,18 +44,13 @@ diff -up nss-3.12.5/mozilla/security/nss
          "NSS=\"%sflags=internal%s\"",
          userdb, stripped_parameters, nssflags,
          isFIPS ? ",FIPS" : "");
- 
-+/*	fprintf(stderr, "%s\n\n", module_list[next-1]); */
- 	/* now open the user's defined PKCS #11 modules */
- 	/* skip the local user DB entry */
- 	module_list[next++] = PR_smprintf(
-@@ -238,19 +248,35 @@ get_list(char *filename, char *stripped_
+@@ -238,19 +243,32 @@ get_list(char *filename, char *stripped_
  	    "parameters=\"configdir='sql:%s' %s\" "
  	    "NSS=\"flags=internal,moduleDBOnly,defaultModDB,skipFirst\"", 
  		userdb, stripped_parameters);
-+/*	fprintf(stderr, "%s\n\n", module_list[next-1]); */
-    }
- 
+-   }
++	}
++
 +    if (filename && 0 /* This doesn't actually work. If we register
 +			 both this and the sysdb (in either order)
 +			 then only one of them actually shows up */) {
@@ -64,9 +59,8 @@ diff -up nss-3.12.5/mozilla/security/nss
 +	      "module=\"NSS database\" "
 +	      "parameters=\"configdir='sql:%s' tokenDescription='NSS database sql:%s'\" "
 +	      "NSS=\"%sflags=internal\"",filename, filename, nssflags);
-+	    fprintf(stderr, "%s\n\n", module_list[next-1]);
 +    }
-+
+ 
      /* now the system database (always read only) */
 -    module_list[next++] = PR_smprintf(
 -	"library= "
@@ -79,7 +73,6 @@ diff -up nss-3.12.5/mozilla/security/nss
 +	      "module=\"NSS system database\" "
 +	      "parameters=\"configdir='sql:%s' tokenDescription='NSS system database' flags=readonly\" "
 +	      "NSS=\"%sflags=internal,critical\"",sysdb, nssflags);
-+	    fprintf(stderr, "%s\n\n", module_list[next-1]);
 +    }
  
      /* that was the last module */


Index: nss.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nss/F-12/nss.spec,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -p -r1.126 -r1.127
--- nss.spec	18 Dec 2009 22:40:27 -0000	1.126
+++ nss.spec	20 Dec 2009 06:36:21 -0000	1.127
@@ -7,7 +7,7 @@
 Summary:          Network Security Services
 Name:             nss
 Version:          3.12.5
-Release:          1%{?dist}.8
+Release:          1%{?dist}.10
 License:          MPLv1.1 or GPLv2+ or LGPLv2+
 URL:              http://www.mozilla.org/projects/security/pki/nss/
 Group:            System Environment/Libraries
@@ -478,10 +478,13 @@ rm -rf $RPM_BUILD_ROOT/%{_includedir}/ns
 
 
 %changelog
+* Sat Dec 19 2009 Elio maldonado<emaldona at redhat.com> - 3.12.5-1.10
+- Remove some left over trace statements from nsssysinit patching
+
 * Thu Dec 17 2009 Elio Maldonado<emaldona at redhat.com> - 3.12.5-1.8
 - Fix nsssysinit to set the default flags on the crypto module (#545779)
-- Fix nsssysinit to enable applications to use the system database (#546221)
-- Fix segmentation when listing keys or certs in the database (#540387)
+- Fix nsssysinit to enable apps to use the system cert store, patch contributed by David Woodhouse (#546221)
+- Fix segmentation fault when listing keys or certs in the database, patch contributed by Kamil Dudka (#540387)
 - Sysinit requires coreutils for post install scriplet (#547067)
 - Remove redundant header from the pem module
 




More information about the scm-commits mailing list