Control: tag -1 + patch

On Sun, 25 Jun 2017 21:13:02 +0300, Niko Tyni wrote:

> Just a note that while there was a very similar deprecation phase in Perl
> 5.22, this one is new with Perl 5.26. The earlier check was slightly
> buggy and failed to warn in some cases where it should have.
> 
> So the current unescaped-left-brace-in-regex.patch isn't quite
> sufficient unfortunately.

Here's a debdiff which updates unescaped-left-brace-in-regex.patch.


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Pink Floyd: Nobody home
diff -Nru nagios-plugin-check-multi-0.26/debian/changelog nagios-plugin-check-multi-0.26/debian/changelog
--- nagios-plugin-check-multi-0.26/debian/changelog	2016-12-24 14:24:12.000000000 +0100
+++ nagios-plugin-check-multi-0.26/debian/changelog	2017-06-30 00:58:22.000000000 +0200
@@ -1,3 +1,12 @@
+nagios-plugin-check-multi (0.26-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "FTBFS with Perl 5.26: Unescaped left brace in regex is
+    deprecated here": update unescaped-left-brace-in-regex.patch to escape one
+    more '{'. (Closes: #865888)
+
+ -- gregor herrmann <gre...@debian.org>  Fri, 30 Jun 2017 00:58:22 +0200
+
 nagios-plugin-check-multi (0.26-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru nagios-plugin-check-multi-0.26/debian/patches/unescaped-left-brace-in-regex.patch nagios-plugin-check-multi-0.26/debian/patches/unescaped-left-brace-in-regex.patch
--- nagios-plugin-check-multi-0.26/debian/patches/unescaped-left-brace-in-regex.patch	2016-12-24 13:32:25.000000000 +0100
+++ nagios-plugin-check-multi-0.26/debian/patches/unescaped-left-brace-in-regex.patch	2017-06-30 00:58:22.000000000 +0200
@@ -26,3 +26,12 @@
  			$type="$1";
  			$typelist{$type}++;
  			$objectcount++;
+@@ -3217,7 +3217,7 @@ sub report_all {
+ 
+ 	#--- some debugging first
+ 	DEBUG4("MULTI Environment (sorted):\n\t".join("\n\t",get_env_vars('^MULTI')));
+-	DEBUG4("${NAGIOS} Environment (sorted):\n\t".join("\n\t",get_env_vars('^${NAGIOS}')));
++	DEBUG4("${NAGIOS} Environment (sorted):\n\t".join("\n\t",get_env_vars('^$\{NAGIOS}')));
+ 
+ 	#--- construction site for persistence
+ 	if ($opt{set}{test} && $opt{set}{persistent}) {

Attachment: signature.asc
Description: Digital Signature

Reply via email to