Merge pull request #46528 from markuskowa/pdsh-fix
pdsh: set default module to ssh, remove obsolete fixes
This commit is contained in:
commit
a87c16bab0
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, readline, rsh, ssh, pam }:
|
||||
{ stdenv, fetchurl, perl, readline, rsh, ssh }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pdsh-2.33";
|
||||
@ -8,12 +8,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0bwlkl9inj66iwvafg00pi3sk9n673phdi0kcc59y9nn55s0hs3k";
|
||||
};
|
||||
|
||||
buildInputs = [perl readline ssh pam];
|
||||
|
||||
/* pdsh uses pthread_cancel(), which requires libgcc_s.so.1 to be
|
||||
loadable at run-time. Adding the flag below ensures that the
|
||||
library can be found. Obviously, though, this is a hack. */
|
||||
NIX_LDFLAGS="-lgcc_s";
|
||||
buildInputs = [ perl readline ssh ];
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray=(
|
||||
@ -22,11 +17,11 @@ stdenv.mkDerivation rec {
|
||||
"--with-machines=/etc/pdsh/machines"
|
||||
${if readline == null then "--without-readline" else "--with-readline"}
|
||||
${if ssh == null then "--without-ssh" else "--with-ssh"}
|
||||
${if pam == null then "--without-pam" else "--with-pam"}
|
||||
${if rsh == false then "--without-rsh" else "--with-rsh"}
|
||||
"--with-dshgroups"
|
||||
"--with-xcpu"
|
||||
"--disable-debug"
|
||||
'--with-rcmd-rank-list=ssh,krb4,exec,xcpu,rsh'
|
||||
)
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user