18290379 cssh man page describes more commands than are packaged
authormahmood.ali@oracle.com <mahmood.ali@oracle.com>
Fri, 11 Apr 2014 10:49:14 -0700
changeset 1824 fb933e605dec
parent 1823 aa5916252876
child 1825 6864cd9b9a00
18290379 cssh man page describes more commands than are packaged
components/perl_modules/cssh/cssh-PERLVER.p5m
components/perl_modules/cssh/patches/003_rmv_ccon_frm_man.patch
--- a/components/perl_modules/cssh/cssh-PERLVER.p5m	Fri Apr 11 08:09:58 2014 -0700
+++ b/components/perl_modules/cssh/cssh-PERLVER.p5m	Fri Apr 11 10:49:14 2014 -0700
@@ -30,6 +30,7 @@
     value="cssh opens an administration console and a separate terminal window to each specified hosts. Any text typed into the administration console is replicated across all terminal windows.  Each terminal window may also be typed into separately."
 set name=com.oracle.info.description \
     value="Perl CPAN utility to administer cluster of servers."
+set name=pkg.human-version value=$(HUMAN_VERSION)
 set name=com.oracle.info.tpno value=13257
 set name=info.classification \
     value="org.opensolaris.category.2008:Applications/System Utilities"
@@ -59,9 +60,21 @@
 #
 link path=usr/bin/cssh target=../perl5/$(PERLVER)/bin/cssh mediator=perl \
     mediator-version=$(PERLVER)
+# Since crsh and ctel are same as cssh create links instead of duplicates.
+link path=usr/bin/crsh target=../perl5/$(PERLVER)/bin/cssh mediator=perl \
+    mediator-version=$(PERLVER)
+link path=usr/bin/ctel target=../perl5/$(PERLVER)/bin/cssh mediator=perl \
+    mediator-version=$(PERLVER)
 link path=usr/share/man/man1/cssh.1 \
     target=../../../perl5/$(PERLVER)/man/man1/cssh.1 mediator=perl \
     mediator-version=$(PERLVER)
+# Also man page of crsh and ctel same as cssh.
+link path=usr/share/man/man1/crsh.1 \
+    target=../../../perl5/$(PERLVER)/man/man1/cssh.1 mediator=perl \
+    mediator-version=$(PERLVER)
+link path=usr/share/man/man1/ctel.1 \
+    target=../../../perl5/$(PERLVER)/man/man1/cssh.1 mediator=perl \
+    mediator-version=$(PERLVER)
 #
 license cssh.license license=Artistic
 #
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/perl_modules/cssh/patches/003_rmv_ccon_frm_man.patch	Fri Apr 11 10:49:14 2014 -0700
@@ -0,0 +1,56 @@
+#This is an inhouse patch to remove references to ccon which is a wrapper
+#around console program that is not shipped in Solaris. An RFE has been 
+#filed Bug 18544653 to port console command to Solaris. Once console is
+#ported this patch becomes obsolete. 
+
+--- App-ClusterSSH-4.02_01/bin/cssh.orig	2014-04-09 10:22:53.306791974 -0700
++++ App-ClusterSSH-4.02_01/bin/cssh	2014-04-09 10:30:00.989566222 -0700
+@@ -16,14 +16,13 @@
+ 
+ =head1 NAME
+ 
+-cssh, crsh, ctel, ccon - Cluster administration tool
++cssh, crsh, ctel - Cluster administration tool
+ 
+ =head1 SYNOPSIS
+ 
+ S<< cssh [options] [[user@]<server>[:port]|<tag>] [...] >>
+ S<< crsh [options] [[user@]<server>[:port]|<tag>] [...] >>
+ S<< ctel [options] [<server>[:port]|<tag>] [...] >>
+-S<< ccon [options] [[user@]<server>[:port]|<tag>] [...] >>
+ 
+ =head1 DESCRIPTION
+ 
+@@ -39,7 +38,7 @@
+ Connections are opened via ssh so a correctly installed and configured
+ ssh installation is required.  If, however, the program is called by "crsh"
+ then the rsh protocol is used (and the communications channel is insecure),
+-or by "ctel" then telnet is used, or by "ccon" then console is used.
++or by "ctel" then telnet is used.
+ 
+ Extra caution should be taken when editing system files such as
+ /etc/inet/hosts as lines may not necessarily be in the same order.  Assuming
+@@ -88,12 +87,6 @@
+ 
+ =item *
+ 
+-If the code is called as ccon instead of cssh (i.e. a symlink called
+-ccon points to the cssh file or the file is renamed) console is used as the
+-communications protocol instead of ssh.
+-
+-=item *
+-
+ When using cssh on a large number of systems to connect back to a single
+ system (e.g. you issue a command to the cluster to scp a file from a given
+ location) and when these connections require authentication (i.e. you are
+@@ -334,10 +327,6 @@
+ 
+ S<$ crsh server1 server2>
+ 
+-=item Use console with master as the primary server instead of ssh
+-
+-S<$ ccon -M master server1 server2>
+-
+ =back
+ 
+ =head1 FILES