cve: Update feed URL.
authorLudovic Courtès <ludo@gnu.org>
Sat, 25 Aug 2018 22:10:51 +0000 (00:10 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sat, 25 Aug 2018 23:47:40 +0000 (01:47 +0200)
* guix/cve.scm (yearly-feed-uri): Remove "static." from the URL since
the web site now redirects to the URL without "static.".

guix/cve.scm

index 070acfe..99754fa 100644 (file)
@@ -1,5 +1,5 @@
 ;;; 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.
 ;;;
@@ -61,7 +61,7 @@
 (define (yearly-feed-uri year)
   "Return the URI for the CVE feed for YEAR."
   (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")))
 
 (define %current-year-ttl