Bug#677142: lintian: [checks/init.d] + should be allowed as part of package name
Package: lintian
Version: 2.5.8
Severity: important
Tags: patch
While checking for duplicate-updaterc.d-calls-in-postinst the character +
is not allowed as a valid name of the package.
Attached is a patch to solve this problem but I guess that it might occur
somewhere else.
Thorsten
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages lintian depends on:
ii binutils 2.22-6.1
ii bzip2 1.0.6-2
ii diffstat 1.55-3
ii file 5.11-1
ii gettext 0.18.1.1-8
ii hardening-includes 2.1
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.26+b1
ii libc-bin 2.13-33
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.31-1+b2
ii libdpkg-perl 1.16.3
ii libemail-valid-perl 0.190-1
ii libipc-run-perl 0.91-1
ii libparse-debianchangelog-perl 1.2.0-1
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii locales 2.13-33
ii man-db 2.6.1-2
ii patchutils 0.3.2-1.1
ii perl [libdigest-sha-perl] 5.14.2-11
ii unzip 6.0-6
lintian recommends no packages.
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.16.3
ii libhtml-parser-perl 3.69-2
pn libtext-template-perl <none>
ii man-db 2.6.1-2
ii xz-utils 5.1.1alpha+20110809-3
-- no debconf information
--- init.d.org 2012-06-11 22:22:29.000000000 +0200
+++ init.d 2012-06-11 22:22:11.000000000 +0200
@@ -72,7 +72,7 @@
my %conffiles;
my $opts_r = qr/-\S+\s*/;
-my $name_r = qr/[\w.-]+/;
+my $name_r = qr/[\w.\+-]+/;
my $action_r = qr/\w+/;
my $exclude_r = qr/if\s+\[\s+-x\s+\S*update-rc\.d/;
Reply to: