From 02c6ff8c1cfd2bde0da866daad1deb6deb8f71bc Mon Sep 17 00:00:00 2001 From: manu Date: Thu, 25 Jun 2009 09:54:14 +0000 Subject: Enlarge the buffer for communication between auth worker client and server. This allows exotic authentications that use a large data payload to work. This patch has been committed upstream. --- mail/dovecot/Makefile | 3 ++- mail/dovecot/distinfo | 3 ++- mail/dovecot/patches/patch-ai | 13 +++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 mail/dovecot/patches/patch-ai (limited to 'mail/dovecot') diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index eca5460ae8c..c76b21da29e 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.134 2009/06/03 07:10:20 ghen Exp $ +# $NetBSD: Makefile,v 1.135 2009/06/25 09:54:14 manu Exp $ DISTNAME= dovecot-1.1.16 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.dovecot.org/releases/1.1/ diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo index 639ec6b8061..35ad4f4f638 100644 --- a/mail/dovecot/distinfo +++ b/mail/dovecot/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.99 2009/06/03 07:10:20 ghen Exp $ +$NetBSD: distinfo,v 1.100 2009/06/25 09:54:14 manu Exp $ SHA1 (dovecot-1.1.16.tar.gz) = 3aa7f386559f244b3a9addad27c4845c554e545b RMD160 (dovecot-1.1.16.tar.gz) = 53122e86f217e33f24b52559fece5ace35689eb4 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 2531c84a2ae34e74bb55fa33ccb0aabbbc263de0 SHA1 (patch-ac) = 4baa1d5160618f1e23eb8b401daca0afa7dfe9ea SHA1 (patch-ag) = c9989f71bdfd9ae22883450b85fc55a215594df1 SHA1 (patch-ah) = b6b278e04538fc3408d7c176d22c1ec7b83c9875 +SHA1 (patch-ai) = 7d4c3d21e025e2fe04499d705e1646eb757379c5 diff --git a/mail/dovecot/patches/patch-ai b/mail/dovecot/patches/patch-ai new file mode 100644 index 00000000000..e3b0d1b28bd --- /dev/null +++ b/mail/dovecot/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.3 2009/06/25 09:54:14 manu Exp $ +--- src/auth/auth-worker-client.h.orig 2009-06-23 18:32:15.000000000 +0200 ++++ src/auth/auth-worker-client.h 2009-06-23 18:32:33.000000000 +0200 +@@ -1,8 +1,8 @@ + #ifndef AUTH_WORKER_CLIENT_H + #define AUTH_WORKER_CLIENT_H + +-#define AUTH_WORKER_MAX_LINE_LENGTH 1024 ++#define AUTH_WORKER_MAX_LINE_LENGTH 8192 + + struct auth_worker_client *auth_worker_client_create(struct auth *auth, int fd); + void auth_worker_client_destroy(struct auth_worker_client **client); + void auth_worker_client_unref(struct auth_worker_client **client); -- cgit v1.2.3