lintian: r325 - in trunk: checks debian testset
Author: djpig
Date: 2004-07-05 02:20:56 +0200 (Mon, 05 Jul 2004)
New Revision: 325
Modified:
trunk/checks/manpages
trunk/debian/changelog
trunk/testset/tags.manpages
Log:
Comment check for no-manpage-in-correct-directory out until
I know if it's worth keeping it at all (Closes: #253011)
Modified: trunk/checks/manpages
===================================================================
--- trunk/checks/manpages 2004-07-04 22:44:13 UTC (rev 324)
+++ trunk/checks/manpages 2004-07-05 00:20:56 UTC (rev 325)
@@ -33,8 +33,8 @@
my %file_info;
my %binary;
my %link;
-my %sect_by_binary;
-my %sect_by_manpage;
+# my %sect_by_binary;
+# my %sect_by_manpage;
my %manpage;
# Read file info...
@@ -83,20 +83,20 @@
$binary{$bin} = $file;
$link{$bin} = $link if $link;
- for ($path) {
- m,^(usr/(X11R6/)?)?bin/,o && do {
- $sect_by_binary{$bin} = 1;
- last;
- };
- m,^usr/games/,o && do {
- $sect_by_binary{$bin} = 6;
- last;
- };
- m,^(usr/)?sbin/,o && do {
- $sect_by_binary{$bin} = 8;
- last;
- };
- }
+# for ($path) {
+# m,^(usr/(X11R6/)?)?bin/,o && do {
+# $sect_by_binary{$bin} = 1;
+# last;
+# };
+# m,^usr/games/,o && do {
+# $sect_by_binary{$bin} = 6;
+# last;
+# };
+# m,^(usr/)?sbin/,o && do {
+# $sect_by_binary{$bin} = 8;
+# last;
+# };
+# }
next;
}
@@ -142,7 +142,7 @@
if ($section_num != $section) {
tag "manpage-in-wrong-directory", "$file";
}
- push @{$sect_by_manpage{$bin}}, $section_num; # array needed for cases like man(1), man(7)
+# push @{$sect_by_manpage{$bin}}, $section_num; # array needed for cases like man(1), man(7)
} else {
tag "manpage-has-wrong-extension", "$file";
}
@@ -284,9 +284,9 @@
}
}
- unless (grep { $_ == $sect_by_binary{$f} } @{$sect_by_manpage{$f}}) {
- tag "no-manpage-in-correct-directory", "$binary{$f} (@{$sect_by_manpage{$f}})";
- }
+# unless (grep { $_ == $sect_by_binary{$f} } @{$sect_by_manpage{$f}}) {
+# tag "no-manpage-in-correct-directory", "$binary{$f} (@{$sect_by_manpage{$f}})";
+# }
} else {
tag "binary-without-manpage", "$f";
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-07-04 22:44:13 UTC (rev 324)
+++ trunk/debian/changelog 2004-07-05 00:20:56 UTC (rev 325)
@@ -58,6 +58,10 @@
* checks/huge-usr-share:
+ [FL] Skip check for packages that don't have usr/share at all
(Closes: #247708)
+ * checks/manpages:
+ + [FL] Comment check for no-manpage-in-correct-directory out until
+ I know if it's worth keeping it at all (Closes: #253011)
+ Thanks to Stephen Stafford for pointing this out.
* checks/menus:
+ [FL] Fix regex which checks for update-menus calls (missing
whitespace) and allow path before executable name (perhaps this
Modified: trunk/testset/tags.manpages
===================================================================
--- trunk/testset/tags.manpages 2004-07-04 22:44:13 UTC (rev 324)
+++ trunk/testset/tags.manpages 2004-07-05 00:20:56 UTC (rev 325)
@@ -27,7 +27,6 @@
W: manpages: manpage-has-bad-whatis-entry usr/share/man/man1/usr-bin-binary.1
W: manpages: manpage-has-bad-whatis-entry usr/share/man/man1/usr-sbin-binary.1.gz
W: manpages: manpage-has-bad-whatis-entry usr/share/man/man6/usr-games-binary.6.gz
-W: manpages: no-manpage-in-correct-directory usr/sbin/usr-sbin-binary (1)
W: manpages: package-contains-hardlink usr/share/man/man1/usr-bin-binary-alt.1.gz
W: manpages: packages-installs-file-to-usr-x11r6 usr/X11R6/
W: manpages: packages-installs-file-to-usr-x11r6 usr/X11R6/bin/
Reply to: