[Python-modules-commits] r18404 - in packages/python-recaptcha/branches/squeeze/debian (4 files)
bernat at users.alioth.debian.org
bernat at users.alioth.debian.org
Wed Aug 31 06:45:06 UTC 2011
Date: Wednesday, August 31, 2011 @ 06:45:04
Author: bernat
Revision: 18404
Web service has moved from recaptcha.net to google.com.
Added:
packages/python-recaptcha/branches/squeeze/debian/patches/
packages/python-recaptcha/branches/squeeze/debian/patches/series
packages/python-recaptcha/branches/squeeze/debian/patches/update-service-url.patch
Modified:
packages/python-recaptcha/branches/squeeze/debian/changelog
Modified: packages/python-recaptcha/branches/squeeze/debian/changelog
===================================================================
--- packages/python-recaptcha/branches/squeeze/debian/changelog 2011-08-31 06:33:32 UTC (rev 18403)
+++ packages/python-recaptcha/branches/squeeze/debian/changelog 2011-08-31 06:45:04 UTC (rev 18404)
@@ -1,3 +1,10 @@
+python-recaptcha (1.0.5-1+squeeze1) stable; urgency=low
+
+ * Web service has moved from recaptcha.net to google.com.
+ Closes: #637880.
+
+ -- Vincent Bernat <bernat at debian.org> Wed, 31 Aug 2011 08:44:24 +0200
+
python-recaptcha (1.0.5-1) unstable; urgency=low
* New upstream release.
Added: packages/python-recaptcha/branches/squeeze/debian/patches/series
===================================================================
--- packages/python-recaptcha/branches/squeeze/debian/patches/series (rev 0)
+++ packages/python-recaptcha/branches/squeeze/debian/patches/series 2011-08-31 06:45:04 UTC (rev 18404)
@@ -0,0 +1 @@
+update-service-url.patch
Added: packages/python-recaptcha/branches/squeeze/debian/patches/update-service-url.patch
===================================================================
--- packages/python-recaptcha/branches/squeeze/debian/patches/update-service-url.patch (rev 0)
+++ packages/python-recaptcha/branches/squeeze/debian/patches/update-service-url.patch 2011-08-31 06:45:04 UTC (rev 18404)
@@ -0,0 +1,82 @@
+Recaptcha service has moved from recaptcha.net to www.google.com.
+
+Old URL are still working but the corresponding SSL certificate has not been renewed.
+Closes: #637880.
+
+diff -Naur recaptcha-client-1.0.5/PKG-INFO recaptcha-client-1.0.6/PKG-INFO
+--- recaptcha-client-1.0.5/PKG-INFO 2009-10-28 22:48:51.000000000 +0100
++++ recaptcha-client-1.0.6/PKG-INFO 2011-04-12 21:08:50.000000000 +0200
+@@ -10,8 +10,8 @@
+ any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
+ Also allows you to securely obfuscate emails with Mailhide. This functionality
+ requires pycrypto. This library requires two types of API keys. If you'd like
+- to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
+- For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
++ to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
++ For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
+
+ The trunk can be checked out from
+ http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
+diff -Naur recaptcha-client-1.0.5/recaptcha/client/captcha.py recaptcha-client-1.0.6/recaptcha/client/captcha.py
+--- recaptcha-client-1.0.5/recaptcha/client/captcha.py 2009-07-30 21:08:35.000000000 +0200
++++ recaptcha-client-1.0.6/recaptcha/client/captcha.py 2011-04-12 20:53:27.000000000 +0200
+@@ -1,8 +1,8 @@
+ import urllib2, urllib
+
+-API_SSL_SERVER="https://api-secure.recaptcha.net"
+-API_SERVER="http://api.recaptcha.net"
+-VERIFY_SERVER="api-verify.recaptcha.net"
++API_SSL_SERVER="https://www.google.com/recaptcha/api"
++API_SERVER="http://www.google.com/recaptcha/api"
++VERIFY_SERVER="www.google.com"
+
+ class RecaptchaResponse(object):
+ def __init__(self, is_valid, error_code=None):
+@@ -73,7 +73,7 @@
+ })
+
+ request = urllib2.Request (
+- url = "http://%s/verify" % VERIFY_SERVER,
++ url = "http://%s/recaptcha/api/verify" % VERIFY_SERVER,
+ data = params,
+ headers = {
+ "Content-type": "application/x-www-form-urlencoded",
+--- recaptcha-client-1.0.5/recaptcha/client/mailhide.py 2009-07-30 21:08:35.000000000 +0200
++++ recaptcha-client-1.0.6/recaptcha/client/mailhide.py 2011-04-12 20:53:27.000000000 +0200
+@@ -6,7 +6,7 @@
+ except:
+ raise Exception ("You need the pycrpyto library: http://cheeseshop.python.org/pypi/pycrypto/")
+
+-MAIL_HIDE_BASE="http://mailhide.recaptcha.net"
++MAIL_HIDE_BASE="http://www.google.com/recaptcha/mailhide"
+
+ def asurl (email,
+ public_key,
+diff -Naur recaptcha-client-1.0.5/recaptcha_client.egg-info/PKG-INFO recaptcha-client-1.0.6/recaptcha_client.egg-info/PKG-INFO
+--- recaptcha-client-1.0.5/recaptcha_client.egg-info/PKG-INFO 2009-10-28 22:48:51.000000000 +0100
++++ recaptcha-client-1.0.6/recaptcha_client.egg-info/PKG-INFO 2011-04-12 21:08:50.000000000 +0200
+@@ -10,8 +10,8 @@
+ any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
+ Also allows you to securely obfuscate emails with Mailhide. This functionality
+ requires pycrypto. This library requires two types of API keys. If you'd like
+- to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
+- For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
++ to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
++ For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
+
+ The trunk can be checked out from
+ http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
+diff -Naur recaptcha-client-1.0.5/setup.py recaptcha-client-1.0.6/setup.py
+--- recaptcha-client-1.0.5/setup.py 2009-10-28 22:46:57.000000000 +0100
++++ recaptcha-client-1.0.6/setup.py 2011-04-12 20:53:27.000000000 +0200
+@@ -16,8 +16,8 @@
+ any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
+ Also allows you to securely obfuscate emails with Mailhide. This functionality
+ requires pycrypto. This library requires two types of API keys. If you'd like
+-to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
+-For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
++to use the CAPTCHA, you'll need a key from https://www.google.com/recaptcha/admin/create.
++For Mailhide, you'll need a key from http://www.google.com/recaptcha/mailhide/apikey.
+
+ The trunk can be checked out from
+ http://recaptcha.googlecode.com/svn/trunk/recaptcha-plugins/python,
More information about the Python-modules-commits
mailing list