From nobody@FreeBSD.org  Wed Jun 22 18:46:20 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B61421065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Jun 2011 18:46:20 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 8CF938FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Jun 2011 18:46:20 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5MIkKIm041706
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 22 Jun 2011 18:46:20 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p5MIkKmT041705;
	Wed, 22 Jun 2011 18:46:20 GMT
	(envelope-from nobody)
Message-Id: <201106221846.p5MIkKmT041705@red.freebsd.org>
Date: Wed, 22 Jun 2011 18:46:20 GMT
From: Uffe Jakobsen <uffe@uffe.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: mail/dovecot2 patch (dovecot-2.0.13 update)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: bra@fsn.hu

>Number:         158173
>Category:       ports
>Synopsis:       mail/dovecot2 patch (dovecot-2.0.13 update)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 18:50:09 UTC 2011
>Closed-Date:    Fri Aug 19 18:15:01 UTC 2011
>Last-Modified:  Fri Aug 19 18:20:07 UTC 2011
>Originator:     Uffe Jakobsen
>Release:        8.2
>Organization:
>Environment:
FreeBSD aspire1410 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

Simple patch to update mail/dovecot2 from 2.0.12 to 2.0.13

Due to comments in the Makefile for port mail/dovecot2 - I've included a simple patch for mail/dovecot2-pigeonhole (PORTREVISION increase to trigger rebuild/sync with dovecot-2.0.13)

Patch/diff for dovecot 2.0.13 attached


The most important changes since v2.0.12:

        + Added "doveadm index" command to add unindexed messages into
          index/cache. If full text search is enabled, it also adds unindexed
          messages to the fts database.
        + added "doveadm director dump" command.
        + pop3: Added support for showing messages in "POP3 order", which can 
          be different from IMAP message order. This can be useful for
          migrations from other servers. Implemented it for Maildir as 'O'
          field in dovecot-uidlist.
        - doveconf: Fixed a wrong "subsection has ssl=yes" warning.
        - mdbox purge: Fixed wrong warning about corrupted extrefs.
        - sdbox: INBOX GUID changed when INBOX was autocreated, leading to
          trouble with dsync.
        - script-login binary wasn't actually dropping privileges to the
          user/group/chroot specified by its service settings.
        - Fixed potential crashes and other problems when parsing header names
          that contained NUL characters.

 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: dovecot2/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot2/Makefile,v
retrieving revision 1.4
diff -r1.4 Makefile
9c9
< PORTVERSION=	2.0.12
---
> PORTVERSION=	2.0.13
Index: dovecot2/distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot2/distinfo,v
retrieving revision 1.4
diff -r1.4 distinfo
1,2c1,2
< SHA256 (dovecot-2.0.12.tar.gz) = 05322d7378d19991c098f231b9bc0296d53e499d3b12b91ab92a3e2d10ab43d6
< SIZE (dovecot-2.0.12.tar.gz) = 3257165
---
> SHA256 (dovecot-2.0.13.tar.gz) = 2b512263ec05bbd74cde5c697ad12250d9268eba1c8ce4a8144adea69308675d
> SIZE (dovecot-2.0.13.tar.gz) = 3272542
Index: dovecot2-pigeonhole/Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/dovecot2-pigeonhole/Makefile,v
retrieving revision 1.5
diff -r1.5 Makefile
10c10
< PORTREVISION=	2
---
> PORTREVISION=	3


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 22 18:50:18 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158173 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: bra@fsn.hu
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/158173: mail/dovecot2 patch (dovecot-2.0.13 update)
Date: Wed, 22 Jun 2011 18:50:16 UT

 Maintainer of mail/dovecot2,
 
 Please note that PR ports/158173 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158173
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->wxs 
Responsible-Changed-By: wxs 
Responsible-Changed-When: Fri Jun 24 13:21:34 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158173 

From: Chris Rees <crees@FreeBSD.org>
To: bug-followup@FreeBSD.org, uffe@uffe.org
Cc:  
Subject: Re: ports/158173: mail/dovecot2 patch (dovecot-2.0.13 update)
Date: Sat, 16 Jul 2011 02:04:49 +0100

 The content of this is also in ports/157517 -- perhaps a duplicate?
 
 Chris
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

From: Uffe Jakobsen <uffe@uffe.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158173: mail/dovecot2 patch (dovecot-2.0.13 update)
Date: Fri, 29 Jul 2011 11:46:54 +0200

 On 2011-07-16 03:04, Chris Rees wrote:
 > The content of this is also in ports/157517 -- perhaps a duplicate?
 >
 
 Thanks for your comments to my port
 
 I'll look into this when I'm back from vacation in a few days - thanks
 
 /Uffe
 
 
 

