ports/90606: Maintainer update: mail/dovecot to 1.0.a5

Robin Breathe robin at isometry.net
Sun Dec 18 20:30:22 UTC 2005


The following reply was made to PR ports/90606; it has been noted by GNATS.

From: Robin Breathe <robin at isometry.net>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/90606: Maintainer update: mail/dovecot to 1.0.a5
Date: Sun, 18 Dec 2005 20:22:20 +0000

 --Apple-Mail-12--136165469
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	delsp=yes;
 	format=flowed
 
 Attached is a revised patch which no longer depends on the autotools.
 I'll use --without-docs, as in the original patch, once the vendor  
 applies my patches upstream.
 As before, remove files/patch-src-lib-index-mail-index-sync-ext.c and  
 apply the patch:
 
 
 --Apple-Mail-12--136165469
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0755;
 	name="dovecot-1.0.a5b.diff"
 Content-Disposition: attachment;
 	filename=dovecot-1.0.a5b.diff
 
 diff -ruN dovecot-1.0.a4_2/Makefile dovecot/Makefile
 --- dovecot-1.0.a4_2/Makefile	Sun Dec 18 15:00:43 2005
 +++ dovecot/Makefile	Sun Dec 18 20:15:21 2005
 @@ -7,8 +7,7 @@
  #
  
  PORTNAME=	dovecot
 -DISTVERSION=	1.0.alpha4
 -PORTREVISION=	2
 +DISTVERSION=	1.0.alpha5
  CATEGORIES=	mail ipv6
  MASTER_SITES=	http://www.dovecot.org/releases/
  
 @@ -16,6 +15,7 @@
  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}
 @@ -26,13 +26,13 @@
  
  PKGMESSAGE=	${WRKDIR}/pkg-message
  
 -DOCS=		USE-WIKI-INSTEAD \
 +PORTDOCS=	USE-WIKI-INSTEAD \
  		auth-protocol.txt auth.txt configuration.txt design.txt \
 -		index.txt mail-storages.txt mkcert.sh multiaccess.txt \
 -		nfs.txt securecoding.txt variables.txt \
 -		dovecot-ldap.conf dovecot-sql.conf dovecot-openssl.cnf
 +		index.txt mail-storages.txt multiaccess.txt nfs.txt \
 +		securecoding.txt variables.txt
  
  OPTIONS=	SASL2		"SASL2 support"		off \
 +		GSSAPI		"GSSAPI support"	off \
  		VPOPMAIL	"VPopMail support"	off \
  		LDAP		"OpenLDAP support"	off \
  		PGSQL		"PostgreSQL support"	off \
 @@ -41,7 +41,7 @@
  
  .include <bsd.port.pre.mk>
  
 -.if ${OSVERSION} < 500038 || !defined(WITH_RCORDER)
 +.if ( ${OSVERSION} < 500038 ) || !defined(WITH_RCORDER)
  USE_RC_SUBR=	dovecot.sh
  .else
  USE_RCORDER=	dovecot.sh
 @@ -49,15 +49,19 @@
  
  ## SASL2 support
  #
 -# SASL provides authentication support to
 -# session-based protocols. This is can be
 -# used by dovecot for authentication sources.
 -#
  .if defined(WITH_SASL2)
  LIB_DEPENDS+=		sasl2.2:${PORTSDIR}/security/cyrus-sasl2
  CONFIGURE_ARGS+=	--with-cyrus-sasl2
  .endif
  
 +## GSSAPI support
 +#
 +.if defined(WITH_GSSAPI)
 +CONFIGURE_ARGS+=	--with-gssapi
 +.else
 +CONFIGURE_ARGS+=	--without-gssapi
 +.endif
 +
  ## VPopMail Support
  #
  .if defined(WITH_VPOPMAIL)
 @@ -89,34 +93,18 @@
  CONFIGURE_ARGS+=	--with-mysql
  .endif
  
 +pre-configure:
 +.if defined(NOPORTDOCS)
 +	@${REINPLACE_CMD} -e 's/^\(SUBDIRS = src\) doc/\1/' \
 +		${WRKSRC}/Makefile.in
 +.endif
 +
  post-build:
 -	@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
 -		${WRKSRC}/dovecot-example.conf >${WRKDIR}/dovecot.conf.sample
 +	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
 +		${WRKSRC}/dovecot-example.conf
  
  pre-install:
  	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
 -
 -do-install:
 -	@${MKDIR} ${PREFIX}/libexec/dovecot
 -	${INSTALL_PROGRAM} \
 -		${WRKSRC}/src/auth/checkpassword-reply \
 -		${WRKSRC}/src/auth/dovecot-auth \
 -		${WRKSRC}/src/deliver/deliver \
 -		${WRKSRC}/src/imap/imap \
 -		${WRKSRC}/src/imap-login/imap-login \
 -		${WRKSRC}/src/pop3/pop3 \
 -		${WRKSRC}/src/pop3-login/pop3-login \
 -		${WRKSRC}/src/util/rawlog \
 -			${PREFIX}/libexec/dovecot/
 -	${INSTALL_PROGRAM} \
 -		${WRKSRC}/src/master/dovecot \
 -		${WRKSRC}/src/util/dovecotpw \
 -			${PREFIX}/sbin/
 -	${INSTALL_DATA} ${WRKDIR}/dovecot.conf.sample ${PREFIX}/etc/
 -.if !defined(NOPORTDOCS)
 -	@${MKDIR} ${DOCSDIR}
 -	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 -.endif
  
  post-install:
  	@${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 diff -ruN dovecot-1.0.a4_2/distinfo dovecot/distinfo
 --- dovecot-1.0.a4_2/distinfo	Sun Dec 18 15:00:43 2005
 +++ dovecot/distinfo	Sun Dec 18 14:59:43 2005
 @@ -1,2 +1,3 @@
 -MD5 (dovecot-1.0.alpha4.tar.gz) = 65f8e2cd097e80b536a75c31a974b5de
 -SIZE (dovecot-1.0.alpha4.tar.gz) = 1203714
 +MD5 (dovecot-1.0.alpha5.tar.gz) = a3277835f04d73485ff5ce3cc3daeea7
 +SHA256 (dovecot-1.0.alpha5.tar.gz) = 12330727df9ee513482b60830b0496fec338e3e866fcb18bd73a596827aaabd8
 +SIZE (dovecot-1.0.alpha5.tar.gz) = 1266342
 diff -ruN dovecot-1.0.a4_2/files/patch-dovecot-example.conf dovecot/files/patch-dovecot-example.conf
 --- dovecot-1.0.a4_2/files/patch-dovecot-example.conf	Sun Dec 18 15:00:43 2005
 +++ dovecot/files/patch-dovecot-example.conf	Sun Dec 18 15:15:32 2005
 @@ -1,5 +1,5 @@
 ---- dovecot-example.conf.orig	Thu Oct 20 15:33:33 2005
 -+++ dovecot-example.conf	Thu Oct 20 15:38:40 2005
 +--- dovecot-example.conf.orig	Sun Dec 18 15:10:59 2005
 ++++ dovecot-example.conf	Sun Dec 18 15:15:02 2005
  @@ -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
 @@ -18,16 +18,7 @@
   
   # IP or host address where to listen in for connections. It's not currently
   # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
 -@@ -95,7 +95,7 @@
 - # only it has access, it's used to control access for authentication process.
 - # Note that this user is NOT used to access mails.
 - # http://wiki.dovecot.org/UserIds
 --#login_user = dovecot
 -+login_user = dovecot
 - 
 - # Set max. process size in megabytes. If you don't use
 - # login_process_per_connection you might need to grow this.
 -@@ -148,7 +148,7 @@
 +@@ -153,7 +153,7 @@
   # Show more verbose process titles (in ps). Currently shows user name and
   # IP address. Useful for seeing who are actually using the IMAP processes
   # (eg. shared mailboxes or if same uid is used for multiple accounts).
 @@ -36,7 +27,7 @@
   
   # Show protocol level SSL errors.
   #verbose_ssl = no
 -@@ -164,12 +164,12 @@
 +@@ -169,12 +169,12 @@
   # non-valid GID as primary group ID aren't allowed to log in. If user
   # belongs to supplementary groups with non-valid GIDs, those groups are
   # not set.
 @@ -51,7 +42,7 @@
   
   # ':' separated list of directories under which chrooting is allowed for mail
   # processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too).
 -@@ -205,7 +205,7 @@
 +@@ -210,7 +210,7 @@
   #   default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
   #   default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
   #
 @@ -60,7 +51,7 @@
   
   # If you need to set multiple mailbox locations or want to change default
   # namespace settings, you can do it by defining namespace sections:
 -@@ -391,12 +391,12 @@
 +@@ -400,12 +400,12 @@
   
   protocol imap {
     # Login executable location.
 @@ -76,7 +67,7 @@
   
     # 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
 -@@ -405,7 +405,7 @@
 +@@ -414,7 +414,7 @@
   
     # Support for dynamically loadable modules.
     #mail_use_modules = no
 @@ -85,7 +76,7 @@
   
     # Send IMAP capabilities in greeting message. This makes it unnecessary for
     # clients to request it with CAPABILITY command, so it saves one round-trip.
 -@@ -435,7 +435,7 @@
 +@@ -444,7 +444,7 @@
     #     With mbox storage a mailbox can contain either mails or submailboxes,
     #     but not both. Thunderbird separates these two by forcing server to
     #     accept '/' suffix in mailbox names in subscriptions list.
 @@ -94,7 +85,7 @@
   }
     
   ##
 -@@ -444,10 +444,10 @@
 +@@ -453,10 +453,10 @@
   
   protocol pop3 {
     # Login executable location.
 @@ -107,7 +98,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
 -@@ -484,7 +484,7 @@
 +@@ -493,7 +493,7 @@
     # installations. %08Xu%08Xv will be the new default, so use it for new
     # installations.
     #
 @@ -116,7 +107,7 @@
   
     # POP3 logout format string:
     #  %t - number of TOP commands
 -@@ -498,7 +498,7 @@
 +@@ -507,7 +507,7 @@
   
     # Support for dynamically loadable modules.
     #mail_use_modules = no
 @@ -125,7 +116,7 @@
   
     # Workarounds for various client bugs:
     #   outlook-no-nuls:
 -@@ -507,7 +507,7 @@
 +@@ -516,7 +516,7 @@
     #   oe-ns-eoh:
     #     Outlook Express and Netscape Mail breaks if end of headers-line is
     #     missing. This option simply sends it if it's missing.
 @@ -134,7 +125,7 @@
   }
   
   ##
 -@@ -515,7 +515,7 @@
 +@@ -524,7 +524,7 @@
   ##
   
   # Executable location
 diff -ruN dovecot-1.0.a4_2/pkg-message dovecot/pkg-message
 --- dovecot-1.0.a4_2/pkg-message	Sun Dec 18 15:00:43 2005
 +++ dovecot/pkg-message	Sun Dec 18 16:48:01 2005
 @@ -7,7 +7,7 @@
   the systems passwd file and use the default /var/mail/$USER mbox
   files.
  
 -  cd %%PREFIX%%/etc; cp dovecot.conf.sample dovecot.conf
 +  cd %%PREFIX%%/etc; cp dovecot-example.conf dovecot.conf
    
    echo dovecot_enable="YES" >> /etc/rc.conf
   
 diff -ruN dovecot-1.0.a4_2/pkg-plist dovecot/pkg-plist
 --- dovecot-1.0.a4_2/pkg-plist	Sun Dec 18 15:00:43 2005
 +++ dovecot/pkg-plist	Sun Dec 18 16:12:18 2005
 @@ -1,5 +1,21 @@
  @comment $FreeBSD: ports/mail/dovecot/pkg-plist,v 1.13 2005/10/20 20:55:00 pav Exp $
 -etc/dovecot.conf.sample
 +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
 + at dirrm lib/dovecot/imap
 +lib/dovecot/lda/libquota_plugin.so
 +lib/dovecot/lda/libtrash_plugin.so
 + at 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
 + at dirrm lib/dovecot
  libexec/dovecot/checkpassword-reply
  libexec/dovecot/deliver
  libexec/dovecot/dovecot-auth
 @@ -11,19 +27,3 @@
  @dirrm libexec/dovecot
  sbin/dovecot
  sbin/dovecotpw
 -%%PORTDOCS%%%%DOCSDIR%%/USE-WIKI-INSTEAD
 -%%PORTDOCS%%%%DOCSDIR%%/auth-protocol.txt
 -%%PORTDOCS%%%%DOCSDIR%%/auth.txt
 -%%PORTDOCS%%%%DOCSDIR%%/configuration.txt
 -%%PORTDOCS%%%%DOCSDIR%%/design.txt
 -%%PORTDOCS%%%%DOCSDIR%%/index.txt
 -%%PORTDOCS%%%%DOCSDIR%%/mail-storages.txt
 -%%PORTDOCS%%%%DOCSDIR%%/mkcert.sh
 -%%PORTDOCS%%%%DOCSDIR%%/multiaccess.txt
 -%%PORTDOCS%%%%DOCSDIR%%/nfs.txt
 -%%PORTDOCS%%%%DOCSDIR%%/securecoding.txt
 -%%PORTDOCS%%%%DOCSDIR%%/variables.txt
 -%%PORTDOCS%%%%DOCSDIR%%/dovecot-ldap.conf
 -%%PORTDOCS%%%%DOCSDIR%%/dovecot-openssl.cnf
 -%%PORTDOCS%%%%DOCSDIR%%/dovecot-sql.conf
 -%%PORTDOCS%%@dirrm %%DOCSDIR%%
 
 --Apple-Mail-12--136165469--



More information about the freebsd-ports-bugs mailing list