[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: openntpd: Fix error CA errors when using constraints.
From: |
guix-commits |
Subject: |
05/08: gnu: openntpd: Fix error CA errors when using constraints. |
Date: |
Sun, 8 Sep 2019 10:17:04 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit f92cf9d356e5584b073a626bcb27ffb5ed7f99a7
Author: Maxim Cournoyer <address@hidden>
Date: Fri Sep 6 18:52:51 2019 +0900
gnu: openntpd: Fix error CA errors when using constraints.
The error printed by nttpd was "constraint: failed to load constraint ca"
when
libressl tried loading the file /etc/ssl/cert.pem. The problem was
investigated as part of fixing issue 37318 (see:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37318).
* gnu/packages/ntp.scm (openntpd)[configure-flags]: Use the '--with-cacert'
flag to specify the location of the certificate authority file of libressl.
---
gnu/packages/ntp.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 419b6d7..6942ece 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2015, 2018 Ludovic Courtès <address@hidden>
;;; Copyright © 2016, 2017, 2018 Efraim Flashner <address@hidden>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2019 Maxim Cournoyer <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -108,8 +109,11 @@ computers over a network.")
"0fn12i4kzsi0zkr4qp3dp9bycmirnfapajqvdfx02zhr4hanj0kv"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags '("--with-privsep-user=ntpd"
- "--localstatedir=/var")
+ '(#:configure-flags `( "--with-privsep-user=ntpd"
+ "--localstatedir=/var"
+ ,(string-append "--with-cacert="
+ (assoc-ref %build-inputs
"libressl")
+ "/etc/ssl/cert.pem"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'modify-install-locations
- branch master updated (861b9a3 -> ccdfae3), guix-commits, 2019/09/08
- 01/08: services: ntp: Allow large adjustment by default., guix-commits, 2019/09/08
- 02/08: services: ntp: Fix KOD warning., guix-commits, 2019/09/08
- 08/08: services: openntpd: Fix the config generation code., guix-commits, 2019/09/08
- 03/08: doc: Add index to find 'ntpd'., guix-commits, 2019/09/08
- 06/08: services: openntpd: Remove useless let., guix-commits, 2019/09/08
- 04/08: services: ntp: Support different NTP server types and options., guix-commits, 2019/09/08
- 07/08: services: openntpd: Add test for issue #3731., guix-commits, 2019/09/08
- 05/08: gnu: openntpd: Fix error CA errors when using constraints.,
guix-commits <=