3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: chrony: Update to 4.2.

* gnu/packages/ntp.scm (chrony): Update to 4.2.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-12-16 16:26:43 +01:00
parent 12e9687eb9
commit b329c2139b
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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,16 +69,14 @@
;; 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
(list pkg-config))
(inputs