summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-11 15:55:57 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-11 16:33:50 +0100
commit6a25e59514f590aa541ec35ba36fd36b2a1dcbc3 (patch)
tree7dd44521aaa1a0597f1d2030abf9a119d98f6bd7 /gnu/packages
parentef0f0d5f971bf9c7a755b6b5c4bda34fc50e1987 (diff)
downloadguix-6a25e59514f590aa541ec35ba36fd36b2a1dcbc3.tar.gz
cve: Read entire CVE databases for the current year and the past year.
The "Modified" database that we were reading is much smaller, but it
only shows CVEs modified over the past week.

* guix/cve.scm (%now, %current-year, %past-year): New variables.
(yearly-feed-uri): New procedure.
(%cve-feed-uri, %ttl): Remove.
(%current-year-ttl, %past-year-ttl): New variables.
(call-with-cve-port): Add 'uri' and 'ttl' parameters and honor them.
Add 'setvbuf' call.
(current-vulnerabilities)[read-vulnerabilities]: New procedure.
Read from both %LAST-YEAR and %CURRENT-YEAR.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions