Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 22:18:14 GMT
From:      Dominic Marks <dom@cus.org.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48261: Port Update: mail/dovecot
Message-ID:  <200302132218.h1DMIEY7098474@cus.org.uk>

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

>Number:         48261
>Category:       ports
>Synopsis:       Port Update: mail/dovecot
>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:   Thu Feb 13 14:20:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.7-RELEASE-p3 i386
>Organization:
UMIST
>Environment:
System: FreeBSD moo.cus.org.uk 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #2: Fri Jan 10 20:38:55 GMT 2003 root@baa.cus.org.uk:/usr/obj/usr/src/sys/BAA i386
	
>Description:
	mail/dovecot 0.99.5 -> 0.99.8-test5

	Port updates:
	 o Add WITH_SASL2 option to compile with
	  SASL2 support. This option adds a dependancy
	  on the security/cyrus-sasl2 port.
	 o Add WITH_VPOPMAIL option to compile with
	  vpopmail support. This option adds a dependancy
	  on the mail/vpopmail port.
	
	Dovecot updates:
	 o FreeBSD support tested by author, many fixes
	 o POP3 services now included with the suite
	 o LDAP integration now included, still fresh code
	 o Various other additions and fixes, see:
	  http://dovecot.procontrol.fi/ for more details.
	
>How-To-Repeat:
	NA.
	
>Fix:
	I've only been able to do a minimal about of testing
	for this port update. Feedback appreciated. Thanks.

	This port supercedes PR/47048, PR/47048 can be closed.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/Makefile,v
retrieving revision 1.7
diff -u -3 -p -r1.7 Makefile
--- Makefile	12 Jan 2003 17:40:06 -0000	1.7
+++ Makefile	13 Feb 2003 22:06:10 -0000
@@ -6,19 +6,45 @@
 #
 
 PORTNAME=	dovecot
-PORTVERSION=	0.99.5
+PORTVERSION=	0.99.8
 CATEGORIES=	mail ipv6
-MASTER_SITES=	http://dovecot.procontrol.fi/
+MASTER_SITES=	http://dovecot.procontrol.fi/test/
+DISTNAME=	${PORTNAME}-${PORTVERSION}-test5
 
 MAINTAINER=	d.marks@student.umist.ac.uk
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--disable-shadow --enable-ipv6 \
+CONFIGURE_ARGS+=	--without-shadow --enable-ipv6 \
 		--localstatedir=/var/dovecot --with-ssl=openssl \
-		--with-vpopmail --with-pam --with-rawlog \
-		--with-ssldir=/var/dovecot/ssl 
-		
+		--with-ssldir=/var/dovecot/ssl --with-pop3d \
+		--with-ldap --with-pam
+
+#
+# SASL2 support
+#
+# SASL provides authentication support to
+# session-based protocols. This is can be
+# used by dovecot for authentication sources.
+#
+.if WITH_SASL2
+LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+CONFIGURE_ARGS+=	--with-cyrus-sasl2
+.endif
+
+#
+# VPopMail Support
+#
+# vpopmail provides easy authentication and
+# multi-domain features. It was originally
+# created for use with Qmail.
+#
+.if WITH_VPOPMAIL
+VPOPMAIL=	${LOCALBASE}/vpopmail/bin/vchkpw
+BUILD_DEPENDS+=	${VPOPMAIL}:${PORTSDIR}/mail/vpopmail
+CONFIGURE_ARGS+=	--with-vpopmail
+.endif
+
 pre-build:
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
 		${WRKSRC}/dovecot-example.conf
@@ -31,11 +57,13 @@ do-install:
 	@${MKDIR} ${PREFIX}/lib/dovecot
 	${INSTALL_PROGRAM} \
 		${WRKSRC}/src/imap/imap \
-		${WRKSRC}/src/auth/imap-auth \
-		${WRKSRC}/src/login/imap-login \
+		${WRKSRC}/src/pop3/pop3 \
+		${WRKSRC}/src/auth/dovecot-auth \
+		${WRKSRC}/src/imap-login/imap-login \
+		${WRKSRC}/src/pop3-login/pop3-login \
 			${PREFIX}/lib/dovecot/
