rpms/m2crypto/devel m2crypto-0.19.1-ssl-selector.patch, NONE, 1.1 m2crypto.spec, 1.51, 1.52
Miloslav Trmac
mitr at fedoraproject.org
Wed Jun 3 15:16:21 UTC 2009
- Previous message (by thread): rpms/konversation/devel .cvsignore, 1.7, 1.8 konversation.spec, 1.25, 1.26 sources, 1.7, 1.8 konversation-1.1-amarok2.patch, 1.1, NONE
- Next message (by thread): rpms/konversation/devel konversation.spec,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mitr
Update of /cvs/pkgs/rpms/m2crypto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24444
Modified Files:
m2crypto.spec
Added Files:
m2crypto-0.19.1-ssl-selector.patch
Log Message:
* Wed Jun 3 2009 Miloslav TrmaÄ <mitr at redhat.com> - 0.19.1-7
- Only send the selector in SSL HTTP requests. Patch by James Bowes
<jbowes at redhat.com>.
Resolves: #491674
m2crypto-0.19.1-ssl-selector.patch:
--- NEW FILE m2crypto-0.19.1-ssl-selector.patch ---
diff -urN M2Crypto/M2Crypto/httpslib.py M2Crypto-0.19.1/M2Crypto/httpslib.py
--- M2Crypto/M2Crypto/httpslib.py 2008-10-13 06:47:33.000000000 +0200
+++ M2Crypto-0.19.1/M2Crypto/httpslib.py 2009-06-03 16:57:25.000000000 +0200
@@ -137,7 +137,7 @@
raise ValueError, "unknown protocol for: %s" % url
self._real_host = host
self._real_port = port
- HTTPSConnection.putrequest(self, method, url, skip_host, skip_accept_encoding)
+ HTTPSConnection.putrequest(self, method, rest, skip_host, skip_accept_encoding)
def putheader(self, header, value):
# Store the auth header if passed in.
diff -urN M2Crypto/M2Crypto/m2urllib2.py M2Crypto-0.19.1/M2Crypto/m2urllib2.py
--- M2Crypto/M2Crypto/m2urllib2.py 2009-06-03 16:56:43.000000000 +0200
+++ M2Crypto-0.19.1/M2Crypto/m2urllib2.py 2009-06-03 16:57:25.000000000 +0200
@@ -80,7 +80,7 @@
# request.
headers["Connection"] = "close"
try:
- h.request(req.get_method(), req.get_full_url(), req.data, headers)
+ h.request(req.get_method(), req.get_selector(), req.data, headers)
r = h.getresponse()
except socket.error, err: # XXX what error?
raise URLError(err)
Index: m2crypto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/m2crypto/devel/m2crypto.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -p -r1.51 -r1.52
--- m2crypto.spec 25 Feb 2009 22:37:37 -0000 1.51
+++ m2crypto.spec 3 Jun 2009 15:15:50 -0000 1.52
@@ -6,7 +6,7 @@
Summary: Support for using OpenSSL in python scripts
Name: m2crypto
Version: 0.19.1
-Release: 6
+Release: 7
Source0: http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
# https://bugzilla.osafoundation.org/show_bug.cgi?id=2341
Patch0: m2crypto-0.18-timeouts.patch
@@ -14,6 +14,9 @@ Patch0: m2crypto-0.18-timeouts.patch
Patch1: m2crypto-0.18-gcc_macros.patch
# https://bugzilla.osafoundation.org/show_bug.cgi?id=12718
Patch2: m2crypto-0.19.1-close-HTTPResponse.patch
+# Half in upstream SVN
+# Half is https://bugzilla.osafoundation.org/show_bug.cgi?id=12760
+Patch3: m2crypto-0.19.1-ssl-selector.patch
License: MIT
Group: System Environment/Libraries
URL: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
@@ -30,6 +33,7 @@ This package allows you to call OpenSSL
%patch0 -p1
%patch1 -p1 -b .gcc_macros
%patch2 -p1
+%patch3 -p1
# Red Hat opensslconf.h #includes an architecture-specific file, but SWIG
# doesn't follow the #include.
@@ -92,6 +96,11 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitearch}/M2Crypto-*.egg-info
%changelog
+* Wed Jun 3 2009 Miloslav TrmaÄ <mitr at redhat.com> - 0.19.1-7
+- Only send the selector in SSL HTTP requests. Patch by James Bowes
+ <jbowes at redhat.com>.
+ Resolves: #491674
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.19.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/konversation/devel .cvsignore, 1.7, 1.8 konversation.spec, 1.25, 1.26 sources, 1.7, 1.8 konversation-1.1-amarok2.patch, 1.1, NONE
- Next message (by thread): rpms/konversation/devel konversation.spec,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list