On 06/25/10 17:27, Giovanni Bechis wrote:
Update to Courier-imap 4.8.0, comments ? ok ?

Updated diff.
 Cheers
  Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/courier-imap/Makefile,v
retrieving revision 1.59
diff -u -p -r1.59 Makefile
--- Makefile    21 Apr 2010 07:18:25 -0000      1.59
+++ Makefile    29 Jun 2010 13:12:22 -0000
@@ -3,7 +3,7 @@
 COMMENT-main=          imap server for maildir format mailboxes
 COMMENT-pop3=          pop3 server for maildir format mailboxes
 
-V=                     4.7.0
+V=                     4.8.0
 DISTNAME=              courier-imap-${V}
 PKGNAME-main=          ${DISTNAME}
 FULLPKGNAME-pop3=      courier-pop3-${V}
@@ -33,7 +33,8 @@ CONFIGURE_ENV=                LDFLAGS="-L${LOCALBASE}/
                        CXXFLAGS="-I${LOCALBASE}/include" \
                        CPPFLAGS="-I${LOCALBASE}/include"
 
-LIB_DEPENDS=           
courierauthsasl.>=0,courierauth.>=0::mail/courier-authlib
+LIB_DEPENDS=           
courierauthsasl.>=0,courierauth.>=0::mail/courier-authlib \
+                       idn::devel/libidn
 
 COURIERSTATE=           /var/run/courier
 EXAMPLE_DIR=           ${PREFIX}/share/examples/courier
@@ -90,6 +91,8 @@ MULTI_PACKAGES=               -main -pop3
 LIB_DEPENDS-main=      ${LIB_DEPENDS} \
                        gdbm.>=3::databases/gdbm
 WANTLIB-main=          ${WANTLIB} ssl crypto
+MODULES=               converters/libiconv \
+                       devel/gettext
 
 CNFFILES=              etc/courier/imapd-ssl.dist etc/courier/imapd.dist \
                        etc/courier/pop3d-ssl.dist etc/courier/pop3d.dist \
