On Mon, Jun 12, 2006 at 09:01:40AM +0200, steven mestdagh wrote:
> Will Maier [2006-06-11, 18:33:54]:
> > Should the documentation be patched to reflect this change as
> > well?
>
> Yes.
I've attached a diff against the most recent tarball that should fix
the docs as well. I don't think the author will be interested in
these changes, unfortunately, so this will probably stay local to
OpenBSD.
Testing and comments appreciated.
--
o--------------------------{ Will Maier }--------------------------o
| jabber:[EMAIL PROTECTED] | [EMAIL PROTECTED] |
| freenode:..............lt_kije | freenode:........#madlug,#wilug |
*------------------[ BSD Unix: Live Free or Die ]------------------*
Binary files ../clusterit-old/.Makefile.swp and ./.Makefile.swp differ
diff -urN ../clusterit-old/Makefile ./Makefile
--- ../clusterit-old/Makefile Tue May 30 16:37:05 2006
+++ ./Makefile Sun Jun 11 17:56:45 2006
@@ -25,7 +25,7 @@
.if ${FLAVOR:L:Mno_x11}
# Don't build dvt/rvt, which require X11
-PATCH_LIST+= no_x11-*
+PATCH_LIST= patch-* no_x11-*
CONFIGURE_ARGS= --without-x11
.else
USE_X11= Yes
diff -urN ../clusterit-old/TODO ./TODO
--- ../clusterit-old/TODO Wed Dec 31 18:00:00 1969
+++ ./TODO Mon Jun 12 11:59:52 2006
@@ -0,0 +1,7 @@
+OK catman/pcp.0
+OK common/netbsd.c
+OK html/man/pcp.html
+OK pcp/pcp.1
+OK pcp/pcp.c
+OK rvt/rvt.c
+OK rvt/xsetup.c
diff -urN ../clusterit-old/patches/patch-dsh_dsh_1 ./patches/patch-dsh_dsh_1
--- ../clusterit-old/patches/patch-dsh_dsh_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_dsh_1 Mon Jun 12 12:02:35 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dsh/dsh.1.orig Mon Jun 12 11:52:48 2006
++++ dsh/dsh.1 Mon Jun 12 11:53:11 2006
+@@ -171,7 +171,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh
++.Ic ssh .
+ .It Ev RCMD_CMD_ARGS
+ Arguments to pass to the remote shell command. Defaults to none.
+ .It Ev RCMD_PORT
diff -urN ../clusterit-old/patches/patch-dsh_dsh_c ./patches/patch-dsh_dsh_c
--- ../clusterit-old/patches/patch-dsh_dsh_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_dsh_c Sun Jun 11 17:10:29 2006
@@ -0,0 +1,24 @@
+$OpenBSD$
+--- dsh/dsh.c.orig Sun Jun 11 17:06:15 2006
++++ dsh/dsh.c Sun Jun 11 17:08:58 2006
+@@ -226,9 +226,9 @@ main(int argc, char *argv[])
+ /* we need to find or guess the port number */
+ if (testflag && rshport == 0) {
+ if (!getenv("RCMD_CMD"))
+- rshport = 514;
+- else if (strcmp("ssh", getenv("RCMD_CMD")) == 0)
+ rshport = 22;
++ else if (strcmp("rsh", getenv("RCMD_CMD")) == 0)
++ rshport = 514;
+ else {
+ (void)fprintf(stderr, "-t argument given, but port number to test "
+ "could not be guessed. Please set RSHPORT "
+@@ -352,7 +352,7 @@ do_command(char **argv, int fanout, char
+ /* gather the rsh data */
+ rsh = getenv("RCMD_CMD");
+ if (rsh == NULL)
+- rsh = strdup("rsh");
++ rsh = strdup("ssh");
+ if (rsh == NULL)
+ bailout();
+
diff -urN ../clusterit-old/patches/patch-dsh_rseq_1 ./patches/patch-dsh_rseq_1
--- ../clusterit-old/patches/patch-dsh_rseq_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_rseq_1 Mon Jun 12 12:02:58 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dsh/rseq.1.orig Mon Jun 12 11:53:21 2006
++++ dsh/rseq.1 Mon Jun 12 11:53:29 2006
+@@ -132,7 +132,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh
++.Ic ssh .
+ .It Ev RCMD_CMD_ARGS
+ Arguments to pass to the remote shell command. Defaults to none.
+ .It Ev RCMD_USER
diff -urN ../clusterit-old/patches/patch-dsh_rseq_c ./patches/patch-dsh_rseq_c
--- ../clusterit-old/patches/patch-dsh_rseq_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_rseq_c Sun Jun 11 17:12:22 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dsh/rseq.c.orig Sun Jun 11 17:12:09 2006
++++ dsh/rseq.c Sun Jun 11 17:12:12 2006
+@@ -324,7 +324,7 @@ do_command(char **argv, int allrun, char
+ /* set up the remote command */
+ rsh = getenv("RCMD_CMD");
+ if (rsh == NULL)
+- rsh = strdup("rsh");
++ rsh = strdup("ssh");
+ if (rsh == NULL)
+ bailout();
+ if (getenv("RCMD_CMD_ARGS") != NULL)
diff -urN ../clusterit-old/patches/patch-dsh_run_1 ./patches/patch-dsh_run_1
--- ../clusterit-old/patches/patch-dsh_run_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_run_1 Mon Jun 12 12:03:09 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dsh/run.1.orig Mon Jun 12 11:53:43 2006
++++ dsh/run.1 Mon Jun 12 11:53:52 2006
+@@ -129,7 +129,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh
++.Ic ssh .
+ .It Ev RCMD_CMD_ARGS
+ Arguments to pass to the remote shell command. Defaults to none.
+ .It Ev RCMD_USER
diff -urN ../clusterit-old/patches/patch-dsh_run_c ./patches/patch-dsh_run_c
--- ../clusterit-old/patches/patch-dsh_run_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-dsh_run_c Sun Jun 11 17:13:23 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dsh/run.c.orig Sun Jun 11 17:12:44 2006
++++ dsh/run.c Sun Jun 11 17:13:15 2006
+@@ -292,7 +292,7 @@ do_command(char **argv, int allrun, char
+ /* get the rsh data */
+ rsh = getenv("RCMD_CMD");
+ if (rsh == NULL)
+- rsh = strdup("rsh");
++ rsh = strdup("ssh");
+ if (rsh == NULL)
+ bailout();
+ if (getenv("RCMD_CMD_ARGS") != NULL)
diff -urN ../clusterit-old/patches/patch-jsd_jsd_1 ./patches/patch-jsd_jsd_1
--- ../clusterit-old/patches/patch-jsd_jsd_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-jsd_jsd_1 Mon Jun 12 11:59:58 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- jsd/jsd.1.orig Mon Jun 12 11:54:38 2006
++++ jsd/jsd.1 Mon Jun 12 11:54:53 2006
+@@ -173,7 +173,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh .
++.Ic ssh .
+ This is only used by
+ .Nm
+ when issuing the benchmark at startup, and has no
diff -urN ../clusterit-old/patches/patch-jsd_jsd_c ./patches/patch-jsd_jsd_c
--- ../clusterit-old/patches/patch-jsd_jsd_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-jsd_jsd_c Sun Jun 11 17:15:53 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- jsd/jsd.c.orig Sun Jun 11 17:15:18 2006
++++ jsd/jsd.c Sun Jun 11 17:15:29 2006
+@@ -458,7 +458,7 @@ do_bench_command(char *argv, int fanout,
+
+ rsh = getenv("RCMD_CMD");
+ if (rsh == NULL)
+- rsh = strdup("rsh");
++ rsh = strdup("ssh");
+ if (rsh == NULL)
+ bailout();
+ if (getenv("RCMD_CMD_ARGS") != NULL)
diff -urN ../clusterit-old/patches/patch-jsd_jsh_1 ./patches/patch-jsd_jsh_1
--- ../clusterit-old/patches/patch-jsd_jsh_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-jsd_jsh_1 Mon Jun 12 11:59:58 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- jsd/jsh.1.orig Mon Jun 12 11:55:09 2006
++++ jsd/jsh.1 Mon Jun 12 11:55:17 2006
+@@ -133,7 +133,7 @@ utilizes the following environment varia
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh .
++.Ic ssh .
+ .It Ev RCMD_CMD_ARGS
+ Arguments to pass to the remote shell command. Defaults to none.
+ .It Ev JSD_OPORT
diff -urN ../clusterit-old/patches/patch-jsd_jsh_c ./patches/patch-jsd_jsh_c
--- ../clusterit-old/patches/patch-jsd_jsh_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-jsd_jsh_c Sun Jun 11 17:17:23 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- jsd/jsh.c.orig Sun Jun 11 17:16:28 2006
++++ jsd/jsh.c Sun Jun 11 17:17:19 2006
+@@ -319,7 +319,7 @@ do_command(char **argv, int allrun, char
+ }
+ rsh = getenv("RCMD_CMD");
+ if (rsh == NULL)
+- rsh = strdup("rsh");
++ rsh = strdup("ssh");
+ if (rsh == NULL)
+ bailout();
+
diff -urN ../clusterit-old/patches/patch-pcp_pcp_1 ./patches/patch-pcp_pcp_1
--- ../clusterit-old/patches/patch-pcp_pcp_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-pcp_pcp_1 Mon Jun 12 12:00:02 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- pcp/pcp.1.orig Mon Jun 12 11:58:08 2006
++++ pcp/pcp.1 Mon Jun 12 11:58:22 2006
+@@ -157,7 +157,7 @@ in the cluster.
+ .It Ev RCP_CMD
+ Command to use to copy files to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rcp
++.Ic scp
+ .It Ev RCP_USER
+ The username to connect to remote machines as by default.
+ .It Ev FANOUT
diff -urN ../clusterit-old/patches/patch-pcp_pcp_c ./patches/patch-pcp_pcp_c
--- ../clusterit-old/patches/patch-pcp_pcp_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-pcp_pcp_c Sun Jun 11 18:11:51 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- pcp/pcp.c.orig Sun Jun 11 18:09:22 2006
++++ pcp/pcp.c Sun Jun 11 18:10:18 2006
+@@ -276,7 +276,7 @@ void do_copy(char **argv, int recurse, i
+
+ rcp = getenv("RCP_CMD");
+ if (rcp == NULL)
+- rcp = strdup("rcp");
++ rcp = strdup("scp");
+ if (rcp == NULL)
+ bailout();
+ (void)snprintf(args, 64, " ");
diff -urN ../clusterit-old/patches/patch-rvt_rvt_c ./patches/patch-rvt_rvt_c
--- ../clusterit-old/patches/patch-rvt_rvt_c Wed Dec 31 18:00:00 1969
+++ ./patches/patch-rvt_rvt_c Sun Jun 11 17:18:30 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- rvt/rvt.c.orig Sun Jun 11 17:17:54 2006
++++ rvt/rvt.c Sun Jun 11 17:18:18 2006
+@@ -166,7 +166,7 @@ char **argv;
+ com_argv = (char**) cmalloc( (i+1) * sizeof(char**) );
+
+ command = getenv("RLOGIN_CMD");
+- if(command == NULL) command = "/usr/bin/rsh";
++ if(command == NULL) command = "/usr/bin/ssh";
+ i = 0;
+ com_argv[i++] = command;
+ if(remote_username != NULL)
diff -urN ../clusterit-old/patches/patch-tools_pdf_1 ./patches/patch-tools_pdf_1
--- ../clusterit-old/patches/patch-tools_pdf_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-tools_pdf_1 Mon Jun 12 12:03:20 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- tools/pdf.1.orig Mon Jun 12 11:56:11 2006
++++ tools/pdf.1 Mon Jun 12 11:56:22 2006
+@@ -144,7 +144,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh
++.Ic ssh .
+ .\" .Sh FILES
+ .Sh EXAMPLES
+ To find all the filesystems which are more than 90% full across your cluster,
diff -urN ../clusterit-old/patches/patch-tools_prm_1 ./patches/patch-tools_prm_1
--- ../clusterit-old/patches/patch-tools_prm_1 Wed Dec 31 18:00:00 1969
+++ ./patches/patch-tools_prm_1 Mon Jun 12 12:03:31 2006
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- tools/prm.1.orig Mon Jun 12 11:56:49 2006
++++ tools/prm.1 Mon Jun 12 11:57:00 2006
+@@ -122,7 +122,7 @@ in the cluster.
+ .It Ev RCMD_CMD
+ Command to use to connect to remote machines. The command chosen must
+ be able to connect with no password to the remote host. Defaults to
+-.Ic rsh
++.Ic ssh .
+ .\" .Sh FILES
+ .El
+ .Sh DIAGNOSTICS