[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lintian: r384 - in trunk: checks debian testset/manpages/debian



Author: he
Date: 2004-12-18 13:36:59 +0100 (Sat, 18 Dec 2004)
New Revision: 384

Modified:
   trunk/checks/manpages
   trunk/debian/changelog
   trunk/testset/manpages/debian/changelog
   trunk/testset/manpages/debian/rules
Log:
* checks/manpages:
  + [HE] Don't compare the manpage filename extension and the content of
  .TH case-sensitive. Report + patch by Jay Berkenbilt <ejb@ql.org>,
  thanks. (Closes: #285335)


Modified: trunk/checks/manpages
===================================================================
--- trunk/checks/manpages	2004-12-18 12:16:22 UTC (rev 383)
+++ trunk/checks/manpages	2004-12-18 12:36:59 UTC (rev 384)
@@ -243,7 +243,7 @@
 		require Text::ParseWords;
 		my ($th_command, $th_title, $th_section, $th_date ) = 
 		    Text::ParseWords::parse_line( '\s+', 0, $line);
-		if ($th_section && ($fn_section ne $th_section)) {
+		if ($th_section && (lc($fn_section) ne lc($th_section))) {
 		    tag "manpage-section-mismatch", "$file:$lc $fn_section != $th_section";
 		}
 	    }

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-12-18 12:16:22 UTC (rev 383)
+++ trunk/debian/changelog	2004-12-18 12:36:59 UTC (rev 384)
@@ -2,6 +2,10 @@
 
   The "i'm really bad with names, you know" unrelease 
 
+  * checks/manpages:
+    + [HE] Don't compare the manpage filename extension and the content of
+    .TH case-sensitive. Report + patch by Jay Berkenbilt <ejb@ql.org>,
+    thanks. (Closes: #285335)
   * checks/md5sums: 
     + [HE] Strip off ./ at the beginning of the filenames in md5sums
     files (this seems to happen on some systems, though we don't know

Modified: trunk/testset/manpages/debian/changelog
===================================================================
--- trunk/testset/manpages/debian/changelog	2004-12-18 12:16:22 UTC (rev 383)
+++ trunk/testset/manpages/debian/changelog	2004-12-18 12:36:59 UTC (rev 384)
@@ -1,3 +1,10 @@
+manpages (4) unstable; urgency=low
+
+  * Add a test manpage.
+  * debian/rules: Fix a little bug creating a file named 755 in the source dir.
+
+ -- Marc 'HE' Brockschmidt <he@debian.org>  Sat, 18 Dec 2004 13:32:29 +0100
+
 manpages (3) unstable; urgency=low
 
   * Add X11 binary to check the manpage-for-non-x11-binary-in-wrong-directory

Modified: trunk/testset/manpages/debian/rules
===================================================================
--- trunk/testset/manpages/debian/rules	2004-12-18 12:16:22 UTC (rev 383)
+++ trunk/testset/manpages/debian/rules	2004-12-18 12:36:59 UTC (rev 384)
@@ -15,7 +15,9 @@
 	chmod 755 $(tmp)/usr/bin/usr-bin-binary-alt
 	touch $(tmp)/usr/sbin/usr-sbin-binary
 	chmod 755 $(tmp)/usr/sbin/usr-sbin-binary
-	touch 755 $(tmp)/usr/X11R6/bin/rstartd
+	touch $(tmp)/usr/X11R6/bin/rstartd
+
+	gzip -c9 <test.1p >$(tmp)/usr/share/man/man1/test.1p.gz
 	
 	ln -s ../X11R6/bin/rstartd $(tmp)/usr/bin/rstartd
 	touch $(tmp)/usr/X11R6/man/man1/rstartd.1x.gz
@@ -44,5 +46,6 @@
 binary: binary-arch binary-indep
 
 clean:
+	rm -rf $(tmp)
 
 .PHONY: build binary-arch binary-indep binary clean



Reply to: