Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Feb 2006 21:57:50 -0500 (EST)
From:      Jonathan Noack <noackjr@alumni.rice.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        robin@isometry.net
Subject:   ports/93074: [PATCH] mail/dovecot: update to 1.0.beta3 (with kqueue support!)
Message-ID:  <20060209025750.9724764AD@optimator.noacks.org>
Resent-Message-ID: <200602090300.k1930MQP039235@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93074
>Category:       ports
>Synopsis:       [PATCH] mail/dovecot: update to 1.0.beta3 (with kqueue support!)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 09 03:00:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Noack
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD optimator.noacks.org 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #4: Wed Jan 29 18:10:45 EST 2006
>Description:
- Update to 1.0.beta3
  - Enable kqueue support
  - Remove --with-pam from CONFIGURE_ARGS (it is the default)
  - Set the dovecot user's home directory to /nonexistent

Port maintainer (robin@isometry.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- dovecot-1.0.b3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	20 Dec 2005 11:55:11 -0000	1.41
+++ Makefile	9 Feb 2006 02:49:02 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	dovecot
-DISTVERSION=	1.0.alpha5
+DISTVERSION=	1.0.beta3
 CATEGORIES=	mail ipv6
 MASTER_SITES=	http://www.dovecot.org/releases/
 
@@ -15,11 +15,10 @@
 COMMENT=	Secure and compact IMAP and POP3 servers
 
 USE_ICONV=	yes
-USE_REINPLACE=	yes
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--without-shadow --with-pam \
+CONFIGURE_ARGS=	--without-shadow --with-ioloop=kqueue --with-notify=kqueue \
 		--localstatedir=/var --with-ssl=openssl
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/distinfo,v
retrieving revision 1.22
diff -u -r1.22 distinfo
--- distinfo	20 Dec 2005 11:55:11 -0000	1.22
+++ distinfo	9 Feb 2006 00:58:29 -0000
@@ -1,3 +1,3 @@
-MD5 (dovecot-1.0.alpha5.tar.gz) = a3277835f04d73485ff5ce3cc3daeea7
-SHA256 (dovecot-1.0.alpha5.tar.gz) = 12330727df9ee513482b60830b0496fec338e3e866fcb18bd73a596827aaabd8
-SIZE (dovecot-1.0.alpha5.tar.gz) = 1266342
+MD5 (dovecot-1.0.beta3.tar.gz) = 5418f9f7fe99e4f10bb82d9fe504138a
+SHA256 (dovecot-1.0.beta3.tar.gz) = c283111cd57c7938356c3f564eec6a8e4ba066f5c448f209e305a1409232520e
+SIZE (dovecot-1.0.beta3.tar.gz) = 1360574
Index: pkg-install
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/pkg-install,v
retrieving revision 1.6
diff -u -r1.6 pkg-install
--- pkg-install	28 Jul 2004 12:18:11 -0000	1.6
+++ pkg-install	9 Feb 2006 01:30:28 -0000
@@ -57,7 +57,7 @@
 		echo "You need a user \"${u}\"."
 		if which -s pw && yesno "Would you like me to create it" y
 		then
-			pw useradd ${u} -g ${g} -h - -s /sbin/nologin -c "${gcos}" || exit
+			pw useradd ${u} -g ${g} -h - -s /sbin/nologin -d /nonexistent -c "${gcos}" || exit
 			echo "Done."
 		else
 			echo "Please create it, and try again."
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/pkg-plist,v
retrieving revision 1.14
diff -u -r1.14 pkg-plist
--- pkg-plist	20 Dec 2005 11:55:11 -0000	1.14
+++ pkg-plist	9 Feb 2006 01:23:55 -0000
@@ -1,29 +1,41 @@
 @comment $FreeBSD: ports/mail/dovecot/pkg-plist,v 1.14 2005/12/20 11:55:11 edwin Exp $
 etc/dovecot-example.conf
-lib/dovecot/imap/libimap_quota_plugin.a
-lib/dovecot/imap/libimap_quota_plugin.la
-lib/dovecot/imap/libimap_quota_plugin.so
-lib/dovecot/imap/libquota_plugin.so
-lib/dovecot/imap/libtrash_plugin.so
+lib/dovecot/imap/lib01_convert_plugin.so
+lib/dovecot/imap/lib01_quota_plugin.so
+lib/dovecot/imap/lib02_imap_quota_plugin.a
+lib/dovecot/imap/lib02_imap_quota_plugin.la
+lib/dovecot/imap/lib02_imap_quota_plugin.so
+lib/dovecot/imap/lib02_trash_plugin.so
+lib/dovecot/imap/lib01_zlib_plugin.a
+lib/dovecot/imap/lib01_zlib_plugin.la
+lib/dovecot/imap/lib01_zlib_plugin.so
 @dirrm lib/dovecot/imap
-lib/dovecot/lda/libquota_plugin.so
-lib/dovecot/lda/libtrash_plugin.so
+lib/dovecot/lda/lib01_convert_plugin.so
+lib/dovecot/lda/lib01_quota_plugin.so
+lib/dovecot/lda/lib02_trash_plugin.so
 @dirrm lib/dovecot/lda
-lib/dovecot/libquota_plugin.a
-lib/dovecot/libquota_plugin.la
-lib/dovecot/libquota_plugin.so
-lib/dovecot/libtrash_plugin.a
-lib/dovecot/libtrash_plugin.la
-lib/dovecot/libtrash_plugin.so
+lib/dovecot/pop3/lib01_convert_plugin.so
+@dirrm lib/dovecot/pop3
+lib/dovecot/lib01_convert_plugin.a
+lib/dovecot/lib01_convert_plugin.la
+lib/dovecot/lib01_convert_plugin.so
+lib/dovecot/lib01_quota_plugin.a
+lib/dovecot/lib01_quota_plugin.la
+lib/dovecot/lib01_quota_plugin.so
+lib/dovecot/lib02_trash_plugin.a
+lib/dovecot/lib02_trash_plugin.la
+lib/dovecot/lib02_trash_plugin.so
 @dirrm lib/dovecot
 libexec/dovecot/checkpassword-reply
-libexec/dovecot/deliver
+libexec/dovecot/dict
 libexec/dovecot/dovecot-auth
 libexec/dovecot/imap
 libexec/dovecot/imap-login
+libexec/dovecot/gdbhelper
 libexec/dovecot/pop3
 libexec/dovecot/pop3-login
 libexec/dovecot/rawlog
+libexec/dovecot/ssl-build-param
 @dirrm libexec/dovecot
 sbin/dovecot
 sbin/dovecotpw
Index: files/patch-dovecot-example.conf
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/files/patch-dovecot-example.conf,v
retrieving revision 1.17
diff -u -r1.17 patch-dovecot-example.conf
--- files/patch-dovecot-example.conf	20 Dec 2005 11:55:11 -0000	1.17
+++ files/patch-dovecot-example.conf	9 Feb 2006 01:11:40 -0000
@@ -1,5 +1,5 @@
---- dovecot-example.conf.orig	Sun Dec 18 15:10:59 2005
-+++ dovecot-example.conf	Sun Dec 18 15:15:02 2005
+--- dovecot-example.conf.orig	Thu Feb  2 16:31:21 2006
++++ dovecot-example.conf	Wed Feb  8 20:09:36 2006
 @@ -7,7 +7,7 @@
  # Default values are shown after each value, it's not required to uncomment
  # any of the lines. Exception to this are paths, they're just examples
@@ -51,23 +51,31 @@
  
  # If you need to set multiple mailbox locations or want to change default
  # namespace settings, you can do it by defining namespace sections:
-@@ -400,12 +400,12 @@
+@@ -420,19 +420,19 @@
  
  protocol imap {
    # Login executable location.
 -  #login_executable = /usr/libexec/dovecot/imap-login
 +  #login_executable = %%PREFIX%%/libexec/dovecot/imap-login
  
-   # IMAP executable location
+   # IMAP executable location. Changing this allows you to execute other
+   # binaries before the imap process is executed.
+   #
+   # This would write rawlogs into ~/dovecot.rawlog/ directory:
+-  #   mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
++  #   mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
+   #
+   # This would attach gdb into the imap process and write backtraces into
+   # /tmp/gdbhelper.* files:
+-  #   mail_executable = /usr/libexec/dovecot/gdbhelper /usr/libexec/dovecot/imap
++  #   mail_executable = %%PREFIX%%/libexec/dovecot/gdbhelper %%PREFIX%%/libexec/dovecot/imap
+   #
 -  #mail_executable = /usr/libexec/dovecot/imap
 +  #mail_executable = %%PREFIX%%/libexec/dovecot/imap
-   # This would write rawlogs into ~/dovecot.rawlog/ directory:
--  #mail_executable = /usr/libexec/dovecot/rawlog /usr/libexec/dovecot/imap
-+  #mail_executable = %%PREFIX%%/libexec/dovecot/rawlog %%PREFIX%%/libexec/dovecot/imap
  
    # Maximum IMAP command line length in bytes. Some clients generate very long
    # command lines with huge mailboxes, so you may need to raise this if you get
-@@ -414,7 +414,7 @@
+@@ -441,7 +441,7 @@
  
    # Support for dynamically loadable modules.
    #mail_use_modules = no
@@ -76,16 +84,16 @@
  
    # Send IMAP capabilities in greeting message. This makes it unnecessary for
    # clients to request it with CAPABILITY command, so it saves one round-trip.
-@@ -444,7 +444,7 @@
-   #     With mbox storage a mailbox can contain either mails or submailboxes,
+@@ -472,7 +472,7 @@
    #     but not both. Thunderbird separates these two by forcing server to
    #     accept '/' suffix in mailbox names in subscriptions list.
+   # The list is space-separated.
 -  #imap_client_workarounds = outlook-idle
 +  imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
  }
    
  ##
-@@ -453,10 +453,10 @@
+@@ -481,10 +481,10 @@
  
  protocol pop3 {
    # Login executable location.
@@ -98,7 +106,7 @@
  
    # Don't try to set mails non-recent or seen with POP3 sessions. This is
    # mostly intended to reduce disk I/O. With maildir it doesn't move files
-@@ -493,7 +493,7 @@
+@@ -521,7 +521,7 @@
    # installations. %08Xu%08Xv will be the new default, so use it for new
    # installations.
    #
@@ -107,7 +115,7 @@
  
    # POP3 logout format string:
    #  %t - number of TOP commands
-@@ -507,7 +507,7 @@
+@@ -535,7 +535,7 @@
  
    # Support for dynamically loadable modules.
    #mail_use_modules = no
@@ -116,16 +124,16 @@
  
    # Workarounds for various client bugs:
    #   outlook-no-nuls:
-@@ -516,7 +516,7 @@
-   #   oe-ns-eoh:
+@@ -545,7 +545,7 @@
    #     Outlook Express and Netscape Mail breaks if end of headers-line is
    #     missing. This option simply sends it if it's missing.
+   # The list is space-separated.
 -  #pop3_client_workarounds = 
 +  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  }
  
  ##
-@@ -524,7 +524,7 @@
+@@ -553,7 +553,7 @@
  ##
  
  # Executable location
--- dovecot-1.0.b3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209025750.9724764AD>