GNU bug report logs - #71251
[PATCH] gnu: chrony: Update to 4.5.

Previous Next

Package: guix-patches;

Reported by: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>

Date: Tue, 28 May 2024 21:30:02 UTC

Severity: normal

Tags: patch

Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71251 in the body.
You can then email your comments to 71251 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71251; Package guix-patches. (Tue, 28 May 2024 21:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 May 2024 21:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Subject: [PATCH] gnu: chrony: Update to 4.5.
Date: Wed, 29 May 2024 00:28:53 +0300
* gnu/packages/ntp.scm (chrony): Update to 4.5.
  [source]: Download from GitLab as the original site is not accessible
  anymore.
  [native-inputs]: Add "bison" and "ruby-asciidoctor".
  [synopsis]: Fix a typo.
  [description]: Improve formatting.
  [home-page]: Change to "https://chrony-project.org/".

Change-Id: I33b053fff0aced37cefab9f3c5df44fe2b9abb0c
---
 gnu/packages/ntp.scm | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index 3b56580842..30f3e32beb 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -9,6 +9,7 @@
 ;;; Copyright © 2021 Marius Bakke <marius <at> gnu.org>
 ;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
 ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
+;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,11 +30,13 @@ (define-module (gnu packages ntp)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bison)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages nettle)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages ruby)
   #:use-module (gnu packages tls)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
@@ -47,14 +50,16 @@ (define-module (gnu packages ntp)
 (define-public chrony
   (package
     (name "chrony")
-    (version "4.4")
+    (version "4.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://download.tuxfamily.org/chrony/"
-                           "chrony-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/chrony/chrony")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "123h2a9rpc6wbvnysvhl5pmckvynzrnqay7l00i18azrvbk0gyza"))))
+        (base32 "0w6wgpgvwidsfc4mmi5zb73y9lydzwgwxpj0q5r1m47gd1qxa24n"))))
     (build-system gnu-build-system)
     (arguments
      (list
@@ -79,23 +84,24 @@ (define-public chrony
               (let* ((doc (string-append #$output "/share/doc/"
                                          #$name "-" #$version)))
                 (for-each (cut install-file <> doc)
-                          (list "README" "FAQ"))
+                          (list "README"))
                 (copy-recursively "examples"
                                   (string-append doc "/examples"))))))))
     (native-inputs
-     (list pkg-config))
+     (list bison ruby-asciidoctor pkg-config))
     (inputs
      (list gnutls libcap libseccomp nettle))
