Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Andraž 'ruskie' Levstik (0b058fdcb231f4a7ee4ee180b70b19a5a8585d8d)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž 'ruskie' Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Andraž 'ruskie' Levstik (0b058fdcb231f4a7ee4ee180b70b19a5a8585d8d)
  • Date: Thu, 9 Jul 2009 00:32:56 -0500

GIT changes to master grimoire by Andraž 'ruskie' Levstik
<ruskie+2054d253 AT codemages.net>:

mail/dovecot/8f8b5e2f8df7.patch | 20 ++++++++++++++++++++
mail/dovecot/DETAILS | 2 +-
mail/dovecot/HISTORY | 8 +++++++-
mail/dovecot/PRE_BUILD | 2 ++
mail/dovecot/dovecot.gpg |binary
mail/dovecot/ee173ea99ea6.patch | 23 +++++++++++++++++++++++
6 files changed, 53 insertions(+), 2 deletions(-)

New commits:
commit 988dda7f9ed0f9c13804e6f8fcf086f1f554c424
Author: Andraž 'ruskie' Levstik <ruskie+2054d253 AT codemages.net>
Commit: Andraž 'ruskie' Levstik <ruskie+2054d253 AT codemages.net>

dovecot: fixes for PLAIN auth

diff --git a/mail/dovecot/8f8b5e2f8df7.patch b/mail/dovecot/8f8b5e2f8df7.patch
new file mode 100644
index 0000000..6e06f00
--- /dev/null
+++ b/mail/dovecot/8f8b5e2f8df7.patch
@@ -0,0 +1,20 @@
+
+# HG changeset patch
+# User Timo Sirainen <tss AT iki.fi>
+# Date 1246987224 14400
+# Node ID 8f8b5e2f8df7dc6e68630bc47df6ac0e27f344d2
+# Parent d6337be8ae305ee5d095b806f10afc3207f3a261
+pop3: Fixed AUTH PLAIN command when SASL initial response wasn't specified.
+
+--- a/src/pop3-login/client-authenticate.c Tue Jul 07 12:40:31 2009 -0400
++++ b/src/pop3-login/client-authenticate.c Tue Jul 07 13:20:24 2009 -0400
+@@ -319,7 +319,7 @@ bool cmd_auth(struct pop3_client *client
+ p = strchr(args, ' ');
+ if (p == NULL) {
+ mech_name = args;
+- args = "";
++ args = NULL;
+ } else {
+ mech_name = t_strdup_until(args, p);
+ args = p+1;
+
diff --git a/mail/dovecot/DETAILS b/mail/dovecot/DETAILS
index 6f3a473..7f8f130 100755
--- a/mail/dovecot/DETAILS
+++ b/mail/dovecot/DETAILS
@@ -28,7 +28,7 @@ if [[ "$DOVECOT_EXT_LDA" == "y" ]]; then
SOURCE8=$SPELL-${VERSION}-managesieve-$VERSION3.diff.gz.sig
SOURCE8_URL[0]=http://www.rename-it.nl/dovecot/${VERSION%.*}/$SOURCE8
SOURCE8_IGNORE=signature
- SOURCE7_GPG="dovecot.gpg:${SOURCE7}:UPSTREAM_KEY"
+ SOURCE7_GPG="dovecot.gpg:${SOURCE8}:UPSTREAM_KEY"
fi
fi
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/mail/dovecot/HISTORY b/mail/dovecot/HISTORY
index df98c0e..3f82121 100644
--- a/mail/dovecot/HISTORY
+++ b/mail/dovecot/HISTORY
@@ -1,6 +1,12 @@
+2009-07-09 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
+ * 8f8b5e2f8df7.patch: added for PLAIN auth bug
+ * ee173ea99ea6.patch: added for PLAIN auth bog
+ * PRE_BUILD: apply patches
+ * DETAILS: updated verification
+
2009-07-07 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* DETAILS: PATCHLEVEL++ for sieve and sieve and managesieve updates
- * PRE_BUILD: forgot to add this, removed the sed
+ * PRE_BUILD: forgot to add this, removed the se

2009-07-03 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* DETAILS: updated spell to 1.2.0
diff --git a/mail/dovecot/PRE_BUILD b/mail/dovecot/PRE_BUILD
index 3bcbc45..8c51049 100755
--- a/mail/dovecot/PRE_BUILD
+++ b/mail/dovecot/PRE_BUILD
@@ -1,5 +1,7 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+patch -p1 < $SPELL_DIRECTORY/ee173ea99ea6.patch &&
+patch -p1 < $SPELL_DIRECTORY/8f8b5e2f8df7.patch &&
if [[ "$DOVECOT_EXT_LDA" == "y" ]]; then
unpack_file 3 &&
if [[ "$DOVECOT_MANAGESIEVE" == "y" ]]; then
diff --git a/mail/dovecot/dovecot.gpg b/mail/dovecot/dovecot.gpg
index 31029a8..05d41dd 100644
Binary files a/mail/dovecot/dovecot.gpg and b/mail/dovecot/dovecot.gpg differ
diff --git a/mail/dovecot/ee173ea99ea6.patch b/mail/dovecot/ee173ea99ea6.patch
new file mode 100644
index 0000000..032f566
--- /dev/null
+++ b/mail/dovecot/ee173ea99ea6.patch
@@ -0,0 +1,23 @@
+
+# HG changeset patch
+# User Timo Sirainen <tss AT iki.fi>
+# Date 1246987501 14400
+# Node ID ee173ea99ea630f624db378ef518984fa959f3f6
+# Parent 8f8b5e2f8df7dc6e68630bc47df6ac0e27f344d2
+auth: Ignore empty initial response strings.
+
+--- a/src/auth/auth-request-handler.c Tue Jul 07 13:20:24 2009 -0400
++++ b/src/auth/auth-request-handler.c Tue Jul 07 13:25:01 2009 -0400
+@@ -364,7 +364,10 @@ bool auth_request_handler_auth_begin(str
+ return TRUE;
+ }
+
+- if (initial_resp == NULL) {
++ /* Empty initial response is a "=" base64 string. Completely empty
++ string shouldn't really be sent, but at least Exim does it,
++ so just allow it for backwards compatibility.. */
++ if (initial_resp == NULL || *initial_resp == '\0') {
+ initial_resp_data = NULL;
+ initial_resp_len = 0;
+ } else {
+



  • [SM-Commit] GIT changes to master grimoire by Andraž 'ruskie' Levstik (0b058fdcb231f4a7ee4ee180b70b19a5a8585d8d), Andraž 'ruskie' Levstik, 07/09/2009

Archive powered by MHonArc 2.6.24.

Top of Page