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

Robin Breathe robin at isometry.net
Sun Dec 18 17:30:04 UTC 2005


>Number:         90606
>Category:       ports
>Synopsis:       Maintainer update: mail/dovecot to 1.0.a5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 18 17:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Robin Breathe
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
>Description:
Update to dovecot-1.0.a5.
- Numerous small changes and fixes; see http://www.dovecot.org/list/dovecot/2005-December/010279.html for details.
- Use vendor install target; patch in --with(out)-docs support to facilitate NOPORTDOCS macro.
- Introduce experimental (and probably broken) GSSAPI option.
>How-To-Repeat:
>Fix:
- Remove files/patch-src-lib-index-mail-index-sync-ext.c
- Apply the following patch:

--- dovecot-1.0.a5.diff begins here ---
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 17:02:56 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,8 @@
 COMMENT=	Secure and compact IMAP and POP3 servers
 
 USE_ICONV=	yes
+USE_REINPLACE=	yes
+USE_AUTOTOOLS=	automake:19 autoconf:259
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -26,13 +27,17 @@
 
 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
+
+.if defined(NOPORTDOCS)
+CONFIGURE_ARGS+=	--without-docs
+.endif
 
 OPTIONS=	SASL2		"SASL2 support"		off \
+		GSSAPI		"GSSAPI support"	off \
 		VPOPMAIL	"VPopMail support"	off \
 		LDAP		"OpenLDAP support"	off \
 		PGSQL		"PostgreSQL support"	off \
@@ -41,7 +46,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 +54,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)
@@ -90,33 +99,11 @@
 .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-Makefile.am dovecot/files/patch-Makefile.am
--- dovecot-1.0.a4_2/files/patch-Makefile.am	Thu Jan  1 00:00:00 1970
+++ dovecot/files/patch-Makefile.am	Sun Dec 18 16:20:52 2005
@@ -0,0 +1,14 @@
+--- Makefile.am.orig	Mon Oct 25 21:32:25 2004
++++ Makefile.am	Sun Dec 18 15:47:31 2005
+@@ -1,4 +1,10 @@
+-SUBDIRS = src doc
++if BUILD_DOCS
++DOCS = doc
++endif
++
++SUBDIRS = \
++	src \
++	$(DOCS)
+ 
+ confdir = $(sysconfdir)
+ conf_DATA = dovecot-example.conf
diff -ruN dovecot-1.0.a4_2/files/patch-configure.in dovecot/files/patch-configure.in
--- dovecot-1.0.a4_2/files/patch-configure.in	Thu Jan  1 00:00:00 1970
+++ dovecot/files/patch-configure.in	Sun Dec 18 16:21:26 2005
@@ -0,0 +1,24 @@
+--- configure.in.orig	Sat Dec 10 21:14:12 2005
++++ configure.in	Sun Dec 18 15:45:01 2005
+@@ -260,6 +260,16 @@
+ )
+ AC_SUBST(moduledir)
+ 
++AC_ARG_WITH(docs,
++[  --with-docs            Install documentation (default)],
++	if test x$withval = xno; then
++		want_docs=no
++	else
++		want_docs=yes
++	fi,
++	want_docs=yes)
++AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes")
++
+ dnl * gcc specific options
+ if test "x$ac_cv_c_compiler_gnu" = "xyes"; then
+ 	# -Wcast-qual -Wcast-align -Wconversion # too many warnings
+@@ -1521,3 +1531,4 @@
+ echo "Building with GSSAPI support ........ : $have_gssapi"
+ echo "Building with user database modules . :$userdb"
+ echo "Building with password lookup modules :$passdb"
++echo "Building with documentation ......... : $want_docs"
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%%
--- dovecot-1.0.a5.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list