From 7fc2d377d16b5aefacf01e3c9105dc0344a33dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 31 Dec 2016 20:02:59 +0100 Subject: [PATCH] gnu: nagios: Update to 4.2.4 [fixes CVE-2016-{9565,9566}]. * gnu/packages/monitoring.scm (nagios): Update to 4.2.4. [native-inputs]: New field. --- gnu/packages/monitoring.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index db2139b0aa..ac80a6bb9d 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -24,16 +24,17 @@ #:use-module (guix build-system gnu) #:use-module (gnu packages base) #:use-module (gnu packages compression) - #:use-module (gnu packages perl) - #:use-module (gnu packages mail) #:use-module (gnu packages gd) - #:use-module (gnu packages image)) + #:use-module (gnu packages image) + #:use-module (gnu packages mail) + #:use-module (gnu packages perl) + #:use-module (gnu packages zip)) (define-public nagios (package (name "nagios") - (version "4.0.8") - ;; XXX: Newer versions such as 4.2.3 bundle a copy of AngularJS. + (version "4.2.4") + ;; XXX: Nagios 4.2.x and later bundle a copy of AngularJS. (source (origin (method url-fetch) (uri (string-append @@ -41,7 +42,7 @@ version "/nagios-" version ".tar.gz")) (sha256 (base32 - "0jyad39wa318613awlnpczrrakvjcipz8qp1mdsig1cp1hjqs9lb")) + "0w0blbwiw0ps04b7gkyyk89qkgwsxh6gydhmggbm1kl3ar3mq1dh")) (modules '((guix build utils))) (snippet ;; Ensure reproducibility. @@ -49,6 +50,8 @@ (("__DATE__") "\"1970-01-01\"") (("__TIME__") "\"00:00:00\""))))) (build-system gnu-build-system) + (native-inputs + `(("unzip" ,unzip))) (inputs `(("zlib" ,zlib) ("libpng-apng" ,libpng)