Date: Wed, 11 Dec 2024 21:28:18 GMT From: Michael Gmelin <grembo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3c252e8c568f - main - devel/phabricator: Wrap very long email header Message-ID: <202412112128.4BBLSItc060543@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c252e8c568fe2452e305bdad835cfde52fc9304 commit 3c252e8c568fe2452e305bdad835cfde52fc9304 Author: Michael Gmelin <grembo@FreeBSD.org> AuthorDate: 2024-12-11 21:23:35 +0000 Commit: Michael Gmelin <grembo@FreeBSD.org> CommitDate: 2024-12-11 21:23:35 +0000 devel/phabricator: Wrap very long email header Fixes X-Phabricator-Stamps getting too long to be accepted when using dma(8) as MTA. --- devel/phabricator/Makefile | 2 +- ...applications_metamta_engine_PhabricatorMailEmailEngine.php | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile index 10288310a0b7..d44db60756ef 100644 --- a/devel/phabricator/Makefile +++ b/devel/phabricator/Makefile @@ -1,6 +1,6 @@ PORTNAME= phabricator PORTVERSION= 20211218 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} diff --git a/devel/phabricator/files/patch-src_applications_metamta_engine_PhabricatorMailEmailEngine.php b/devel/phabricator/files/patch-src_applications_metamta_engine_PhabricatorMailEmailEngine.php new file mode 100644 index 000000000000..ca23ddec2eb2 --- /dev/null +++ b/devel/phabricator/files/patch-src_applications_metamta_engine_PhabricatorMailEmailEngine.php @@ -0,0 +1,11 @@ +--- src/applications/metamta/engine/PhabricatorMailEmailEngine.php.orig 2021-12-18 19:11:09 UTC ++++ src/applications/metamta/engine/PhabricatorMailEmailEngine.php +@@ -80,7 +80,7 @@ final class PhabricatorMailEmailEngine + if ($stamps) { + $headers[] = $this->newEmailHeader( + 'X-Phabricator-Stamps', +- implode(' ', $stamps)); ++ wordwrap(implode(' ', $stamps), 800, "\n\t")); + } + + $must_encrypt = $mail->getMustEncrypt();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412112128.4BBLSItc060543>