From 5dce69bc9903c1858ff1d822ed701685877af65d Mon Sep 17 00:00:00 2001 From: Salvatore Bonaccorso Date: Thu, 1 Oct 2015 06:40:35 +0000 Subject: Workaround changes done on https://www.redhat.com/security/data/cve/cve-$year.html Now not anymore a file which we can download only if it has newer timestamp, so download on every cronjob run. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@36935 e39458fd-73e7-0310-bf30-c45bca0a0e42 --- check-external/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'check-external') diff --git a/check-external/update.sh b/check-external/update.sh index 7887ce36d5..3a68eee1dc 100755 --- a/check-external/update.sh +++ b/check-external/update.sh @@ -34,7 +34,7 @@ check_list() { # Note: The downloaded html files are Copyright by Red Hat, Inc. # or as specified at the individual html files or elsewhere on redhat.com's website for year in $(seq 1999 $(date +%Y)); do - wget -N https://www.redhat.com/security/data/cve/cve-$year.html + wget -O cve-$year.html https://www.redhat.com/security/data/cve/cve-$year.html done sed -rn '/CVE-[12][0-9]{2,}-/{s/^.+>(CVE-[12][0-9]{3}-[0-9]{4,})<.+$/\1/;T;p}' cve-*.html | sort > cve.list -- cgit v1.2.3