summaryrefslogtreecommitdiffstats
path: root/check-external
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2015-10-01 06:40:35 +0000
committerSalvatore Bonaccorso <carnil@debian.org>2015-10-01 06:40:35 +0000
commit5dce69bc9903c1858ff1d822ed701685877af65d (patch)
tree9e97589b42d188b4cf3fca3ea981a0a1350caff3 /check-external
parent294aae6b5e6c3957a90119e15e84d9e85f4003a1 (diff)
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
Diffstat (limited to 'check-external')
-rwxr-xr-xcheck-external/update.sh2
1 files changed, 1 insertions, 1 deletions
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy