summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorghen <ghen>2006-06-19 08:28:05 +0000
committerghen <ghen>2006-06-19 08:28:05 +0000
commit16d462d6451da09b55e3ea8ce53c5e001850b2a4 (patch)
tree33a17c7e117fc61a04ae8b21416829037f004928 /mail
parent8e62a457c8566003e21f787dcacc0cf80ab4461b (diff)
downloadpkgsrc-16d462d6451da09b55e3ea8ce53c5e001850b2a4.tar.gz
1.0beta9 didn't start when ssl_listen wasn't explicitly set in the config file.
Add a fix from Dovecot's CVS, and bump PKGREVISION.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot/Makefile4
-rw-r--r--mail/dovecot/distinfo3
-rw-r--r--mail/dovecot/patches/patch-ah18
3 files changed, 22 insertions, 3 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 3c28552777f..a55462c032b 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.54 2006/06/15 15:14:59 tv Exp $
+# $NetBSD: Makefile,v 1.55 2006/06/19 08:28:05 ghen Exp $
DISTNAME= dovecot-1.0.beta9
PKGNAME= ${DISTNAME:S/.beta/beta/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.dovecot.org/releases/
diff --git a/mail/dovecot/distinfo b/mail/dovecot/distinfo
index 288fabb92d8..6336960a6e8 100644
--- a/mail/dovecot/distinfo
+++ b/mail/dovecot/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2006/06/13 16:51:40 ghen Exp $
+$NetBSD: distinfo,v 1.32 2006/06/19 08:28:05 ghen Exp $
SHA1 (dovecot-1.0.beta9.tar.gz) = c3f5014e67cd993206373915ee622ed1f68b4b14
RMD160 (dovecot-1.0.beta9.tar.gz) = 30d423b9fd2056fd8d898bc4bc630d3806cc64c4
@@ -6,3 +6,4 @@ Size (dovecot-1.0.beta9.tar.gz) = 1245601 bytes
SHA1 (patch-aa) = b2d48d991cb57f1ae99617d26a5d9f30fcdc4700
SHA1 (patch-ab) = 987747a6fa0abc19c28935b7c86a2adc568e14f0
SHA1 (patch-ag) = ffb66cf054c0377245f3b400f65eabd975a225aa
+SHA1 (patch-ah) = 4da22e1c515c9c6bd9256d85b74919353fd4b9a1
diff --git a/mail/dovecot/patches/patch-ah b/mail/dovecot/patches/patch-ah
new file mode 100644
index 00000000000..9e9cfa6ec3f
--- /dev/null
+++ b/mail/dovecot/patches/patch-ah
@@ -0,0 +1,18 @@
+$NetBSD: patch-ah,v 1.1 2006/06/19 08:28:05 ghen Exp $
+
+1.0beta9 didn't start when ssl_listen wasn't explicitly set in the config file.
+This fix is from Dovecot's CVS so it will be in the next release.
+
+--- src/master/main.c.orig 2006-06-11 19:43:41.000000000 +0200
++++ src/master/main.c
+@@ -355,7 +355,9 @@ static void listen_protocols(struct sett
+ resolve_ip(set->listen, &set->listen_ip, &set->listen_port);
+ resolve_ip(set->ssl_listen, &set->ssl_listen_ip, &set->ssl_listen_port);
+
+- if (set->ssl_listen_ip.family == 0 && set->ssl_listen == NULL)
++ /* if ssl_listen wasn't explicitly set in the config file,
++ use the non-ssl IP settings for the ssl listener, too. */
++ if (set->ssl_listen_ip.family == 0 && *set->ssl_listen == '\0')
+ set->ssl_listen_ip = set->listen_ip;
+
+ /* register wanted protocols */