[Secure-testing-commits] r36935 - check-external
Salvatore Bonaccorso
carnil at moszumanska.debian.org
Thu Oct 1 06:40:35 UTC 2015
Author: carnil
Date: 2015-10-01 06:40:35 +0000 (Thu, 01 Oct 2015)
New Revision: 36935
Modified:
check-external/update.sh
Log:
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.
Modified: check-external/update.sh
===================================================================
--- check-external/update.sh 2015-10-01 06:15:03 UTC (rev 36934)
+++ check-external/update.sh 2015-10-01 06:40:35 UTC (rev 36935)
@@ -34,7 +34,7 @@
# 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
More information about the Secure-testing-commits
mailing list