diff --git a/.cvsignore b/.cvsignore index a277018..14ebbd2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -python-nss-0.8.tar.bz2 +python-nss-0.9.tar.bz2 diff --git a/python-nss.spec b/python-nss.spec index ed8d251..0b4b8db 100644 --- a/python-nss.spec +++ b/python-nss.spec @@ -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: 1%{?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,114 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri May 28 2010 John Dennis - 0.9-1 +- 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 + CRLDistributionPoint + CRLDistributionPts + CertificateExtension + GeneralName + SignedCRL + X500AVA + X500Name + X500RDN + +- 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.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() + X500AVA.oid + X500AVA.oid_tag + X500AVA.value + X500AVA.value_str + X500Name.cert_uid + X500Name.common_name + X500Name.country_name + X500Name.dc_name + X500Name.email_address + X500Name.locality_name + X500Name.org_name + X500Name.org_unit_name + X500Name.state_name + X500Name.add_rdn() + X500Name.has_key() + X500RDN.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 + +- 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 + + * Wed Mar 24 2010 John Dennis - 0.8-2 - change %%define to %%global diff --git a/sources b/sources index b06b7be..002d997 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4209e0b421d3b997602f695e04282daa python-nss-0.8.tar.bz2 +3a93015dcca45e22434457677928e928 python-nss-0.9.tar.bz2