me
/
guix
Archived
1
0
Fork 0

gnu: chrony: Update to 4.2.

* gnu/packages/ntp.scm (chrony): Update to 4.2.
[arguments]: Don't explicitly return #t from phases.
master
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
1 changed files with 4 additions and 6 deletions

View File

@ -45,14 +45,14 @@
(define-public chrony (define-public chrony
(package (package
(name "chrony") (name "chrony")
(version "4.1") (version "4.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://download.tuxfamily.org/chrony/" (uri (string-append "https://download.tuxfamily.org/chrony/"
"chrony-" version ".tar.gz")) "chrony-" version ".tar.gz"))
(sha256 (sha256
(base32 "0k0nf5qqzl01106lkmwc32n6a1fxagalpbci38iccyilz79z4xpd")))) (base32 "16nv90h73c99adh2bdrvlws1lhjsqfp6pfpnlprxd3ijbk8rygr7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:modules ((srfi srfi-26) `(#:modules ((srfi srfi-26)
@ -69,16 +69,14 @@
;; time would result in nonsense file names in man pages. ;; time would result in nonsense file names in man pages.
(lambda _ (lambda _
(substitute* "Makefile.in" (substitute* "Makefile.in"
(("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":")) (("mkdir -p \\$\\(DESTDIR\\)\\$\\(CHRONYVARDIR\\)") ":"))))
#t))
(add-after 'install 'install-more-documentation (add-after 'install 'install-more-documentation
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/" ,name "-" ,version))) (doc (string-append out "/share/doc/" ,name "-" ,version)))
(for-each (cut install-file <> doc) (for-each (cut install-file <> doc)
(list "README" "FAQ")) (list "README" "FAQ"))
(copy-recursively "examples" (string-append doc "/examples")) (copy-recursively "examples" (string-append doc "/examples"))))))))
#t))))))
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs