[python-nss] Update to version 0.13 Introduced in 0.13:

John Dennis jdennis at fedoraproject.org
Tue Oct 9 13:21:30 UTC 2012


commit 8f865b0a94f3cecce50748575b21c99249de0b4b
Author: John Dennis <jdennis at redhat.com>
Date:   Tue Oct 9 09:19:03 2012 -0400

    Update to version 0.13
    Introduced in 0.13:
    
    * Fix NSS SECITEM_CompareItem bug via workaround.
    
    * Fix incorrect format strings in PyArg_ParseTuple* for:
      - GeneralName
      - BasicConstraints
      - cert_x509_key_usage
    
    * Fix bug when decoding certificate BasicConstraints extension
    
    * Fix hang in setup_certs.
    
    * For NSS >= 3.13 support CERTDB_TERMINAL_RECORD
    
    * You can now query for a specific certificate extension
      Certficate.get_extension()
    
    * The following classes were added:
      - RSAGenParams
    
    * The following class methods were added:
      - nss.nss.Certificate.get_extension
      - nss.nss.PK11Slot.generate_key_pair
      - nss.nss.DSAPublicKey.format
      - nss.nss.DSAPublicKey.format_lines
    
    * The following module functions were added:
      - nss.nss.pub_wrap_sym_key
    
    * The following internal utilities were added:
      - PyString_UTF8
      - SecItem_new_alloc()
    
    * The following class constructors were modified to accept
      intialization parameters
    
      - KEYPQGParams (DSA generation parameters)
    
    * The PublicKey formatting (i.e. format_lines) was augmented
      to format DSA keys (formerly it only recognized RSA keys).
    
    * Allow lables and values to be justified when printing objects
    
    * The following were deprecated:
      - nss.nss.make_line_pairs (replaced by nss.nss.make_line_fmt_tuples)
    
      Deprecated Functionality:
      -------------------------
      - make_line_pairs() has been replaced by make_line_fmt_tuples()
        because 2-valued tuples were not sufficently general. It is
        expected very few programs will have used this function, it's mostly
        used internally but provided as a support utility.

 python-nss-0.11-family.patch       |  314 ------------------------------------
 python-nss-0.12-rsapssparams.patch |   25 ---
 python-nss.spec                    |   67 +++++++-
 3 files changed, 60 insertions(+), 346 deletions(-)
---
diff --git a/python-nss.spec b/python-nss.spec
index af96b01..515905a 100644
--- a/python-nss.spec
+++ b/python-nss.spec
@@ -5,18 +5,16 @@
 %global build_api_doc 1
 
 Name:           python-nss
-Version:        0.12
-Release:        4%{?dist}
+Version:        0.13
+Release:        0%{?dist}
 Summary:        Python bindings for Network Security Services (NSS)
 
 Group:          Development/Languages
-License:        MPLv1.1 or GPLv2+ or LGPLv2+
+License:        MPLv2.0 or GPLv2+ or LGPLv2+
 URL:            ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss
-Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_0_12_0/src/python-nss-%{version}.tar.bz2
+Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/security/python-nss/releases/PYNSS_RELEASE_0_13_0/src/python-nss-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Patch1: python-nss-0.12-rsapssparams.patch
-
 %global docdir %{_docdir}/%{name}-%{version}
 
 # We don't want to provide private python extension libs
@@ -52,7 +50,6 @@ API documentation and examples
 
 %prep
 %setup -q
-%patch1 -b .rsapssparams
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %{__python} setup.py build
@@ -94,6 +91,62 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Mon Oct  8 2012 John Dennis <jdennis at redhat.com> - 0.13-0
+- Update to version 0.13
+  Introduced in 0.13:
+
+  * Fix NSS SECITEM_CompareItem bug via workaround.
+
+  * Fix incorrect format strings in PyArg_ParseTuple* for:
+    - GeneralName
+    - BasicConstraints
+    - cert_x509_key_usage
+
+  * Fix bug when decoding certificate BasicConstraints extension
+	
+  * Fix hang in setup_certs.
+
+  * For NSS >= 3.13 support CERTDB_TERMINAL_RECORD
+
+  * You can now query for a specific certificate extension
+    Certficate.get_extension()
+
+  * The following classes were added:
+    - RSAGenParams
+
+  * The following class methods were added:
+    - nss.nss.Certificate.get_extension
+    - nss.nss.PK11Slot.generate_key_pair
+    - nss.nss.DSAPublicKey.format
+    - nss.nss.DSAPublicKey.format_lines
+
+  * The following module functions were added:
+    - nss.nss.pub_wrap_sym_key
+
+  * The following internal utilities were added:
+    - PyString_UTF8
+    - SecItem_new_alloc()
+
+  * The following class constructors were modified to accept
+    intialization parameters
+
+    - KEYPQGParams (DSA generation parameters)
+
+  * The PublicKey formatting (i.e. format_lines) was augmented
+    to format DSA keys (formerly it only recognized RSA keys).
+
+  * Allow lables and values to be justified when printing objects
+
+  * The following were deprecated:
+    - nss.nss.make_line_pairs (replaced by nss.nss.make_line_fmt_tuples)
+
+    Deprecated Functionality:
+    -------------------------
+    - make_line_pairs() has been replaced by make_line_fmt_tuples()
+      because 2-valued tuples were not sufficently general. It is
+      expected very few programs will have used this function, it's mostly
+      used internally but provided as a support utility.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list