rpms/mod_nss/F-13 mod_nss-pcachesignal.h, NONE, 1.1 mod_nss.spec, 1.19, 1.20

rcritten rcritten at fedoraproject.org
Fri May 14 18:13:51 UTC 2010


Author: rcritten

Update of /cvs/extras/rpms/mod_nss/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1816

Modified Files:
	mod_nss.spec 
Added Files:
	mod_nss-pcachesignal.h 
Log Message:
Ignore SIGHUP in nss_pcache (#591889).



--- NEW FILE mod_nss-pcachesignal.h ---
diff -u --recursive mod_nss-1.0.8.orig/nss_pcache.c mod_nss-1.0.8/nss_pcache.c
--- mod_nss-1.0.8.orig/nss_pcache.c	2008-07-02 10:54:06.000000000 -0400
+++ mod_nss-1.0.8/nss_pcache.c	2010-05-14 13:32:57.000000000 -0400
@@ -20,6 +20,7 @@
 #include <seccomon.h>
 #include <pk11func.h>
 #include <secmod.h>
+#include <signal.h>
 #include "nss_pcache.h"
 
 static char * getstr(const char * cmd, int el);
@@ -309,6 +310,8 @@
         exit(1);
     }
 
+    signal(SIGHUP, SIG_IGN);
+
     if (!strcasecmp(argv[1], "on"))
         fipsmode = 1;
 
Only in mod_nss-1.0.8: nss_pcache.c.rej


Index: mod_nss.spec
===================================================================
RCS file: /cvs/extras/rpms/mod_nss/F-13/mod_nss.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- mod_nss.spec	13 May 2010 15:50:00 -0000	1.19
+++ mod_nss.spec	14 May 2010 18:13:51 -0000	1.20
@@ -1,6 +1,6 @@
 Name: mod_nss
 Version: 1.0.8
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: SSL/TLS module for the Apache HTTP server
 Group: System Environment/Daemons
 License: ASL 2.0
@@ -20,6 +20,7 @@ Patch3: mod_nss-wouldblock.patch
 # Add options for tuning client negotiate in NSS
 Patch4: mod_nss-negotiate.patch
 Patch5: mod_nss-reverseproxy.patch
+Patch6: mod_nss-pcachesignal.h
 
 %description
 The mod_nss module provides strong cryptography for the Apache Web
@@ -34,6 +35,7 @@ security library.
 %patch3 -p1 -b .wouldblock
 %patch4 -p1 -b .negotiate
 %patch5 -p1 -b .reverseproxy
+%patch6 -p1 -b .pcachesignal.h
 
 # Touch expression parser sources to prevent regenerating it
 touch nss_expr_*.[chyl]
@@ -118,6 +120,9 @@ fi
 %{_sbindir}/gencert
 
 %changelog
+* Fri May 14 2010 Rob Crittenden <rcritten at redhat.com> - 1.0.8-6
+- Ignore SIGHUP in nss_pcache (#591889).
+
 * Thu May 13 2010 Rob Crittenden <rcritten at redhat.com> - 1.0.8-5
 - Use remote hostname set by mod_proxy to compare to CN in peer cert (#591224)
 



More information about the scm-commits mailing list