From owner-svn-ports-head@freebsd.org Thu May 23 07:35:13 2019 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 8A71C159FC57; Thu, 23 May 2019 07:35:13 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 213C9873F6; Thu, 23 May 2019 07:35:13 +0000 (UTC) (envelope-from bapt@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 EAA361BA6; Thu, 23 May 2019 07:35:12 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4N7ZCH0020978; Thu, 23 May 2019 07:35:12 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4N7ZCaP020976; Thu, 23 May 2019 07:35:12 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201905230735.x4N7ZCaP020976@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Thu, 23 May 2019 07:35:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502317 - in head/mail/sieve-connect: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/mail/sieve-connect: . files X-SVN-Commit-Revision: 502317 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 213C9873F6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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, 23 May 2019 07:35:13 -0000 Author: bapt Date: Thu May 23 07:35:12 2019 New Revision: 502317 URL: https://svnweb.freebsd.org/changeset/ports/502317 Log: Fix a warning in perl 5.28 which would become fatal in 5.30: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^{ <-- HERE (\d+)\+?}\r?$/ at /usr/local/bin/sieve-connect line 930. Added: head/mail/sieve-connect/files/ head/mail/sieve-connect/files/patch-sieve-connect.pl (contents, props changed) Modified: head/mail/sieve-connect/Makefile Modified: head/mail/sieve-connect/Makefile ============================================================================== --- head/mail/sieve-connect/Makefile Thu May 23 07:20:43 2019 (r502316) +++ head/mail/sieve-connect/Makefile Thu May 23 07:35:12 2019 (r502317) @@ -3,6 +3,7 @@ PORTNAME= sieve-connect DISTVERSION= 0.89 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://people.spodhuis.org/phil.pennock/software/ Added: head/mail/sieve-connect/files/patch-sieve-connect.pl ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/sieve-connect/files/patch-sieve-connect.pl Thu May 23 07:35:12 2019 (r502317) @@ -0,0 +1,29 @@ +--- sieve-connect.pl.orig 2019-05-23 07:31:11 UTC ++++ sieve-connect.pl +@@ -927,7 +927,7 @@ if (defined $realm) { + if (/^"(.*)"\r?\n?$/) { + $challenge = $1; + } else { +- unless (/^{(\d+)\+?}\r?$/m) { ++ unless (/^\{(\d+)\+?}\r?$/m) { + sfinish $sock, "*"; + closedie($sock, "Failure to parse server SASL response.\n"); + } +@@ -1510,7 +1510,7 @@ sub sieve_download + warn qq{Empty script "$remotefn"? Not saved.\n}; + return; + } +- unless (/^{(\d+)\+?}\r?$/m) { ++ unless (/^\{(\d+)\+?}\r?$/m) { + die "QUIT:Failed to parse server response to GETSCRIPT"; + } + my $contentdata = $_; +@@ -1526,7 +1526,7 @@ sub sieve_download + or die "write-open($localfn) failed: $!\n"; + $oldouthandle = select $fh; + } +- $contentdata =~ s/^{\d+\+?}\r?\n?//m; ++ $contentdata =~ s/^\{\d+\+?}\r?\n?//m; + print $contentdata; + select $oldouthandle if defined $oldouthandle; + if (defined $fh) {