This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian.
commit 4f007e16825316a000a070d44ac36e747d2f8651 Author: Chris Lamb <la...@debian.org> Date: Wed Aug 30 16:14:41 2017 +0100 Fix a apache2-unparsable-dependency false positive by allowing periods (".") in dependency names. (Closes: #873701) --- checks/apache2.pm | 2 +- debian/changelog | 3 +++ t/tests/apache2-webapplications-general/debian/phpmyfoo.conf | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/checks/apache2.pm b/checks/apache2.pm index e129669..135cb1f 100644 --- a/checks/apache2.pm +++ b/checks/apache2.pm @@ -239,7 +239,7 @@ sub inspect_conf_file { my @dependencies = split(/[\n\s]+/, $value); foreach my $dep (@dependencies) { tag 'apache2-unparsable-dependency', $file, $dep - if $dep =~ m/\W/ + if $dep =~ m/[^\w\.]/ or $dep =~ /^mod\_/ or $dep =~ m/\.(?:conf|load)/; } diff --git a/debian/changelog b/debian/changelog index c7a4759..5bf439b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ lintian (2.5.53) UNRELEASED; urgency=medium XXX: generate tag summary + * checks/apache2.pm: + + [CL] Fix a apache2-unparsable-dependency false positive by allowing + periods (".") in dependency names. (Closes: #873701) * checks/changes.{pm,desc}: + [CL] Ignore DFSG-repacked packages when checking for upstream source tarball signatures as they will never match by definition. diff --git a/t/tests/apache2-webapplications-general/debian/phpmyfoo.conf b/t/tests/apache2-webapplications-general/debian/phpmyfoo.conf index 30909fe..1e3c4e3 100644 --- a/t/tests/apache2-webapplications-general/debian/phpmyfoo.conf +++ b/t/tests/apache2-webapplications-general/debian/phpmyfoo.conf @@ -1,4 +1,4 @@ -# Depends: bar bar2.conf +# Depends: bar bar2.conf php7.0 # Conflicts: notsupportedhere Alias /foo /usr/share/foo -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git