svn commit: r489098 - in head/mail/dovecot: . files

Larry Rosenman ler at FreeBSD.org
Wed Jan 2 22:30:57 UTC 2019


Author: ler
Date: Wed Jan  2 22:30:55 2019
New Revision: 489098
URL: https://svnweb.freebsd.org/changeset/ports/489098

Log:
  mail/dovecot: Pick up a mailinglist patch for solr/tika separation.
  
  solr and tika currently use the same http client connection.  Upstream
  made the attached patches in response to my (ler@) bug report.
  
  Obtained from:	upstream mailing list.

Added:
  head/mail/dovecot/files/patch-src_plugins_fts-solr_solr-connection.c   (contents, props changed)
  head/mail/dovecot/files/patch-src_plugins_fts_fts-parser-tika.c   (contents, props changed)
Modified:
  head/mail/dovecot/Makefile

Modified: head/mail/dovecot/Makefile
==============================================================================
--- head/mail/dovecot/Makefile	Wed Jan  2 22:06:06 2019	(r489097)
+++ head/mail/dovecot/Makefile	Wed Jan  2 22:30:55 2019	(r489098)
@@ -8,7 +8,7 @@
 
 PORTNAME=	dovecot
 PORTVERSION=	2.3.4
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	mail ipv6
 MASTER_SITES=	https://www.dovecot.org/releases/2.3/
 

Added: head/mail/dovecot/files/patch-src_plugins_fts-solr_solr-connection.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/dovecot/files/patch-src_plugins_fts-solr_solr-connection.c	Wed Jan  2 22:30:55 2019	(r489098)
@@ -0,0 +1,11 @@
+--- src/plugins/fts-solr/solr-connection.c.orig	2019-01-02 22:12:57 UTC
++++ src/plugins/fts-solr/solr-connection.c
+@@ -156,7 +156,7 @@ int solr_connection_init(const char *url,
+ 		http_set.request_timeout_msecs = 60*1000;
+ 		http_set.ssl = ssl_client_set;
+ 		http_set.debug = debug;
+-		solr_http_client = http_client_init(&http_set);
++		solr_http_client = http_client_init_private(&http_set);
+ 	}
+ 
+ 	conn->xml_parser = XML_ParserCreate("UTF-8");

Added: head/mail/dovecot/files/patch-src_plugins_fts_fts-parser-tika.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/dovecot/files/patch-src_plugins_fts_fts-parser-tika.c	Wed Jan  2 22:30:55 2019	(r489098)
@@ -0,0 +1,11 @@
+--- src/plugins/fts/fts-parser-tika.c.orig	2019-01-02 22:11:26 UTC
++++ src/plugins/fts/fts-parser-tika.c
+@@ -77,7 +77,7 @@ tika_get_http_client_url(struct mail_user *user, struc
+ 		http_set.request_timeout_msecs = 60*1000;
+ 		http_set.ssl = &ssl_set;
+ 		http_set.debug = user->mail_debug;
+-		tika_http_client = http_client_init(&http_set);
++		tika_http_client = http_client_init_private(&http_set);
+ 	}
+ 	*http_url_r = tuser->http_url;
+ 	return 0;


More information about the svn-ports-all mailing list