-    (home-page "https://chrony.tuxfamily.org/")
-    (synopsis "System clock synchronisation service that speaks NTP")
+    (home-page "https://chrony-project.org/")
+    (synopsis "System clock synchronization service that speaks NTP")
     (description
      "Chrony keeps your system time accurate.  It synchronises your computer's
 clock with @acronym{NTP, Network Time Protocol} servers, reference clocks such
 as GPS receivers, or even manual input of the correct time from a wristwatch.
 
 Chrony will determine the rate at which the computer gains or loses time, and
-compensate for it.  It can also operate as an NTPv4 (RFC 5905) server and peer
-to tell time to other computers on the network.
+compensate for it.  It can also operate as an
+NTPv4 (@url{https://www.rfc-editor.org/rfc/rfc5905, RFC 5905}) server and peer to
+tell time to other computers on the network.
 
 It's designed to perform well even under adverse conditions: congested
 networks, unreliable clocks drifting with changes in temperature, and devices

base-commit: 542b18709a46e361de8f25e3fece29860532743c
-- 
2.41.0





Reply sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Mon, 19 Aug 2024 06:22:01 GMT) Full text and rfc822 format available.

Notification sent to "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>:
bug acknowledged by developer. (Mon, 19 Aug 2024 06:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 71251-done <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: "Artyom V. Poptsov" <poptsov.artyom <at> gmail.com>
Cc: 71251-done <at> debbugs.gnu.org
Subject: Re: [bug#71251] [PATCH] gnu: chrony: Update to 4.5.
Date: Mon, 19 Aug 2024 14:20:33 +0800
[Message part 1 (text/plain, inline)]
"Artyom V. Poptsov" <poptsov.artyom <at> gmail.com> writes:

> * gnu/packages/ntp.scm (chrony): Update to 4.5.
>   [source]: Download from GitLab as the original site is not accessible
>   anymore.
>   [native-inputs]: Add "bison" and "ruby-asciidoctor".
>   [synopsis]: Fix a typo.
>   [description]: Improve formatting.
>   [home-page]: Change to "https://chrony-project.org/".
>
> Change-Id: I33b053fff0aced37cefab9f3c5df44fe2b9abb0c
> ---
>  gnu/packages/ntp.scm | 28 +++++++++++++++++-----------
>  1 file changed, 17 insertions(+), 11 deletions(-)
>
> diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
> index 3b56580842..30f3e32beb 100644
> --- a/gnu/packages/ntp.scm
> +++ b/gnu/packages/ntp.scm
> @@ -9,6 +9,7 @@
>  ;;; Copyright © 2021 Marius Bakke <marius <at> gnu.org>
>  ;;; Copyright © 2021 Brice Waegeneire <brice <at> waegenei.re>
>  ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
> +;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -29,11 +30,13 @@ (define-module (gnu packages ntp)
>    #:use-module (gnu packages)
>    #:use-module (gnu packages autotools)
>    #:use-module (gnu packages base)
> +  #:use-module (gnu packages bison)
>    #:use-module (gnu packages libevent)
>    #:use-module (gnu packages linux)
>    #:use-module (gnu packages nettle)
>    #:use-module (gnu packages pkg-config)
>    #:use-module (gnu packages readline)
> +  #:use-module (gnu packages ruby)
>    #:use-module (gnu packages tls)
>    #:use-module (guix build-system gnu)
>    #:use-module (guix download)
> @@ -47,14 +50,16 @@ (define-module (gnu packages ntp)
>  (define-public chrony
>    (package
>      (name "chrony")
> -    (version "4.4")
> +    (version "4.5")
>      (source
>       (origin
> -       (method url-fetch)
> -       (uri (string-append "https://download.tuxfamily.org/chrony/"
> -                           "chrony-" version ".tar.gz"))
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://gitlab.com/chrony/chrony")
> +             (commit version)))
> +       (file-name (git-file-name name version))
>         (sha256
> -        (base32 "123h2a9rpc6wbvnysvhl5pmckvynzrnqay7l00i18azrvbk0gyza"))))
> +        (base32 "0w6wgpgvwidsfc4mmi5zb73y9lydzwgwxpj0q5r1m47gd1qxa24n"))))
>      (build-system gnu-build-system)
>      (arguments
>       (list
> @@ -79,23 +84,24 @@ (define-public chrony
>                (let* ((doc (string-append #$output "/share/doc/"
>                                           #$name "-" #$version)))
>                  (for-each (cut install-file <> doc)
> -                          (list "README" "FAQ"))
> +                          (list "README"))
>                  (copy-recursively "examples"
>                                    (string-append doc "/examples"))))))))
>      (native-inputs
> -     (list pkg-config))
> +     (list bison ruby-asciidoctor pkg-config))
>      (inputs
>       (list gnutls libcap libseccomp nettle))
> -    (home-page "https://chrony.tuxfamily.org/")
> -    (synopsis "System clock synchronisation service that speaks NTP")
> +    (home-page "https://chrony-project.org/")
> +    (synopsis "System clock synchronization service that speaks NTP")
>      (description
>       "Chrony keeps your system time accurate.  It synchronises your computer's
>  clock with @acronym{NTP, Network Time Protocol} servers, reference clocks such
>  as GPS receivers, or even manual input of the correct time from a wristwatch.
>  
>  Chrony will determine the rate at which the computer gains or loses time, and
> -compensate for it.  It can also operate as an NTPv4 (RFC 5905) server and peer
> -to tell time to other computers on the network.
> +compensate for it.  It can also operate as an
> +NTPv4 (@url{https://www.rfc-editor.org/rfc/rfc5905, RFC 5905}) server and peer to
> +tell time to other computers on the network.
>  
>  It's designed to perform well even under adverse conditions: congested
>  networks, unreliable clocks drifting with changes in temperature, and devices
>
> base-commit: 542b18709a46e361de8f25e3fece29860532743c

push, and fix cross-compilation.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Sep 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.