-	${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf ${PREFIX}/etc/		
-	${INSTALL_PROGRAM} ${WRKSRC}/src/master/imap-master ${PREFIX}/sbin/
+	${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf ${PREFIX}/etc/
+	${INSTALL_PROGRAM} ${WRKSRC}/src/master/dovecot ${PREFIX}/sbin/
 
 post-install:
 	@${MKDIR} /var/dovecot
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/distinfo,v
retrieving revision 1.3
diff -u -3 -p -r1.3 distinfo
--- distinfo	12 Jan 2003 17:40:06 -0000	1.3
+++ distinfo	13 Feb 2003 22:06:10 -0000
@@ -1 +1 @@
-MD5 (dovecot-0.99.5.tar.gz) = b9e592f23213be9db3603f8bda8235cd
+MD5 (dovecot-0.99.8-test5.tar.gz) = 53708ed6602ff6b572d46b4af55aafa8
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/pkg-plist,v
retrieving revision 1.3
diff -u -3 -p -r1.3 pkg-plist
--- pkg-plist	12 Jan 2003 17:40:06 -0000	1.3
+++ pkg-plist	13 Feb 2003 22:06:10 -0000
@@ -1,9 +1,11 @@
 etc/dovecot-example.conf
 etc/rc.d/dovecot-imapd.sh
 lib/dovecot/imap
-lib/dovecot/imap-auth
 lib/dovecot/imap-login
-sbin/imap-master
+lib/dovecot/pop3
+lib/dovecot/pop3-login
+lib/dovecot/dovecot-auth
+sbin/dovecot
 %%PORTDOCS%%share/doc/dovecot/auth.txt
 %%PORTDOCS%%share/doc/dovecot/design.txt
 %%PORTDOCS%%share/doc/dovecot/nfs.txt
Index: files/patch-dovecot-example.conf
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/files/patch-dovecot-example.conf,v
retrieving revision 1.2
diff -u -3 -p -r1.2 patch-dovecot-example.conf
--- files/patch-dovecot-example.conf	12 Jan 2003 17:40:06 -0000	1.2
+++ files/patch-dovecot-example.conf	13 Feb 2003 22:06:10 -0000
@@ -1,53 +1,80 @@
---- dovecot-example.conf	Thu Jan  2 10:33:53 2003
-+++ dovecot-example.conf.new	Sat Jan  4 21:40:34 2003
-@@ -64,7 +64,7 @@
- ##
+--- dovecot-example.conf	Tue Feb 11 19:35:49 2003
++++ dovecot-example.conf	Thu Feb 13 21:23:56 2003
+@@ -7,7 +7,7 @@
+ # --with-ssldir=/etc/ssl
+ 
+ # Base directory where to store runtime data.
+-#base_dir = /var/run/dovecot/
++base_dir = /var/dovecot/
+ 
+ # Protocols we want to be serving:
+ #  imap imaps pop3 pop3s
+@@ -38,7 +38,7 @@
+ 
+ # SSL parameter file. Master process generates this file for login processes.
+ # It contains Diffie Hellman and RSA parameters.
+-#ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat
++#ssl_parameters_file = /var/dovecot/ssl/parameters.dat
+ 
+ # How often to regenerate the SSL parameters file. Generation is quite CPU
+ # intensive operation. The value is in hours, 0 disables regeneration
+@@ -67,7 +67,7 @@
+ # Directory where authentication process places authentication UNIX sockets
+ # which login needs to be able to connect to. The sockets are created when
+ # running as root, so you don't have to worry about permissions.
+-#login_dir = /var/run/dovecot/login
++login_dir = /var/dovecot/login
  
- # Executable location
+ # chroot login process to the login_dir. Only reason not to do this is if you
+ # wish to run the whole Dovecot without roots.
+@@ -81,7 +81,7 @@
+ login = imap
+ 
+ # Executable location.
 -#login_executable = /usr/libexec/dovecot/imap-login
-+login_executable = %%PREFIX%%/dovecot/imap-login
++login_executable = %%PREFIX%%/lib/dovecot/imap-login
  
- # User to use for imap-login process
- #login_user = imapd
-@@ -76,7 +76,7 @@
- # Directory where imap-auth places authentication UNIX sockets which login
- # needs to be able to connect to. The sockets are created when running as
- # root, so you don't need to give imap-auth any access for it.
--#login_dir = /var/run/dovecot/login
-+login_dir = /var/dovecot/login
+ # User to use for the login process. The user must belong to a group where
+ # only it has access, it's used to control access for authentication process
+@@ -126,7 +126,7 @@
+ login = pop3
+ 
+ # Exception to above rule being the executable location.
+-#login_executable = /usr/libexec/dovecot/pop3-login
++login_executable = %%PREFIX%%/lib/dovecot/pop3-login
  
- # chroot imap-login process to the login_dir. Only reason not to do this
- # is if you wish to run the whole imapd without roots.
-@@ -111,7 +111,7 @@
+ ##
+ ## Mail processes
+@@ -292,7 +292,7 @@
  ##
  
  # Executable location
 -#imap_executable = /usr/libexec/dovecot/imap
-+imap_executable = %%PREFIX%%/dovecot/imap
++#imap_executable = %%PREFIX%%/lib/dovecot/imap
  
  # Set max. process size in megabytes. Most of the memory goes to mmap()ing
  # files, so it shouldn't harm much even if this limit is set pretty high.
-@@ -292,7 +292,7 @@
- auth_userinfo = pam
+@@ -303,7 +303,7 @@
+ ##
  
  # Executable location
--#auth_executable = /usr/libexec/dovecot/imap-auth
-+auth_executable = %%PREFIX%%/dovecot/imap-auth
+-#pop3_executable = /usr/libexec/dovecot/pop3
++#pop3_executable = %%PREFIX%%/lib/dovecot/pop3
+ 
+ # Set max. process size in megabytes. Most of the memory goes to mmap()ing
+ # files, so it shouldn't harm much even if this limit is set pretty high.
+@@ -357,7 +357,7 @@
+ auth_passdb = pam
+ 
+ # Executable location
+-#auth_executable = /usr/libexec/dovecot/dovecot-auth
++#auth_executable = %%PREFIX%%/lib/dovecot/dovecot-auth
  
  # Set max. process size in megabytes.
  #auth_process_size = 256
-@@ -303,7 +303,7 @@
- 
- # Directory where to chroot the process. Most authentication backends don't
- # work if this is set, and there's no point chrooting if auth_user is root.
--#auth_chroot = 
-+auth_chroot = /var/dovecot/auth
- 
- # Number of authentication processes to create
- #auth_count = 1
-@@ -319,7 +319,7 @@
- #auth_realms = 
- #auth_userinfo = passwd-file /etc/passwd.imap
+@@ -388,7 +388,7 @@
+ #auth_userdb = passwd-file /etc/passwd.imap
+ #auth_passdb = passwd-file /etc/passwd.imap
  #auth_user = imapauth
 -#auth_chroot = /var/run/dovecot/auth
 +#auth_chroot = /var/dovecot/auth

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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