me
/
guix
Archived
1
0
Fork 0

cve: Update feed URL.

* guix/cve.scm (yearly-feed-uri): Remove "static." from the URL since
the web site now redirects to the URL without "static.".
master
Ludovic Courtès 2018-08-26 00:10:51 +02:00
parent bff861ece5
commit 8a928aa729
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -61,7 +61,7 @@
(define (yearly-feed-uri year) (define (yearly-feed-uri year)
"Return the URI for the CVE feed for YEAR." "Return the URI for the CVE feed for YEAR."
(string->uri (string->uri
(string-append "https://static.nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-" (string-append "https://nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-"
(number->string year) ".xml.gz"))) (number->string year) ".xml.gz")))
(define %current-year-ttl (define %current-year-ttl