From owner-svn-ports-head@freebsd.org Thu Apr 26 00:53:03 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C57DFFB47D1; Thu, 26 Apr 2018 00:53:02 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 774A676DBE; Thu, 26 Apr 2018 00:53:02 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 57E0D10CD8; Thu, 26 Apr 2018 00:53:02 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3Q0r2dn098691; Thu, 26 Apr 2018 00:53:02 GMT (envelope-from fluffy@FreeBSD.org) Received: (from fluffy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3Q0r1ls098687; Thu, 26 Apr 2018 00:53:01 GMT (envelope-from fluffy@FreeBSD.org) Message-Id: <201804260053.w3Q0r1ls098687@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fluffy set sender to fluffy@FreeBSD.org using -f From: Dima Panov Date: Thu, 26 Apr 2018 00:53:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468319 - in head/mail: opensmtpd opensmtpd-devel opensmtpd-devel/files opensmtpd/files X-SVN-Group: ports-head X-SVN-Commit-Author: fluffy X-SVN-Commit-Paths: in head/mail: opensmtpd opensmtpd-devel opensmtpd-devel/files opensmtpd/files X-SVN-Commit-Revision: 468319 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2018 00:53:03 -0000 Author: fluffy Date: Thu Apr 26 00:53:01 2018 New Revision: 468319 URL: https://svnweb.freebsd.org/changeset/ports/468319 Log: - Pet MDA part, add brackets around Return-Path as per RFC5322 ยง3.6.6. Missing brackets lead to a panic when a malformed address line is fed to dovecot-lda Submitted by: gahr Reported by: brnrd via dovecot ML Obtained from: https://github.com/OpenSMTPD/OpenSMTPD/pull/847/commits/725ba4fa2ddf23bbcd1ff9ec92e86bbfaa6825c8 Added: head/mail/opensmtpd-devel/files/patch-src_mda.c (contents, props changed) head/mail/opensmtpd/files/patch-src_mda.c (contents, props changed) Modified: head/mail/opensmtpd-devel/Makefile head/mail/opensmtpd/Makefile Modified: head/mail/opensmtpd-devel/Makefile ============================================================================== --- head/mail/opensmtpd-devel/Makefile Thu Apr 26 00:33:06 2018 (r468318) +++ head/mail/opensmtpd-devel/Makefile Thu Apr 26 00:53:01 2018 (r468319) @@ -4,7 +4,7 @@ PORTNAME= opensmtpd PORTVERSION= 201606220754 DISTVERSIONSUFFIX= p1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ Added: head/mail/opensmtpd-devel/files/patch-src_mda.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/opensmtpd-devel/files/patch-src_mda.c Thu Apr 26 00:53:01 2018 (r468319) @@ -0,0 +1,11 @@ +--- smtpd/mda.c.orig 2016-05-13 02:56:04.000000000 +1000 ++++ smtpd/mda.c 2018-04-26 10:28:45.373358000 +1000 +@@ -274,7 +274,7 @@ + * if any + */ + n = iobuf_fqueue(&s->iobuf, +- "Return-Path: %s\n" ++ "Return-Path: <%s>\n" + "Delivered-To: %s\n", + e->sender, + e->rcpt ? e->rcpt : e->dest); Modified: head/mail/opensmtpd/Makefile ============================================================================== --- head/mail/opensmtpd/Makefile Thu Apr 26 00:33:06 2018 (r468318) +++ head/mail/opensmtpd/Makefile Thu Apr 26 00:53:01 2018 (r468319) @@ -4,7 +4,7 @@ PORTNAME= opensmtpd PORTVERSION= 5.9.2p1 PORTEPOCH= 1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= mail MASTER_SITES= http://www.opensmtpd.org/archives/ \ http://distfiles.pirateparty.in/ashish/ Added: head/mail/opensmtpd/files/patch-src_mda.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/opensmtpd/files/patch-src_mda.c Thu Apr 26 00:53:01 2018 (r468319) @@ -0,0 +1,11 @@ +--- smtpd/mda.c.orig 2016-05-13 02:56:04.000000000 +1000 ++++ smtpd/mda.c 2018-04-26 10:28:45.373358000 +1000 +@@ -274,7 +274,7 @@ + * if any + */ + n = iobuf_fqueue(&s->iobuf, +- "Return-Path: %s\n" ++ "Return-Path: <%s>\n" + "Delivered-To: %s\n", + e->sender, + e->rcpt ? e->rcpt : e->dest);