Bug 799193 - Update nspr to 4.9
Summary: Update nspr to 4.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nspr
Version: 6.3
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: 6.3
Assignee: Elio Maldonado Batiz
QA Contact: Aleš Mareček
URL:
Whiteboard:
: 798988 (view as bug list)
Depends On:
Blocks: 798539 798988 799192
TreeView+ depends on / blocked
 
Reported: 2012-03-02 05:43 UTC by Elio Maldonado Batiz
Modified: 2012-06-20 07:24 UTC (History)
3 users (show)

Fixed In Version: nspr-4.9-1.el6
Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Clone Of:
Environment:
Last Closed: 2012-06-20 07:24:15 UTC
Target Upstream Version:


Attachments (Terms of Use)
These are the changes I made while rebasing in the for of a patch (10.06 KB, patch)
2012-03-05 15:38 UTC, Elio Maldonado Batiz
no flags Details | Diff
Changes actually applied in patch form (8.46 KB, patch)
2012-03-05 21:16 UTC, Elio Maldonado Batiz
rrelyea: review-
Details | Diff
Changes to rebase nspr to 4.9 since last build (2.74 KB, patch)
2012-03-06 06:06 UTC, Elio Maldonado Batiz
rrelyea: review-
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0973 0 normal SHIPPED_LIVE Moderate: nss, nss-util, and nspr security, bug fix, and enhancement update 2012-06-19 19:28:14 UTC

Description Elio Maldonado Batiz 2012-03-02 05:43:18 UTC
Description of problem: We have updated nss to 3.13.1 and shipped it with nspr 4.8.9. This is too old for the 3.13 line. Due to an upstream miss-communication nss 13.3 was released with NSS_4_9_BETA4. This has been rectified and NSS_4_9_RTM  is now released. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info: This update is required in order to update nss to 3.13.3

Comment 2 Elio Maldonado Batiz 2012-03-05 15:33:36 UTC
The bug fixes in NSPR 4.8.9 can be found with this Bugzilla query:
https://bugzilla.mozilla.org/buglist.cgi?list_id=1088474&resolution=FIXED&classification=Components&query_format=advanced&target_milestone=4.8.9&product=NSPR

Besides adding a function to obtain version of NSPR at runtime, the chages are fixes intended for palforms other than Linux ones.

Th fiies in NSPR 4.9 are
https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED;classification=Components;query_format=advanced;target_milestone=4.9;product=NSPR;list_id=2533440

Of interest are: 
Add PR macro for maximum 64 bit value
Add PR_INT64 and PR_UINT64 macros for portable 64-bit integer constants.

Comment 3 Elio Maldonado Batiz 2012-03-05 15:38:27 UTC
Created attachment 567671 [details]
These are the changes I made while rebasing in the for of a patch

Updated existing patches to account for code movements for they otherwise do the same as before. Hardly anything had to be done.

Comment 5 Elio Maldonado Batiz 2012-03-05 21:16:55 UTC
Created attachment 567759 [details]
Changes actually applied in patch form

Comment 6 Bob Relyea 2012-03-06 01:58:39 UTC
Comment on attachment 567759 [details]
Changes actually applied in patch form

This is a diff with a *very* old version of NSPR, not the latest.

NOTE: the latest version in RHEL 6.3 is 4.8.9-3. This looks like it was merged with 4.8.9-2

Comment 7 Elio Maldonado Batiz 2012-03-06 06:06:24 UTC
Created attachment 567840 [details]
Changes to rebase nspr to 4.9 since last build

That previous build which I am comparing against is effectively the same, results-wise, as the one for rhel 6.2.z that was sent out.

Comment 8 Elio Maldonado Batiz 2012-03-07 02:40:15 UTC
(In reply to comment #7)
> 
> That previous build which I am comparing against is effectively the same,
> results-wise, as the one for rhel 6.2.z that was sent out.

No, the latest version in RHEL 6.3 is 4.8.9-2 and it is RHEL6.2.z that has a 
4.8.9-3 entry.

'rhpkg --branches nspr' brings them in separate directories so one can examine 
the both spec files and compare. 

Looking at the most recent entries in the %changelog for each:

----------------------------------------------------------------
For RHEL 6.3 we have
%changelog
* Thu Mar 01 2012 Elio Maldonado <emaldona> - 4.9-1
- Resolves: rhbz#799193 - Update to 4.9

* Wed Jan 18 2012 Elio Maldonado <emaldona> - 4.8.9-2
- Related: Bug 744069 - Avoid %%post/un shell invocations and dependencies.

* Wed Jan 18 2012 elio maldonado <emaldona> - 4.8.9-1
- Resolves: Bug 744069 - Rebase nspr to 4.8.9 or higher

* Fri Jul 22 2011 Elio Maldonado <emaldona> - 4.8.8-3
- Add partial RELRO support as a security enhancement...

-----------------------------------------------------------------
and for RHEL-6.2 we have:
%changelog
* Mon Jan 30 2012 Elio Maldonado <emaldona> - 4.8.9-3
- Resolves: 784489,CVE-2011-3389
- Add partial RELRO support as a security enhancement

* Sun Jan 29 2012 Elio Maldonado Batiz <emaldona> - 4.8.9-2
- Resolves: 784489,CVE-2011-3389
- Update to 3.13.1
- Run the nspr test suite in the %%check section

* Wed Sep 07 2011 Elio Maldonado <emaldona> - 4.8.7-2
- Update to 4.8.8

---------------------------------------------------------------------

I downloaded the nspr-debuginfo rpms from each and extracted them with
'rpmdev-extract path-to-the-srpm' and saw identical sources. The spec files look different, but once all patches have been applied with 'rpkg prep' I end up with the same results.

Comment 9 Bob Relyea 2012-03-09 00:58:17 UTC
Comment on attachment 567840 [details]
Changes to rebase nspr to 4.9 since last build

This is the nss patch, not nspr patch.

I pulled both the z-stream .src.rpm and the current candidate 6.3 rpm and did a diff of the specs and the source.

Other than the desired patch, the only other changes to the source were ifdefs for iOS and Android, so r+ for this build for 6.3 and z-stream from me.

Comment 11 Kai Engert (:kaie) (inactive account) 2012-03-28 15:03:17 UTC
*** Bug 798988 has been marked as a duplicate of this bug. ***

Comment 13 Elio Maldonado Batiz 2012-04-26 18:42:59 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation Needed

Comment 15 errata-xmlrpc 2012-06-20 07:24:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0973.html


Note You need to log in before you can comment on or make changes to this bug.