From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MPoVH+Yw/GITMAEAbAwnHQ (envelope-from ) for ; Wed, 17 Aug 2022 02:05:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QAXxHuYw/GJ/owAAauVa8A (envelope-from ) for ; Wed, 17 Aug 2022 02:05:58 +0200 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 3B95B91FA for ; Wed, 17 Aug 2022 02:05:58 +0200 (CEST) Received: from localhost ([::1]:36366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oO6ZI-0004hF-VI for larch@yhetil.org; Tue, 16 Aug 2022 20:05:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oO6YR-0004gy-2R for guix-patches@gnu.org; Tue, 16 Aug 2022 20:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oO6YQ-000510-Op for guix-patches@gnu.org; Tue, 16 Aug 2022 20:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oO6YQ-0005zi-G2 for guix-patches@gnu.org; Tue, 16 Aug 2022 20:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57253] [PATCH 2/2] gnu: Add keychain. References: <20220816234601.9940-1-GNUtoo@cyberdimension.org> In-Reply-To: <20220816234601.9940-1-GNUtoo@cyberdimension.org> Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Aug 2022 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57253 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57253@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli Received: via spool by 57253-submit@debbugs.gnu.org id=B57253.166069464722979 (code B ref 57253); Wed, 17 Aug 2022 00:05:02 +0000 Received: (at 57253) by debbugs.gnu.org; 17 Aug 2022 00:04:07 +0000 Received: from localhost ([127.0.0.1]:48780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO6XW-0005yY-QL for submit@debbugs.gnu.org; Tue, 16 Aug 2022 20:04:07 -0400 Received: from cyberdimension.org ([80.67.179.20]:55610 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oO6XU-0005yO-8j for 57253@debbugs.gnu.org; Tue, 16 Aug 2022 20:04:04 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id fcfdfaed; Wed, 17 Aug 2022 00:01:28 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 85e090f3; Wed, 17 Aug 2022 00:01:28 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Wed, 17 Aug 2022 02:03:32 +0200 Message-Id: <20220817000332.13801-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660694758; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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; bh=IyMBDBafLbcYQd5QxGL0iXsu4xxtD9zBD9TOEnXyI4A=; b=isrQXpqzjVHXymLJdLbO+xwlVMarj7VnaSyzjnc5wLoGwNuKqlW9B644v9QBg02fFtw2lj 0PCaU0BMCVpYn88/TfadJCEuAkHL6VkdqFfyGc9y2rLAS9RjtJBx9XmwDT7ezK0SGHRbrf /UXKyO4E3Z06imudil9zH/Io4Xx9g+fQ+eQceW/vImPbhTq2PSSWSj0veSy7SZWWMEhkPw Xdk6pMldw1gAByaMVj1T5OTx4C/a34ad95pgo0QFugrAbqNneUDH4vId9cfXWU3Ia2ql/A bYW/NeTJICH4cE7BL7Tb8yYOh2m98wI9aScw6MBEmPhZCL9dXHjYaJIEPbxX0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660694758; a=rsa-sha256; cv=none; b=BVgbA94QtQcxTL7Q2dPpYbtt0IaXc5xrT3H1cDNyyGnOfBEDuBxLOOgazfJIvRvFe5chVi yRG5x7GQHGDaPif1GucNNzBjCAdYb6vkI8zs2UMkB9VapovdVPYJ+tFmOsJd55FMrNzdZ7 9oziAFho8IQHSARH+VX5M8g9qOd3rJp1GFMAqNWEtWn0h4s2xbB5aX2A432w0v+WXUCl4U 0R0U7ZMlHmONiOBYbrFeP0/8OGONjnVgjN/0Z5tzZN2t8yOiUi5a9e/yOATZ3q22vv2vA+ dbeEZym5rv0vRvP3ADwzsXRVl2I+G6TRcudPgZ1Jx0GbPfRk6gPOItLjdWnMAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -1.46 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 3B95B91FA X-Spam-Score: -1.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: kWCZMWaav7p4 * gnu/packages/crypto.scm (keychain): New variable. --- gnu/packages/crypto.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 9dcffd8dd4..3553415ad5 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2021, 2022 Brendan Tildesley ;;; Copyright © 2022 Allan Adair ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -46,6 +47,7 @@ (define-module (gnu packages crypto) #:use-module (gnu packages aidc) #:use-module (gnu packages attr) #:use-module (gnu packages autotools) + #:use-module (gnu packages bash) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -1699,3 +1701,42 @@ (define-public libxcrypt descrypt.") (home-page "https://github.com/besser82/libxcrypt") (license license:lgpl2.1))) + +(define-public keychain + (package + (name "keychain") + (version "2.8.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/funtoo/keychain") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bkjlg0a2bbdjhwp37ci1rwikvrl4s3xlbf2jq2z4azc96dr83mj")))) + (build-system gnu-build-system) + (native-inputs (list bash)) + (arguments + `(#:tests? #f + #:phases (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda _ + (install-file "keychain" + (string-append %output "/bin/")) + (install-file "keychain.1" + (string-append %output "/share/man/man1")) + #t))))) + (synopsis + "SSH or GPG agent frontend that can share a single agent on the same +system") + (description + "Keychain is usually run from shell profiles like ~/.bash_profile, but +it is also possible to use it with non-interactive shells. It works +with various operating systems (including GNU/Linux and HURD) and +shells (like bourne-compatible, csh-compatible and fish shells). By +default Keychain will only start ssh-agent, but it can also be +configured to start gpg-agent.") + (home-page "https://www.funtoo.org/Keychain") + (license license:gpl2))) -- 2.37.1