Bug#724524: lintian: Fix permitting /hurd and /servers
Package: lintian
Version: 2.5.17
Severity: important
Tags: patch
Hello,
lintian is currently erroring out for packages installing /hurd, notably
netdde and netdde-udeb (hurd and hurd-udeb have other exceptions):
E: netdde-udeb udeb: non-standard-toplevel-dir hurd/
These directories where special-cased, but apparently it now fails,
because the current matching rule (^hurd/.) does not catch the directory
itself due to the '.':
hurd/
E: netdde-udeb udeb: non-standard-toplevel-dir hurd/
hurd/netdde
usr/
With the attached patch which removes the '.', the error is gone, and
that should not catch more than what is wanted.
This is pretty important as I'm currently unable to upload the netdde
package (notably netdde-udeb, which as a udeb does not contain lintian
overrides).
Samuel
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.23.52.20130828-1
ii bzip2 1.0.6-5
ii diffstat 1.55-3
ii file 1:5.14-2
ii gettext 0.18.3.1-1
ii hardening-includes 2.3
ii intltool-debian 0.35.0+20060710.1
ii libapt-pkg-perl 0.1.29+b1
ii libarchive-zip-perl 1.30-7
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.35-1
ii libdpkg-perl 1.16.10
ii libemail-valid-perl 0.190-1
ii libfile-basedir-perl 0.03-1
ii libipc-run-perl 0.92-1
ii liblist-moreutils-perl 0.33-1+b2
ii libparse-debianchangelog-perl 1.2.0-1
ii libtext-levenshtein-perl 0.06~01-2
ii libtimedate-perl 1.2000-1
ii liburi-perl 1.60-1
ii man-db 2.6.5-2
ii patchutils 0.3.2-2
ii perl [libdigest-sha-perl] 5.18.1-3
ii t1utils 1.37-2
Versions of packages lintian recommends:
ii libautodie-perl 2.20-1
ii libperlio-gzip-perl 0.18-1+b3
ii perl-modules [libautodie-perl] 5.18.1-3
Versions of packages lintian suggests:
ii binutils-multiarch 2.23.52.20130828-1
ii dpkg-dev 1.16.10
ii libhtml-parser-perl 3.71-1+b1
ii libtext-template-perl 1.45-2
ii xz-utils 5.1.1alpha+20120614-2
-- no debconf information
--
Samuel
--- christ gives channel operator status to Dieu
-+- #ens-mim and hell -+-
--- ./checks/files.pm.orig 2013-09-24 19:30:28.216124348 +0200
+++ ./checks/files.pm 2013-09-24 19:30:29.504084691 +0200
@@ -753,9 +753,9 @@
# ---------------- /opt
elsif ($file =~ m,^opt/.,) {
tag 'dir-or-file-in-opt', $file;
- } elsif ($file =~ m,^hurd/.,) {
+ } elsif ($file =~ m,^hurd/,) {
next;
- } elsif ($file =~ m,^servers/.,) {
+ } elsif ($file =~ m,^servers/,) {
next;
}
# -------------- /home
Reply to: