Package: release.debian.org User: release.debian....@packages.debian.org Usertags: pu Tags: squeeze
Hi, Since late last year, checkgmail has not been working because gmail changed its authentication protocol (bug#650454). The symptom is that checkgmail just repeatedly asks for login and password information. Luckily a fix was made quickly and has been in use in sid and wheezy since January this year. I would like to apply the same fix in squeeze. Last time I checked, it worked (though I'd of course check again before uploading). Sandro (the maintainer) has said an NMU with that fix (debdiff attached) would be fine. Sensible? Thanks for your work, Jonathan checkgmail-1.13+svn43/debian/changelog | 9 ++++ checkgmail-1.13+svn43/debian/patches/00list | 1 debian/patches/60_bts650454_send_galx_as_cookie.dpatch | 31 +++++++++++++++++ 3 files changed, 41 insertions(+)
diff -u checkgmail-1.13+svn43/debian/changelog checkgmail-1.13+svn43/debian/changelog --- checkgmail-1.13+svn43/debian/changelog +++ checkgmail-1.13+svn43/debian/changelog @@ -1,3 +1,12 @@ +checkgmail (1.13+svn43-2+squeeze0.1) stable; urgency=low + + * Non-maintainer upload + * debian/patches/60_bts650454_send_galx_as_cookie.dpatch + - fix auth problem with GMail by passing GALX in the cookie; thanks to + Johan Sandblom for the report; Closes: #650454 + + -- Jonathan Nieder <jrnie...@gmail.com> Sun, 19 Aug 2012 17:28:49 -0700 + checkgmail (1.13+svn43-2) unstable; urgency=low * 40_bts568882_use_GTK_new_widget_insteadof_libsexy.dpatch diff -u checkgmail-1.13+svn43/debian/patches/00list checkgmail-1.13+svn43/debian/patches/00list --- checkgmail-1.13+svn43/debian/patches/00list +++ checkgmail-1.13+svn43/debian/patches/00list @@ -5,0 +6 @@ +60_bts650454_send_galx_as_cookie only in patch2: unchanged: --- checkgmail-1.13+svn43.orig/debian/patches/60_bts650454_send_galx_as_cookie.dpatch +++ checkgmail-1.13+svn43/debian/patches/60_bts650454_send_galx_as_cookie.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 60_bts650454_send_galx_as_cookie.patch by Jan Jergus +## +## DP: Description: pass GALX as cookie, to avoid continuos pop-up for auth +## DP: Bug: http://sourceforge.net/tracker/?func=detail&aid=3406322&group_id=137480&atid=738663 +## DP: Bug-Debian: http://bugs.debian.org/650454 +## DP: Forwarded: not-needed + +@DPATCH@ +Index: checkgmail/checkgmail +=================================================================== +--- checkgmail.orig/checkgmail 2012-01-08 18:14:20.369935655 +0100 ++++ checkgmail/checkgmail 2012-01-08 18:16:16.170116161 +0100 +@@ -891,7 +891,8 @@ + print "Error: No GALX input field found\n"; + return "Error: No GALX input field found"; + } +- $post_galx = URI_escape(URI_unescape($1)); ++ my $galx = URI_unescape($1); ++ $post_galx = URI_escape($galx); + + # Find the data to post + my $post_data; +@@ -907,6 +908,7 @@ + my $post_req = HTTP::Request->new('POST' => "https://www.google.com/accounts/ServiceLoginAuth?service=mail"); + $post_req->content_type('application/x-www-form-urlencoded'); + $post_req->content($post_data); ++ $post_req->header('Cookie' => "GALX=$galx"); + my $post_response = $ua->request($post_req); + if ($post_response->is_error) { + my $code = $response->code;