Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81171 - pdsh-2.9.ebuild (New Package)
Summary: pdsh-2.9.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-02-07 14:55 UTC by jghobrial
Modified: 2010-09-10 19:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pdsh ebuild (pdsh-2.3-r1.ebuild,1.03 KB, text/plain)
2005-02-07 14:58 UTC, jghobrial
Details
Fixes based on Elfyn's suggestions (pdsh-2.3-r2.ebuild,1.09 KB, text/plain)
2005-02-17 12:07 UTC, jghobrial
Details
Updated ebuild (pdsh-2.8.ebuild,1.10 KB, text/plain)
2005-11-09 09:40 UTC, jghobrial
Details
An updated ebuild for PDSH 2.9 (pdsh-2.9.ebuild,1.32 KB, text/plain)
2006-04-13 16:52 UTC, Brady Catherman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jghobrial 2005-02-07 14:55:57 UTC
Pdsh is a high-performance, parallel remote shell utility. It has built-in, thread-safe clients for Berkeley and Kerberos V4 rsh, and can call SSH externally (though with reduced performance). Pdsh uses a "sliding window" parallel algorithm to conserve socket resources on the initiating node and to allow progress to continue while timeouts occur on some connections.
Comment 1 jghobrial 2005-02-07 14:58:22 UTC
Created attachment 50673 [details]
pdsh ebuild
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-16 14:03:48 UTC
Thanks for submitting the ebuild - very nice.

There are a few things that need changing, though:

  - ${S} should to be set outside of src_compile, and you also don't need to
    cd into it in src_{compile,install} - ebuild.sh will do that for you.

  - net-misc/openssh needs to be in RDEPEND, as it's required at run-time.

  - if you touch any files in pkg_postinst (creating the "/etc/pdsh" directory
    and creating the default "machines" file), you must also honour ${ROOT}.

It might also be an idea to create the "/etc/pdsh" directory, and install the
default "machines" file (even if it's just pure comments) in src_install, thus
eliminating the need for a pkg_postinst; the latter will however require the
default "machines" file to be put into the package's "files" directory and
installed from src_install, but that's not a problem.
Comment 3 jghobrial 2005-02-17 12:07:35 UTC
Created attachment 51462 [details]
Fixes based on Elfyn's suggestions

There is no default machines file in the tar file so keeping its creation in
pkg_postinst seems to be the way to go. Also, a warning to modify the machines
file has been added.
Comment 4 jghobrial 2005-04-22 07:25:36 UTC
Can anyone tell me the status of this being accepted. It has been a long while.

Thanks
Comment 5 Martin Mokrejš 2005-07-25 18:23:08 UTC
Elfyn McBratney: Any news on this? ;-)
Comment 6 jghobrial 2005-07-25 20:03:53 UTC
(In reply to comment #5)
> Elfyn McBratney: Any news on this? ;-)

Really, this is slightly annoying. It has been 5 months since I submitted this.
Comment 7 jghobrial 2005-10-20 08:00:43 UTC
Okay, is there anything else I need to do on this? Check the initial date
February 7th, 2005. If there is, let me know and I'll do it.

Otherwise, WTF? Come on, someone let me know what is going on with the
acceptance of this ebuild. I have stuck to this for 8 months, if there is a rule
that says developer must stay with this for a year before acceptance; at least
let me know that.

It is a cool program and my friend and I worked on this and corrected it when
necessary.
Comment 8 Martin Mokrejš 2005-11-09 05:01:03 UTC
And I see 2.8.1 version out. ;) Will this package go under app-shells?
Comment 9 jghobrial 2005-11-09 09:37:43 UTC
Updated the ebuild to 2.8-1.
Comment 10 jghobrial 2005-11-09 09:40:25 UTC
Created attachment 72501 [details]
Updated ebuild

This is an update to the latest version of pdsh. This should go into
/usr/portage/sys-cluster/pdsh/

Thanks
Comment 11 Brady Catherman 2005-11-15 23:31:04 UTC
Before submitting this ebuild it needs to change its configuration a bit.
SSH should not be included unless the "ssh" useflag is set. This allows those of
us with rsh to take advantage of the performance that pdsh offers when using rsh.
Comment 12 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-15 23:32:04 UTC
This bug was recently brought to my attention, and pdsh should properly be added
and maintained by the cluster team.

If perl has objections to this, please comment.
Comment 13 Brady Catherman 2006-04-13 16:52:38 UTC
Created attachment 84595 [details]
An updated ebuild for PDSH 2.9
Comment 14 Martin Mokrejš 2006-05-02 12:35:15 UTC
The ebuild from comment #13 works fine for me for 2.9 and 2.10 version. Please push it finally to portage.

I see that either netkit-rsh or kth-krb4 could be used to provide the kerberized rsh. But that would be a minor extension to the ebuild and I guess configure won't pick up the renamed binaries into FHS locations. Anyway, it is impossible to have installed concurrently kth-krb4 and heimdal on Gentoo as the destdir's overlap. But it is perfectly legal to have both installed and use them. But this is my general objection that packages should not be relocated to FHS.
Comment 15 Michael Cummings (RETIRED) gentoo-dev 2006-05-21 16:16:28 UTC
(In reply to comment #14)
> If perl has objections to this, please comment.
> 
Let us know if you help with anything, ebuilding, etc., otherwise, she's all yours :)
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 23:02:58 UTC
Finally I'm finding some time for clustering stuff, I'll look at this soon because I like the package.
Comment 17 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-19 22:30:05 UTC
Finally committed with some fixes, thanks for the contribution! A big slowup is that maintaining existing applications generally takes priority over adding new ones, and we're always in need of more help anyway.