Index: distinfo
===================================================================
RCS file: /cvs/ports/mail/courier-imap/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo    21 Apr 2010 07:18:25 -0000      1.12
+++ distinfo    29 Jun 2010 13:12:22 -0000
@@ -1,5 +1,5 @@
-MD5 (courier-imap-4.7.0.tar.bz2) = 5phIkOGuzzzGsJmhYZMk5g==
-RMD160 (courier-imap-4.7.0.tar.bz2) = KrF2j7dxTP4pHtzADJbMJ2rxJ4I=
-SHA1 (courier-imap-4.7.0.tar.bz2) = lynzrdhpJWOGXaUWfP6I8iJ8OWg=
-SHA256 (courier-imap-4.7.0.tar.bz2) = 
oKms7ns2OZ0iZmrFruIsvF21KZagd5HgM78fe643C58=
-SIZE (courier-imap-4.7.0.tar.bz2) = 3414328
+MD5 (courier-imap-4.8.0.tar.bz2) = h8UB5l6uedZntRI99q6J8g==
+RMD160 (courier-imap-4.8.0.tar.bz2) = z8C+7GiTwVXPlxLZIAAjIBaa0MU=
+SHA1 (courier-imap-4.8.0.tar.bz2) = 9ojOqHxmGBNiYizpy9RxDXUmjPw=
+SHA256 (courier-imap-4.8.0.tar.bz2) = 
7HURpDmJIKBPO7YM8SCOKamlQyuu/001ak7BQhE7+/I=
+SIZE (courier-imap-4.8.0.tar.bz2) = 3362734
Index: patches/patch-imap_courierpop3d_8_in
===================================================================
RCS file: patches/patch-imap_courierpop3d_8_in
diff -N patches/patch-imap_courierpop3d_8_in
--- patches/patch-imap_courierpop3d_8_in        21 Apr 2010 07:18:25 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-imap_courierpop3d_8_in,v 1.1 2010/04/21 07:18:25 giovanni Exp $
---- imap/courierpop3d.8.in.orig        Fri Jan  8 20:00:30 2010
-+++ imap/courierpop3d.8.in     Fri Jan  8 20:01:00 2010
-@@ -27,7 +27,6 @@
- .de SH-xref
- .ie n \{\
- .\}
--.toupper \\$*
- .el \{\
- \\$*
- .\}
-@@ -56,9 +55,6 @@
- .ft B
- .ne (2v + 1u)
- .ie n \{\
--.\" if n (TTY output), use uppercase
--.toupper \\$*
--.\}
- .el \{\
- .nr an-break-flag 0
- .\" if not n (not TTY), use normal case (not uppercase)
Index: patches/patch-imap_imapd_8_in
===================================================================
RCS file: patches/patch-imap_imapd_8_in
diff -N patches/patch-imap_imapd_8_in
--- patches/patch-imap_imapd_8_in       21 Apr 2010 07:18:25 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-imap_imapd_8_in,v 1.1 2010/04/21 07:18:25 giovanni Exp $
---- imap/imapd.8.in.orig       Fri Jan  8 20:00:17 2010
-+++ imap/imapd.8.in    Fri Jan  8 20:00:46 2010
-@@ -27,7 +27,6 @@
- .de SH-xref
- .ie n \{\
- .\}
--.toupper \\$*
- .el \{\
- \\$*
- .\}
-@@ -56,9 +55,6 @@
- .ft B
- .ne (2v + 1u)
- .ie n \{\
--.\" if n (TTY output), use uppercase
--.toupper \\$*
--.\}
- .el \{\
- .nr an-break-flag 0
- .\" if not n (not TTY), use normal case (not uppercase)
Index: patches/patch-maildir_maildiracl_1_in
===================================================================
RCS file: patches/patch-maildir_maildiracl_1_in
diff -N patches/patch-maildir_maildiracl_1_in
--- patches/patch-maildir_maildiracl_1_in       21 Apr 2010 07:18:25 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-maildir_maildiracl_1_in,v 1.1 2010/04/21 07:18:25 giovanni Exp 
$
---- maildir/maildiracl.1.in.orig       Fri Jan  8 19:57:10 2010
-+++ maildir/maildiracl.1.in    Fri Jan  8 19:59:39 2010
-@@ -27,7 +27,6 @@
- .de SH-xref
- .ie n \{\
- .\}
--.toupper \\$*
- .el \{\
- \\$*
- .\}
-@@ -56,9 +55,6 @@
- .ft B
- .ne (2v + 1u)
- .ie n \{\
--.\" if n (TTY output), use uppercase
--.toupper \\$*
--.\}
- .el \{\
- .nr an-break-flag 0
- .\" if not n (not TTY), use normal case (not uppercase)
Index: patches/patch-maildir_maildirmake_1_in
===================================================================
RCS file: patches/patch-maildir_maildirmake_1_in
diff -N patches/patch-maildir_maildirmake_1_in
--- patches/patch-maildir_maildirmake_1_in      21 Apr 2010 07:18:25 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$OpenBSD: patch-maildir_maildirmake_1_in,v 1.1 2010/04/21 07:18:25 giovanni 
Exp $
---- maildir/maildirmake.1.in.orig      Fri Jan  8 19:57:25 2010
-+++ maildir/maildirmake.1.in   Fri Jan  8 19:59:58 2010
-@@ -27,7 +27,6 @@
- .de SH-xref
- .ie n \{\
- .\}
--.toupper \\$*
- .el \{\
- \\$*
- .\}
-@@ -56,9 +55,6 @@
- .ft B
- .ne (2v + 1u)
- .ie n \{\
--.\" if n (TTY output), use uppercase
--.toupper \\$*
--.\}
- .el \{\
- .nr an-break-flag 0
- .\" if not n (not TTY), use normal case (not uppercase)
Index: patches/patch-rfc822_rfc822_c
===================================================================
RCS file: patches/patch-rfc822_rfc822_c
diff -N patches/patch-rfc822_rfc822_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-rfc822_rfc822_c       29 Jun 2010 13:12:22 -0000
@@ -0,0 +1,27 @@
+$OpenBSD$
+--- rfc822/rfc822.c.orig       Sun Nov 22 22:22:24 2009
++++ rfc822/rfc822.c    Tue Jun 29 13:19:53 2010
+@@ -627,10 +627,12 @@ static int rfc822_print_common_nameaddr(const struct r
+       p=(*decode_func)(addrbuf, chset, 1);
+       free(addrbuf);
+ 
++      if (!p)
++              return -1;
++
+       if (print_braces)
+               (*print_func)(' ', ptr);
+ 
+-
+       for (q=p; *q; ++q)
+               if (*q != '.' && *q != '@' && strchr(RFC822_SPECIALS, *q))
+               {
+@@ -640,9 +642,6 @@ static int rfc822_print_common_nameaddr(const struct r
+ 
+       if (print_braces)
+               (*print_func)('<', ptr);
+-
+-      if (!p)
+-              return -1;
+ 
+       for (addrbuf=p; *p; p++)
+               (*print_func)(*p, ptr);

Reply via email to