File pdsh.spec of Package pdsh

# spec file for package pdsh (Version 2.16)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# Please submit bugfixes or comments via

# norootforbuild

Name:           pdsh
BuildRequires:  dejagnu openssh readline-devel rsh
Version:        2.16
Release:        1
Summary:        Parallel remote shell program
License:        GPL v2 or later
Group:          Productivity/Clustering/Computing
Source:         %{name}-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          pdsh-2.16-glibc28.patch
# Prereq: 
# Set this to 1 to build with genders support and framework for
# running Elan jobs.
%define chaos 0

Pdsh is a multithreaded remote shell client which executes commands on
multiple remote hosts in parallel.  Pdsh can use several different
remote shell services, including standard "rsh", Kerberos IV, and ssh.

    Jim Garlick <>

%setup -q 

CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
%configure \
        --with-readline \
	    --with-machines=/etc/pdsh/machines \
	    --with-ssh \
		--disable-static \


%attr(755, root, root) /usr/bin/pdsh
%attr(755, root, root) /usr/bin/pdcp 

* Fri Apr 11 2008
- fix build with glibc 28, ARG_MAX no longer defined
- update to version 2.16
- Rewrite of the ssh module using the same framework as the existing "exec" module.
- Ability to specify an ssh connect timeout.
- Small improvements for the dshbak script.
- Other minor fixes to the pdsh interface.
- See the NEWS file distributed with pdsh for further information.
* Thu Apr 03 2008
- update to 2.14
  * some build fixes
  * Enable "exec" rcmd module by default
  * Ignore blank and comment lines in WCOLL file
  * Add new "pipecmd" API for executing arbitrary commands
  * Add "-N" option to disable hostname
  * Block SIGCHLD in pdsh threads
  * Undocumented -K option to explicitly keep
  domain names in output labels
* Mon Apr 30 2007
- added rpdcp to filelist (binary and manpage)
* Wed Apr 25 2007
- update to version 2.12 which includes:
  o pdsh-2.10.patch
  o fix build warnings
  o fix bugs
* Thu Aug 31 2006
- update to version 2.10 which
  o allow rcmd modules to set rcmd-specific options
  o Add test for "," in host range. Increase version number
  o Add COPYING to docs. Remove -n from %%setup
  o Add support for command history in interactive mode when using
  readline (History file is placed in ~/.pdsh/history)
  o Change mini shell script so -S hack will work
* Thu Jul 13 2006
- update to version 2.9 which
  o Remove unneeded .la and .a files in packages
  o Use io session file instead of stdout and stdin session files
  o Remove code which only loaded pdsh modules via *.la files
  o Add xcpu module support
  o Do not install pdsh/pdcp setuid root by default anymore
  o Update documentation
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006
- disable make check for now
* Fri Jan 13 2006
- update to version 2.8
* Wed Jun 08 2005
- use RPM_OPT_FLAGS -fno-strict-aliasing
* Tue Jun 07 2005
- update to version 2.3
* Thu Feb 26 2004
- building as non-root
* Sun Jun 15 2003
- Initial release (1.7-6)