rebuild gst-plugins-good1 for libvpx-1.15.0; fix gcc-14 problem
[oi-userland.git] / components / archiver / gtar / patches / 02-remote-shell.patch
blobe0496cd3e4790bc59e3c46c2a0fa25ade8f794e4
1 Patch origin: in-house
2 Patch status: Solaris-specific; not suitable for upstream
4 --- tar-1.35/src/tar.c.orig 2023-07-10 09:29:17.000000000 +0200
5 +++ tar-1.35/src/tar.c 2023-07-23 11:32:59.273655249 +0200
6 @@ -649,7 +649,7 @@
7 N_("use given rmt COMMAND instead of rmt"),
8 GRID_DEVICE },
9 {"rsh-command", RSH_COMMAND_OPTION, N_("COMMAND"), 0,
10 - N_("use remote COMMAND instead of rsh"),
11 + N_("use remote COMMAND instead of ssh"),
12 GRID_DEVICE },
14 {"multi-volume", 'M', 0, 0,
15 --- tar-1.35/doc/tar.info-1.orig 2023-07-18 08:40:53.000000000 +0200
16 +++ tar-1.35/doc/tar.info-1 2023-07-23 12:05:57.157315230 +0200
17 @@ -3084,7 +3084,7 @@
19 $ tar --show-defaults
20 --format=gnu -f- -b20 --quoting-style=escape
21 - --rmt-command=/usr/libexec/rmt --rsh-command=/usr/bin/rsh
22 + --rmt-command=/usr/sbin/rmt --rsh-command=/usr/bin/ssh
24 Notice, that this option outputs only one line. The example output
25 above has been split to fit page boundaries. *Note defaults::.
26 @@ -3669,7 +3669,7 @@
28 $ tar --show-defaults
29 --format=gnu -f- -b20 --quoting-style=escape
30 - --rmt-command=/etc/rmt --rsh-command=/usr/bin/rsh
31 + --rmt-command=/usr/sbin/rmt --rsh-command=/usr/bin/ssh
33 Notice, that this option outputs only one line. The example output
34 above has been split to fit page boundaries.
35 @@ -3678,7 +3678,7 @@
36 ‘gnu’ archive format (*note Formats::), it uses standard output as the
37 archive, if no ‘--file’ option has been given (*note file tutorial::),
38 the default blocking factor is 20 (*note Blocking Factor::). It also
39 -shows the default locations where ‘tar’ will look for ‘rmt’ and ‘rsh’
40 +shows the default locations where ‘tar’ will look for ‘rmt’ and ‘ssh’
41 binaries.
43 \x1f
44 @@ -6310,8 +6310,8 @@
45 Full file name of ‘mt’ binary.
47 -- Backup variable: RSH
48 - Full file name of ‘rsh’ binary or its equivalent. You may wish to
49 - set it to ‘ssh’, to improve security. In this case you will have
50 + Full file name of ‘rsh’ binary or its equivalent. This has been
51 + set to ‘ssh’, to improve security. In this case you will have
52 to use public key authentication.
54 -- Backup variable: RSH_COMMAND
55 @@ -6470,9 +6470,9 @@
56 BACKUP_HOUR=1
57 TAPE_FILE=/dev/nrsmt0
59 - # Use ssh instead of the less secure rsh
60 - RSH=/usr/bin/ssh
61 - RSH_COMMAND=/usr/bin/ssh
62 + # Use rsh instead of the more secure ssh
63 + RSH=/usr/bin/rsh
64 + RSH_COMMAND=/usr/bin/rsh
66 # Override MT_STATUS function:
67 my_status() {
68 @@ -6770,10 +6770,10 @@
69 If the archive file name includes a colon (‘:’), then it is assumed
70 to be a file on another machine. If the archive file is
71 ‘USER@HOST:FILE’, then FILE is used on the host HOST. The remote host
72 -is accessed using the ‘rsh’ program, with a username of USER. If the
73 +is accessed using the ‘ssh’ program, with a username of USER. If the
74 username is omitted (along with the ‘@’ sign), then your user name will
75 -be used. (This is the normal ‘rsh’ behavior.) It is necessary for the
76 -remote machine, in addition to permitting your ‘rsh’ access, to have the
77 +be used. (This is the normal ‘ssh’ behavior.) It is necessary for the
78 +remote machine, in addition to permitting your ‘ssh’ access, to have the
79 ‘rmt’ program installed (this command is included in the GNU ‘tar’
80 distribution and by default is installed under ‘PREFIX/libexec/rmt’,
81 where PREFIX means your installation prefix). If you need to use a file
82 --- tar-1.35/doc/tar.info-2.orig 2023-07-18 08:40:55.000000000 +0200
83 +++ tar-1.35/doc/tar.info-2 2023-07-23 12:12:48.648431353 +0200
84 @@ -2634,9 +2634,9 @@
85 If the file name contains a ‘:’, it is interpreted as ‘hostname:file
86 name’. If the HOSTNAME contains an “at” sign (‘@’), it is treated as
87 ‘user@hostname:file name’. In either case, ‘tar’ will invoke the
88 -command ‘rsh’ (or ‘remsh’) to start up an ‘/usr/libexec/rmt’ on the
89 +command ‘ssh’ (or ‘remsh’) to start up an ‘/usr/libexec/rmt’ on the
90 remote machine. If you give an alternate login name, it will be given
91 -to the ‘rsh’. Naturally, the remote machine must have an executable
92 +to the ‘ssh’. Naturally, the remote machine must have an executable
93 ‘/usr/libexec/rmt’. This program is free software from the University
94 of California, and a copy of the source code can be found with the
95 sources for ‘tar’; it’s compiled and installed by default. The exact
96 @@ -2684,8 +2684,8 @@
97 Archive file is local even if it contains a colon.
99 ‘--rsh-command=COMMAND’
100 - Use remote COMMAND instead of ‘rsh’. This option exists so that
101 - people who use something other than the standard ‘rsh’ (e.g., a
102 + Use remote COMMAND instead of ‘ssh’. This option exists so that
103 + people who use something other than the standard ‘ssh’ (e.g., a
104 Kerberized ‘rsh’) can access a remote device.
106 When this command is not used, the shell command found when the
107 @@ -2748,7 +2748,7 @@
108 remote tape server written at the University of California at Berkeley.
109 The remote tape server must be installed as ‘PREFIX/libexec/rmt’ on any
110 machine whose tape drive you want to use. ‘tar’ calls ‘rmt’ by running
111 -an ‘rsh’ or ‘remsh’ to the remote machine, optionally using a different
112 +an ‘ssh’ or ‘remsh’ to the remote machine, optionally using a different
113 login name if one is supplied.
115 A copy of the source for the remote tape server is provided. Its