From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CKNlIeEZ6mVyIQAA62LTzQ:P1 (envelope-from ) for ; Thu, 07 Mar 2024 20:47:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CKNlIeEZ6mVyIQAA62LTzQ (envelope-from ) for ; Thu, 07 Mar 2024 20:47:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=incana.org header.s=key1 header.b=WGe+BJSz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709840865; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=13GwvJdefOI5kC3iarMuydgeMHntlDHJFrfYtFhB4bQ=; b=FbZQhyGm17LgFyI96xL6D6EZO41G3zQArZMp6dsc05wCql6WIU8mdNZgnaiqLgZr9gfSd0 jvvuLK5rjgaUS8WfIK1fGQ5u7GTYxAIdMKijxoAdAhsn58Kf4Il/UqdiMKHews+uK9dd7X iti3RZY5eeoUbGJiT0OxmIG3esXLJ9rxzYRM5L+sBAN2llpw46vimYUgqXrRWh0a+jvSFt OO6lNv6TpMjsZFNrzZtAPeh7S8xtAxDKjwoxT3snlIIUhLFXQVeNK0eZqPtZf2BMhEZSKW 5eX4CGctPoXi/67aNRIwrbbJBjyNjk/yw77ZK3QeJcgpriyFg258dbHUHPUXlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=incana.org header.s=key1 header.b=WGe+BJSz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709840865; a=rsa-sha256; cv=none; b=EWwGmm0RsxRkEMNk/QtNyg86a+wy6xXEMhXAe6tp6BZwYxa7oK2S59G/NZF18Hrq3agDUZ VKAtdbT/MijiAoHwHQsdlwtR5hidrz+BElG8NcoULH11ICkEIRUS136h15QPnttmU6hXqs moCyKJMJMgU64n4MFeghKsmvr0Jn0/ZREhFPiqnzny6WvmaPeX5Ps6io2zZmjjC1dkGlBX GvsRzBi2xaM8yDaB3hV4Bso7KqeODtR+nMU7n6r0r+Lb6mtVNw/C1AHLS3HASETdl+sXiB oxIWcroRY0EdMG2jlIG41ncYEF5XHKGXt3USIOft/D2bhhdOIUb5is39hRbIwA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 113F935E36 for ; Thu, 7 Mar 2024 20:47:45 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riJiJ-0000SO-5f; Thu, 07 Mar 2024 14:47:35 -0500 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 1riJiE-0000Rz-O3 for guix-patches@gnu.org; Thu, 07 Mar 2024 14:47:33 -0500 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 1riJiE-0004jC-Fx for guix-patches@gnu.org; Thu, 07 Mar 2024 14:47:30 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riJik-0003rx-1I for guix-patches@gnu.org; Thu, 07 Mar 2024 14:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51046] [PATCH v2] gnu: Add rdate. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Mar 2024 19:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51046 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51046@debbugs.gnu.org Cc: phodina@protonmail.com, Juliana Sims Received: via spool by 51046-submit@debbugs.gnu.org id=B51046.170984083714796 (code B ref 51046); Thu, 07 Mar 2024 19:48:01 +0000 Received: (at 51046) by debbugs.gnu.org; 7 Mar 2024 19:47:17 +0000 Received: from localhost ([127.0.0.1]:55007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riJi0-0003qa-LN for submit@debbugs.gnu.org; Thu, 07 Mar 2024 14:47:17 -0500 Received: from out-182.mta0.migadu.com ([91.218.175.182]:60082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riJhw-0003qG-JT for 51046@debbugs.gnu.org; Thu, 07 Mar 2024 14:47:15 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=key1; t=1709840764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=13GwvJdefOI5kC3iarMuydgeMHntlDHJFrfYtFhB4bQ=; b=WGe+BJSz+HK05LCsZsDDny33fCpf96BNEaXWxqq16HeJaxjB5dkhR0U+cunxTQ3IgGewKN /BX4RiIcKFyR9KtRS8FO8goGRhjboCIJ52OvuoIajR4ZxttpR19Fsaf2V1FfotMvaPwtko ANCC9FamwiywWxU7/aGRPZgor0AFQXHo6zoRRdrU1jXL1K6jjOy19JxkMo2aE67qCG5iVi QYoTXQNOwHjPYH4RVpDcRYTawT4rL8fdMwST7tuyOVC7BkYbeVnrtlZoVdb4YcdQuWU+B8 1lYKltJ+LUCpx0WRuwJUMafmrwVOplV4pS+5QNqwPeUnRNgDHU3BGzH4WSSZOQ== Date: Thu, 7 Mar 2024 14:43:06 -0500 Message-ID: <268a9188fbcd506422f8d606045d133d89e27db6.1709840586.git.juli@incana.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Juliana Sims X-ACL-Warn: , Juliana Sims via Guix-patches From: Juliana Sims via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.28 X-Spam-Score: -6.28 X-Migadu-Queue-Id: 113F935E36 X-TUID: 6i2V0u1A7FMQ Hello! It's been quite some time since this patch was submitted, and it still works! It needed two small changes -- adding the autotools module and using a different license symbol format -- so I've gone ahead and made those changes. I also took the liberty of updating the inputs to the new format. There are no semantic changes to the patch itself. Thanks again for submitting this! Juli * gnu/packages/time.scm (rdate): New variable. Change-Id: I12217c62fe17a93bdb5364f807804eea7fc57a23 --- gnu/packages/time.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index b0d800da949..14b02352d6f 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -40,6 +40,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages time) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -549,6 +550,30 @@ (define-public python-aniso8601 "This package contains a library for parsing ISO 8601 datetime strings.") (license bsd-3))) +(define-public rdate + (let ((commit "91d84610e3695e90a884e2953908e95a856a9b74") + (revision "1")) + (package + (name "rdate") + (version (git-version "1.4" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/njh/rdate") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "002ryjq8gj1ml5la4v6dr3bh1zw5kxwy65rpziq8d2ccccarhv59")))) + (build-system gnu-build-system) + (native-inputs (list autoconf automake)) + (synopsis "Get date and time based on RFC 868") + (description + "@code{rdate} connects to an RFC 868 time server over a TCP/IP network, +printing the returned time and/or setting the system clock.") + (home-page "https://www.aelius.com/njh/rdate/") + (license gpl2)))) + (define-public datefudge (package (name "datefudge") base-commit: 7f2f1bcddae64c48f793cde15c21617fa706c157 -- 2.41.0