summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authorsalo <salo>2003-09-23 13:54:25 +0000
committersalo <salo>2003-09-23 13:54:25 +0000
commit9ef951fb5a070800f611cd8a93100f46d9a01093 (patch)
treed35597fcd6c81e6ad2ce2bdd5e3b2fb1abea0ebe /mail/dovecot
parent0af75ca0a4c4c2f1ba27d8d96849adcb1ebafec2 (diff)
downloadpkgsrc-9ef951fb5a070800f611cd8a93100f46d9a01093.tar.gz
PKGREVISION++
Apply bugfix patches for the following problems: - Searching address fields can crash sometimes. - Auth process crashes if user doesn't have home directory set. - Some BODY and BODYSTRUCTURE replies missed data for message/rfc822 MIME parts causing clients to break.
Diffstat (limited to 'mail/dovecot')
-rw-r--r--mail/dovecot/Makefile27
-rw-r--r--mail/dovecot/distinfo7
-rw-r--r--mail/dovecot/patches/patch-ac32
3 files changed, 54 insertions, 12 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index cb7907d5197..1fb07ba630d 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,18 +1,23 @@
-# $NetBSD: Makefile,v 1.5 2003/07/04 14:39:38 salo Exp $
+# $NetBSD: Makefile,v 1.6 2003/09/23 13:54:25 salo Exp $
#
-DISTNAME= dovecot-0.99.10
-CATEGORIES= mail
-MASTER_SITES= http://dovecot.procontrol.fi/
+DISTNAME= dovecot-0.99.10
+PKGREVISION= 1
+CATEGORIES= mail
+MASTER_SITES= http://dovecot.procontrol.fi/
-MAINTAINER= tom@replic8.net
-HOMEPAGE= http://dovecot.procontrol.fi/
-COMMENT= Secure IMAP and POP3 server
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= auth-home.patch bodystructure.patch
+PATCH_DIST_STRIP= -p1
-USE_BUILDLINK2= YES
-USE_LIBTOOL= YES
-USE_PKGINSTALL= YES
-GNU_CONFIGURE= YES
+MAINTAINER= tom@replic8.net
+HOMEPAGE= http://dovecot.procontrol.fi/
+COMMENT= Secure IMAP and POP3 server
+
+USE_BUILDLINK2= YES
+USE_LIBTOOL= YES
+USE_PKGINSTALL= YES
+GNU_CONFIGURE= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index 6fbda19ff11..14069c2a2bc 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,6 +1,11 @@
-$NetBSD: distinfo,v 1.4 2003/07/04 14:39:38 salo Exp $
+$NetBSD: distinfo,v 1.5 2003/09/23 13:54:25 salo Exp $
SHA1 (dovecot-0.99.10.tar.gz) = 0a1d83cbd27c3aa3e0732416a0871afc23ee5e19
Size (dovecot-0.99.10.tar.gz) = 735615 bytes
+SHA1 (auth-home.patch) = 5af6aa64c81d4bf8b0bc0f7684a1c500198b981a
+Size (auth-home.patch) = 612 bytes
+SHA1 (bodystructure.patch) = f9a94981a4b8527001203725d22ac74f21968d57
+Size (bodystructure.patch) = 3010 bytes
SHA1 (patch-aa) = 6ed31ba47883903e5a7b2fcb715432e0c3e8947c
SHA1 (patch-ab) = 0aca5084186f7faa812351e83d1c9535248da2b0
+SHA1 (patch-ac) = 6593c335779aacd0bf285a4faf6411150d4acdcf
diff --git a/mail/dovecot/patches/patch-ac b/mail/dovecot/patches/patch-ac
new file mode 100644
index 00000000000..04d2b196d4c
--- /dev/null
+++ b/mail/dovecot/patches/patch-ac
@@ -0,0 +1,32 @@
+$NetBSD: patch-ac,v 1.1 2003/09/23 13:54:25 salo Exp $
+
+--- src/lib-mail/message-address.c.orig 2003-03-20 16:46:34.000000000 +0100
++++ src/lib-mail/message-address.c 2003-09-23 15:42:11.000000000 +0200
+@@ -252,14 +252,14 @@
+ } else if ((addr->name == NULL || *addr->name == '\0') &&
+ addr->route == NULL) {
+ i_assert(addr->mailbox != NULL);
+- i_assert(addr->domain != NULL);
+
+ str_append(str, addr->mailbox);
++ if (addr->domain != NULL) {
+ str_append_c(str, '@');
+ str_append(str, addr->domain);
++ }
+ } else {
+ i_assert(addr->mailbox != NULL);
+- i_assert(addr->domain != NULL);
+
+ if (addr->name != NULL) {
+ str_append(str, addr->name);
+@@ -272,8 +272,10 @@
+ str_append_c(str, ':');
+ }
+ str_append(str, addr->mailbox);
++ if (addr->domain != NULL) {
+ str_append_c(str, '@');
+ str_append(str, addr->domain);
++ }
+ str_append_c(str, '>');
+ }
+