commit python-httplib2.1651 for openSUSE:12.2:Update
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package python-httplib2.1651 for openSUSE:12.2:Update checked in at 2013-05-10 16:30:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2:Update/python-httplib2.1651 (Old) and /work/SRC/openSUSE:12.2:Update/.python-httplib2.1651.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-httplib2.1651" Changes: -------- New Changes file: --- /dev/null 2013-05-09 10:40:33.472011256 +0200 +++ /work/SRC/openSUSE:12.2:Update/.python-httplib2.1651.new/python-httplib2.changes 2013-05-10 16:30:52.000000000 +0200 @@ -0,0 +1,84 @@ +------------------------------------------------------------------- +Thu May 2 10:38:03 UTC 2013 - speilicke@suse.com + +- Add httplib2-bnc-818100.patch (bnc#818100): Fix for subsequent + request SSL certificate validation + +------------------------------------------------------------------- +Tue Jul 17 08:24:44 UTC 2012 - saschpe@suse.de + +- Add missing runtime requirement on python-pyOpenSSL to gain + access to 'ssl' module + +------------------------------------------------------------------- +Mon Jul 9 08:47:20 UTC 2012 - cfarrell@suse.com + +- license update: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) + __init__.py contains code derived from a Google owned Apache project. + cacerts.txt is Mozilla triple-licensed. + +------------------------------------------------------------------- +Wed Jun 20 11:41:56 UTC 2012 - saschpe@suse.de + +- Don't ship private copy of Mozilla NSS certs, use system certs + instead (bnc#761162) + +------------------------------------------------------------------- +Tue Jun 5 09:56:01 UTC 2012 - cstender@opensuse.org + +- update to version 0.7.4 + * See CHANGELOG for all changes and fixes + +------------------------------------------------------------------- +Thu Dec 22 12:52:35 UTC 2011 - cstender@suse.com + +- updated to version 0.7.2 + +------------------------------------------------------------------- +Mon Jul 11 14:06:42 CEST 2011 - cstender@suse.de + +- updated to version 0.7.1 + * See CHANGELOG for all changes and fixes + +------------------------------------------------------------------- +Mon Apr 19 13:47:15 CEST 2010 - dmueller@suse.de + +- update to version 0.6.0: + * include python 3 support/compatibility + +------------------------------------------------------------------- +Thu Aug 13 10:55:40 UTC 2009 - cstender@novell.com + +- build as noarch + +------------------------------------------------------------------- +Tue Aug 4 10:51:26 UTC 2009 - cstender@novell.com + +- updated to version 0.5.0 + * Fixed the following bugs: + #12 - Cache-Control: only-if-cached incorrectly does request if + item not in cache + #39 - Deprecation warnings in Python 2.6 + #54 - Http.request fails accesing Google account via http proxy + #56 - Block on response.read() for HEAD requests. + #57 - Timeout ignore for Python 2.6 + #58 - Fixed parsing of Cache-Control: header to make it more + robust + +------------------------------------------------------------------- +Tue Sep 9 12:41:28 CEST 2008 - cstender@suse.de + +- updated package to version 0.4.0 + o added support for proxies if the Socksipy module is installed + o fixed bug with some HEAD responses having content-length set to + zero incorrectly + o fixed most except's to catch a specific exception + o added 'connection_type' parameter to Http.request() + o the default for 'force_exception_to_status_code' was changed to + False + +------------------------------------------------------------------- +Sat Oct 21 22:37:29 CEST 2006 - dgollub@suse.de + +- initial version of python-httplib2 (0.2.0) + New: ---- httplib2-0.7.4.tar.gz httplib2-bnc-818100.patch httplib2-use-system-certs.patch python-httplib2.changes python-httplib2.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httplib2.spec ++++++ # # spec file for package python-httplib2 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-httplib2 Version: 0.7.4 Release: 0 Url: http://bitworking.org/projects/httplib2/ Summary: A Python HTTP client library License: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+) Group: Development/Libraries/Python Source0: httplib2-%{version}.tar.gz # PATCH-FIX-OPENSUSE: Don't ship private copy of Mozilla NSS certs, use system certs instead (bnc#761162) Patch0: httplib2-use-system-certs.patch # PATCH-FIX-UPSTREAM: speilicke@suse.com -- SSL certificate hostname mismatch is checked only once Patch1: httplib2-bnc-818100.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel #BuildRequires: python-pyOpenSSL Requires: ca-certificates Requires: python-pyOpenSSL %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description A comprehensive HTTP client library that supports many features left out of other HTTP libraries. %prep %setup -q -n httplib2-%{version} %patch0 -p1 %patch1 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} #%%check #python python2/httplib2test.py %files %defattr(-,root,root) %doc README %{python_sitelib}/* %changelog ++++++ httplib2-bnc-818100.patch ++++++ diff -r 93291649202b python2/httplib2/__init__.py --- a/python2/httplib2/__init__.py Tue Mar 26 14:17:48 2013 -0400 +++ b/python2/httplib2/__init__.py Tue Apr 23 10:32:15 2013 +0300 @@ -1030,7 +1030,7 @@ raise CertificateHostnameMismatch( 'Server presented certificate that does not match ' 'host %s: %s' % (hostname, cert), hostname, cert) - except ssl_SSLError, e: + except (ssl_SSLError, CertificateHostnameMismatch), e: if sock: sock.close() if self.sock: @@ -1040,7 +1040,7 @@ # to get at more detailed error information, in particular # whether the error is due to certificate validation or # something else (such as SSL protocol mismatch). - if e.errno == ssl.SSL_ERROR_SSL: + if hasattr(e, 'errno') and e.errno == ssl.SSL_ERROR_SSL: raise SSLHandshakeError(e) else: raise ++++++ httplib2-use-system-certs.patch ++++++ Only in a/python2/httplib2: cacerts.txt diff -ru a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py --- a/python2/httplib2/__init__.py 2012-03-02 21:12:34.000000000 +0100 +++ b/python2/httplib2/__init__.py 2012-06-20 13:30:39.524140796 +0200 @@ -180,9 +180,8 @@ # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 -# Default CA certificates file bundled with httplib2. -CA_CERTS = os.path.join( - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") +# Use system-wide CA certificates: +CA_CERTS = '/etc/ssl/ca-bundle.pem' # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] Only in b/python2/httplib2: .__init__.py.swp Only in a/python3/httplib2: cacerts.txt diff -ru a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py --- a/python3/httplib2/__init__.py 2012-03-02 21:12:34.000000000 +0100 +++ b/python3/httplib2/__init__.py 2012-06-20 13:30:22.156140376 +0200 @@ -119,9 +119,8 @@ # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] -# Default CA certificates file bundled with httplib2. -CA_CERTS = os.path.join( - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") +# Use system-wide CA certificates: +CA_CERTS = '/etc/ssl/ca-bundle.pem' def _get_end2end_headers(response): hopbyhop = list(HOP_BY_HOP) Only in b/python3/httplib2: .__init__.py.swp diff -ru a/setup.py b/setup.py --- a/setup.py 2012-03-02 21:12:34.000000000 +0100 +++ b/setup.py 2012-06-20 13:28:26.560137617 +0200 @@ -63,7 +63,6 @@ """, package_dir=pkgdir, packages=['httplib2'], - package_data={'httplib2': ['*.txt']}, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de