From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2VoNAN3VXGHGXwEAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 00:46:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kGTFNtzVXGHddQAA1q6Kng (envelope-from ) for ; Tue, 05 Oct 2021 22:46:52 +0000 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 1DC8B34003 for ; Wed, 6 Oct 2021 00:46:52 +0200 (CEST) Received: from localhost ([::1]:43946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXtD0-0002LH-A7 for larch@yhetil.org; Tue, 05 Oct 2021 18:46:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtCE-00022g-LE for guix-patches@gnu.org; Tue, 05 Oct 2021 18:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXtCE-0007SF-Dd for guix-patches@gnu.org; Tue, 05 Oct 2021 18:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXtCE-0000sz-81 for guix-patches@gnu.org; Tue, 05 Oct 2021 18:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51046] [PATCH] gnu: Add rdate. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51046 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51046@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.16334739493383 (code B ref -1); Tue, 05 Oct 2021 22:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 22:45:49 +0000 Received: from localhost ([127.0.0.1]:42060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtC1-0000sU-AL for submit@debbugs.gnu.org; Tue, 05 Oct 2021 18:45:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:46894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXtBw-0000sI-0G for submit@debbugs.gnu.org; Tue, 05 Oct 2021 18:45:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtBv-0001u2-Fq for guix-patches@gnu.org; Tue, 05 Oct 2021 18:45:43 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:24921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXtBs-00076Z-J9 for guix-patches@gnu.org; Tue, 05 Oct 2021 18:45:42 -0400 Date: Tue, 05 Oct 2021 22:45:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633473930; bh=DMGff/c3PEc58z9ySnEBucy5igQ29fYWjXJehWEEGG0=; h=Date:To:From:Reply-To:Subject:From; b=rvZyxlu6G8UxbAIWbr17P7P8NSDW4oSFyBI081MdMxLwPMMYmRbHHVzZGQRZw89h1 X9WCoVnnx7BGJ/VBE5ebIfq2VU4jWKSbZRz/4hY5UbMkDw3P1ecWs4ahrv6KVW2cCB ZN22Ufb/M3DRjVf770Gq0Avvs1ldgm3B49lDQE9I= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.134; envelope-from=phodina@protonmail.com; helo=mail-40134.protonmail.ch 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_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633474012; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DMGff/c3PEc58z9ySnEBucy5igQ29fYWjXJehWEEGG0=; b=jle3WdLv25wecXt0+2A5sRcQ3NRIW061VgnOtkOry+X+NiM74uzM+cvQLH3kui/qm6wCnB 60xtmF9IUKhZCahZo/++7XpTDeIKgDpQjqFiTRaSuxdOubnbJ3oXfjA7u91MPvS4DjSTzw x/b3jmH9uDy1yeWzbeoaNTi2ZCrTPCfRT81sPg7KIIojJa23JWGKppxOdqTVbA/bwvYYmJ E6XDgc0+xOrbuAby19a9GxRQwpZDDyngwm8X/aFAcTRoFX70H8hMT2Rw9ca7msH+eBwpXJ CzoSqpyLPvFozxKRtbJY8W0K9TAiVXsfp5nP++kQjp0HDWRYOPuIERvV2zWzSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633474012; a=rsa-sha256; cv=none; b=YzEYZecUmn/MwVhZDSgE7JxOIAOsLHYiVzvm1ombqAXmJUuyoG/gY5IUSXL4Rf+W3LcB3A nFz4013OJ/7r1QwUp8VDQJsKOw9mLrQD8VdmGO9WfGWLD5xbprcRYwhJ0jHFG0MhQDCatq lhlfSoxLF1MUZMPQb2hFjqw8cZ2gCXZtf48r++orwi2q2HBIuT5z57M29m45evQ8irHLIZ eHPs/pH7a5tgFWPOaP9QtvQr1Ap8+NIn28H3r5sP1V0EzyQCnVl+fEXx9eOaOyc17tclMi vc9srw+5GMEnic2TOg1VubKZX73uZHXbRHW165Y1IANCIg483s6r2kof4G6e0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=rvZyxlu6; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=rvZyxlu6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 1DC8B34003 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: KgICFyuvBP/v * gnu/packages/time.scm (rdate): New variable. diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index df4b8ac6f5..351c990ce1 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -470,6 +470,30 @@ datetime type.") (define-public python2-aniso8601 (package-with-python2 python-aniso8601)) +(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 `(("autoconf" ,autoconf) + ("automake" ,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 license:gpl2)))) + (define-public datefudge (package (name "datefudge") -- 2.32.0