Bug 167718 - mail/dovecot2 upgraded to 2.1.6
Summary: mail/dovecot2 upgraded to 2.1.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 22:10 UTC by Josef Karthauser
Modified: 2012-05-18 12:30 UTC (History)
0 users

See Also:


Attachments
file.diff (668 bytes, patch)
2012-05-08 22:10 UTC, Josef Karthauser
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Karthauser 2012-05-08 22:10:07 UTC
Attached is a simple upgrade from dovecot2 2.1.3 to 2.1.6.
It fixes some stability issues, and is generally recommended.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-09 13:31:18 UTC
Maintainer of mail/dovecot2,

Please note that PR ports/167718 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/167718

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-09 13:31:22 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 nagy.attila 2012-05-09 14:41:53 UTC
Hi,

I don't agree (pkg-plist update is missing), I will submit (or should I 
just reply to this e-mail with a patch?) a new version soon.
Comment 4 Ryan Steinmetz freebsd_committer freebsd_triage 2012-05-09 17:47:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

I'll take it.
Comment 5 Mark Linimon 2012-05-11 20:39:28 UTC
----- Forwarded message from Attila Nagy <bra@fsn.hu> -----

Date: Fri, 11 May 2012 08:45:02 +0200
From: Attila Nagy <bra@fsn.hu>
To: zi@FreeBSD.org
Subject: Re: ports/167718: mail/dovecot2 upgraded to 2.1.6

Hi,

Attached is the patch for 2.1.6 upgrade, which also includes the
option to build the port with Apache Solr support and the required
pigeonhole portrevision bump.

diff -ruN dovecot2.orig/Makefile dovecot2/Makefile
--- dovecot2.orig/Makefile	2012-04-08 18:55:13.000000000 +0200
+++ dovecot2/Makefile	2012-05-09 15:58:40.197839683 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dovecot
-PORTVERSION=	2.1.3
+PORTVERSION=	2.1.6
 CATEGORIES=	mail ipv6
 MASTER_SITES=	http://www.dovecot.org/releases/${PORTVERSION:R}/
 
@@ -63,7 +63,8 @@
 		LDAP		"OpenLDAP support"	off \
 		PGSQL		"PostgreSQL support"	off \
 		MYSQL		"MySQL support"		off \
-		SQLITE		"SQLite support"	off
+		SQLITE		"SQLite support"	off \
+		SOLR		"Solr support"		off
 
 .include <bsd.port.pre.mk>
 
@@ -157,6 +158,20 @@
 PLIST_SUB+=	SQL="@comment "
 .endif
 
+## SOLR support
+#
+.if defined(WITH_SOLR) && !defined(WITHOUT_SOLR)
+USE_SOLR=	yes
+CONFIGURE_ARGS+=--with-solr
+LIB_DEPENDS+=	expat.6:${PORTSDIR}/textproc/expat2
+PLIST_SUB+=     WITHSOLR=""
+SUB_LIST+=      WITHSOLR=""
+.else
+CONFIGURE_ARGS+=--without-solr
+PLIST_SUB+=     WITHSOLR="@comment "
+SUB_LIST+=      WITHSOLR="@comment "
+.endif
+
 SUB_LIST=	REQUIRE="${_REQUIRE}"
 SUB_FILES=	pkg-deinstall pkg-message
 
diff -ruN dovecot2.orig/distinfo dovecot2/distinfo
--- dovecot2.orig/distinfo	2012-04-08 18:55:13.000000000 +0200
+++ dovecot2/distinfo	2012-05-09 15:30:52.847832085 +0200
@@ -1,2 +1,2 @@
-SHA256 (dovecot-2.1.3.tar.gz) = a0becf924b967ade8f319519e3ea0ae527ef749b319a5996407829fd79d56a24
-SIZE (dovecot-2.1.3.tar.gz) = 3724550
+SHA256 (dovecot-2.1.6.tar.gz) = 4b81b2cdf624344c6c2ff91be1b794911b51c98dffa24095a6dcbc7eb6bc1e89
+SIZE (dovecot-2.1.6.tar.gz) = 3773967
diff -ruN dovecot2.orig/pkg-plist dovecot2/pkg-plist
--- dovecot2.orig/pkg-plist	2012-04-08 18:55:13.000000000 +0200
+++ dovecot2/pkg-plist	2012-05-09 16:00:12.477852785 +0200
@@ -379,6 +379,9 @@
 lib/dovecot/lib02_lazy_expunge_plugin.a
 lib/dovecot/lib02_lazy_expunge_plugin.la
 lib/dovecot/lib02_lazy_expunge_plugin.so
+lib/dovecot/lib05_pop3_migration_plugin.a
+lib/dovecot/lib05_pop3_migration_plugin.la
+lib/dovecot/lib05_pop3_migration_plugin.so
 lib/dovecot/lib05_snarf_plugin.a
 lib/dovecot/lib05_snarf_plugin.la
 lib/dovecot/lib05_snarf_plugin.so
@@ -421,6 +424,9 @@
 lib/dovecot/lib21_fts_squat_plugin.a
 lib/dovecot/lib21_fts_squat_plugin.la
 lib/dovecot/lib21_fts_squat_plugin.so
+%%WITHSOLR%%lib/dovecot/lib21_fts_solr_plugin.a
+%%WITHSOLR%%lib/dovecot/lib21_fts_solr_plugin.la
+%%WITHSOLR%%lib/dovecot/lib21_fts_solr_plugin.so
 lib/dovecot/lib30_imap_zlib_plugin.a
 lib/dovecot/lib30_imap_zlib_plugin.la
 lib/dovecot/lib30_imap_zlib_plugin.so
diff -ruN dovecot2-pigeonhole.orig/Makefile dovecot2-pigeonhole/Makefile
--- dovecot2-pigeonhole.orig/Makefile	2012-04-09 09:29:29.243422000 +0200
+++ dovecot2-pigeonhole/Makefile	2012-05-09 15:45:08.297844978 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	dovecot-pigeonhole
 PORTVERSION=	0.3.0
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
 DISTNAME=	${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}

----- End forwarded message -----
Comment 6 Ryan Steinmetz freebsd_committer freebsd_triage 2012-05-18 01:32:57 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-05-18 01:32:58 UTC
zi          2012-05-18 00:32:44 UTC

  FreeBSD ports repository

  Modified files:
    mail/dovecot2        Makefile distinfo pkg-plist 
  Log:
  - Update to 2.1.6
  
  PR:             ports/167718
  Submitted by:   Josef Karthauser <joe@tao.org.uk>
  Approved by:    Attila Nagy <bra@fsn.hu> (maintainer)
  
  Revision  Changes    Path
  1.14      +23 -2     ports/mail/dovecot2/Makefile
  1.11      +2 -2      ports/mail/dovecot2/distinfo
  1.11      +7 -1      ports/mail/dovecot2/pkg-plist
_______________________________________________
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"
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-05-18 12:22:11 UTC
zi          2012-05-18 11:21:52 UTC

  FreeBSD ports repository

  Modified files:
    mail/dovecot2-pigeonhole Makefile 
  Log:
  - Bump PORTREVISION after update to mail/dovecot2
  
  PR:             ports/167718
  Submitted by:   Attila Nagy [2]<bra@fsn.hu> (maintainer)
  
  Revision  Changes    Path
  1.13      +1 -0      ports/mail/dovecot2-pigeonhole/Makefile
_______________________________________________
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"