Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2018 21:24:06 +0200
From:      Remko Lodder <remko@FreeBSD.org>
To:        Larry Rosenman <ler@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r471880 - in head/mail/dovecot: . files
Message-ID:  <EC393D90-5CB3-4BCC-9DA6-80A2B80226DD@FreeBSD.org>
In-Reply-To: <201806061923.w56JN0VI090634@repo.freebsd.org>
References:  <201806061923.w56JN0VI090634@repo.freebsd.org>

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

--Apple-Mail=_052DEDD8-1770-4BAA-99C6-49916BD34C2A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On 6 Jun 2018, at 21:23, Larry Rosenman <ler@FreeBSD.org> wrote:
>=20
> Author: ler
> Date: Wed Jun  6 19:23:00 2018
> New Revision: 471880
> URL: https://svnweb.freebsd.org/changeset/ports/471880
>=20
> Log:
>  mail/dovecot: fix "2.3.1 Replication is throwing scary errors"
>=20
>  make makepatch for cleanliness
>  Submitted by:	remko
>  Reported by:	remko
>  Obtained from:	upstream


Thanks a lot!

Cheers
Remko

>=20
> Added:
>  head/mail/dovecot/files/patch-src_doveadm_client-connection-tcp.c   =
(contents, props changed)
> Modified:
>  head/mail/dovecot/Makefile
>  head/mail/dovecot/files/patch-UPSTREAM-opensmtpd
>  head/mail/dovecot/files/patch-src_plugins_fts_decode2text.sh
>=20
> Modified: head/mail/dovecot/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/mail/dovecot/Makefile	Wed Jun  6 19:03:41 2018	=
(r471879)
> +++ head/mail/dovecot/Makefile	Wed Jun  6 19:23:00 2018	=
(r471880)
> @@ -8,7 +8,7 @@
>=20
> PORTNAME=3D	dovecot
> PORTVERSION=3D	2.3.1
> -PORTREVISION=3D	2
> +PORTREVISION=3D	3
> CATEGORIES=3D	mail ipv6
> MASTER_SITES=3D	https://www.dovecot.org/releases/2.3/
>=20
>=20
> Modified: head/mail/dovecot/files/patch-UPSTREAM-opensmtpd
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/mail/dovecot/files/patch-UPSTREAM-opensmtpd	Wed Jun  6 =
19:03:41 2018	(r471879)
> +++ head/mail/dovecot/files/patch-UPSTREAM-opensmtpd	Wed Jun  6 =
19:23:00 2018	(r471880)
> @@ -7,16 +7,9 @@ Subject: [PATCH] lib-mail: message-address: Fix =
assert
> Panic was:
>=20
> Panic: file message-address.c: line 147 (parse_angle_addr): assertion =
failed: (*ctx->parser.data =3D=3D '<')
> ----
> - src/lib-mail/message-address.c      |  2 ++
> - src/lib-mail/test-message-address.c | 28 =
++++++++++++++++++++++++++++
> - 2 files changed, 30 insertions(+)
> -
> -diff --git a/src/lib-mail/message-address.c =
b/src/lib-mail/message-address.c
> -index 172a707d49..f7cc27f48e 100644
> ---- src/lib-mail/message-address.c
> +--- src/lib-mail/message-address.c.orig	2018-03-20 10:15:40 UTC
> +++ src/lib-mail/message-address.c
> -@@ -424,6 +424,8 @@ message_address_parse_path_real(pool_t pool, =
const unsigned char *data,
> +@@ -424,6 +424,8 @@ message_address_parse_path_real(pool_t pool, =
const uns
>=20
>  	if (rfc822_skip_lwsp(&ctx.parser) <=3D 0)
>  		return -1;
> @@ -25,9 +18,11 @@ index 172a707d49..f7cc27f48e 100644
>  	if ((ret=3Dparse_angle_addr(&ctx)) < 0 ||
>  		(ctx.addr.mailbox !=3D NULL && ctx.addr.domain =3D=3D =
NULL)) {
>  		ctx.addr.invalid_syntax =3D TRUE;
> -diff --git a/src/lib-mail/test-message-address.c =
b/src/lib-mail/test-message-address.c
> -index c1b5566d91..21084deec9 100644
> ---- src/lib-mail/test-message-address.c
> + src/lib-mail/message-address.c      |  2 ++
> + src/lib-mail/test-message-address.c | 28 =
++++++++++++++++++++++++++++
> + 2 files changed, 30 insertions(+)
> +
> +--- src/lib-mail/test-message-address.c.orig	2018-03-20 10:15:40 UTC
> +++ src/lib-mail/test-message-address.c
> @@ -395,11 +395,39 @@ static void test_message_address_path(void)
>  	test_end();
>=20
> Added: =
head/mail/dovecot/files/patch-src_doveadm_client-connection-tcp.c
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ head/mail/dovecot/files/patch-src_doveadm_client-connection-tcp.c	=
Wed Jun  6 19:23:00 2018	(r471880)
> @@ -0,0 +1,12 @@
> +--- src/doveadm/client-connection-tcp.c.orig	2018-03-20 10:15:40 UTC
> ++++ src/doveadm/client-connection-tcp.c
> +@@ -334,6 +334,9 @@ static int doveadm_cmd_handle(struct =
client_connection
> + 	   running one and we can't call the original one recursively, =
so
> + 	   create a new ioloop. */
> + 	conn->ioloop =3D io_loop_create();
> ++	o_stream_switch_ioloop(conn->output);
> ++	if (conn->log_out !=3D NULL)
> ++		o_stream_switch_ioloop(conn->log_out);
> +
> + 	if (cmd_ver2 !=3D NULL)
> + 		doveadm_cmd_server_run_ver2(conn, argc, argv, cctx);
>=20
> Modified: head/mail/dovecot/files/patch-src_plugins_fts_decode2text.sh
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/mail/dovecot/files/patch-src_plugins_fts_decode2text.sh	=
Wed Jun  6 19:03:41 2018	(r471879)
> +++ head/mail/dovecot/files/patch-src_plugins_fts_decode2text.sh	=
Wed Jun  6 19:23:00 2018	(r471880)
> @@ -1,9 +1,9 @@
> /usr gets changed to ${LOCALBASE} in post-patch:, so we
> cheat and set xpdf's path to /usr/lib.
>=20
> ---- src/plugins/fts/decode2text.sh.orig	2015-12-12 16:32:01 UTC
> +--- src/plugins/fts/decode2text.sh.orig	2017-10-28 12:21:20 UTC
> +++ src/plugins/fts/decode2text.sh
> -@@ -79,7 +79,11 @@ wait_timeout() {
> +@@ -79,16 +79,20 @@ wait_timeout() {
>  LANG=3Den_US.UTF-8
>  export LANG
>  if [ $fmt =3D "pdf" ]; then
> @@ -11,8 +11,20 @@ cheat and set xpdf's path to /usr/lib.
> +  if [ -x /usr/lib/xpdf/pdftotext ]; then
> +    /usr/lib/xpdf/pdftotext $path - 2>/dev/null&
> +  else
> -+    /usr/bin/pdftotext $path - 2>/dev/null&
> ++    /usr/local/bin/pdftotext $path - 2>/dev/null&
> +  fi
>    wait_timeout 2>/dev/null
>  elif [ $fmt =3D "doc" ]; then
> -   (/usr/bin/catdoc $path; true) 2>/dev/null&
> +-  (/usr/bin/catdoc $path; true) 2>/dev/null&
> ++  (/usr/local/bin/catdoc $path; true) 2>/dev/null&
> +   wait_timeout 2>/dev/null
> + elif [ $fmt =3D "ppt" ]; then
> +-  (/usr/bin/catppt $path; true) 2>/dev/null&
> ++  (/usr/local/bin/catppt $path; true) 2>/dev/null&
> +   wait_timeout 2>/dev/null
> + elif [ $fmt =3D "xls" ]; then
> +-  (/usr/bin/xls2csv $path; true) 2>/dev/null&
> ++  (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
> +   wait_timeout 2>/dev/null
> + elif [ $fmt =3D "odt" -o $fmt =3D "ods" -o $fmt =3D "odp" ]; then
> +   xmlunzip "content.xml"
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to =
"svn-ports-all-unsubscribe@freebsd.org"


--Apple-Mail=_052DEDD8-1770-4BAA-99C6-49916BD34C2A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUZm6tSR1fPPy/V/fqMPbslnzjLAFAlsYNNYACgkQqMPbslnz
jLCf8hAApUXeeNyyBvBmh2eDkZL5RiccEyBkpt6WPkIJNqyRsZ8kBauflSkBmlaP
cv7BskHGxz+MbiALLyIH/KtuFJ0Lr/sJYxE2jXFK66d5K0OesgMePBrscDaz2XNI
+EoWYmBXwgvqO0PXJ9gxnWcFkO9a9w6hcGleLkmiT/RqDtSLDlURA9sQvqf9W33x
bOZBvYZpo5MKSmoM52ozgxGt3A1JaKmCjpHxFKPDYc8u5EBuqDEHodC2EfHWP7t3
XIzikb/UQWnBe9vhkwi7zgCAHHqZIsK2qVGyjCq7R8QnIU9BSCwMU3LYdlo9ZOhL
jLgmMJY5uUMGIEyheiY2+p7zc6sA8yT4eu0hDTL9Qivjn35s5M+HqKY7JPxcKfc8
noBZCkyBpb8rQCfapBKO6W+cZsfvYTqyfn8unwKHq33VrPUYbCsBXuDDj/anQEg8
1ud+C+dyI4AYL0eEMigCcgmCkAarJs7uP3YDG+8c8ZAcH8/ZCWsllzcMH+/+1Dj+
jTJdCOYwFeh9PtqYvqzxt0QvQw+ioi7QFfN7ZjmoRJpBgknxpQIjpjcZloCPe/xr
ZmrA0HFAQM49bYkAMvt9tAGODYGR0lB47wAjRv9Z1k1UvmByt0SAqOY8gyFcoUmF
WF0JQtZvQHdrn1ruJ/f+JYzZ/Rmpqt9THAxXrjv5zMsQwFe+WrI=
=8KMi
-----END PGP SIGNATURE-----

--Apple-Mail=_052DEDD8-1770-4BAA-99C6-49916BD34C2A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC393D90-5CB3-4BCC-9DA6-80A2B80226DD>