ports/137935: [MAINTAINER-UPDATE] mail/dovecot-sieve to the latest version compatible with Dovecot-1.2.*

Yarema yds at CoolRat.org
Tue Aug 18 18:50:02 UTC 2009


>Number:         137935
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] mail/dovecot-sieve to the latest version compatible with Dovecot-1.2.*
>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:   Tue Aug 18 18:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yarema
>Release:        FreeBSD 7.2-STABLE amd64
>Organization:
NYCBUG.org
>Environment:
System: FreeBSD 7.2-STABLE amd64
>Description:
Update the mail/dovecot-sieve plugin to the latest version compatible with Dovecot-1.2.*

Heads up for UPDATING:

Dovecot Sieve is a fully rewritten Sieve implementation for Dovecot v1.2 and newer.

To enable the plugin in dovecot.conf use:

     protocol lda {
       mail_plugins = sieve # for Dovecot v1.2 and newer.
      #mail_plugins = cmusieve # for Dovecot v1.1 and older.
     }

>How-To-Repeat:

>Fix:
diff -u -r -N dovecot-sieve-1.1.6/Makefile dovecot-sieve/Makefile
--- dovecot-sieve-1.1.6/Makefile	2009-01-31 05:03:26.000000000 -0500
+++ dovecot-sieve/Makefile	2009-08-18 04:48:11.805288172 -0400
@@ -6,16 +6,19 @@
 #
 
 PORTNAME=	dovecot-sieve
-PORTVERSION=	1.1.6
+PORTVERSION=	${DOVECOTVERSION}+${DISTVERSION}
+DISTVERSION=	0.1.11
 CATEGORIES=	mail
-MASTER_SITES=	http://www.dovecot.org/releases/sieve/ \
-		http://www.is-root.com/myports/
+MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
+DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
 
 MAINTAINER=	yds at CoolRat.org
 COMMENT=	A Sieve plugin for the Dovecot 'deliver' LDA
 
 BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
-RUN_DEPENDS=	dovecot>=1.1.*:${PORTSDIR}/mail/dovecot
+RUN_DEPENDS=	dovecot>=${DOVECOTVERSION}.*:${PORTSDIR}/mail/dovecot
+
+DOVECOTVERSION=	1.2
 
 USE_LDCONFIG=	${PREFIX}/lib/dovecot/lda
 
@@ -26,16 +29,9 @@
 SUB_FILES=	pkg-message
 
 .if !defined(NOPORTDOCS)
-PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README \
-		AUTHORS.CMU COPYING.CMU NEWS.CMU README.CMU
+PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO
 .endif
 
-post-extract:
-	@${LN} -f ${WRKSRC}/src/libsieve/AUTHORS	${WRKSRC}/AUTHORS.CMU
-	@${LN} -f ${WRKSRC}/src/libsieve/COPYING	${WRKSRC}/COPYING.CMU
-	@${LN} -f ${WRKSRC}/src/libsieve/NEWS		${WRKSRC}/NEWS.CMU
-	@${LN} -f ${WRKSRC}/src/libsieve/README		${WRKSRC}/README.CMU
-
 post-install:
 .if !defined(NOPORTDOCS)
 	${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
diff -u -r -N dovecot-sieve-1.1.6/distinfo dovecot-sieve/distinfo
--- dovecot-sieve-1.1.6/distinfo	2009-01-31 05:03:26.000000000 -0500
+++ dovecot-sieve/distinfo	2009-08-18 04:24:59.077839087 -0400
@@ -1,3 +1,3 @@
-MD5 (dovecot-sieve-1.1.6.tar.gz) = 7acf3d98974a515b868addbdb73054eb
-SHA256 (dovecot-sieve-1.1.6.tar.gz) = a2130a8e7d732bb341a96a96a24b4ddb66834e116573a10c17e68344fe712b36
-SIZE (dovecot-sieve-1.1.6.tar.gz) = 470071
+MD5 (dovecot-1.2-sieve-0.1.11.tar.gz) = c9d8a8668707a831710c7fba06a3bc08
+SHA256 (dovecot-1.2-sieve-0.1.11.tar.gz) = e602cb0d12b8b11c9967cc222954ccea5101eac90d67b2f2a4bfcf1f85fb242a
+SIZE (dovecot-1.2-sieve-0.1.11.tar.gz) = 944964
diff -u -r -N dovecot-sieve-1.1.6/files/pkg-message.in dovecot-sieve/files/pkg-message.in
--- dovecot-sieve-1.1.6/files/pkg-message.in	2008-09-08 04:57:16.000000000 -0400
+++ dovecot-sieve/files/pkg-message.in	2009-08-18 13:19:50.460022602 -0400
@@ -6,7 +6,9 @@
  You can enable the plugin with this directive in your dovecot.conf:
 
      protocol lda {
-  	mail_plugins = cmusieve
+       # Support for dynamically loadable plugins. mail_plugins is
+       # a space separated list of plugins to load.
+       mail_plugins = sieve # ... other plugins like quota
      }
 
  Further information on configuration can be found at:
diff -u -r -N dovecot-sieve-1.1.6/pkg-plist dovecot-sieve/pkg-plist
--- dovecot-sieve-1.1.6/pkg-plist	2007-08-08 04:16:00.000000000 -0400
+++ dovecot-sieve/pkg-plist	2009-08-18 12:05:14.622721446 -0400
@@ -1,9 +1,8 @@
 @comment $FreeBSD: ports/mail/dovecot-sieve/pkg-plist,v 1.2 2007/08/07 11:24:44 araujo Exp $
-lib/dovecot/lda/lib90_cmusieve_plugin.a
-lib/dovecot/lda/lib90_cmusieve_plugin.la
-lib/dovecot/lda/lib90_cmusieve_plugin.so
-libexec/dovecot/sievec
-libexec/dovecot/sieved
- at dirrmtry libexec/dovecot
+bin/sievec
+bin/sieved
+lib/dovecot/lda/lib90_sieve_plugin.a
+lib/dovecot/lda/lib90_sieve_plugin.la
+lib/dovecot/lda/lib90_sieve_plugin.so
 @dirrmtry lib/dovecot/lda
 @dirrmtry lib/dovecot
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list