[Secure-testing-commits] r162 - sarge-checks/CAN

Joey Hess joeyh@haydn.debian.org
Fri, 03 Dec 2004 13:04:10 -0700


Author: joeyh
Date: 2004-12-03 13:03:58 -0700 (Fri, 03 Dec 2004)
New Revision: 162

Added:
   sarge-checks/CAN/Makefile
Modified:
   sarge-checks/CAN/list
   sarge-checks/CAN/update.pl
Log:
add a makefile, more bugfixes


Added: sarge-checks/CAN/Makefile
===================================================================
--- sarge-checks/CAN/Makefile	2004-12-03 20:01:16 UTC (rev 161)
+++ sarge-checks/CAN/Makefile	2004-12-03 20:03:58 UTC (rev 162)
@@ -0,0 +1,5 @@
+update:
+	rm -f full-can.html
+	wget --quiet http://www.cve.mitre.org/cve/candidates/downloads/full-can.html
+	./update.pl full-can.html ../DSA/list list > list.new
+	mv -f list.new list

Modified: sarge-checks/CAN/list
===================================================================
--- sarge-checks/CAN/list	2004-12-03 20:01:16 UTC (rev 161)
+++ sarge-checks/CAN/list	2004-12-03 20:03:58 UTC (rev 162)
@@ -5638,9 +5638,7 @@
 	{DSA-136}
 CAN-2002-0655
 	{DSA-136}
-
 STOP: this is approximatly the release of woody, so we can stop here
-
 CAN-2002-0654
 	- apache2 2.0.40
 CAN-2002-0652

Modified: sarge-checks/CAN/update.pl
===================================================================
--- sarge-checks/CAN/update.pl	2004-12-03 20:01:16 UTC (rev 161)
+++ sarge-checks/CAN/update.pl	2004-12-03 20:03:58 UTC (rev 162)
@@ -103,14 +103,14 @@
 		push @{$cans{$can}{notes}}, $1;
 	}
 	elsif (/^STOP/) {
+		docan($can) if $can;
 		push @out, "$_\n";
 		$stopped=1;
-		docan($can) if $can;
 		$can='';
 	}
 	else {
+		docan($can) if $can;
 		push @out, "$_\n" if length $_;
-		docan($can) if $can;
 		$can='';
 	}
 }