diff options
Diffstat (limited to 'gnu/packages/ntp.scm')
-rw-r--r-- | gnu/packages/ntp.scm | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm index 55b9a73b22..b98f4513a3 100644 --- a/gnu/packages/ntp.scm +++ b/gnu/packages/ntp.scm @@ -45,14 +45,14 @@ (define-public chrony (package (name "chrony") - (version "4.1") + (version "4.2") (source (origin (method url-fetch) (uri (string-append "https://download.tuxfamily.org/chrony/" "chrony-" version ".tar.gz")) (sha256 - (base32 "0k0nf5qqzl01106lkmwc32n6a1fxagalpbci38iccyilz79z4xpd")))) + (base32 "16nv90h73c99adh2bdrvlws1lhjsqfp6pfpnlprxd3ijbk8rygr7")))) (build-system gnu-build-system) (arguments `(#:modules ((srfi srfi-26) @@ -69,23 +69,18 @@ ;; time would result in nonsense file names in man pages. (lambda _ (substitute* "Makefile.in" - (("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":")) - #t)) + (("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":")))) (add-after 'install 'install-more-documentation (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (doc (string-append out "/share/doc/" ,name "-" ,version))) (for-each (cut install-file <> doc) (list "README" "FAQ")) - (copy-recursively "examples" (string-append doc "/examples")) - #t)))))) + (copy-recursively "examples" (string-append doc "/examples")))))))) (native-inputs - `(("pkg-config" ,pkg-config))) + (list pkg-config)) (inputs - `(("gnutls" ,gnutls) - ("libcap" ,libcap) - ("libseccomp" ,libseccomp) - ("nettle" ,nettle))) + (list gnutls libcap libseccomp nettle)) (home-page "https://chrony.tuxfamily.org/") (synopsis "System clock synchronisation service that speaks NTP") (description @@ -147,8 +142,7 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.") (rename-file "sntp/libevent:build-aux" "sntp/libevent/build-aux") #t)))) - (native-inputs `(("which" ,which) - ("pkg-config" ,pkg-config))) + (native-inputs (list which pkg-config)) (inputs `(("openssl" ,openssl) ("libevent" ,libevent) @@ -207,7 +201,7 @@ computers over a network.") (("DESTDIR\\)\\$\\(localstatedir") "TMPDIR")) #t))))) (inputs - `(("libressl" ,libressl))) ; enable TLS time constraints. See ntpd.conf(5). + (list libressl)) ; enable TLS time constraints. See ntpd.conf(5). (home-page "http://www.openntpd.org/") (synopsis "NTP client and server by the OpenBSD Project") (description "OpenNTPD is the OpenBSD Project's implementation of a client |