tags 618569 + pending thanks Dear maintainer,
I've prepared an NMU for avelsieve (versioned as 1.9.9-2.3) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Wolf Biermann: Du lass Dich nicht verhärten
diff -Nru avelsieve-1.9.9/debian/changelog avelsieve-1.9.9/debian/changelog --- avelsieve-1.9.9/debian/changelog 2012-04-30 09:44:29.000000000 +0200 +++ avelsieve-1.9.9/debian/changelog 2012-09-09 17:57:18.000000000 +0200 @@ -1,3 +1,14 @@ +avelsieve (1.9.9-2.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix "Failure of authentication on TLS connections": + new patch avelsieve-changeset-1144.patch, taken from upstream svn, that + unifies uppercase/lowercase usage. + Thanks to Alex Owen for his bug triage! + (Closes: #618569, LP: #498921) + + -- gregor herrmann <gre...@debian.org> Sun, 09 Sep 2012 17:57:16 +0200 + avelsieve (1.9.9-2.2) unstable; urgency=low * Non-maintainer upload. diff -Nru avelsieve-1.9.9/debian/patches/avelsieve-changeset-1144.patch avelsieve-1.9.9/debian/patches/avelsieve-changeset-1144.patch --- avelsieve-1.9.9/debian/patches/avelsieve-changeset-1144.patch 1970-01-01 01:00:00.000000000 +0100 +++ avelsieve-1.9.9/debian/patches/avelsieve-changeset-1144.patch 2012-09-09 17:35:58.000000000 +0200 @@ -0,0 +1,77 @@ +Description: fix auth failure due to uppercase/lowercase mix +Origin: upstream, http://email.uoa.gr/avelsieve/changeset/1144 +Bug: http://email.uoa.gr/avelsieve/ticket/275 +Bug-Debian: http://bugs.debian.org/618569 +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+bug/498921 +Author: avel +Reviewed-by: gregor herrmann <gre...@debian.org> +Last-Update: 2012-09-09 +Applied-Upstream: yes, cf. Origin + +--- a/include/managesieve.lib.php ++++ b/include/managesieve.lib.php +@@ -321,7 +321,7 @@ + $this->auth = $this->user; + else + $this->auth = $auth; +- $this->auth_types=$auth_types; /* Allowed authentication types */ ++ $this->auth_types = strtolower($auth_types); /* Allowed authentication types */ + + $this->broken_tls = false; + +@@ -456,8 +456,8 @@ + } + $this->modules = split(" ", $this->item[1]); + if(is_array($this->modules)){ +- foreach($this->modules as $this->module) +- $this->capabilities[$this->cap_type][$this->module]=true; ++ foreach($this->modules as $m) ++ $this->capabilities[$this->cap_type][strtolower($m)]=true; + } /* end if */ + elseif(is_string($this->modules)) + $this->capabilites[$this->cap_type][$this->modules]=true; +@@ -535,7 +535,7 @@ + + /* Loop through each allowed authentication type and see if the server allows the type */ + foreach(explode(" ", $this->auth_types) as $auth_type) { +- if ($this->capabilities["auth"][$auth_type]) { ++ if (isset($this->capabilities["auth"][$auth_type])) { + /* We found an auth type that is allowed. */ + $this->auth_in_use = $auth_type; + } +@@ -724,7 +724,7 @@ + + switch ($this->auth_in_use) { + +- case "PLAIN": ++ case "plain": + $auth=base64_encode($this->user."\0".$this->auth."\0".$this->pass); + + $this->len=strlen($auth); +@@ -741,7 +741,7 @@ + return true; + break; + +- case "DIGEST-MD5": ++ case "digest-md5": + // SASL DIGEST-MD5 support works with timsieved 1.1.0 + // follows rfc2831 for generating the $response to $challenge + fputs($this->fp, "AUTHENTICATE \"DIGEST-MD5\"\r\n"); +@@ -790,7 +790,7 @@ + return TRUE; + break; + +- case "CRAM-MD5": ++ case "cram-md5": + // SASL CRAM-MD5 support works with timsieved 1.1.0 + // follows rfc2195 for generating the $response to $challenge + // CRAM-MD5 does not support proxy of $auth by $user +@@ -816,7 +816,7 @@ + return TRUE; + break; + +- case "LOGIN": ++ case "login": + $login=base64_encode($this->user); + $pass=base64_encode($this->pass); + diff -Nru avelsieve-1.9.9/debian/patches/series avelsieve-1.9.9/debian/patches/series --- avelsieve-1.9.9/debian/patches/series 2012-04-30 09:37:10.000000000 +0200 +++ avelsieve-1.9.9/debian/patches/series 2012-09-09 17:32:02.000000000 +0200 @@ -5,3 +5,4 @@ js_function_bugfix sieve-default-port fixes-call-time-pass-by-reference +avelsieve-changeset-1144.patch
signature.asc
Description: Digital signature