From patchwork Wed Jul 8 22:20:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleg Pykhalov X-Patchwork-Id: 23135 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 C289927BBE3; Wed, 8 Jul 2020 23:38:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 16F5B27BBE1 for ; Wed, 8 Jul 2020 23:38:10 +0100 (BST) Received: from localhost ([::1]:50358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtIhd-0002qY-Hg for patchwork@mira.cbaines.net; Wed, 08 Jul 2020 18:38:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtIR4-0000v4-FX for guix-patches@gnu.org; Wed, 08 Jul 2020 18:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtIR4-00010c-4U for guix-patches@gnu.org; Wed, 08 Jul 2020 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtIR4-0004KS-1K for guix-patches@gnu.org; Wed, 08 Jul 2020 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42285] [PATCH] gnu: Add hss. Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jul 2020 22:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42285 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42285@debbugs.gnu.org Cc: Oleg Pykhalov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159424685516605 (code B ref -1); Wed, 08 Jul 2020 22:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2020 22:20:55 +0000 Received: from localhost ([127.0.0.1]:39366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtIQx-0004Jl-JA for submit@debbugs.gnu.org; Wed, 08 Jul 2020 18:20:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:47010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtIQv-0004Jd-R3 for submit@debbugs.gnu.org; Wed, 08 Jul 2020 18:20:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtIQv-0000Yp-IN for guix-patches@gnu.org; Wed, 08 Jul 2020 18:20:53 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:35358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtIQt-0000yl-NN for guix-patches@gnu.org; Wed, 08 Jul 2020 18:20:53 -0400 Received: by mail-lj1-x229.google.com with SMTP id q4so101277lji.2 for ; Wed, 08 Jul 2020 15:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3fBI4xMA5CcFyUpwA0J9yyDtrpO3Lomc80GjHXoYbe4=; b=fC6csnu9Kh24SonMZNkfhcWBLuAQ1YHriN1KWgMwWDvCoXl+qqKdkPOEm1ivG/PlIH 6FEWfXO2HiECRdDPbasZic0fbaJpk+CkwZRKkPsO4CQlWnN3sIMRaMDTG1cbkYzSTDdy 2R9C4NMlPFcK77mso4YhEHPSZ/BsY3niGmmZPc5sbX2dg2PNBYWHupKAH94H6NFdDBPh 0yxQGDYwXEzquEMg8evvUOpJHoJUfYEAieojsfKYrx3leTqXfnbUpIj1VI/gFOW0l/i4 dgfU44DcNNB8RJHe4NDhU6P9/kOGtU9W6Y2UF5x8+KxcFfVrFfzUJz4cLROJgBQHsclI wzAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3fBI4xMA5CcFyUpwA0J9yyDtrpO3Lomc80GjHXoYbe4=; b=PjpeQ6NsU91e+0LWt80g/YYbMgS1rq77/xCcMWgETlXQlgNYrPRtU88FArKRbF+7bv MoiWDnYUkbWoqoAcy2iXE5lZMF5jrHYdQ1bIzAoXXuV4CsVWKJP2TubMIa9xUfgens+q hU4uo1tiYzHjB8N5UaJ02W21XMJSaXDdNwe6KsV7IC9KchRUEZKaMa4mYo0f7GJbahYk hyi5CsHcGdV95h5JBPOVUTQS6ecb0ZGTQsH8IbtPQ67K36uPWFAGtFf1G/os+TwJ05HP Qs+0f3gXpv3psHk5W6KU53bEULurQ70jNxZeOd3cb+iPCPQJRU5PS92WGBlKTsaUqL0c tgRA== X-Gm-Message-State: AOAM533b7Jxrp7fthgtivIU/+Xxzy8KW3B6cdezwUDKSB4H82AYrkMAz 86db0XAEPVKvr9ZbSS4m2KDMfH2Hpy4= X-Google-Smtp-Source: ABdhPJw1JqpL/LQwSRaPslFWaHNIa5nxiW6Hy5S67PkJVhHunCIoAmIh4TyUeiobYn6c7TIZ1NuhnA== X-Received: by 2002:a2e:978d:: with SMTP id y13mr17215115lji.227.1594246844550; Wed, 08 Jul 2020 15:20:44 -0700 (PDT) Received: from localhost.localdomain (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id o64sm326278lfa.22.2020.07.08.15.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 15:20:44 -0700 (PDT) From: Oleg Pykhalov Date: Thu, 9 Jul 2020 01:20:33 +0300 Message-Id: <20200708222033.28674-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=go.wigust@gmail.com; helo=mail-lj1-x229.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/admin.scm (hss): New variable. --- gnu/packages/admin.scm | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 6d8d6650ee..3646aa1e46 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1238,6 +1238,53 @@ console window to allow commands to be interactively run on multiple servers over ssh connections.") (license license:gpl2+))) +(define-public hss + (package + (name "hss") + (version "1.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/six-ddc/hss.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1rpysj65j9ls30bf2c5k5hykzzjfknrihs58imp178bx1wqzw4jl")))) + (inputs + `(("readline" ,readline))) + (arguments + `(#:tests? #f ;no tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-env + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "Makefile" + (("/usr/local/bin") + (string-append (assoc-ref outputs "out") "/bin")) + (("/usr/local/opt/readline") + (assoc-ref inputs "readline"))) + (setenv "CC" "gcc"))) + (delete 'configure)))) + (build-system gnu-build-system) + (home-page "https://github.com/six-ddc/hss/") + (synopsis "Interactive SSH client for multiple servers") + (description "@command{hss} is an interactive SSH client for multiple +servers. It will provide almost the same experience as in the Bash +environment. It supports: + +@itemize @bullet +@item interactive input: based on @code{libreadline}. +@item history: responding to the @key{C-r} key. +@item auto-completion: completion from remote server on the @key{TAB} key, for +commands and paths. +@end itemize + +Command is executed on all servers in parallel. Execution on one server does +not need to wait for that on another server to finish before starting. So we +can run a command on hundreds of servers at the same time.") + (license license:expat))) + (define-public rename (package (name "rename")