- Update to NSS_3_12_10_BETA1

- Update nss-539183.patch for new 3.12.10 sources
This commit is contained in:
Elio Maldonado 2011-04-27 18:05:46 -07:00
parent 508cdeae12
commit 976de5ebbe
4 changed files with 20 additions and 38 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
nss-3.12.9-stripped.tar.bz2 nss-3.12.10-stripped.tar.bz2
nss-pem-20101125.tar.bz2 nss-pem-20101125.tar.bz2
blank-cert8.db blank-cert8.db
blank-key3.db blank-key3.db

View File

@ -1,18 +1,9 @@
Index: mozilla/security/nss/cmd/selfserv/selfserv.c diff -up ./mozilla/security/nss/cmd/selfserv/selfserv.c.539183 ./mozilla/security/nss/cmd/selfserv/selfserv.c
=================================================================== --- ./mozilla/security/nss/cmd/selfserv/selfserv.c.539183 2011-04-27 15:24:07.922128850 -0700
RCS file: /cvsroot/mozilla/security/nss/cmd/selfserv/selfserv.c,v +++ ./mozilla/security/nss/cmd/selfserv/selfserv.c 2011-04-27 15:27:11.053271675 -0700
retrieving revision 1.94 @@ -1493,14 +1493,14 @@ getBoundListenSocket(unsigned short port
diff -p -u -8 -r1.94 selfserv.c
--- mozilla/security/nss/cmd/selfserv/selfserv.c 3 Apr 2010 18:27:27 -0000 1.94
+++ mozilla/security/nss/cmd/selfserv/selfserv.c 24 Feb 2011 02:28:02 -0000
@@ -1487,21 +1487,21 @@ PRFileDesc *
getBoundListenSocket(unsigned short port)
{
PRFileDesc * listen_sock;
int listenQueueDepth = 5 + (2 * maxThreads);
PRStatus prStatus;
PRNetAddr addr;
PRSocketOptionData opt; PRSocketOptionData opt;
PRUint16 socketDomain = PR_AF_INET;
- addr.inet.family = PR_AF_INET; - addr.inet.family = PR_AF_INET;
- addr.inet.ip = PR_INADDR_ANY; - addr.inet.ip = PR_INADDR_ANY;
@ -21,13 +12,11 @@ diff -p -u -8 -r1.94 selfserv.c
+ errExit("PR_SetNetAddr"); + errExit("PR_SetNetAddr");
+ } + }
- listen_sock = PR_NewTCPSocket(); if (PR_GetEnv("NSS_USE_SDP")) {
socketDomain = PR_AF_INET_SDP;
}
- listen_sock = PR_OpenTCPSocket(socketDomain);
+ listen_sock = PR_OpenTCPSocket(PR_AF_INET6); + listen_sock = PR_OpenTCPSocket(PR_AF_INET6);
if (listen_sock == NULL) { if (listen_sock == NULL) {
errExit("PR_NewTCPSocket"); errExit("PR_OpenTCPSocket error");
} }
opt.option = PR_SockOpt_Nonblocking;
opt.value.non_blocking = PR_FALSE;
prStatus = PR_SetSocketOption(listen_sock, &opt);
if (prStatus < 0) {

View File

@ -1,12 +1,12 @@
%global nspr_version 4.8.7 %global nspr_version 4.8.8
%global nss_util_version 3.12.9 %global nss_util_version 3.12.10
%global nss_softokn_version 3.12.9 %global nss_softokn_version 3.12.10
%global unsupported_tools_directory %{_libdir}/nss/unsupported-tools %global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
Summary: Network Security Services Summary: Network Security Services
Name: nss Name: nss
Version: 3.12.9 Version: 3.12.10
Release: 15%{?dist} Release: 0.1%{?dist}.beta1
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/security/pki/nss/ URL: http://www.mozilla.org/projects/security/pki/nss/
Group: System Environment/Libraries Group: System Environment/Libraries
@ -43,11 +43,6 @@ Patch3: renegotiate-transitional.patch
Patch6: nss-enable-pem.patch Patch6: nss-enable-pem.patch
Patch7: nsspem-642433.patch Patch7: nsspem-642433.patch
Patch8: 0001-Bug-695011-PEM-logging.patch Patch8: 0001-Bug-695011-PEM-logging.patch
Patch11: honor-user-trust-preferences.patch
Patch12: allow-content-types-beyond-smime.patch
Patch13: nss-recurse.patch
Patch14: dont-use-cpp-reserved-words.patch
Patch15: swap-internal-key-slot.patch
Patch16: nss-539183.patch Patch16: nss-539183.patch
%description %description
@ -122,11 +117,6 @@ low level services.
%patch6 -p0 -b .libpem %patch6 -p0 -b .libpem
%patch7 -p0 -b .642433 %patch7 -p0 -b .642433
%patch8 -p1 -b .695011 %patch8 -p1 -b .695011
%patch11 -p1 -b .643134
%patch12 -p1 -b .contenttypes
%patch13 -p1 -b .recurse
%patch14 -p1 -b .676036
%patch15 -p1 -b .jss
%patch16 -p0 -b .539183 %patch16 -p0 -b .539183
@ -521,6 +511,9 @@ rm -rf $RPM_BUILD_ROOT/%{_includedir}/nss3/nsslowhash.h
%changelog %changelog
* Wed Apr 27 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.10-0.1.beta1
- Update to NSS_3_12_10_BETA1
* Mon Apr 11 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-15 * Mon Apr 11 2011 Elio Maldonado <emaldona@redhat.com> - 3.12.9-15
- Implement PEM logging using NSPR's own (#695011) - Implement PEM logging using NSPR's own (#695011)

View File

@ -1,4 +1,4 @@
240c8d61d9c9091e486318e889bc1f2f nss-3.12.9-stripped.tar.bz2 c656c06f0defb42e36f46048a71122a1 nss-3.12.10-stripped.tar.bz2
e63cddf74c07f0d818d1052ecc6fbb1f nss-pem-20101125.tar.bz2 e63cddf74c07f0d818d1052ecc6fbb1f nss-pem-20101125.tar.bz2
a5ae49867124ac75f029a9a33af31bad blank-cert8.db a5ae49867124ac75f029a9a33af31bad blank-cert8.db
9315689bbd9f28ceebd47894f99fccbd blank-key3.db 9315689bbd9f28ceebd47894f99fccbd blank-key3.db