From: Jase Thew <freebsd@beardz.net>
To: bug-followup@FreeBSD.org, uffe@uffe.org
Cc:  
Subject: Re: ports/158173: mail/dovecot2 patch (dovecot-2.0.13 update)
Date: Fri, 05 Aug 2011 13:53:01 +0100

 This is a multi-part message in MIME format.
 --------------050403030606070401030404
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
 Sorry, I ran out of patience waiting for dovecot2 (and 
 dovecot2-pigeonhole) to get updated, so I prepped a (as far as I can 
 tell) working patch to update both.
 
 Tinderbox testing shows no errors.
 
 Regarding ports/157517, the reason that patch was giving errors is that 
 the REINPLACE to remove the docs related lines in docs/Makefile.in 
 hadn't been updated and as the lines had changed in the target file, the 
 REINPLACE was failing. As multiple lines now need to be removed in 
 docs/Makefile.in, I've removed the REINPLACE and replaced it with a 
 patch in files/ .
 
 Regards,
 
 Jase.
 
 --------------050403030606070401030404
 Content-Type: text/plain;
  name="dovecot2-update-patch.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="dovecot2-update-patch.diff"
 
 diff -ruN /usr/ports/mail/dovecot2.orig/Makefile /usr/ports/mail/dovecot2/Makefile
 --- /usr/ports/mail/dovecot2.orig/Makefile	2011-07-05 17:35:02.000000000 +0100
 +++ /usr/ports/mail/dovecot2/Makefile	2011-08-05 13:38:57.889273105 +0100
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	dovecot
 -PORTVERSION=	2.0.12
 +PORTVERSION=	2.0.13
  CATEGORIES=	mail ipv6
  MASTER_SITES=	http://www.dovecot.org/releases/${PORTVERSION:R}/
  
 @@ -171,6 +171,7 @@
  		doveadm-force-resync.1 \
  		doveadm-help.1 \
  		doveadm-import.1 \
 +		doveadm-index.1 \
  		doveadm-kick.1 \
  		doveadm-log.1 \
  		doveadm-mailbox.1 \
 diff -ruN /usr/ports/mail/dovecot2.orig/distinfo /usr/ports/mail/dovecot2/distinfo
 --- /usr/ports/mail/dovecot2.orig/distinfo	2011-05-13 18:02:12.000000000 +0100
 +++ /usr/ports/mail/dovecot2/distinfo	2011-08-05 13:38:57.869143218 +0100
 @@ -1,2 +1,2 @@
 -SHA256 (dovecot-2.0.12.tar.gz) = 05322d7378d19991c098f231b9bc0296d53e499d3b12b91ab92a3e2d10ab43d6
 -SIZE (dovecot-2.0.12.tar.gz) = 3257165
 +SHA256 (dovecot-2.0.13.tar.gz) = 2b512263ec05bbd74cde5c697ad12250d9268eba1c8ce4a8144adea69308675d
 +SIZE (dovecot-2.0.13.tar.gz) = 3272542
 diff -ruN /usr/ports/mail/dovecot2-pigeonhole.orig/Makefile /usr/ports/mail/dovecot2-pigeonhole/Makefile
 --- /usr/ports/mail/dovecot2-pigeonhole.orig/Makefile	2011-05-13 18:04:41.000000000 +0100
 +++ /usr/ports/mail/dovecot2-pigeonhole/Makefile	2011-08-05 13:39:15.563212118 +0100
 @@ -6,8 +6,7 @@
  #
  
  PORTNAME=	dovecot-pigeonhole
 -PORTVERSION=	0.2.2
 -PORTREVISION=	2
 +PORTVERSION=	0.2.3
  CATEGORIES=	mail
  MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
  DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
 @@ -35,7 +34,7 @@
  DOCSDIR=	${PREFIX}/share/doc/${PORTNAME:S/-/\//}
  
  .if !defined(NOPORTDOCS)
 -PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt
 +PORTDOCS=	AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt vacation.txt
  .endif
  
  post-patch:
 @@ -43,12 +42,9 @@
  		s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
  		s!$${docdir}/dovecot/sieve!$${docdir}!g;\
  		' ${WRKSRC}/configure
 -	@${REINPLACE_CMD} -E -e '\
 -		/^docfiles = spamtest-virustest.txt$$/D;\
 -		/^[[:space:]]+test -z "\$$\(sieve_docdir\)" \|\| \$$\(MKDIR_P\) "\$$\(DESTDIR\)\$$\(sieve_docdir\)"$$/D;\
 -		' ${WRKSRC}/doc/Makefile.in
  	@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
 -
 +	@${LN} -f ${WRKSRC}/doc/vacation.txt ${WRKSRC}/
 +	
  post-install:
  .if !defined(NOPORTDOCS)
  	${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
 diff -ruN /usr/ports/mail/dovecot2-pigeonhole.orig/distinfo /usr/ports/mail/dovecot2-pigeonhole/distinfo
 --- /usr/ports/mail/dovecot2-pigeonhole.orig/distinfo	2011-02-05 16:49:13.000000000 +0000
 +++ /usr/ports/mail/dovecot2-pigeonhole/distinfo	2011-08-05 13:39:15.457925790 +0100
 @@ -1,2 +1,2 @@
 -SHA256 (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = 3c5fdbf8002f1571457b0dbd714107c83245ac8df997c8a6ba594bf809392f4e
 -SIZE (dovecot-2.0-pigeonhole-0.2.2.tar.gz) = 1199973
 +SHA256 (dovecot-2.0-pigeonhole-0.2.3.tar.gz) = 5f6f95f8e504e19c574d9d65fce382a2b3f8709ccf2d86beb709b09bf337b113
 +SIZE (dovecot-2.0-pigeonhole-0.2.3.tar.gz) = 1213027
 diff -ruN /usr/ports/mail/dovecot2-pigeonhole.orig/files/patch-doc_Makefile_in /usr/ports/mail/dovecot2-pigeonhole/files/patch-doc_Makefile_in
 --- /usr/ports/mail/dovecot2-pigeonhole.orig/files/patch-doc_Makefile_in	1970-01-01 01:00:00.000000000 +0100
 +++ /usr/ports/mail/dovecot2-pigeonhole/files/patch-doc_Makefile_in	2011-08-05 13:39:15.600212826 +0100
 @@ -0,0 +1,20 @@
 +--- doc/Makefile.in.orig	2011-08-04 22:57:55.866970694 +0100
 ++++ doc/Makefile.in	2011-08-04 22:58:55.250588677 +0100
 +@@ -254,9 +254,6 @@
 + top_builddir = @top_builddir@
 + top_srcdir = @top_srcdir@
 + SUBDIRS = man example-config
 +-docfiles = \
 +-	vacation.txt \
 +-	spamtest-virustest.txt
 + 
 + @BUILD_DOCS_TRUE@sieve_doc_DATA = $(docfiles)
 + EXTRA_DIST = \
 +@@ -305,7 +302,6 @@
 + 	-rm -rf .libs _libs
 + install-sieve_docDATA: $(sieve_doc_DATA)
 + 	@$(NORMAL_INSTALL)
 +-	test -z "$(sieve_docdir)" || $(MKDIR_P) "$(DESTDIR)$(sieve_docdir)"
 + 	@list='$(sieve_doc_DATA)'; test -n "$(sieve_docdir)" || list=; \
 + 	for p in $$list; do \
 + 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
 diff -ruN /usr/ports/mail/dovecot2-pigeonhole.orig/pkg-plist /usr/ports/mail/dovecot2-pigeonhole/pkg-plist
 --- /usr/ports/mail/dovecot2-pigeonhole.orig/pkg-plist	2010-11-27 06:01:33.000000000 +0000
 +++ /usr/ports/mail/dovecot2-pigeonhole/pkg-plist	2011-08-05 13:39:15.576214020 +0100
 @@ -19,6 +19,7 @@
  include/dovecot/sieve/sieve-dump.h
  include/dovecot/sieve/sieve-error-private.h
  include/dovecot/sieve/sieve-error.h
 +include/dovecot/sieve/sieve-ext-copy.h
  include/dovecot/sieve/sieve-ext-enotify.h
  include/dovecot/sieve/sieve-ext-environment.h
  include/dovecot/sieve/sieve-ext-variables.h
 
 --------------050403030606070401030404--
State-Changed-From-To: feedback->open 
State-Changed-By: delphij 
State-Changed-When: Fri Aug 19 17:53:07 UTC 2011 
State-Changed-Why:  
Take (maintainer timeout and this is have some security implications) 


Responsible-Changed-From-To: wxs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Fri Aug 19 17:53:07 UTC 2011 
Responsible-Changed-Why:  
Take (maintainer timeout and this is have some security implications) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158173 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Fri Aug 19 18:14:51 UTC 2011 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=158173 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/158173: commit references a PR
Date: Fri, 19 Aug 2011 18:14:30 +0000 (UTC)

 delphij     2011-08-19 18:14:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/dovecot2        Makefile distinfo 
     mail/dovecot2-pigeonhole Makefile distinfo pkg-plist 
   Added files:
     mail/dovecot2-pigeonhole/files patch-doc_Makefile_in 
   Log:
   Update dovecot2 to 2.0.13 [1].
   
   dovecot-pigeonhole is also updated to 0.2.3.
   
   Security:       0b53f5f7-ca8a-11e0-aea3-00215c6a37bb [1]
   Submitted by:   Uffe Jakobsen <uffe uffe.org>
   PR:             ports/158173
   Approved by:    maintainer timeout
   
   Revision  Changes    Path
   1.6       +3 -7      ports/mail/dovecot2-pigeonhole/Makefile
   1.3       +2 -2      ports/mail/dovecot2-pigeonhole/distinfo
   1.1       +20 -0     ports/mail/dovecot2-pigeonhole/files/patch-doc_Makefile_in (new)
   1.2       +1 -0      ports/mail/dovecot2-pigeonhole/pkg-plist
   1.6       +2 -1      ports/mail/dovecot2/Makefile
   1.5       +2 -2      ports/mail/dovecot2/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
