Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2003 22:35:08 +0100 (CET)
From:      Dominic Marks <dom@cus.org.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46767: Port Update: mail/dovecot
Message-ID:  <200301042135.h04LZ8qx032343@dns1.zerouptime.ch>

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

>Number:         46767
>Category:       ports
>Synopsis:       Port Update: mail/dovecot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 04 13:40:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
UMIST
>Environment:
System: FreeBSD www.zerouptime.ch 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Mon Nov 18 18:22:22 CET 2002 root@www.zerouptime.ch:/usr/obj/usr/src/sys/WWW i386

	
>Description:
	http://dovecot.procontrol.fi for a complete listing of what is new in
	this release.
	
	
>How-To-Repeat:
	NA.
	
>Fix:

 1. rm patch-aa

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	2002/11/13 22:45:36	1.6
+++ Makefile	2003/01/04 21:19:23
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dovecot
-PORTVERSION=	0.98.4
+PORTVERSION=	0.99.5
 CATEGORIES=	mail ipv6
 MASTER_SITES=	http://dovecot.procontrol.fi/
 
@@ -15,21 +15,34 @@
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--disable-shadow --enable-ipv6 \
-		--localstatedir=/var/dovecot
-
+		--localstatedir=/var/dovecot --with-ssl=openssl \
+		--with-vpopmail --with-pam --with-rawlog \
+		--with-ssldir=/var/dovecot/ssl 
+		
 pre-build:
 	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
 		${WRKSRC}/dovecot-example.conf
 
 pre-install:
-	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" \
-		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+#	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" \
+#		${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
+
+do-install:
+	@${MKDIR} ${PREFIX}/lib/dovecot
+	${INSTALL_PROGRAM} \
+		${WRKSRC}/src/imap/imap \
+		${WRKSRC}/src/auth/imap-auth \
+		${WRKSRC}/src/login/imap-login \
+			${PREFIX}/lib/dovecot/
+	${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf ${PREFIX}/etc/		
+	${INSTALL_PROGRAM} ${WRKSRC}/src/master/imap-master ${PREFIX}/sbin/
 
 post-install:
-	@${MKDIR} /var/dovecot
-	@${MKDIR} /var/dovecot/auth
-	@${MKDIR} /var/dovecot/login
-	@${CHOWN} imapd:imapd /var/dovecot
+#	@${MKDIR} /var/dovecot
+#	@${MKDIR} /var/dovecot/ssl
+#	@${MKDIR} /var/dovecot/auth
+#	@${MKDIR} /var/dovecot/login
+#	@${CHOWN} -R imapd:imapd /var/dovecot
 	@if [ ! -f ${PREFIX}/etc/rc.d/dovecot-imapd.sh ]; then \
 		${ECHO} "Installing dovecot-imapd.sh startup file."; \
 		${INSTALL_SCRIPT} -m 751 ${FILESDIR}/dovecot-imapd.sh \
@@ -43,7 +56,9 @@
 		${WRKSRC}/doc/index.txt \
 		${WRKSRC}/doc/multiaccess.txt \
 		${WRKSRC}/doc/nfs.txt \
-		${PREFIX}/share/doc/dovecot
+		${WRKSRC}/doc/configuration.txt \
+		${WRKSRC}/doc/mail-storages.txt \
+			${PREFIX}/share/doc/dovecot
 .endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	2002/11/06 14:58:41	1.2
+++ distinfo	2003/01/04 21:19:23
@@ -1 +1 @@
-MD5 (dovecot-0.98.4.tar.gz) = 2b8087867cbfc4a85183daee2fe49854
+MD5 (dovecot-0.99.5.tar.gz) = b9e592f23213be9db3603f8bda8235cd
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	2002/11/13 22:45:36	1.2
+++ pkg-plist	2003/01/04 21:19:23
@@ -9,5 +9,7 @@
 %%PORTDOCS%%share/doc/dovecot/nfs.txt
 %%PORTDOCS%%share/doc/dovecot/index.txt
 %%PORTDOCS%%share/doc/dovecot/multiaccess.txt
+%%PORTDOCS%%share/doc/dovecot/configuration.txt
+%%PORTDOCS%%share/doc/dovecot/mail-storages.txt
 %%PORTDOCS%%@dirrm share/doc/dovecot
 @dirrm lib/dovecot
Index: files/patch-dovecot-example.conf
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot/files/patch-dovecot-example.conf,v
retrieving revision 1.1
diff -u -r1.1 patch-dovecot-example.conf
--- files/patch-dovecot-example.conf	2002/09/01 14:17:07	1.1
+++ files/patch-dovecot-example.conf	2003/01/04 21:19:23
@@ -1,42 +1,51 @@
---- dovecot-example.conf.orig	Thu Aug 29 07:59:26 2002
-+++ dovecot-example.conf	Sun Sep  1 22:07:55 2002
-@@ -38,7 +38,7 @@
+--- 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 @@
  ##
  
  # Executable location
--#login_executable = /usr/lib/dovecot/imap-login
-+#login_executable = %%PREFIX%%/lib/dovecot/imap-login
+-#login_executable = /usr/libexec/dovecot/imap-login
++login_executable = %%PREFIX%%/dovecot/imap-login
  
  # User to use for imap-login process
  #login_user = imapd
-@@ -46,7 +46,7 @@
+@@ -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
++login_dir = /var/dovecot/login
  
- # chroot() imap-login process to the login_dir. Only reason not to do this
+ # 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.
-@@ -64,7 +64,7 @@
+@@ -111,7 +111,7 @@
  ##
  
  # Executable location
--#imap_executable = /usr/lib/dovecot/imap
-+#imap_executable = %%PREFIX%%/lib/dovecot/imap
+-#imap_executable = /usr/libexec/dovecot/imap
++imap_executable = %%PREFIX%%/dovecot/imap
  
- # Maximum number of running imap processes. When this limit is reached,
- # new users aren't allowed to log in.
-@@ -139,7 +139,7 @@
+ # 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
  
  # Executable location
--#auth_executable = /var/lib/dovecot/imap-auth
-+#auth_executable = %%PREFIX%%/lib/dovecot/imap-auth
+-#auth_executable = /usr/libexec/dovecot/imap-auth
++auth_executable = %%PREFIX%%/dovecot/imap-auth
  
- # User to use for the process. Only shadow and pam authentication requires
- # roots, so use something else if possible.
-@@ -162,7 +162,7 @@
+ # 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
  #auth_user = imapauth


	


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

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




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