From owner-svn-ports-all@freebsd.org Thu Jun 21 21:50:44 2018 Return-Path: Delivered-To: svn-ports-all@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 714D71001485; Thu, 21 Jun 2018 21:50:44 +0000 (UTC) (envelope-from danilo@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 23359702AB; Thu, 21 Jun 2018 21:50:44 +0000 (UTC) (envelope-from danilo@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 05FC117AC3; Thu, 21 Jun 2018 21:50:44 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5LLohOE072967; Thu, 21 Jun 2018 21:50:43 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5LLohl1072965; Thu, 21 Jun 2018 21:50:43 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201806212150.w5LLohl1072965@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Thu, 21 Jun 2018 21:50:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473005 - in head/mail/postfix-logwatch: . files X-SVN-Group: ports-head X-SVN-Commit-Author: danilo X-SVN-Commit-Paths: in head/mail/postfix-logwatch: . files X-SVN-Commit-Revision: 473005 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 21:50:44 -0000 Author: danilo Date: Thu Jun 21 21:50:43 2018 New Revision: 473005 URL: https://svnweb.freebsd.org/changeset/ports/473005 Log: - Fix regex handling with the new perl version [1] [1] Unescaped left brace in regex is deprecated, passed through in regex PR: 227895 Submitted by: zeising Pull Request: Added: head/mail/postfix-logwatch/files/ head/mail/postfix-logwatch/files/patch-postfix-logwatch (contents, props changed) Modified: head/mail/postfix-logwatch/Makefile Modified: head/mail/postfix-logwatch/Makefile ============================================================================== --- head/mail/postfix-logwatch/Makefile Thu Jun 21 21:29:38 2018 (r473004) +++ head/mail/postfix-logwatch/Makefile Thu Jun 21 21:50:43 2018 (r473005) @@ -3,6 +3,7 @@ PORTNAME= postfix-logwatch PORTVERSION= 1.40.03 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF/logreporters/${PORTNAME}/release/${PORTVERSION} Added: head/mail/postfix-logwatch/files/patch-postfix-logwatch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/postfix-logwatch/files/patch-postfix-logwatch Thu Jun 21 21:50:43 2018 (r473005) @@ -0,0 +1,22 @@ +--- postfix-logwatch.orig 2018-05-01 12:00:39 UTC ++++ postfix-logwatch +@@ -1377,6 +1377,10 @@ sub print_summary_report (\@) { + sprintf "$fmt %-42s %6.2f%%\n", $total, $desc, + $$divisor == $Totals{$keyname} ? 100.00 : $Totals{$keyname} * 100 / $$divisor; + } ++ elsif ($extra eq '') { ++ push @{$lines[$cur_level]}, ++ sprintf "$fmt %-23s\n", $total, $desc; ++ } + else { + push @{$lines[$cur_level]}, + sprintf "$fmt %-23s $extra\n", $total, $desc, commify ($Totals{$keyname}); +@@ -1847,7 +1851,7 @@ sub postfix_policy_spf($) { + # KeyboardInterrupt + $line =~ /^Read line: "/ or + $line =~ /^Found the end of entry$/ or +- $line =~ /^Config: {/ or ++ $line =~ /^Config: \{/ or + $line =~ /^spfcheck: pyspf result/ or + $line =~ /^Starting$/ or + $line =~ /^Normal exit$/ or