[SCM] Debian package checker branch, master, updated. 2.5.13-45-g2855e9d
The following commit has been merged in the master branch:
commit 8e4caeae6d030931d031019917cb4b5f6276e094
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jun 29 12:35:33 2013 +0200
c/fields.pm: Quote package names used in regex
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/fields.pm b/checks/fields.pm
index df6eb63..cd36f7d 100644
--- a/checks/fields.pm
+++ b/checks/fields.pm
@@ -917,11 +917,10 @@ if ($type eq 'source') {
push @arch_dep_pkgs, $binpkg;
}
}
- my $dstr = join ('|', @arch_dep_pkgs);
+ my $dstr = join('|', map { quotemeta($_) } @arch_dep_pkgs);
my $depregex = qr/^(?:$dstr)$/;
foreach (@dbg_pkgs) {
- my $deps = Lintian::Relation->and ($info->binary_relation ($_, 'pre-depends'),
- $info->binary_relation ($_, 'depends'));
+ my $deps = $info->binary_relation($_, 'strong');
tag 'dbg-package-missing-depends', $_
unless $deps->matches ($depregex, VISIT_PRED_NAME);
}
diff --git a/debian/changelog b/debian/changelog
index cfd697d..0e1c67a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,8 @@ lintian (2.5.14) UNRELEASED; urgency=low
+ [NT] Retire upstream-version-not-numeric which can no longer
be emitted. Versions that would previously trigger this tag
will now trigger bad-version-number instead.
+ + [NT] Properly quote package names used in regular expressions.
+ Thanks to Mattias Ellert for the report. (Closes: #714427)
* coll/*:
+ [NT] Set "Auto-Remove: yes" on several collections to
--
Debian package checker
Reply to: