pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33489: dovecot-1.0beta8 problem on none-c99 compiler?



>Number:         33489
>Category:       pkg
>Synopsis:       dovecot-1.0beta8 problem on none-c99 compiler?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 16 07:50:00 +0000 2006
>Originator:     Takahiro Kambe
>Release:        NetBSD 1.6.2_STABLE
>Organization:
        Smart Field Corp.
>Environment:
        
        
System: NetBSD oike.SmartField.co.jp 1.6.2_STABLE NetBSD 1.6.2_STABLE (OIKE) 
#42: Sat Aug 6 11:52:46 JST 2005 
support%jone-system.com@localhost:/usr/src/sys/arch/i386/compile/OIKE i386
Architecture: i386
Machine: i386
>Description:
        dovecot-1.0-beta8 would not run with "Fatal: Protocol imaps (or
        pop3s) given more than once" if "imaps" or "pop3s" is specified
        as using protocols.

        See thread begin from
        http://www.dovecot.org/list/dovecot/2006-May/013389.html.

>How-To-Repeat:
        Build and run dovecot-1.0-beta8 on NetBSD 1.6.2 with enabling
        SSL; imaps or pop3s.
>Fix:
        Here is patch based on dovecot's CVS repository.

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/dovecot/distinfo,v
retrieving revision 1.29
diff -u -d -u -p -r1.29 distinfo
--- distinfo    12 May 2006 11:02:48 -0000      1.29
+++ distinfo    16 May 2006 07:39:32 -0000
@@ -5,3 +5,5 @@ RMD160 (dovecot-1.0.beta8.tar.gz) = 101a
 Size (dovecot-1.0.beta8.tar.gz) = 1392106 bytes
 SHA1 (patch-aa) = b2d48d991cb57f1ae99617d26a5d9f30fcdc4700
 SHA1 (patch-ab) = a674cc1cb195e31f7c8cd1cd2735c69e3562fca7
+SHA1 (patch-af) = f6e2417f258819ff06137d5cfdb4474ed4d47e3e
+SHA1 (patch-ag) = 0c2300e5d67709d3516ac78fd98d2c7a6f422bde
Index: patches/patch-af
===================================================================
RCS file: patches/patch-af
diff -N patches/patch-af
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-af    16 May 2006 07:39:32 -0000
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- src/master/master-settings.c.orig  2006-04-25 11:00:07.000000000 +0900
++++ src/master/master-settings.c
+@@ -366,7 +366,6 @@ struct settings default_settings = {
+       MEMBER(pop3_logout_format) "top=%t/%p, retr=%r/%b, del=%d/%m, size=%s",
+ 
+       /* .. */
+-      MEMBER(login_uid) 0,
+       MEMBER(listen_fd) -1,
+       MEMBER(ssl_listen_fd) -1
+ };
Index: patches/patch-ag
===================================================================
RCS file: patches/patch-ag
diff -N patches/patch-ag
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-ag    16 May 2006 07:39:32 -0000
@@ -0,0 +1,23 @@
+$NetBSD$
+
+--- src/master/master-settings.h.orig  2006-04-15 11:00:07.000000000 +0900
++++ src/master/master-settings.h
+@@ -116,14 +116,15 @@ struct settings {
+       const char *pop3_logout_format;
+ 
+       /* .. */
+-      uid_t login_uid;
++      int listen_fd, ssl_listen_fd;
+ 
+-      const char *imap_generated_capability;
++      uid_t login_uid;
+ 
+-      int listen_fd, ssl_listen_fd;
+       struct ip_addr listen_ip, ssl_listen_ip;
+       unsigned int listen_port, ssl_listen_port;
+ 
++      const char *imap_generated_capability;
++
+       array_t ARRAY_DEFINE(plugin_envs, const char *);
+ };
+ 

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index