From patchwork Tue May 28 21:28:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 64929 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9BFC027BBEA; Tue, 28 May 2024 22:30:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F087327BBE9 for ; Tue, 28 May 2024 22:30:13 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sC4OJ-0006cl-9r; Tue, 28 May 2024 17:29:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sC4OH-0006c3-S4 for guix-patches@gnu.org; Tue, 28 May 2024 17:29:53 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sC4OH-00038L-KE for guix-patches@gnu.org; Tue, 28 May 2024 17:29:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sC4OQ-0005eq-QW for guix-patches@gnu.org; Tue, 28 May 2024 17:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71251] [PATCH] gnu: chrony: Update to 4.5. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 May 2024 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71251@debbugs.gnu.org Cc: "Artyom V. Poptsov" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171693176021640 (code B ref -1); Tue, 28 May 2024 21:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2024 21:29:20 +0000 Received: from localhost ([127.0.0.1]:58362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sC4Nj-0005cx-BC for submit@debbugs.gnu.org; Tue, 28 May 2024 17:29:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:44878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sC4Ne-0005ch-RY for submit@debbugs.gnu.org; Tue, 28 May 2024 17:29:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sC4NV-0005yU-0S for guix-patches@gnu.org; Tue, 28 May 2024 17:29:05 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sC4NQ-00031b-Ts for guix-patches@gnu.org; Tue, 28 May 2024 17:29:04 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-529b79609cbso2163170e87.3 for ; Tue, 28 May 2024 14:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716931739; x=1717536539; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7jo01Yee1MioEyytvIbaFPUGlFvxDkctl8pG35uTpUs=; b=AMnPB23gk3Mv9KrA5FO7ZyCM77JX4IF3U7EmOk10FzIKd9ki4qdtMGL62gQMMmioAv tM7heQ3ryTxqCsF79nZmm2S7UdZZsgHjthl1pZ6+qzvZHrMWbX8E+HXRjCTmtvOSL3xE H3jby5D/n2y+LRmWz5eua3FRmBGoDGVgB+3/3agLjhKA6P2vXlhhAALITj3OEFkwsIvj 3hZKsr5GV+JItyq0t5N9n6Zs4PYuha/xdZOpXd3AFbqRVRRBqO/0O2EFaBPafJ+Hgm+I 2dj2tJbPAGXO0LlOELMW3tUAvk3JaXcWJCJhFYafFyc36ChfjTgLX6ypJVPAbJuB1aDU CLGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716931739; x=1717536539; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7jo01Yee1MioEyytvIbaFPUGlFvxDkctl8pG35uTpUs=; b=t0nH8Fe8GBcM0Ya5+VK2Dqw9qFyRFOOiDQ5IMdAaa7nVmBhMr+R7HsoaC6Xqe6iuc1 so/zgSGTvd57klp9zM3g/xQRzXiLPsPAqrK4ZFEW0KlcpYAelo9gFlsOqAAXO9wH0bOY +HAlyqUvSxQlpeVNmmUeGFjdSX1Ca5q2axXvRd5aN8E8BtYofAQfhFxJtvqu+EEWk9Gq oB5juV55vjJUDYSd5mtAkTvX5zNipXWp8hkBATVLDYzRTelyw9BsDBSm98ylTpPUQRfA vzfwBNLIX43f+0FzyTVWm1JNpEQ3gIpremi5VvRjiTgraBkv7CWZFNZClb+8laFfuipW rpMA== X-Gm-Message-State: AOJu0YyuxIIJMYoPEJkdCUujsBIYSi2PpVEw9bTpZvPWwBZYvw3oH1RD lhPxZcNsSvdisjGQCaCyKuCv/ctNpfG/S4HnRVKyYItFLrjx50g2FCefEg== X-Google-Smtp-Source: AGHT+IHnWNzOAjruJ5hKd5c7W1YSrVOIHkYl0Rq7XPbl0DtxBkTy63AKaYULbKuCQrQbG6qzI25zgw== X-Received: by 2002:a19:f00f:0:b0:516:cc06:fa03 with SMTP id 2adb3069b0e04-52966ca78bamr7432700e87.56.1716931738540; Tue, 28 May 2024 14:28:58 -0700 (PDT) Received: from elephant.. ([95.79.11.228]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-529a640ac48sm795130e87.119.2024.05.28.14.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:28:57 -0700 (PDT) From: "Artyom V. Poptsov" Date: Wed, 29 May 2024 00:28:53 +0300 Message-ID: <3171a9e4edc3ed7f132527a9eaa17cb99f7a3649.1716931733.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 542b18709a46e361de8f25e3fece29860532743c 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 ;;; Copyright © 2021 Brice Waegeneire ;;; Copyright © 2022 Petr Hodina +;;; Copyright © 2024 Artyom V. Poptsov ;;; ;;; 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