[Secure-testing-commits] r12988 - / data data/nvd

Florian Weimer fw at alioth.debian.org
Sun Oct 11 17:40:16 UTC 2009


Author: fw
Date: 2009-10-11 17:40:16 +0000 (Sun, 11 Oct 2009)
New Revision: 12988

Added:
   data/nvd/
Modified:
   Makefile
Log:
Makefile: add update-nvd target


Modified: Makefile
===================================================================
--- Makefile	2009-10-11 12:52:56 UTC (rev 12987)
+++ Makefile	2009-10-11 17:40:16 UTC (rev 12988)
@@ -134,3 +134,10 @@
 	$(PYTHON) bin/apt-update-file \
 	  $(BACKPORTS_MIRROR)/lenny-backports/main/binary-armel/Packages \
 	      data/packages/lenny-backports__main_armel_Packages
+
+update-nvd:
+	for x in $$(seq 2002 $$(date +%Y)) ; do \
+	  name=nvdcve-$$x.xml; \
+	  wget -q -Odata/nvd/$$name http://nvd.nist.gov/download/$$name || true; \
+	done
+	python bin/update-nvd data/nvd/nvdcve-200*.xml


Property changes on: data/nvd
___________________________________________________________________
Added: svn:ignore
   + nvdcve-*.xml





More information about the Secure-testing-commits mailing list