Bug#512085: Offering a patch

2011-01-17 Thread Nicholas Bamber

This is a problem for me so I offer my patch.
Author: Nicholas Bamber nicho...@periapt.co.uk
Subject: Allow Debian specific checks to be turned on or off
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512085
Last-Update: 2011-01-13
--- a/systems/Linux/2/check
+++ b/systems/Linux/2/check
@@ -148,11 +148,16 @@
   $SYSTEMDIR/check_patches
 }
 
-# No tigerrc variables defined for these, but they are only 
 # Debian specific
-$SYSTEMDIR/deb_checkadvisories 
-$SYSTEMDIR/deb_checkmd5sums 
-$SYSTEMDIR/deb_nopackfiles 
+[ $Tiger_Deb_CheckAdvisories != 'N' ]  {
+  $SYSTEMDIR/deb_checkadvisories
+}
+[ $Tiger_Deb_CheckMD5Sums != 'N' ]  {
+  $SYSTEMDIR/deb_checkmd5sums
+}
+[ $Tiger_Deb_NoPackFiles != 'N' ]  {
+  $SYSTEMDIR/deb_nopackfiles
+}
 # End of Debian-specific checks
 
 fi 
--- a/tigerrc
+++ b/tigerrc
@@ -391,3 +391,9 @@
 # NFS filesystems you might want to add '-n' here too. '-q' makes the 
 # chkrootkit process work in 'quiet' mode.
 Tiger_CHKROOTKIT_ARGS=-q
+
+# Debian specific
+Tiger_Deb_CheckAdvisories=Y
+Tiger_Deb_CheckMD5Sums=Y
+Tiger_Deb_NoPackFiles=Y
+# End of Debian-specific checks


Bug#512085: offering a patch

2011-01-17 Thread Nicholas Bamber

This is an issue for me. So here is my patch.
Author: Nicholas Bamber nicho...@periapt.co.uk
Subject: Allow Debian specific checks to be turned on or off
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512085
Last-Update: 2011-01-13
--- a/systems/Linux/2/check
+++ b/systems/Linux/2/check
@@ -148,11 +148,16 @@
   $SYSTEMDIR/check_patches
 }
 
-# No tigerrc variables defined for these, but they are only 
 # Debian specific
-$SYSTEMDIR/deb_checkadvisories 
-$SYSTEMDIR/deb_checkmd5sums 
-$SYSTEMDIR/deb_nopackfiles 
+[ $Tiger_Deb_CheckAdvisories != 'N' ]  {
+  $SYSTEMDIR/deb_checkadvisories
+}
+[ $Tiger_Deb_CheckMD5Sums != 'N' ]  {
+  $SYSTEMDIR/deb_checkmd5sums
+}
+[ $Tiger_Deb_NoPackFiles != 'N' ]  {
+  $SYSTEMDIR/deb_nopackfiles
+}
 # End of Debian-specific checks
 
 fi 
--- a/tigerrc
+++ b/tigerrc
@@ -391,3 +391,9 @@
 # NFS filesystems you might want to add '-n' here too. '-q' makes the 
 # chkrootkit process work in 'quiet' mode.
 Tiger_CHKROOTKIT_ARGS=-q
+
+# Debian specific
+Tiger_Deb_CheckAdvisories=Y
+Tiger_Deb_CheckMD5Sums=Y
+Tiger_Deb_NoPackFiles=Y
+# End of Debian-specific checks