Hi, This diff updates py-requests to the latest release. Tested on amd64.
Comments ? OK ? -- Alexandr Shadchin Index: Makefile =================================================================== RCS file: /cvs/ports/www/py-requests/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 23 Mar 2015 15:26:19 -0000 1.10 +++ Makefile 29 Mar 2015 05:00:45 -0000 @@ -2,9 +2,8 @@ COMMENT= elegant and simple HTTP library for Python -MODPY_EGG_VERSION=2.5.1 +MODPY_EGG_VERSION=2.6.0 DISTNAME= requests-${MODPY_EGG_VERSION} -REVISION= 0 PKGNAME= py-requests-${MODPY_EGG_VERSION} CATEGORIES= www Index: distinfo =================================================================== RCS file: /cvs/ports/www/py-requests/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 25 Jan 2015 15:54:07 -0000 1.7 +++ distinfo 29 Mar 2015 05:00:45 -0000 @@ -1,2 +1,2 @@ -SHA256 (requests-2.5.1.tar.gz) = e3c179Ox4jI9yfzvBgs4DQX18YvQ8kf16edKYoJ53mY= -SIZE (requests-2.5.1.tar.gz) = 443633 +SHA256 (requests-2.6.0.tar.gz) = HNvtHw4jbzXvVOkZmCx6M45P6jeGMQkz06eIegS3TXU= +SIZE (requests-2.6.0.tar.gz) = 450389 Index: patches/patch-requests_sessions_py =================================================================== RCS file: patches/patch-requests_sessions_py diff -N patches/patch-requests_sessions_py --- patches/patch-requests_sessions_py 23 Mar 2015 15:26:19 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,16 +0,0 @@ -$OpenBSD: patch-requests_sessions_py,v 1.1 2015/03/23 15:26:19 jasper Exp $ - -Security fix for CVE-2015-2296 python-requests: session fixation and cookie stealing vulnerability -http://www.openwall.com/lists/oss-security/2015/03/14/4 - ---- requests/sessions.py.orig Mon Mar 23 15:41:06 2015 -+++ requests/sessions.py Mon Mar 23 15:41:42 2015 -@@ -171,7 +171,7 @@ class SessionRedirectMixin(object): - except KeyError: - pass - -- extract_cookies_to_jar(prepared_request._cookies, prepared_request, resp.raw) -+ extract_cookies_to_jar(prepared_request._cookies, req, resp.raw) - prepared_request._cookies.update(self.cookies) - prepared_request.prepare_cookies(prepared_request._cookies) -