rpms/python-nss/F-12 .cvsignore, 1.10, 1.11 python-nss.spec, 1.15, 1.16 sources, 1.12, 1.13
John Dennis
jdennis at fedoraproject.org
Thu Jul 15 20:39:59 UTC 2010
Author: jdennis
Update of /cvs/pkgs/rpms/python-nss/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28360
Modified Files:
.cvsignore python-nss.spec sources
Log Message:
upgrade to 0.9 release
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-nss/F-12/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- .cvsignore 21 Sep 2009 19:56:37 -0000 1.10
+++ .cvsignore 15 Jul 2010 20:39:59 -0000 1.11
@@ -1 +1 @@
-python-nss-0.8.tar.bz2
+python-nss-0.9.tar.bz2
Index: python-nss.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-nss/F-12/python-nss.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- python-nss.spec 24 Mar 2010 13:37:46 -0000 1.15
+++ python-nss.spec 15 Jul 2010 20:39:59 -0000 1.16
@@ -3,8 +3,8 @@
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-nss
-Version: 0.8
-Release: 2%{?dist}
+Version: 0.9
+Release: 7%{?dist}
Summary: Python bindings for Network Security Services (NSS)
Group: Development/Languages
@@ -48,13 +48,6 @@ rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --install-platlib %{python_sitearch} --skip-build --root $RPM_BUILD_ROOT
%{__python} setup.py install_doc --docdir %{docdir} --skip-build --root $RPM_BUILD_ROOT
-# Include httplib ported to NSS as example
-cp lib/httplib.py $RPM_BUILD_ROOT/%{docdir}/examples
-
-# Include digest and cipher tests as example
-cp test/digest_test.py $RPM_BUILD_ROOT/%{docdir}/examples
-cp test/cipher_test.py $RPM_BUILD_ROOT/%{docdir}/examples
-
# Remove execution permission from any example scripts
find $RPM_BUILD_ROOT/%{docdir}/examples -type f | xargs chmod a-x
@@ -73,6 +66,129 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Thu Jul 15 2010 John Dennis <jdennis at redhat.com> - 0.9-7
+- Correct definciencies in auth_certificate_callback found in several
+ of the example files and documentation. If you've copied that code
+ you should merge those changes in.
+
+- Unicode objects now accepted as well as str objects for
+ interfaces expecting a string.
+
+- Sockets were enhanced thusly:
+ - Threads will now yield during blocking IO.
+ - Socket.makefile() reimplemented
+ file object methods that had been missing (readlines(), sendall(),
+ and iteration) were implemented, makefile now just returns the same
+ Socket object but increments an "open" ref count. Thus a Socket
+ object behaves like a file object and must be closed once for each
+ makefile() call before it's actually closed.
+ - Sockets now support the iter protocol
+ - Add Socket.readlines(), Socket.sendall()
+
+- The following classes were added:
+ AuthKeyID
+ BasicConstraints
+ CRLDistributionPoint
+ CRLDistributionPts
+ CertificateExtension
+ GeneralName
+ SignedCRL
+ DN
+ RDN
+ AVA
+ CertificateRequest
+
+- The following module functions were added:
+ nss.nss.cert_crl_reason_from_name()
+ nss.nss.cert_crl_reason_name()
+ nss.nss.cert_general_name_type_from_name()
+ nss.nss.cert_general_name_type_name()
+ nss.nss.cert_usage_flags()
+ nss.nss.decode_der_crl()
+ nss.nss.der_universal_secitem_fmt_lines()
+ nss.nss.import_crl()
+ nss.nss.make_line_pairs()
+ nss.nss.oid_dotted_decimal()
+ nss.nss.oid_str()
+ nss.nss.oid_tag()
+ nss.nss.oid_tag_name()
+ nss.nss.read_der_from_file()
+ nss.nss.x509_alt_name()
+ nss.nss.x509_ext_key_usage()
+ nss.nss.x509_key_usage()
+
+- The following class methods and properties were added:
+ Note: it's a method if the name is suffixed with (), a propety otherwise
+ Socket.next()
+ Socket.readlines()
+ Socket.sendall()
+ SSLSocket.next()
+ SSLSocket.readlines()
+ SSLSocket.sendall()
+ AuthKeyID.key_id
+ AuthKeyID.serial_number
+ AuthKeyID.get_general_names()
+ CRLDistributionPoint.issuer
+ CRLDistributionPoint.get_general_names()
+ CRLDistributionPoint.get_reasons()
+ CertDB.find_crl_by_cert()
+ CertDB.find_crl_by_name()
+ Certificate.extensions
+ CertificateExtension.critical
+ CertificateExtension.name
+ CertificateExtension.oid
+ CertificateExtension.oid_tag
+ CertificateExtension.value
+ GeneralName.type_enum
+ GeneralName.type_name
+ GeneralName.type_string
+ SecItem.der_to_hex()
+ SecItem.get_oid_sequence()
+ SecItem.to_hex()
+ SignedCRL.delete_permanently()
+ AVA.oid
+ AVA.oid_tag
+ AVA.value
+ AVA.value_str
+ DN.cert_uid
+ DN.common_name
+ DN.country_name
+ DN.dc_name
+ DN.email_address
+ DN.locality_name
+ DN.org_name
+ DN.org_unit_name
+ DN.state_name
+ DN.add_rdn()
+ DN.has_key()
+ RDN.has_key()
+
+- The following module functions were removed:
+ Note: use nss.nss.oid_tag() instead
+ nss.nss.sec_oid_tag_from_name()
+ nss.nss.sec_oid_tag_name()
+ nss.nss.sec_oid_tag_str()
+
+- The following files were added:
+ doc/examples/cert_dump.py
+ test/test_cert_components.py
+
+- Apply patches from Miloslav Trmač <mitr at redhat.com>
+ for ref counting and threading support. Thanks Miloslav!
+
+- Review all ref counting, numerous ref counting fixes
+
+- Implement cyclic garbage collection support by
+ adding object traversal and clear methods
+
+- Identify static variables, move to thread local storage
+
+- Remove python-nss specific httplib.py, no longer needed
+ python-nss now compatible with standard library
+
+- Rewrite httplib_example.py to use standard library and illustrate
+ ssl, non-ssl, connection class, http class usage
+
* Wed Mar 24 2010 John Dennis <jdennis at redhat.com> - 0.8-2
- change %%define to %%global
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-nss/F-12/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- sources 21 Sep 2009 19:56:37 -0000 1.12
+++ sources 15 Jul 2010 20:39:59 -0000 1.13
@@ -1 +1 @@
-4209e0b421d3b997602f695e04282daa python-nss-0.8.tar.bz2
+019b94f1b5da5f0de3b56324c0b13125 python-nss-0.9.tar.bz2
More information about the scm-commits
mailing list