From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxxlm-0002Ct-DR for guix-patches@gnu.org; Fri, 29 Sep 2017 12:04:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxxli-0006PV-EF for guix-patches@gnu.org; Fri, 29 Sep 2017 12:04:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxxli-0006PK-BQ for guix-patches@gnu.org; Fri, 29 Sep 2017 12:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxxlh-0001Yw-UN for guix-patches@gnu.org; Fri, 29 Sep 2017 12:04:01 -0400 Subject: [bug#28649] [PATCH] gnu: Add pdsh. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxxlA-0001up-HJ for guix-patches@gnu.org; Fri, 29 Sep 2017 12:03:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxxl6-00066V-J4 for guix-patches@gnu.org; Fri, 29 Sep 2017 12:03:28 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxxl6-00062T-Ax for guix-patches@gnu.org; Fri, 29 Sep 2017 12:03:24 -0400 From: Ricardo Wurmus Date: Fri, 29 Sep 2017 16:16:29 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID: <20170929141629.11234-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28649@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/ssh.scm (pdsh): New variable. --- gnu/packages/ssh.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 55689a6c6..767bf4486 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -8,6 +8,7 @@ ;;; Copyright =C2=A9 2016 Christopher Allan Webber ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r +;;; Copyright =C2=A9 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -603,3 +604,40 @@ monitor it, restarting it as necessary should it die o= r stop passing traffic.") ;; copy of this license in their headers, but there's no separate fil= e ;; with that information. (license:non-copyleft "file://autossh.c")))) + +(define-public pdsh + (package + (name "pdsh") + (version "2.29") + (source + (origin + (method url-fetch) + (uri (string-append "https://storage.googleapis.com/" + "google-code-archive-downloads/v2/code.google.c= om/" + "pdsh/pdsh-" version ".tar.bz2")) + (sha256 + (base32 "1kvzz01fyaxfqmbh53f4ljfsgvxdykh5jyr6fh4f1bw2ywxr1w2p")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--with-ssh") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-/bin/sh + (lambda _ + (substitute* '("tests/runtests.sh" + "tests/test-lib.sh" + "tests/test-modules/pcptest.c") + (("/bin/sh") (which "bash"))) + #t))))) + (inputs + `(("openssh" ,openssh) + ("mit-krb5" ,mit-krb5) + ("perl" ,perl))) + (home-page "https://code.google.com/archive/p/pdsh") + (synopsis "Parallel distributed shell") + (description "Pdsh is a an efficient, multithreaded remote shell clien= t +which executes commands on multiple remote hosts in parallel. Pdsh implem= ents +dynamically loadable modules for extended functionality such as new remote +shell services and remote host selection.") + (license license:gpl2+))) --=20 2.14.1