OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / cvsup / draft / man1 / cvsup.1
1 .\" Copyright 1996,1997, 1998, 1999 John D. Polstra.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgment:
14 .\"      This product includes software developed by John D. Polstra.
15 .\" 4. The name of the author may not be used to endorse or promote products
16 .\"    derived from this software without specific prior written permission.
17 .\"
18 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
19 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
22 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 .\"
29 .\" $Id: cvsup.1,v 1.4 2003/12/12 13:06:57 takei Exp $
30 .\"
31 .\" translated Sun Jan 23 03:13:03 JST 2000
32 .\"         by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
33 .\"
34 .Dd August 31, 1999
35 .Os FreeBSD
36 .Dt CVSUP 1
37 .\"O .Sh NAME
38 .Sh Ì¾¾Î
39 .Nm cvsup
40 .\"O .Nd network distribution package for CVS repositories
41 .Nd CVS ¥ê¥Ý¥¸¥È¥êÍѤΥͥåȥ¥¯ÇÛÉۥѥ屡¼¥¸
42 .\"O .Sh SYNOPSIS
43 .Sh ½ñ¼°
44 .Nm
45 .Op Fl 1aDeEgksvzZ
46 .Op Fl A Ar addr
47 .Op Fl b Ar base
48 .Op Fl c Ar collDir
49 .Op Fl d Ar delLimit
50 .Op Fl h Ar host
51 .Op Fl i Ar pattern
52 .Op Fl l Ar lockfile
53 .Op Fl L Ar verbosity
54 .Op Fl p Ar port
55 .Op Fl P Ar m|a|port|lo-hi|-
56 .Op Fl r Ar maxRetries
57 .Ar supfile
58 .Op Ar destDir
59 .\"O .Sh DESCRIPTION
60 .Sh ²òÀâ
61 .\"O .Nm CVSup
62 .\"O is a software package for distributing and updating collections of files
63 .\"O across a network.
64 .Nm CVSup
65 ¤Ï¡¢¥Õ¥¡¥¤¥ë·²¤ÎÇÛÉۤȹ¹¿·¤ò¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Ç¹Ô¤¦¤¿¤á¤Î
66 ¥½¥Õ¥È¥¦¥§¥¢¥Ñ¥Ã¥±¡¼¥¸¤Ç¤¹¡£
67 .\"O The name
68 .\"O .Nm CVSup
69 .\"O refers to the package as a whole.
70 .Nm CVSup
71 ¤È¤¤¤¦Ì¾Á°¤Ï¥Ñ¥Ã¥±¡¼¥¸Á´ÂΤò»Ø¤·¤Þ¤¹¡£
72 .\"O It consists of a client program,
73 .\"O .Nm cvsup ,
74 .\"O and a server program,
75 .\"O .Nm cvsupd .
76 .Nm CVSup
77 ¤Ï¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤Ç¤¢¤ë
78 .Nm cvsup
79 ¤È¥µ¡¼¥Ð¥×¥í¥°¥é¥à¤Ç¤¢¤ë
80 .Nm cvsupd
81 ¤«¤é¤Ç¤­¤Æ¤¤¤Þ¤¹¡£
82 .\"O This manual page describes the general aspects of the
83 .\"O .Nm CVSup
84 .\"O package, as well as the particulars of the
85 .\"O .Nm
86 .\"O client program.
87 ¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï¡¢
88 .Nm CVSup
89 ¥Ñ¥Ã¥±¡¼¥¸¤Î³µÍפòÀâÌÀ¤·¡¢¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
90 .Nm cvsup
91 ÆÃÍ­¤Î»ö¹à¤âÀâÌÀ¤·¤Þ¤¹¡£
92 .\"O For detailed information about
93 .\"O .Nm cvsupd ,
94 .\"O see
95 .\"O .Xr cvsupd 8 .
96 .Nm cvsupd
97 ¤Î¾Ü¤·¤¤ÀâÌÀ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
98 .Xr cvsupd 8
99 ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
100 .Pp
101 .\"O Unlike more traditional network distribution packages, such as
102 .\"O .Nm rdist
103 .\"O and
104 .\"O .Nm sup ,
105 .\"O .Nm CVSup
106 .\"O is tailored specifically for distributing CVS repositories.
107 .Nm rdist
108 ¤ä
109 .Nm sup
110 ¤Î¤è¤¦¤Ê¡¢¤è¤êÅÁÅýŪ¤Ê¥Í¥Ã¥È¥ï¡¼¥¯ÇÛÉۥѥ屡¼¥¸¤È°Û¤Ê¤ê¡¢
111 .Nm CVSup
112 ¤ÏÆäˠCVS ¥ê¥Ý¥¸¥È¥ê¤ÎÇÛÉۤΤ¿¤á¤Ëºî¤é¤ì¤Æ¤¤¤Þ¤¹¡£
113 .\"O .Nm CVSup
114 .\"O takes advantage of the properties of CVS repositories and the files they
115 .\"O contain (in particular, RCS files), enabling it to perform updates much
116 .\"O faster than traditional systems.
117 .Nm CVSup
118 ¤Ï
119 CVS ¥ê¥Ý¥¸¥È¥ê¤È¥ê¥Ý¥¸¥È¥ê¤Ë´Þ¤Þ¤ì¤ë¥Õ¥¡¥¤¥ë(ÆäˠRCS ¥Õ¥¡¥¤¥ë)¤Î
120 ÆÃÀ­¤òÀ¸¤«¤·¡¢ÅÁÅýŪ¤Ê¥·¥¹¥Æ¥à¤è¤ê¤â¤º¤Ã¤È¹â®¤Ê¹¹¿·¤ò²Äǽ¤Ë¤·¤Æ¤¤¤Þ¤¹¡£
121 .\"O .Sh OPTIONS
122 .Sh ¥ª¥×¥·¥ç¥ó
123 .\"O The client program
124 .\"O .Nm
125 .\"O requires at least a single argument,
126 .\"O .Ar supfile .
127 ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
128 .Nm cvsup
129 ¤Ï¡¢¾¯¤Ê¤¯¤È¤â°ì¤Ä¤Î°ú¿ô
130 .Ar supfile
131 ¤òɬÍפȤ·¤Þ¤¹¡£
132 .\"O It names a file describing one or more collections of files to be
133 .\"O transferred and/or updated from the server.
134 ¤³¤Î°ú¿ô¤¬»Ø¤¹¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
135 ¥µ¡¼¥Ð¤«¤é¤ÎžÁ÷¤ä¹¹¿·¤ÎÂоݤȤʤë¥Õ¥¡¥¤¥ë¤¬µ­½Ò¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
136 .\"O The
137 .\"O .Ar supfile
138 .\"O has a format similar to the corresponding file used by
139 .\"O .Nm sup .
140 .Ar supfile
141 ¤Ï¡¢
142 .Nm sup
143 ¤Ç»È¤ï¤ì¤ëƱ¤¸ÌÜŪ¤Î¥Õ¥¡¥¤¥ë¤Ë»÷¤¿·Á¼°¤Ç¤¹¡£
144 .\"O In most cases,
145 .\"O .Nm
146 .\"O can use existing 
147 .\"O .Nm sup Ar supfiles .
148 ¤Û¤È¤ó¤É¤Î¾ì¹ç¡¢
149 .Nm cvsup
150 ¤Ï´û¸¤Î
151 .Nm sup Ar supfiles
152 ¤ò»È¤¨¤Þ¤¹¡£
153 .Pp
154 .\"O An optional argument
155 .\"O .Ar destDir
156 .\"O may also be specified.
157 °ú¿ô
158 .Ar destDir
159 ¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹ (¤³¤Î°ú¿ô¤Ï¾Êά¤·¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó)¡£
160 .\"O If given, it names a directory under which all updated files will be
161 .\"O placed.
162 »ØÄꤵ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢¤³¤Î°ú¿ô¤Ï¹¹¿·¤µ¤ì¤¿Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤ë
163 ¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£
164 .\"O When
165 .\"O .Ar destDir
166 .\"O is specified, the client's original files are left untouched.
167 .Ar destDir
168 ¤¬»ØÄꤵ¤ì¤ë¤È¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¸µ¤Î¥Õ¥¡¥¤¥ë¤Ï¤½¤Î¤Þ¤Þ»Ä¤µ¤ì¤Þ¤¹¡£
169 .\"O This feature is primarily intended for testing.
170 ¤³¤Îµ¡Ç½¤Ï¼ç¤Ë¥Æ¥¹¥È¤Î¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£
171 .Pp
172 .\"O The following options are supported by
173 .\"O .Nm cvsup :
174 .Nm cvsup
175 ¤Ï°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹:
176 .Bl -tag -width Fl
177 .It Fl 1
178 .\"O Disables automatic retries when transient failures occur and the GUI is
179 .\"O not being used.  Without this option, a transient failure such as a
180 .\"O dropped network connection causes
181 .\"O .Nm
182 .\"O to retry repeatedly, using randomized exponential backoff to space the
183 .\"O retries.
184 °ì»þŪ¤Ê¼ºÇÔ¤¬µ¯¤­¡¢¤«¤Ä GUI ¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤¤»þ¤Î¼«Æ°¥ê¥È¥é¥¤¤ò̵¸ú¤Ë
185 ¤·¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¤È¡¢¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤ÎÀÚÃǤȤ¤¤Ã¤¿
186 °ì»þŪ¤Ê¼ºÇÔ¤¬µ¯¤­¤¿»þ¡¢
187 .Nm cvsup
188 ¤Ï¥ê¥È¥é¥¤¤ò·«¤êÊÖ¤·¹Ô¤¤¤Þ¤¹¡£¥ê¥È¥é¥¤¤ÎºÝ¤Ë¤Ï
189 ¡Ö¥é¥ó¥À¥à²½¤µ¤ì¤¿»Ø¿ôŪ¤Ê°ì»þÂàÈò(randomized exponential backoff)¡×
190 ¥¢¥ë¥´¥ê¥º¥à¤òÍѤ¤¤Æ¥ê¥È¥é¥¤¤Î´Ö³Ö¤ò·è¤á¤Þ¤¹¡£
191 .\"O This option is equivalent to
192 .\"O .Fl r Cm 0,
193 .\"O and is implied when the GUI is used.
194 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï
195 .Fl r Cm 0
196 ¤ÈƱÅù¤Ç¤¢¤ê¡¢GUI ¤ò»È¤¦»þ¤Ë¤Ï°ÅÌÛŪ¤Ë»ØÄꤵ¤ì¤¿¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
197 .It Fl a
198 .\"O Requires the server to authenticate itself (prove its identity) to
199 .\"O the client.  If authentication of the server fails, the update is
200 .\"O canceled.  See
201 .\"O .Sx AUTHENTICATION ,
202 .\"O below.
203 ¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ¼«Ê¬¼«¿È¤Îǧ¾Ú (¼«Ê¬¤¬²¿¤Ç¤¢¤ë¤«¤ò¼¨¤¹¤³¤È)
204 ¤ò¹Ô¤¦¤è¤¦¥µ¡¼¥Ð¤ËÍ׵ᤷ¤Þ¤¹¡£¥µ¡¼¥Ð¤Îǧ¾Ú¤¬¼ºÇÔ¤¹¤ë¤È¡¢¹¹¿·¤Ï¥­¥ã¥ó¥»¥ë
205 ¤µ¤ì¤Þ¤¹¡£
206 ¸å½Ò¤Î
207 .Sx Ç§¾Ú
208 ¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
209 .It Fl A Ar addr
210 .\"O Specifies a local address (dotted quad or hostname) to bind to when
211 .\"O connecting to the server.  This may be useful on hosts which have
212 .\"O multiple IP addresses.
213 ¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë»þ¤Ë³ä¤êÅö¤Æ¤ë¥í¡¼¥«¥ë¤Î¥¢¥É¥ì¥¹
214 (¥É¥Ã¥È¶èÀÚ¤ê¤Î 4 ¤Ä¤Î¿ôÃÍ¡¢¤Þ¤¿¤Ï¥Û¥¹¥È̾)¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç
215 ¥ó¤Ï¡¢¥Û¥¹¥È¤¬Ê£¿ô¸Ä¤Î IP ¥¢¥É¥ì¥¹¤ò»ý¤Ã¤Æ¤¤¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£
216 .It Fl b Ar base
217 .\"O Specifies the base directory under which
218 .\"O .Nm
219 .\"O will maintain its bookkeeping files, overriding any
220 .\"O .Cm base
221 .\"O specifications in the
222 .\"O .Ar supfile .
223 .Nm cvsup
224 ¤¬´ÉÍý¤¹¤ëµ­Ï¿¥Õ¥¡¥¤¥ë¤òÃÖ¤¯¥Ù¡¼¥¹¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£
225 ¤³¤ÎºÝ¤Ë¤Ï¡¢
226 .Ar supfile
227 ¤Ë¤è¤ë
228 .Cm base
229 ¤Î»ØÄê¤ÏÁ´¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
230 .It Fl c Ar collDir
231 .\"O Specifies the subdirectory of
232 .\"O .Ar base
233 .\"O where the information about the collections is maintained.
234 ¥³¥ì¥¯¥·¥ç¥ó¤Ë´Ø¤¹¤ë¾ðÊó¤ò´ÉÍý¤¹¤ë¡¢
235 .Ar base
236 ¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£
237 .\"O The default is
238 .\"O .Pa sup .
239 ¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
240 .Pa sup
241 ¤Ç¤¹¡£
242 .It Fl d Ar delLimit
243 .\"O Specifies the maximum number of files that may be deleted in a
244 .\"O single update run.
245 ¹¹¿·¤ò 1 ²ó¼Â¹Ô¤·¤¿ºÝ¤Ëºï½ü¤Ç¤­¤ë¥Õ¥¡¥¤¥ë¿ô¤Î¾å¸Â¤ò»ØÄꤷ¤Þ¤¹¡£
246 .\"O Any attempt to exceed the limit results in a fatal error.
247 ¤³¤Î¾å¸Â¤òĶ¤¨¤ë¥Õ¥¡¥¤¥ëºï½ü¤Î»î¤ß¤ÏÃ×̿Ū¤Ê¥¨¥é¡¼¤È¤Ê¤ê¤Þ¤¹¡£
248 .\"O This can provide some protection against temporary configuration
249 .\"O mistakes on the server.
250 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È¡¢¥µ¡¼¥Ð¾å¤Î°ì»þŪ¤ÊÀßÄê¥ß¥¹¤Ë¤è¤ëÈï³²¤ò¡¢
251 ¤¢¤ëÄøÅÙËɤ²¤Þ¤¹¡£
252 .\"O The default limit is infinity.
253 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï̵À©¸Â¤Ç¤¹¡£
254 .It Fl D
255 .\"O Causes
256 .\"O .Nm
257 .\"O to perform file deletions only, omitting all other kinds of updates.
258 .Nm cvsup
259 ¤Ë¥Õ¥¡¥¤¥ë¤Îºï½ü¤À¤±¤ò¹Ô¤ï¤»¡¢¤É¤ó¤Ê¼ïÎà¤Î¹¹¿·¤â¹Ô¤¤¤Þ¤»¤ó¡£
260 .\"O This is useful in some situations where disk space on the client is
261 .\"O very limited.  One can first run
262 .\"O .Nm
263 .\"O with the
264 .\"O .Fl D
265 .\"O option, to free up as much space as possible.  Then a second run
266 .\"O can be made, this time without the
267 .\"O .Fl D
268 .\"O option.  If files or directories have been renamed on the server,
269 .\"O this technique ensures that all of the old files are deleted on
270 .\"O the client before any of the new ones are created.  This option
271 .\"O is not implemented yet for checkout mode.
272 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ç¥£¥¹¥¯ÍÆÎ̤¬Èó¾ï¤Ë¾¯¤Ê¤¤¤è¤¦¤Ê¾ì¹ç¤Ë
273 Ìò¤ËΩ¤Á¤Þ¤¹¡£¥æ¡¼¥¶¤Ï¤Þ¤º
274 .Fl D
275 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ
276 .Nm cvsup
277 ¤ò¼Â¹Ô¤·¡¢¤Ç¤­¤ë¸Â¤ê¤ÎÍÆÎ̤ò¶õ¤±¤Þ¤¹¡£¼¡¤Ë¤â¤¦°ìÅÙ
278 .Nm cvsup
279 ¤ò¼Â¹Ô¤·¤Þ¤¹¤¬¡¢º£ÅÙ¤Ï
280 .Fl D
281 ¥ª¥×¥·¥ç¥ó¤Ï»È¤¤¤Þ¤»¤ó¡£¥µ¡¼¥Ð¾å¤Ç¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤Î̾Á°¤¬Êѹ¹¤µ
282 ¤ì¤¿¾ì¹ç¤Ï¡¢¤³¤ÎÊýË¡¤ò¼è¤ë¤³¤È¤Ë¤è¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¾å¤Ç¿·¤·¤¤¥Õ¥¡¥¤¥ë¤¬
283 À¸À®¤µ¤ì¤ë¤è¤ê¤âÁ°¤Ë¡¢Á´¤Æ¤Î¸Å¤¤¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì¤ë¤³¤È¤¬Êݾڤµ¤ì¤Þ¤¹¡£
284 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Á¥§¥Ã¥¯¥¢¥¦¥È¥â¡¼¥É¤Ç¤Ï¤Þ¤À¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
285 .It Fl e
286 .\"O Enables the execution of shell commands received from the server, as
287 .\"O if the
288 .\"O .Cm execute
289 .\"O keyword were added to every collection in the
290 .\"O .Ar supfile .
291 ¥µ¡¼¥Ð¤«¤é¼õ¤±¼è¤Ã¤¿¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£
292 .Ar supfile
293 Ãæ¤ÎÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤Ë
294 .Cm execute
295 ¥­¡¼¥ï¡¼¥É¤¬Äɲ䵤줿¾ì¹ç¤ÈƱ¤¸¤Ç¤¹¡£
296 .It Fl E
297 .\"O Disables the execution of shell commands received from the server, as
298 .\"O if the
299 .\"O .Cm execute
300 .\"O keyword were removed from every collection in the
301 .\"O .Ar supfile .
302 ¥µ¡¼¥Ð¤«¤é¼õ¤±¼è¤Ã¤¿¥·¥§¥ë¥³¥Þ¥ó¥É¤Î¼Â¹Ô¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
303 .Ar supfile
304 Ãæ¤ÎÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤«¤é
305 .Cm execute
306 ¥­¡¼¥ï¡¼¥É¤¬ºï½ü¤µ¤ì¤¿¾ì¹ç¤ÈƱ¤¸¤Ç¤¹¡£
307 .It Fl g
308 .\"O Disables the use of the graphical user interface.
309 GUI ¤ò»È¤ï¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤¹¡£
310 .\"O This option is implied if the
311 .\"O .Ev DISPLAY
312 .\"O environment variable is not set.
313 .Ev DISPLAY
314 ´Ä¶­ÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤¬°ÅÌÛŪ¤Ë»ØÄꤵ¤ì¤Þ¤¹¡£
315 .It Fl h Ar host
316 .\"O Specifies the server host to contact, overriding any
317 .\"O .Cm host
318 .\"O specifications in the
319 .\"O .Ar supfile .
320 Àܳ¤¹¤ë¥µ¡¼¥Ð¥Û¥¹¥È¤ò»ØÄꤷ¤Þ¤¹¡£
321 .Ar supfile
322 ¤Ë¤ª¤±¤ë
323 .Cm host
324 ¤Î»ØÄê¤ÏÁ´¤Æ¾å½ñ¤­¤µ¤ì¤Þ¤¹¡£
325 .It Fl i Ar pattern
326 .\"O Causes
327 .\"O .Nm
328 .\"O to include only files and directories matching
329 .\"O .Ar pattern
330 .\"O in the update.  If a directory matches the pattern, then the entire
331 .\"O subtree rooted at the directory is included.  If this option is
332 .\"O specified multiple times, the patterns are combined using the
333 .\"O .Ql or
334 .\"O operation.  If no
335 .\"O .Fl i
336 .\"O options are given, the default is to update all files in each
337 .\"O collection.
338 .Ar pattern
339 ¤Ë¥Þ¥Ã¥Á¤¹¤ë¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤À¤±¤ò¹¹¿·Âоݤˤ¹¤ë¤è¤¦¤Ë
340 .Nm cvsup
341 ¤Ë»ØÄꤷ¤Þ¤¹¡£¥Ç¥£¥ì¥¯¥È¥ê¤¬¥Ñ¥¿¡¼¥ó¤Ë¥Þ¥Ã¥Á¤¹¤ë¤È¡¢
342 ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ò¥ë¡¼¥È¤È¤¹¤ë¥µ¥Ö¥Ä¥ê¡¼Á´ÂΤ¬Âоݤ˴ޤޤì¤Þ¤¹¡£
343 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Ê£¿ô²ó»ØÄꤵ¤ì¤¿¾ì¹ç¤Ï¡¢¥Ñ¥¿¡¼¥ó¤Ï
344 .Ql or
345 Áàºî¤Ç·ë¹ç¤µ¤ì¤Þ¤¹¡£
346 .Fl i
347 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Î¥Ç¥Õ¥©¥ë¥ÈÆ°ºî¤Ç¤Ï¡¢³Æ¥³¥ì¥¯¥·¥ç¥ó¤Ë´Þ¤Þ
348 ¤ì¤ëÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬¹¹¿·¤µ¤ì¤Þ¤¹¡£
349 .Pp
350 .\"O The
351 .\"O .Ar pattern
352 .\"O is a standard file name pattern.
353 .Ar pattern
354 ¤Ïɸ½à¤Î¥Õ¥¡¥¤¥ë̾¥Ñ¥¿¡¼¥ó¤Ç¤¹¡£
355 .\"O It is interpreted relative to the collection's prefix directory.
356 ¤³¤ì¤Ï¥³¥ì¥¯¥·¥ç¥ó¤Î¥×¥ì¥Õ¥£¥Ã¥¯¥¹¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹¤Ç
357 ²ò¼á¤µ¤ì¤Þ¤¹¡£
358 .\"O Slash characters are matched only by explicit slashes in the pattern.
359 ¥¹¥é¥Ã¥·¥åʸ»ú¤Ï¡¢¥Ñ¥¿¡¼¥óÃæ¤ËÌÀ¼¨Åª¤Ë¥¹¥é¥Ã¥·¥å¤¬½ñ¤«¤ì¤¿¾ì¹ç¤À¤±
360 ¥Þ¥Ã¥Á¤·¤Þ¤¹¡£
361 .\"O Leading periods in file name are not treated specially.
362 ¥Õ¥¡¥¤¥ë̾¤ÎÀèƬ¤Ë¥Ô¥ê¥ª¥É¤¬¤¢¤Ã¤Æ¤â¡¢ÆÃÊÌ°·¤¤¤Ï¤µ¤ì¤Þ¤»¤ó¡£
363 .Pp
364 .\"O The GUI has a type-in field where the patterns may be edited.
365 GUI ¤Ë¤Ï¡¢¥Ñ¥¿¡¼¥ó¤òÊÔ½¸¤Ç¤­¤ëÆþÎÏ¥Õ¥£¡¼¥ë¥É¤¬¤¢¤ê¤Þ¤¹¡£
366 .It Fl k
367 .\"O Causes
368 .\"O .Nm
369 .\"O to keep the temporary copies of any incorrectly edited files, in the
370 .\"O event of checksum mismatches.
371 ¥Á¥§¥Ã¥¯¥µ¥à¤ÎÉÔ°ìÃפ¬µ¯¤­¤¿»þ¡¢´Ö°ã¤Ã¤ÆÊÔ½¸¤µ¤ì¤¿¥Õ¥¡¥¤¥ëÁ´¤Æ¤Î°ì»þŪ
372 ¤Ê¥³¥Ô¡¼¤òÊݸ¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
373 .\"O This option is for debugging, to help determine why the files were
374 .\"O edited incorrectly.
375 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥Ð¥Ã¥°ÍѤΤâ¤Î¤Ç¤¢¤ê¡¢¤É¤¦¤·¤Æ¥Õ¥¡¥¤¥ë¤¬¸í¤Ã¤ÆÊÔ½¸¤µ
376 ¤ì¤¿¤Î¤«¤òÆͤ­»ß¤á¤ëÌò¤ËΩ¤Á¤Þ¤¹¡£
377 .\"O Regardless of whether this option is specified, the permanent versions
378 .\"O of faulty files are replaced with correct versions obtained by
379 .\"O transferring the files in their entirety.
380 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤«¤É¤¦¤«¤Ë´Ø¤ï¤é¤º¡¢ÉÔÀµ¤Ê¥Õ¥¡¥¤¥ë¤Î
381 ÊݸÈÇ (permanent version) ¤Ï¡¢¥Õ¥¡¥¤¥ëžÁ÷¤ò´Ý¤´¤È¹Ô¤Ã¤Æ¼èÆÀ¤·¤¿
382 Àµ¤·¤¤¥Õ¥¡¥¤¥ë¤ËÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£
383 .\"O Such transfers are called fixups.
384 ¤³¤Î¤è¤¦¤ÊžÁ÷¤Ï¥Õ¥£¥Ã¥¯¥¹¥¢¥Ã¥×(fixup, ½¤Íý¤Î°ÕÌ£)¤È¸À¤¤¤Þ¤¹¡£
385 .It Fl l Ar lockfile
386 .\"O Creates and locks the
387 .\"O .Ar lockfile
388 .\"O while the update is in progress.
389 .Ar lockfile
390 ¤òÀ¸À®¤·¡¢¤³¤ì¤ò¹¹¿·¤¬¹Ô¤ï¤ì¤Æ¤¤¤ë´Ö¥í¥Ã¥¯¤·¤Þ¤¹¡£
391 .\"O If
392 .\"O .Ar lockfile
393 .\"O is already locked,
394 .\"O .Nm
395 .\"O fails without performing automatic retries.
396 .Ar lockfile
397 ¤¬´û¤Ë¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤ë¤È¡¢
398 .Nm
399 ¤Ï¼«Æ°Åª¤Ê¥ê¥È¥é¥¤¤ò¹Ô¤¦¤³¤È¤Ê¤¯¼ºÇÔ¤·¤Þ¤¹¡£
400 .\"O This option is useful when
401 .\"O .Nm
402 .\"O is executed periodically from
403 .\"O .Nm cron .
404 ¤³¤Î¥ª¥×¥·¥ç¥ó¤¬Ìò¤ËΩ¤Ä¤Î¤Ï¡¢
405 .Nm cron
406 ¤ò»È¤Ã¤Æ
407 .Nm
408 ¤òÄê´üŪ¤Ë¼Â¹Ô¤¹¤ë»þ¤Ç¤¹¡£
409 .\"O It prevents a job from interfering with an earlier job that is perhaps
410 .\"O taking extra long because of network problems.
411 ¤³¤ì¤Ï¡¢¤¢¤ë¥¸¥ç¥Ö¤¬¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÌäÂê¤ÇͽÁ۰ʾå¤Î»þ´Ö¤¬¤«¤«¤Ã¤Æ¤¤¤ë
412 °ÊÁ°¤Î¥¸¥ç¥Ö¤Î¼ÙËâ¤ò¤¹¤ë¤Î¤òËɤ®¤Þ¤¹¡£
413 .Pp
414 .\"O POSIX-style file locking is used, as described in
415 .\"O .Xr fcntl 2 .
416 POSIX ·Á¼°¤Î¥Õ¥¡¥¤¥ë¥í¥Ã¥­¥ó¥°¤¬»È¤ï¤ì¤Þ¤¹¡£¤³¤ì¤Ï
417 .Xr fcntl 2
418 ¤ÇÀâÌÀ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
419 .\"O The process-ID is written to the lock file in text form when the lock
420 .\"O is successfully acquired.
421 ¥×¥í¥»¥¹ ID ¤Ï¡¢¥í¥Ã¥¯¥Õ¥¡¥¤¥ë¤¬Àµ¾ï¤Ë¼èÆÀ¤Ç¤­¤¿»þ¤Ë¡¢¤³¤Î¥Õ¥¡¥¤¥ë¤Ë
422 ¥Æ¥­¥¹¥È·Á¼°¤Ç½ñ¤­¹þ¤Þ¤ì¤Þ¤¹¡£
423 .\"O Upon termination of the update, the lock file is removed.
424 ¹¹¿·¤Î½ªÎ»»þ¤Ë¥í¥Ã¥¯¥Õ¥¡¥¤¥ë¤Ïºï½ü¤µ¤ì¤Þ¤¹¡£
425 .It Fl L Ar verbosity
426 .\"O Sets the verbosity level for non-GUI output.
427 GUI ¤Ç¤Ê¤¤½ÐÎϤξܤ·¤µ¤òÀßÄꤷ¤Þ¤¹¡£
428 .\"O A level of 0 causes
429 .\"O .Nm
430 .\"O to be completely silent unless errors occur.
431 ¥ì¥Ù¥ë 0 ¤Ç¤Ï¡¢¥¨¥é¡¼¤¬µ¯¤³¤é¤Ê¤¤¸Â¤ê
432 .Nm
433 ¤Ï²¿¤â½ÐÎϤ·¤Þ¤»¤ó¡£
434 .\"O A level of 1 (the default) causes each updated file to be listed.
435 ¥ì¥Ù¥ë 1 (¥Ç¥Õ¥©¥ë¥ÈÃÍ)¤Ç¤Ï¡¢¹¹¿·¤µ¤ì¤¿¤½¤ì¤¾¤ì¤Î¥Õ¥¡¥¤¥ë¤¬½ÐÎϤµ¤ì¤Þ¤¹¡£
436 .\"O A level of 2 provides more detailed information about the updates
437 .\"O performed on each file.
438 ¥ì¥Ù¥ë 2 ¤Ç¤Ï¡¢¤½¤ì¤¾¤ì¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¹Ô¤ï¤ì¤¿¹¹¿·¤Ë´Ø¤¹¤ë¤µ¤é¤Ë
439 ¾Ü¤·¤¤¾ðÊ󤬽ÐÎϤµ¤ì¤Þ¤¹¡£
440 .\"O All messages are directed to the standard output.
441 ¥á¥Ã¥»¡¼¥¸¤ÏÁ´¤Æ¡¢É¸½à½ÐÎϤ˽ÐÎϤµ¤ì¤Þ¤¹¡£
442 .\"O This option is ignored when the GUI is used.
443 GUI ¤¬»È¤ï¤ì¤ë¾ì¹ç¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
444 .It Fl p Ar port
445 .\"O Sets the TCP port to which
446 .\"O .Nm
447 .\"O attempts to connect on the server host.
448 .Nm cvsup
449 ¤¬Àܳ¤ò»î¤ß¤ë¥µ¡¼¥Ð¥Û¥¹¥È¤Î TCP ¥Ý¡¼¥È¤òÀßÄꤷ¤Þ¤¹¡£
450 .\"O This feature is primarily for testing.  The default port is 5999.
451 ¤³¤Îµ¡Ç½¤Ï¼ç¤Ë¥Æ¥¹¥ÈÍѤǤ¹¡£¥Ç¥Õ¥©¥ë¥ÈÃͤϠ5999 ¤Ç¤¹¡£
452 .\"O When not in passive mode (see the description of the
453 .\"O .Fl P
454 .\"O option), the server also uses the next lower port to establish a second
455 .\"O connection back to the client.
456 passive ¥â¡¼¥É(
457 .Fl P
458 ¥ª¥×¥·¥ç¥ó¤ÎÀâÌÀ¤ò»²¾È)¤Ç¤Ê¤±¤ì¤Ð¡¢¥µ¡¼¥Ð¤Ï¤³¤ì¤è¤ê°ì¤Ä¾®¤µ¤¤ÈÖ¹æ¤Î
459 ¥Ý¡¼¥È¤ò»È¤Ã¤Æ¡¢µÕ¸þ¤­¤Î 2 ¤ÄÌܤÎÀܳ¤ò³ÎΩ¤·¤Þ¤¹¡£
460 .It Fl P Ar m|a|port|lo-hi|-
461 .\"O Controls the establishment of the auxiliary TCP connection(s) used to
462 .\"O carry information between the client and the server.
463 ¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð´Ö¤Î¾ðÊó¤Î¤ä¤ê¤È¤ê¤Ë»È¤¦Êä½õŪ¤Ê TCP Àܳ¤Î³ÎΩ¤ò
464 À©¸æ¤·¤Þ¤¹¡£
465 .\"O Altogether, the client and server require four unidirectional channels
466 .\"O to communicate: two from the client to the server, and two from the
467 .\"O server to the client.
468 Á´ÂΤǤϡ¢¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤ÏÄÌ¿®¤¹¤ë¤¿¤á¤Ë 4 ¤Ä¤ÎÊÒÊý¸þ¥Á¥ã¥Í¥ë¤ò
469 ɬÍפȤ·¤Þ¤¹: 2 ¤Ä¤Ï¥¯¥é¥¤¥¢¥ó¥È¤«¤é¥µ¡¼¥Ð¤Ø¤ÎÀܳ¤Ç¡¢2 ¤Ä¤Ï¥µ¡¼¥Ð¤«¤é
470 ¥¯¥é¥¤¥¢¥ó¥È¤Ø¤ÎÀܳ¤Ç¤¹¡£
471 .\"O These four unidirectional channels can be set up in different ways, to
472 .\"O support various firewall setups.
473 ¿§¡¹¤ÊËɲÐÊɤÎÀßÄê¤ËÂбþ¤¹¤ë¤¿¤á¤Ë¡¢¤³¤ì¤é 4 ¤Ä¤ÎÊÒÊý¸þ¥Á¥ã¥Í¥ë¤Ë¤Ï¿§¡¹
474 ¤ÊÀßÄ꤬¤Ç¤­¤Þ¤¹¡£
475 .\"O The modes provided for this are multiplexed mode, passive mode, SOCKS
476 .\"O mode, and active mode.
477 ¤³¤Î¤¿¤á¤ËÍÑ°Õ¤µ¤ì¤¿¥â¡¼¥É¤Ï¡¢multiplexed ¥â¡¼¥É, passive ¥â¡¼¥É¡¢
478 SOCKS ¥â¡¼¥É¡¢active ¥â¡¼¥É¤Ç¤¹¡£
479 .\"O All but multiplexed mode are deprecated.
480 multiplexed ¥â¡¼¥É¤ò½ü¤¯Á´¤Æ¤Î¥â¡¼¥É¤Ï¡¢¸Å¤¤¤Î¤Ç¤ª´«¤á¤Ç¤­¤Þ¤»¤ó¡£
481 .\"O Multiplexed mode can handle any situation that the other modes can
482 .\"O handle.
483 multiplexed ¥â¡¼¥É¤Ï¡¢Â¾¤Î¥â¡¼¥É¤¬°·¤¨¤ëÁ´¤Æ¤Î¾õ¶·¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£
484 .Pp
485 .\"O By default the channels are established in multiplexed mode, if the
486 .\"O server is new enough to support it.
487 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¥µ¡¼¥Ð¤¬½½Ê¬¿·¤·¤±¤ì¤Ð¥Á¥ã¥Í¥ë¤Ï multiplexed ¥â¡¼¥É¤Ç
488 ³ÎΩ¤·¤Þ¤¹¡£
489 .\"O Multiplexed mode uses a single TCP connection to implement the
490 .\"O four channels.
491 multiplexed ¥â¡¼¥É¤Ï¡¢1 ¤Ä¤Î TCP Àܳ¤òÍѤ¤¤Æ 4 ¤Ä¤Î¥Á¥ã¥Í¥ë¤òºî¤ê¤Þ¤¹¡£
492 .\"O A built-in packet layer multiplexes the different logical channels
493 .\"O on top of the TCP connection, in a manner not unlike
494 .\"O .Nm ssh Ns No \&'s
495 .\"O port forwarding feature.
496 ÁȤ߹þ¤ß¤Î¥Ñ¥±¥Ã¥ÈÁؤǡ¢TCP Àܳ¾å¤Ë¤¢¤ë°Û¤Ê¤ëÏÀÍý¥Á¥ã¥Í¥ë¤ò
497 ¿½Å²½¤·¤Þ¤¹¡£¤³¤ì¤Ï
498 .Nm ssh Ns No \&'s
499 ¤Î¥Ý¡¼¥ÈžÁ÷µ¡Ç½¤È¤Ï°Û¤Ê¤ë¤ä¤êÊý¤Ç¹Ô¤ï¤ì¤Þ¤¹¡£
500 .\"O This adds a very small amount of communication overhead (<1%) and a
501 .\"O little bit of CPU overhead, but it should work behind almost any
502 .\"O kind of firewall setup.
503 ¤³¤ì¤Ë¤è¤ê¡¢Èó¾ï¤Ë¾®¤µ¤¤(1% Ì¤Ëþ)ÄÌ¿®¥ª¡¼¥Ð¡¼¥Ø¥Ã¥É¤È¤´¤¯¤ï¤º¤«¤Î CPU 
504 Éé²Ù¤¬¤«¤«¤ê¤Þ¤¹¤¬¡¢¤Û¤È¤ó¤É¤É¤ó¤ÊËɲÐÊɤÎÃæ¤Ç¤âÆ°ºî¤¹¤ë¤Ï¤º¤Ç¤¹¡£
505 .\"O The firewall must permit the client host to initiate connections
506 .\"O to port 5999 of the server host;
507 ËɲÐÊɤϡ¢¥¯¥é¥¤¥¢¥ó¥È¥Û¥¹¥È¤¬¥µ¡¼¥Ð¥Û¥¹¥È¤Î 5999 È֥ݡ¼¥È¤ØÀܳ¤ò³«»Ï
508 ¤¹¤ë¤³¤È¤òµö²Ä¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
509 .\"O beyond that, no special permissions are required.
510 ¤³¤ì°Ê³°¤Ë¤Ï¡¢Æüì¤Êµö²Ä¤ÏÁ´¤¯É¬Íפ¢¤ê¤Þ¤»¤ó¡£
511 .\"O To explicitly force multiplexed mode, use the option
512 .\"O .Fl P Cm m .
513 ÌÀ¼¨Åª¤Ë multiplexed ¥â¡¼¥É¤ò»ØÄꤹ¤ë¤Ë¤Ï¡¢
514 .Fl P Cm m
515 ¥ª¥×¥·¥ç¥ó¤ò»È¤¤¤Þ¤¹¡£
516 .Pp
517 .\"O Multiplexed mode can be used in conjunction with a SOCKS proxy server.
518 multiplexed ¥â¡¼¥É¤Ï SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð¤ÈÁȤ߹ç¤ï¤»¤Æ»È¤¨¤Þ¤¹¡£
519 .\"O Simply run
520 .\"O .Nm
521 .\"O under the
522 .\"O .Nm m3socks
523 .\"O command, and specify the
524 .\"O .Fl P Cm m
525 .\"O option.
526 ÁȤ߹ç¤ï¤»¤Æ»È¤¦¤Ë¤Ï¡¢Ã±¤Ë
527 .Nm m3socks
528 ¥³¥Þ¥ó¥É¤Ë³¤±¤Æ
529 .Nm cvsup
530 ¤ò¼Â¹Ô¤·¡¢
531 .Fl P Cm m
532 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Þ¤¹¡£
533 .Pp
534 .\"O Active mode implements the four unidirectional channels using two
535 .\"O bidirectional TCP connections.
536 active ¥â¡¼¥É¤Ï¡¢ÁÐÊý¸þ¤Î TCP Àܳ¤ò 2 ¤Ä»È¤Ã¤Æ 4 ¤Ä¤ÎÊÒÊý¸þ¥Á¥ã¥Í¥ë¤ò
537 ºî¤ê¤Þ¤¹¡£
538 .\"O The original connection from the client to the server implements two
539 .\"O channels, and a second TCP connection implements the other two channels.
540 ºÇ½é¤Ë¥¯¥é¥¤¥¢¥ó¥È¤«¤é¥µ¡¼¥Ð¤Ø¤Ï¤é¤ì¤¿Àܳ¤Ç 2 ¤Ä¤Î¥Á¥ã¥Í¥ë¤òºî¤ê¡¢
541 2 ÈÖÌܤΠTCP Àܳ¤¬»Ä¤ê¤Î 2 ¤Ä¤Î¥Á¥ã¥Í¥ë¤òºî¤ê¤Þ¤¹¡£
542 .\"O To establish the second TCP connection, the server connects back to the
543 .\"O client.  With
544 .\"O .Fl P Ar a ,
545 .\"O the client listens for the connection on a port chosen
546 .\"O by the operating system.
547 2 ÈÖÌܤΠTCP Àܳ¤ò³ÎΩ¤¹¤ë¤¿¤á¤Ë¡¢¥µ¡¼¥Ð¤«¤é¥¯¥é¥¤¥¢¥ó¥È¤Ø¤ÎÀܳ¤¬¹Ô
548 ¤ï¤ì¤Þ¤¹¡£
549 .Fl P Ar a
550 ¤Ç¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬Áª¤ó¤À¥Ý¡¼¥È¾å¤Ç
551 Àܳ¤òÂÔ¤Á¤Þ¤¹¡£
552 .\"O Many operating systems use ports in the range 1024-5000 for this
553 .\"O purpose.
554 ¿¤¯¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤Ï¡¢¤³¤ÎÌÜŪ¤Ë¤Ï 1024-5000 ¤ÎÈϰϤÎ
555 ¥Ý¡¼¥È¤ò»È¤¤¤Þ¤¹¡£
556 .\"O The user can specify a particular port with
557 .\"O .Fl P Ar port ,
558 .\"O or a range of ports with
559 .\"O .Fl P Ar lo-hi .
560 ¥æ¡¼¥¶¤Ï
561 .Fl P Ar port
562 ¤ò»È¤Ã¤ÆÆÃÄê¤Î¥Ý¡¼¥È¤ò»ØÄê¤Ç¤­¤Þ¤¹¤·¡¢
563 .Fl P Ar lo-hi
564 ¤ò»È¤Ã¤Æ¤¢¤ëÈϰϤΥݡ¼¥È¤â»ØÄê¤Ç¤­¤Þ¤¹¡£
565 .\"O These port specifications cannot be used through a SOCKS proxy
566 .\"O server.
567 ¤³¤ì¤é¤Î¥Ý¡¼¥È»ØÄê¤Ï SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£
568 .Pp
569 .\"O Passive mode is similar in that it also uses two TCP connections to
570 .\"O implement the four unidirectional channels.
571 passive ¥â¡¼¥É¤Ï¡¢4 ¤Ä¤ÎÊÒÊý¸þ¥Á¥ã¥Í¥ë¤òºî¤ë¤¿¤á¤Ë TCP Àܳ¤ò»È¤¦¤È¤¤
572 ¤¦ÅÀ¤Ç¤Ï»÷¤Æ¤¤¤Þ¤¹¡£
573 .\"O However, in passive mode the client connects to the server to create the
574 .\"O second TCP connection.
575 ¤·¤«¤·¡¢passive ¥â¡¼¥É¤Ç¤Ï 2 ÈÖÌܤΠTCP Àܳ¤òºî¤ë¤¿¤á¤ÎÀܳ¤Ï
576 ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¥µ¡¼¥Ð¤ËÂФ·¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£
577 .\"O Passive mode can be useful when the client is behind a firewall that
578 .\"O allows outbound connections, but denies most incoming connections.
579 passive ¥â¡¼¥É¤Ï¡¢³°¸þ¤­¤ÎÀܳ¤Ïµö²Ä¤¹¤ë¤±¤ì¤ÉÆâ¸þ¤­¤ÎÀܳ¤Ï¶Ø»ß¤·¤Æ¤¤
580 ¤ëËɲÐÊɤÎÃæ¤Ë¥¯¥é¥¤¥¢¥ó¥È¤¬¤¤¤ë¾ì¹ç¤ËÊØÍø¤Ç¤¹¡£
581 .\"O To select passive mode, use the option
582 .\"O .Fl P Cm - .
583 passive ¥â¡¼¥É¤òÁªÂò¤¹¤ë¤Ë¤Ï¡¢
584 .Fl P Cm -
585 ¥ª¥×¥·¥ç¥ó¤ò»È¤¤¤Þ¤¹¡£
586 .\"O Passive mode cannot be used through a SOCKS proxy server.
587 passive ¥â¡¼¥É¤Ï SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£
588 .Pp
589 .\"O SOCKS mode is an alternate mode for use with SOCKS proxy servers.
590 SOCKS ¥â¡¼¥É¤Ï SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð¤ò»È¤¦¤¿¤á¤ÎÊ̥⡼¥É¤Ç¤¹¡£
591 .\"O In SOCKS mode, four TCP connections are used, each in one direction
592 .\"O only.
593 SOCKS ¥â¡¼¥É¤Ç¤Ï¡¢4 ¤Ä¤Î TCP Àܳ¤¬»È¤ï¤ì¤Þ¤¹¡£¤³¤ì¤é¤ÏÁ´¤ÆÊÒÊý¸þÀܳ
594 ¤À¤±¤Ç¤¹¡£
595 .\"O The use of four unidirectional TCP connections works around a limitation
596 .\"O in the SOCKS proxy server that would otherwise cause it to deadlock.
597 4 ¤Ä¤ÎÊÒÊý¸þ TCP Àܳ¤ò»È¤¦¤³¤È¤Ë¤è¤ê¡¢SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð¤ÎÀ©¸Â¤ò
598 ²óÈò¤·¤Þ¤¹¡£¤³¤ì¤ò¹Ô¤ï¤Ê¤±¤ì¤Ð¡¢¥Ç¥Ã¥É¥í¥Ã¥¯¤¬µ¯¤³¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
599 .\"O (Believe it or not, the SOCKS server uses blocking I/O calls.)
600 (¿®¤¸¤ë¤«¤É¤¦¤«¤Ï¤´¼«Í³¤Ç¤¹¤¬¡¢SOCKS ¥µ¡¼¥Ð¤Ï¥Ö¥í¥Ã¥­¥ó¥° I/O ¥³¡¼¥ë¤ò»È¤¤
601 ¤Þ¤¹¡£)
602 .\"O SOCKS mode is selected when
603 .\"O .Nm
604 .\"O is run under the
605 .\"O .Nm m3socks
606 .\"O command, and no
607 .\"O .Fl P
608 .\"O option is given.
609 SOCKS ¥â¡¼¥É¤Ï¡¢
610 .Nm cvsup
611 ¤¬
612 .Nm m3socks
613 ¥³¥Þ¥ó¥É¤Î²¼¤Ç¼Â¹Ô¤µ¤ì¡¢¤«¤Ä
614 .Fl P
615 ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤»þ¤ËÁªÂò¤µ¤ì¤Þ¤¹¡£
616 .\"O See also
617 .\"O .Sx USING CVSup WITH SOCKS ,
618 .\"O below.
619 ¸å½Ò¤Î
620 .Sx SOCKS ¤ÈÁȤ߹ç¤ï¤»¤Æ¤Î CVSup ¤ÎÍøÍÑ
621 ¤â¤´Í÷¤¯¤À¤µ¤¤¡£
622 .\"O NAKANO --MARK--
623 .It Fl r Ar maxRetries
624 .\"O Limits the number of automatic retries that will be attempted when
625 .\"O transient errors such as lost network connections are encountered.  By
626 .\"O default, when the GUI is not used,
627 .\"O .Nm
628 .\"O will retry indefinitely until an update is successfully completed.
629 ¼«Æ°¥ê¥È¥é¥¤¤Î²ó¿ô¤òÀ©¸Â¤·¤Þ¤¹¡£¼«Æ°¥ê¥È¥é¥¤¤Ï¡¢¥Í¥Ã¥È¥ï¡¼¥¯Àܳ¤¬
630 ÀÚ¤ì¤ë¤È¤¤¤Ã¤¿°ì»þŪ¤Ê¥¨¥é¡¼¤¬µ¯¤­¤¿»þ¤Ë»î¤ß¤é¤ì¤Þ¤¹¡£
631 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢GUI ¤ò»È¤Ã¤Æ¤¤¤Ê¤¤»þ¡¢
632 .Nm
633 ¤Ï¹¹¿·¤¬¤¦¤Þ¤¯´°Î»¤¹¤ë¤Þ¤Ç²¿Å٤Ǥâ¥ê¥È¥é¥¤¤ò¹Ô¤¤¤Þ¤¹¡£
634 .\"O The retries are spaced using randomized exponential backoff.
635 ¥ê¥È¥é¥¤¤Î´Ö³Ö¤Ï¡¢¥é¥ó¥À¥à²½¤µ¤ì¤¿»Ø¿ôŪ¤Ê°ì»þÂàÈò¥¢¥ë¥´¥ê¥º¥à¤ò»È¤Ã¤Æ
636 ·è¤á¤é¤ì¤Þ¤¹¡£
637 .\"O Use of the GUI implies
638 .\"O .Fl r Cm 0 .
639 GUI ¤ò»È¤¦¤È¡¢°ÅÌÛŪ¤Ë
640 .Fl r Cm 0
641 ¤¬»ØÄꤵ¤ì¤Þ¤¹¡£
642 .\"O Note that
643 .\"O .Fl r Cm 0
644 .\"O is equivalent to the
645 .\"O .Fl 1
646 .\"O option.
647 .Fl r Cm 0
648 ¤Ï
649 .Fl 1
650 ¥ª¥×¥·¥ç¥ó¤ÈƱ¤¸°ÕÌ£¤Ç¤¢¤ëÅÀ¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
651 .It Fl s
652 .\"O Suppresses the check of each client file's status against what is
653 .\"O recorded in the list file.  Instead, the list file is assumed to be
654 .\"O accurate.  This option greatly reduces the amount of disk activity and
655 .\"O results in faster updates with less load on the client host.  However
656 .\"O it should only be used if client's files are never modified locally in
657 .\"O any way.  Mirror sites may find this option beneficial to reduce the
658 .\"O disk load on their systems.  For safety, even mirror sites should run
659 .\"O .Nm
660 .\"O occasionally (perhaps once a day) without the
661 .\"O .Fl s
662 .\"O option.
663 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Îµ­Ï¿¤ËÂФ·¤Æ¤Î³Æ¥¯¥é¥¤¥¢¥ó¥È¥Õ¥¡¥¤¥ë¤Î¾õÂ֤ΥÁ¥§¥Ã¥¯¤ò
664 ¹Ô¤¤¤Þ¤»¤ó¡£¥Á¥§¥Ã¥¯¤ò¤·¤Ê¤¤Âå¤ï¤ê¤Ë¡¢¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤ÏÀµ³Î¤Ç¤¢¤ë¤â¤Î¤È
665 ²¾Äꤷ¤Þ¤¹¡£¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¥Ç¥£¥¹¥¯¥¢¥¯¥»¥¹¤ÎÎ̤òÂçÉý¤Ë¸º¤é¤·¡¢
666 ¾®¤µ¤Ê¥¯¥é¥¤¥¢¥ó¥È¥Û¥¹¥È¤ÎÉé²Ù¤Ç¹â®¤Ë¹¹¿·¤ò¹Ô¤¤¤Þ¤¹¡£¤·¤«¤·¡¢
667 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¥Õ¥¡¥¤¥ë¤¬¥í¡¼¥«¥ë¤Ç½¤Àµ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì
668 ¹ç¤Ë¸Â¤Ã¤Æ»È¤¦¤Ù¤­¤Ç¤¹¡£¥ß¥é¡¼¥µ¥¤¥È¤Ï¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤ò»È¤¦¤È
669 ¥·¥¹¥Æ¥à¤Î¥Ç¥£¥¹¥¯Éé²Ù¤ò¸º¤ë¤Î¤ÇÍø±×¤¬¤¢¤ë¤Ç¤·¤ç¤¦¡£°ÂÁ´¤Î¤¿¤á¤Ë¡¢
670 ¥ß¥é¡¼¥µ¥¤¥È¤Ç¤¢¤Ã¤Æ¤â»þ¡¹(°ìÆü°ìÅÙ¤¯¤é¤¤)¤Ï
671 .Fl s
672 ¥ª¥×¥·¥ç¥ó¤Ê¤·¤Ç
673 .Nm
674 ¤ò¼Â¹Ô¤¹¤Ù¤­¤Ç¤¹¡£
675 .Pp
676 .\"O Without the
677 .\"O .Fl s
678 .\"O option,
679 .\"O .Nm
680 .\"O performs a
681 .\"O .Xr stat 2
682 .\"O call on each file and verifies that its attributes match those
683 .\"O recorded in the list file.  This ensures that any file changes made
684 .\"O outside of
685 .\"O .Nm CVSup
686 .\"O are detected and corrected.
687 .Fl s
688 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Ê¤¤¤È¡¢
689 .Nm
690 ¤Ï¥Õ¥¡¥¤¥ë¤´¤È¤Ë
691 .Xr stat 2
692 ¥·¥¹¥Æ¥à¥³¡¼¥ë¤ò¼Â¹Ô¤·¡¢¥Õ¥¡¥¤¥ë¤Î°À­¤¬¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Îµ­Ï¿¤È°ìÃפ¹¤ë
693 ¤«¤É¤¦¤«¤ò³Îǧ¤·¤Þ¤¹¡£¤³¤ì¤Ë¤è¤ê¡¢
694 .Nm CVSup
695 ³°Éô¤Ç¤Î¥Õ¥¡¥¤¥ëÊѹ¹¤ÏÁ´¤Æ¸¡½Ð¡¦ÄûÀµ¤µ¤ì¤ë¤³¤È¤¬Êݾڤµ¤ì¤Þ¤¹¡£
696 .Pp
697 .\"O If the
698 .\"O .Fl s
699 .\"O option is used when one or more files have been modified locally, the
700 .\"O results are undefined.  Local file damage may remain uncorrected,
701 .\"O updates may be missed, or
702 .\"O .Nm
703 .\"O may abort prematurely.
704 .Fl s
705 ¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¡¢¤«¤Ä¥í¡¼¥«¥ë¤Ç¥Õ¥¡¥¤¥ë¤¬ 1 ¤Ä°Ê¾åÊѹ¹¤µ¤ì¤¿»þ¤Î
706 ·ë²Ì¤Ï̤ÄêµÁ¤Ç¤¹¡£¥í¡¼¥«¥ë¥Õ¥¡¥¤¥ë¤Î»½ý¤¬ÄûÀµ¤µ¤ì¤Ê¤¤¤Þ¤Þ»Ä¤Ã¤¿¤ê¡¢
707 ¹¹¿·¤ò¼è¤ê¤³¤Ü¤·¤¿¤ê¡¢
708 .Nm
709 ¤¬¼Â¹ÔÅÓÃæ¤Ç°Û¾ï½ªÎ»¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£
710 .It Fl v
711 .\"O Prints the version number and exits, without contacting the server.
712 ¥Ð¡¼¥¸¥ç¥óÈÖ¹æ¤òɽ¼¨¤·¤Æ½ªÎ»¤·¤Þ¤¹¡£¥µ¡¼¥Ð¤Ø¤ÎÀܳ¤Ï¹Ô¤¤¤Þ¤»¤ó¡£
713 .It Fl z
714 .\"O Enables compression for all collections, as if the
715 .\"O .Cm compress
716 .\"O keyword were added to every collection in the
717 .\"O .Ar supfile .
718 Á´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤Î°µ½Ì¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£¤³¤ÎÆ°ºî¤Ï¡¢
719 .Ar supfile
720 ¤Ë¤ª¤¤¤Æ¡¢
721 .Cm compress
722 ¥­¡¼¥ï¡¼¥É¤òÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤ËÄɲä·¤¿»þ¤ÈƱÍͤǤ¹¡£
723 .It Fl Z
724 .\"O Disables compression for all collections, as if the
725 .\"O .Cm compress
726 .\"O keyword were removed from every collection in the
727 .\"O .Ar supfile .
728 Á´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤Î°µ½Ì¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£¤³¤ÎÆ°ºî¤Ï¡¢
729 .Ar supfile
730 ¤Ë¤ª¤¤¤Æ¡¢
731 .Cm compress
732 ¥­¡¼¥ï¡¼¥É¤òÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤«¤éºï½ü¤·¤¿»þ¤ÈƱÍͤǤ¹¡£
733 .El
734 .Pp
735 .\"O The
736 .\"O .Ar supfile
737 .\"O is a text file which specifies the file collections to be updated.
738 .Ar supfile
739 ¤Ï¡¢¹¹¿·¤¹¤Ù¤­¥Õ¥¡¥¤¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó¤ò»ØÄꤹ¤ë¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤Ç¤¹¡£
740 .\"O Comments begin with
741 .\"O .Ql #
742 .\"O and extend to the end of the line.  Lines that are empty except for
743 .\"O comments and white space are ignored.  Each remaining line begins
744 .\"O with the name of a server-defined collection of files.  Following the
745 .\"O collection name on the line are zero or more keywords or keyword=value
746 .\"O pairs.
747 ¥³¥á¥ó¥È¤Ï
748 .Ql #
749 ¤Ç»Ï¤Þ¤ê¡¢¤½¤Î¹Ô¤ÎºÇ¸å¤Þ¤Ç³¤­¤Þ¤¹¡£¥³¥á¥ó¥È¤È¶õÇò¤ò½ü¤¯¤È¶õ¤Ç¤¢¤ë¹Ô¤Ï
750 ̵»ë¤µ¤ì¤Þ¤¹¡£»Ä¤ê¤Î¤½¤ì¤¾¤ì¤Î¹Ô¤Ï¡¢¥µ¡¼¥ÐÄêµÁ¤Î¥Õ¥¡¥¤¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó
751 ¤Ç»Ï¤Þ¤ê¤Þ¤¹¡£¤³¤Î¹Ô¤Ç¥³¥ì¥¯¥·¥ç¥ó̾¤Î¸å¤Ë³¤¯¤Î¤Ï¡¢0 ¸Ä°Ê¾å¤Î¥­¡¼¥ï¡¼¥É
752 ¤Þ¤¿¤Ï¡Ö¥­¡¼¥ï¡¼¥É=Ã͡פÎÁȤǤ¹¡£
753 .Pp
754 .\"O Default settings may be specified in lines whose collection name is
755 .\"O .Cm *default .
756 ¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ï¡¢¥³¥ì¥¯¥·¥ç¥ó̾¤¬
757 .Cm *default
758 ¤Ç¤¢¤ë¹Ô¤Ç»ØÄê¤Ç¤­¤Þ¤¹¡£
759 .\"O Such defaults will apply to subsequent lines in the
760 .\"O .Ar supfile .
761 ¤³¤Î¥Ç¥Õ¥©¥ë¥È¤Ï¡¢
762 .Ar supfile
763 Æâ¤Î¤½¤ì°Ê¹ß¤Î¹Ô¤ËŬÍѤµ¤ì¤Þ¤¹¡£
764 .\"O Multiple
765 .\"O .Cm *default
766 .\"O lines may be present.
767 .Cm *default
768 ¹Ô¤ÏÊ£¿ô¸Ä¤¢¤Ã¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£
769 .\"O New values augment or override any defaults specified earlier in the
770 .\"O .Ar supfile .
771 ¿·¤·¤¤Ãͤϡ¢
772 .Ar supfile
773 ¤ÇÁ°¤Ë»ØÄꤵ¤ì¤¿¥Ç¥Õ¥©¥ë¥ÈÃͤËÄɲ䵤ì¤ë¤«¡¢¥Ç¥Õ¥©¥ë¥ÈÃͤò¾å½ñ¤­¤·¤Þ¤¹¡£
774 .\"O Values specified explicitly for a collection override any default
775 .\"O values.
776 ¥³¥ì¥¯¥·¥ç¥ó¤ËÂФ·¤ÆÌÀ¼¨Åª¤Ë»ØÄꤵ¤ì¤¿Ãͤϡ¢Á´¤Æ¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò
777 ¾å½ñ¤­¤·¤Þ¤¹¡£
778 .Pp
779 .\"O The most commonly used keywords are:
780 Æäˤ褯»È¤ï¤ì¤ë¥­¡¼¥ï¡¼¥É¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹:
781 .Bl -tag -width Fl
782 .It Cm release= Ns Ar releaseName
783 .\"O This specifies the release of the files within a collection.
784 ¤³¤ì¤Ï¥³¥ì¥¯¥·¥ç¥óÆâ¤Î¥Õ¥¡¥¤¥ë¤Î¥ê¥ê¡¼¥¹¤ò»ØÄꤷ¤Þ¤¹¡£
785 .\"O Like collection names, release names are defined by the server
786 .\"O configuration files.  Usually there is only one release in each
787 .\"O collection, but there may be any number.  Collections which come from
788 .\"O a CVS repository often use
789 .\"O .Cm release=cvs
790 .\"O by convention.  Non-CVS collections conventionally use
791 .\"O .Cm release=current .
792 ¥³¥ì¥¯¥·¥ç¥ó̾¤ÈƱ¤¸¤¯¡¢¥ê¥ê¡¼¥¹Ì¾¤â¥µ¡¼¥Ð¤ÎÀßÄê¥Õ¥¡¥¤¥ëÆâ¤ÇÄêµÁ¤µ¤ì¤Æ
793 ¤¤¤Þ¤¹¡£ÉáÄ̤ϳƥ³¥ì¥¯¥·¥ç¥óÆâ¤Ë 1 ¤Ä¤Î¥ê¥ê¡¼¥¹¤·¤«´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¤¬¡¢
794 ²¿¸Ä´Þ¤ó¤Ç¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£CVS ¥ê¥Ý¥¸¥È¥ê¤«¤éÆÀ¤¿¥³¥ì¥¯¥·¥ç¥ó¤Ç¤Ï¡¢
795 ´·½¬Åª¤Ë
796 .Cm release=cvs
797 ¤ò¤è¤¯»È¤¤¤Þ¤¹¡£CVS ¤Ç¤Ê¤¤¥³¥ì¥¯¥·¥ç¥ó¤Ç¤Ï¡¢´·½¬Åª¤Ë
798 .Cm release=current
799 ¤ò»È¤¤¤Þ¤¹¡£
800 .It Cm base= Ns Ar base
801 .\"O This specifies a directory under which
802 .\"O .Nm cvsup
803 .\"O will maintain its bookkeeping files, describing the state of each
804 .\"O collection on the client machine.
805 ¤³¤ì¤Ï
806 .Nm cvsup
807 ¤¬µ­Ï¿¥Õ¥¡¥¤¥ë¤òÃÖ¤¤¤Æ´ÉÍý¤¹¤ë¥Ç¥£¥ì¥¯¥È¥ê¤ò»ØÄꤷ¤Þ¤¹¡£
808 µ­Ï¿¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó¾å¤Ë¤¢¤ë³Æ¥³¥ì¥¯¥·¥ç¥ó¤Î¾õÂÖ¤¬
809 ½ñ¤«¤ì¤Þ¤¹¡£
810 .\"O The
811 .\"O .Ar base
812 .\"O directory must already exist;
813 .Ar base
814 ¥Ç¥£¥ì¥¯¥È¥ê¤Ï´û¤Ë¸ºß¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
815 .\"O .Nm
816 .\"O will not create it.
817 .Nm
818 ¤¬¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
819 .\"O The default
820 .\"O .Ar base
821 .\"O directory is
822 .\"O .Pa /usr/local/etc/cvsup .
823 .Ar base
824 ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤÏ
825 .Pa /usr/local/etc/cvsup
826 ¤Ç¤¹¡£
827 .It Cm prefix= Ns Ar prefix
828 .\"O This is the directory under which updated files will be placed.
829 ¤³¤ì¤Ï¡¢¹¹¿·¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤¬ÃÖ¤«¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£
830 .\"O By default, it is the same as
831 .\"O .Ar base .
832 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢¤³¤ì¤Ï
833 .Ar base
834 ¤ÈƱ¤¸¤Ç¤¹¡£
835 .\"O If it is not an absolute pathname, it is interpreted relative to
836 .\"O .Ar base .
837 ÀäÂХѥ¹¤Ç»ØÄꤷ¤Ê¤±¤ì¤Ð¡¢
838 .Ar base
839 ¤«¤é¤ÎÁêÂХѥ¹¤È²ò¼á¤µ¤ì¤Þ¤¹¡£
840 .\"O The
841 .\"O .Ar prefix
842 .\"O directory must already exist;
843 .Ar prefix
844 ¥Ç¥£¥ì¥¯¥È¥ê¤Ï´û¤Ë¸ºß¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
845 .\"O .Nm
846 .\"O will not create it.
847 .Nm
848 ¤¬¤³¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òºîÀ®¤¹¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
849 .Pp
850 .\"O As a special case, if
851 .\"O .Ar prefix
852 .\"O is a symbolic link pointing to a nonexistent file named
853 .\"O .Ql SKIP ,
854 .\"O then
855 .\"O .Nm
856 .\"O will skip the collection.
857 Æüì¤Ê¾ì¹ç¤È¤·¤Æ¡¢
858 .Ar prefix
859 ¤¬
860 .Ql SKIP
861 ¤È¤¤¤¦Ì¾¤Î¸ºß¤·¤Ê¤¤¥Õ¥¡¥¤¥ë¤ò»Ø¤¹¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ç¤¢¤ë¾ì¹ç¤Ï¡¢
862 .Nm
863 ¤Ï¤½¤Î¥³¥ì¥¯¥·¥ç¥ó¤ò¥¹¥­¥Ã¥×¤·¤Þ¤¹¡£
864 .\"O The parameters associated with the collection are still checked for
865 .\"O validity, but none of its files will be updated.
866 ¤³¤Î¾ì¹ç¤Ç¤â¥³¥ì¥¯¥·¥ç¥ó¤Ë´Ø·¸¤¹¤ë¥Ñ¥é¥á¡¼¥¿¤ÎÀµ¤·¤µ¤Ï¥Á¥§¥Ã¥¯¤µ¤ì¤Þ¤¹
867 ¤¬¡¢¥³¥ì¥¯¥·¥ç¥ó¤Î¥Õ¥¡¥¤¥ë¤ÏÁ´¤¯¹¹¿·¤µ¤ì¤Þ¤»¤ó¡£
868 .\"O This feature allows a site to use a standard
869 .\"O .Ar supfile
870 .\"O on several machines, yet control which collections get updated on a
871 .\"O per-machine basis.
872 ¤³¤Îµ¡Ç½¤ò»È¤¦¤È¡¢°ì¤Ä¤Î¥µ¥¤¥È¤ÎÊ£¿ô¤Î¥Þ¥·¥ó¤Çɸ½à¤Î
873 .Ar supfile
874 ¤ò»È¤¤¤Ê¤¬¤é¡¢¹¹¿·¤¹¤ë¥³¥ì¥¯¥·¥ç¥ó¤ò¥Þ¥·¥ó¤´¤È¤ËÀ©¸æ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
875 .It Cm host= Ns Ar hostname
876 .\"O This specifies the server machine from which all files will be taken.
877 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢Á´¤Æ¤Î¥Õ¥¡¥¤¥ë¤ò¼è¤ê´ó¤»¤ë¸µ¤È¤Ê¤ë¥µ¡¼¥Ð¥Þ¥·¥ó¤ò
878 »ØÄꤷ¤Þ¤¹¡£
879 .\"O .Nm
880 .\"O requires that all collections in a single run come from the same host.
881 .Nm
882 ¤Ï¡¢1 ²ó¤Î¼Â¹Ô¤Ë¤ª¤±¤ëÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤òƱ¤¸¥Û¥¹¥È¤«¤éÆÀ¤ë¤³¤È¤ò
883 ɬÍפȤ·¤Þ¤¹¡£
884 .\"O If you wish to update collections from several different hosts, you must
885 .\"O run
886 .\"O .Nm
887 .\"O several times.
888 °Û¤Ê¤ëÊ£¿ô¤Î¥Û¥¹¥È¤«¤é¥³¥ì¥¯¥·¥ç¥ó¤ò¹¹¿·¤·¤¿¤±¤ì¤Ð¡¢
889 .Nm
890 ¤òÊ£¿ô²ó¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
891 .It Cm delete
892 .\"O The presence of this keyword gives
893 .\"O .Nm
894 .\"O permission to delete files.
895 ¤³¤Î¥­¡¼¥ï¡¼¥É¤¬¤¢¤ë¤È¡¢
896 .Nm
897 ¤Ï¥Õ¥¡¥¤¥ë¤Îºï½ü¤òµö²Ä¤·¤Þ¤¹¡£
898 .\"O If it is missing, no files will be deleted.
899 ¤³¤Î¥­¡¼¥ï¡¼¥É¤¬¤Ê¤±¤ì¤Ð¡¢¥Õ¥¡¥¤¥ë¤ÏÁ´¤¯ºï½ü¤µ¤ì¤Þ¤»¤ó¡£
900 .Pp
901 .\"O The presence of the
902 .\"O .Cm delete
903 .\"O keyword puts
904 .\"O .Nm
905 .\"O into so-called
906 .\"O .Em exact
907 .\"O mode.  In exact mode,
908 .\"O .Nm CVSup
909 .\"O does its best to make the client's files correspond to those on the server.
910 .Cm delete
911 ¥­¡¼¥ï¡¼¥É¤¬¤¢¤ë¤È¡¢
912 .Nm
913 ¤Ï¤¤¤ï¤æ¤ë
914 .Em exact
915 ¥â¡¼¥É¤ËÆþ¤ê¤Þ¤¹¡£exact ¥â¡¼¥É¤Ç¤Ï¡¢
916 .Nm CVSup
917 ¤Ï¤Ç¤­¤ë¤À¤±¥¯¥é¥¤¥¢¥ó¥È¦¤Î¥Õ¥¡¥¤¥ë¤ò¥µ¡¼¥Ð¦¤Î¥Õ¥¡¥¤¥ë¤ËÂбþ¤µ¤»¤è¤¦
918 ¤È¤·¤Þ¤¹¡£
919 .\"O This includes deleting individual deltas and symbolic tags from RCS
920 .\"O files, as well as deleting entire files.
921 ¤³¤ì¤Ï¡¢RCS ¥Õ¥¡¥¤¥ë¤«¤é¸Ä¡¹¤Îº¹Ê¬¤È¥·¥ó¥Ü¥ê¥Ã¥¯¤Ê¥¿¥°¤ò¾Ã¤¹¤³¤È¤È¡¢
922 ¥Õ¥¡¥¤¥ëÁ´ÂΤò¾Ã¤¹¤³¤È¤ò´Þ¤ß¤Þ¤¹¡£
923 .\"O In exact mode,
924 .\"O .Nm CVSup
925 .\"O verifies every edited file with a checksum, to ensure that the edits
926 .\"O have produced a file identical to the master copy on the server.
927 exact ¥â¡¼¥É¤Ç¤Ï¡¢
928 .Nm CVSup
929 ¤ÏÊÔ½¸¤µ¤ì¤¿¤½¤ì¤¾¤ì¤Î¥Õ¥¡¥¤¥ë¤ò¥Á¥§¥Ã¥¯¥µ¥à¤ò»È¤Ã¤ÆÄ´¤Ù¡¢ÊÔ½¸¤Ë¤è¤Ã¤Æ
930 ¥µ¡¼¥Ð¾å¤Ë¤¢¤ë¥Þ¥¹¥¿¡¼¥³¥Ô¡¼¤ÈƱ°ì¤Î¥Õ¥¡¥¤¥ë¤¬¤Ç¤­¤ë¤³¤È¤òÊݾڤ·¤Þ¤¹¡£
931 .\"O If the checksum test fails for a file, then
932 .\"O .Nm CVSup
933 .\"O falls back upon transferring the entire file.
934 ¤¢¤ë¥Õ¥¡¥¤¥ë¤Ë¤Ä¤¤¤Æ¥Á¥§¥Ã¥¯¥µ¥à¤Î¥Æ¥¹¥È¤¬¼ºÇÔ¤·¤¿¤é¡¢
935 .Nm CVSup
936 ¤ÏºÇ¸å¤Î¼êÃʤȤ·¤Æ¥Õ¥¡¥¤¥ëÁ´ÂΤòžÁ÷¤·¤Þ¤¹¡£
937 .Pp
938 .\"O In general,
939 .\"O .Nm CVSup
940 .\"O deletes only files which are known to the server.
941 °ìÈÌŪ¤Ë¤Ï¡¢
942 .Nm CVSup
943 ¤Ï¥µ¡¼¥Ð¤¬ÃΤäƤ¤¤ë¥Õ¥¡¥¤¥ë¤À¤±¤òºï½ü¤·¤Þ¤¹¡£
944 .\"O Extra files present in the client's tree are left alone, even in exact
945 .\"O mode.
946 ¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ä¥ê¡¼¤ËÆþ¤Ã¤Æ¤¤¤ëÄɲäΥե¡¥¤¥ë¤Ï¡¢excact ¥â¡¼¥É¤Ç¤¢¤Ã
947 ¤Æ¤â¤½¤Î¤Þ¤Þ»Ä¤µ¤ì¤Þ¤¹¡£
948 .\"O More precisely,
949 .\"O .Nm CVSup
950 .\"O is willing to delete two classes of files:
951 ¤è¤êÀµ³Î¤Ë½Ò¤Ù¤ë¤È¡¢
952 .Nm CVSup
953 ¤¬¾Ã¤½¤¦¤È¤¹¤ë¥Õ¥¡¥¤¥ë¤Ï 2 ¼ïÎà¤Ç¤¹:
954 .Bl -bullet -compact
955 .It
956 .\"O Files that were previously created or updated by
957 .\"O .Nm CVSup
958 .\"O itself.
959 ²áµî¤Ë
960 .Nm CVSup
961 ¼«¿È¤¬À¸À®¤Þ¤¿¤Ï¹¹¿·¤·¤¿¥Õ¥¡¥¤¥ë¡£
962 .It
963 .\"O Checked-out versions of files which are marked as dead on the server.
964 ¥µ¡¼¥Ð¾å¤ÇÉÔÍפΰõ¤¬ÉÕ¤±¤é¤ì¤¿¥Á¥§¥Ã¥¯¥¢¥¦¥ÈºÑ¤ß¥Ð¡¼¥¸¥ç¥ó¤Î¥Õ¥¡¥¤¥ë¡£
965 .El
966 .It Cm use-rel-suffix
967 .\"O Causes
968 .\"O .Nm
969 .\"O to append a suffix constructed from the release and tag to the name of
970 .\"O each list file that it maintains.
971 ¥ê¥ê¡¼¥¹¤È¥¿¥°¤«¤éºî¤Ã¤¿¥µ¥Õ¥£¥Ã¥¯¥¹¤¬
972 .Nm
973 ¤¬´ÉÍý¤·¤Æ¤¤¤ë³Æ¥Õ¥¡¥¤¥ë¤Î̾Á°¤ËÄɲ䵤ì¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
974 .\"O See
975 .\"O .Sx THE LIST FILE
976 .\"O for details.
977 ¾Ü¤·¤¯¤Ï
978 .Sx ¥ê¥¹¥È¥Õ¥¡¥¤¥ë
979 ¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤¡£
980 .It Cm compress
981 .\"O This enables compression of all data sent across the network.
982 ¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ÇÁ÷¤é¤ì¤ë¥Ç¡¼¥¿¤¬Á´¤Æ°µ½Ì¤µ¤ì¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
983 .\"O Compression is quite effective, normally eliminating 65% to 75% of the
984 .\"O bytes that would otherwise need to be transferred.
985 °µ½Ì¤ÏÈó¾ï¤ËÍ­¸ú¤Ç¤¢¤ê¡¢°µ½Ì¤·¤Ê¤«¤Ã¤¿¾ì¹ç¤ËɬÍפÊžÁ÷Î̤ÈÈæ¤Ù¤Æ
986 ÉáÄ̤Ϡ65% ¤«¤é 75% ¤Î¥Ð¥¤¥È¥Ç¡¼¥¿¤òºï¸º¤Ç¤­¤Þ¤¹¡£
987 .\"O However, it is costly in terms of CPU time on both the client and the
988 .\"O server.
989 ¤·¤«¤·¡¢¥¯¥é¥¢¥¤¥ó¥È¤È¥µ¡¼¥ÐξÊý¤Î CPU »þ´Ö¤È¤¤¤¦ÅÀ¤Ç¤Ï¥³¥¹¥È¤¬¤«¤«¤ê
990 ¤Þ¤¹¡£
991 .\"O On local area networks, compression is generally counter-productive; it
992 .\"O actually slows down file updates.
993 LAN ¤Ç¤Ï¡¢°µ½Ì¤Ï°ìÈÌŪ¤ËÀ¸»ºÀ­¤òÍî¤È¤·¤Þ¤¹¡£¼ÂºÝ¤Ë¤Ï¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤¬
994 ÃÙ¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
995 .\"O On links with speeds of 56K bits/second or less, compression is almost
996 .\"O always beneficial.
997 56K ¥Ó¥Ã¥È/É䢤뤤¤Ï¤½¤ì°Ê²¼¤Î®ÅÙ¤ÎÀܳ¤Ç¤Ï¡¢°µ½Ì¤Ï¤Û¤Ü³Î¼Â¤Ë
998 ÆÀ¤Ë¤Ê¤ê¤Þ¤¹¡£
999 .\"O For network links with speeds between these two extremes, let
1000 .\"O experimentation be your guide.
1001 ¤³¤ì¤éξ¶Ëü¤Ê¥±¡¼¥¹¤ÎÃæ´Ö¤Î®Å٤Υͥåȥ¥¯Àܳ¤Ç¤Ï¡¢¼Â¸³¤ò
1002 ¹Ô¤Ã¤Æ»²¹Í¤È¤·¤Þ¤·¤ç¤¦¡£
1003 .Pp
1004 .\"O The
1005 .\"O .Fl z
1006 .\"O command line option enables the
1007 .\"O .Cm compress
1008 .\"O keyword for all collections, regardless of what is specified in the supfile.
1009 .Fl z
1010 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ï¡¢Á´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤ËÂФ·¤Æ
1011 .Cm compress
1012 ¥­¡¼¥ï¡¼¥É¤òÍ­¸ú¤Ë¤·¤Þ¤¹¡£supfile ¤Ç¤Î»ØÄê¤È¤Ï̵´Ø·¸¤Ç¤¹¡£
1013 .\"O Likewise, the
1014 .\"O .Fl Z
1015 .\"O command line option disables the
1016 .\"O .Cm compress
1017 .\"O option for all collections.
1018 ƱÍͤË
1019 .Fl Z
1020 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Ï¡¢Á´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤ËÂФ·¤Æ
1021 .Cm compress
1022 ¥ª¥×¥·¥ç¥ó¤ò̵¸ú¤Ë¤·¤Þ¤¹¡£
1023 .It Cm norcs
1024 .\"O Disables special processing for RCS files.  They will be treated the
1025 .\"O same as other files.
1026 RCS ¥Õ¥¡¥¤¥ë¤ÎÆÃÊÌ°·¤¤¤ò¤Ê¤¯¤·¤Þ¤¹¡£RCS ¥Õ¥¡¥¤¥ë¤Ï¾¤Î¥Õ¥¡¥¤¥ë¤È
1027 Ʊ¤¸¤è¤¦¤Ë°·¤ï¤ì¤Þ¤¹¡£
1028 .It Cm norsync
1029 .\"O Disables the use of Tridgell & Mackerras'
1030 .\"O .Em rsync
1031 .\"O algorithm for updating regular (non-RCS) files.
1032 Ä̾ï¤Î(RCS ¤Ç¤Ê¤¤)¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤ÎºÝ¤Ë¡¢Tridgell ¤È Mackerras ¤Î
1033 .Em rsync
1034 ¥¢¥ë¥´¥ê¥º¥à¤ò»È¤¤¤Þ¤»¤ó¡£
1035 .\"O The algorithm works correctly for any kind of file, but it may be
1036 .\"O ineffective and computationally expensive for files such as
1037 .\"O compressed tar archives.
1038 ¤³¤Î¥¢¥ë¥´¥ê¥º¥à¤Ï¤É¤ó¤Ê¼ïÎà¤Î¥Õ¥¡¥¤¥ë¤Ç¤âÀµ¤·¤¯Æ°ºî¤·¤Þ¤¹¤¬¡¢
1039 °µ½Ì¤µ¤ì¤¿ tar ¥¢¡¼¥«¥¤¥Ö¤Î¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤Ï¡¢
1040 ¸úΨŪ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤··×»»Åª¤Ë¤â¥³¥¹¥È¤¬¹â¤¯ÉÕ¤­¤Þ¤¹¡£
1041 .It Cm strictrcs
1042 .\"O Causes updated RCS files to be checked using strict byte-by-byte MD5
1043 .\"O checksums.  Normally,
1044 .\"O .Nm CVSup
1045 .\"O uses a looser checksum for RCS files, which ignores harmless
1046 .\"O differences in white space.  Different versions of CVS and RCS produce
1047 .\"O a variety of differences in white space for the same RCS files.  Thus
1048 .\"O the strict checksum can report spurious mismatches for files which are
1049 .\"O logically identical.  This can lead to numerous unneeded
1050 .\"O .Dq fixups ,
1051 .\"O and thus to slow updates.
1052 ¹¹¿·¤µ¤ì¤¿ RCS ¥Õ¥¡¥¤¥ë¤ò¥Ð¥¤¥Èñ°Ì¤Î¸·Ì©¤Ê MD5 ¥Á¥§¥Ã¥¯¥µ¥à¤Ç
1053 ³Îǧ¤·¤Þ¤¹¡£Ä̾
1054 .Nm CVSup
1055 ¤Ï RCS ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤â¤Ã¤È´Ë¤¤¥Á¥§¥Ã¥¯¥µ¥à¤òÍѤ¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢
1056 ¶õÇòʸ»ú¤Ë¤è¤ë̵°ÕÌ£¤Ê°ã¤¤¤ò̵»ë¤·¤Þ¤¹¡£°Û¤Ê¤ë¥Ð¡¼¥¸¥ç¥ó¤Î
1057 CVS ¤È RCS ¤Ï¡¢Æ±¤¸ RCS ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤â¶õÇò¤¬ÍÍ¡¹¤Ë°Û¤Ê¤ê¤Þ¤¹¡£
1058 ¤·¤¿¤¬¤Ã¤Æ¸·Ì©¤Ê¥Á¥§¥Ã¥¯¥µ¥à¤ò¼è¤ë¤È¡¢ÏÀÍýŪ¤Ë¤ÏƱ¤¸¤Ç¤¢¤ë¥Õ¥¡¥¤¥ë¤ËÂÐ
1059 ¤·¤Æ°ÕÌ£¤¬¤Ê¤¤ÉÔ°ìÃפòÊó¹ð¤¹¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤³¤ì¤Ë¤è¤êÉÔÍפÊ
1060 .Dq fixups
1061 ¤¬ÂçÎ̤˹Ԥï¤ì¡¢¹¹¿·¤¬ÃÙ¤¯¤Ê¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
1062 .It Cm nocheckrcs
1063 .\"O Disables the comparison of MD5 checksums for updated RCS files.
1064 ¹¹¿·¤µ¤ì¤¿ RCS ¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¡¢MD5 ¥Á¥§¥Ã¥¯¥µ¥à¤ÎÈæ³Ó¤ò¹Ô¤¤¤Þ¤»¤ó¡£
1065 .\"O This option is turned on automatically if the
1066 .\"O .Cm delete
1067 .\"O keyword is not specified.
1068 .Cm delete
1069 ¥­¡¼¥ï¡¼¥É¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢¤³¤Î¥ª¥×¥·¥ç¥ó¤¬¼«Æ°Åª¤Ë
1070 Í­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
1071 .It Cm execute
1072 .\"O Enables the execution of shell commands received from the server.
1073 ¥µ¡¼¥Ð¤«¤é¼õ¤±¼è¤Ã¤¿¥·¥§¥ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤Ç¤­¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
1074 .\"O This should be used with caution, since it may constitute a security
1075 .\"O risk.
1076 ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏÃí°Õ¤·¤Æ»È¤¦¤Ù¤­¤Ç¤¹¡£¤È¤¤¤¦¤Î¤â¡¢¥»¥­¥å¥ê¥Æ¥£¤Ê´í¸±¤ò
1077 µÚ¤Ü¤¹¤«¤â¤·¤ì¤Ê¤¤¤«¤é¤Ç¤¹¡£
1078 .It Cm preserve
1079 .\"O Causes
1080 .\"O .Nm
1081 .\"O to attempt to transfer all possible file attributes from the server
1082 .\"O to the client.  The attributes supported depend on both the host
1083 .\"O platform and the client platform.  On FreeBSD systems, the following
1084 .\"O attributes are supported:
1085 .Nm
1086 ¤Ë¡¢²Äǽ¤ÊÁ´¤Æ¤Î°À­¤ò¥µ¡¼¥Ð¤«¤é¥¯¥é¥¤¥¢¥ó¥È¤ËžÁ÷¤·¤è¤¦¤È»î¤ß¤µ¤»¤Þ¤¹¡£
1087 ¥µ¥Ý¡¼¥È¤µ¤ì¤ë°À­¤Ï¥Û¥¹¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à¤È¥¯¥é¥¤¥¢¥ó¥È¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à
1088 ¤Ë°Í¸¤·¤Þ¤¹¡£FreeBSD ¥·¥¹¥Æ¥à¤Ç¤Ï¡¢°Ê²¼¤Î°À­¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹:
1089 .Bl -bullet -compact
1090 .It
1091 .\"O Owner.
1092 ½êÍ­¼Ô
1093 .It
1094 .\"O Group.
1095 ¥°¥ë¡¼¥×
1096 .It
1097 .\"O Permissions.
1098 ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó
1099 .It
1100 .\"O Flags.
1101 ¥Õ¥é¥°
1102 .It
1103 .\"O Modification time.
1104 ½¤Àµ»þ¹ï
1105 .El
1106 .Pp
1107 .\"O Of these, the first four are controlled by the
1108 .\"O .Cm preserve
1109 .\"O keyword, while the fifth is preserved in all cases.
1110 ¤³¤ì¤é¤Î¤¦¤Á¡¢ºÇ½é¤Î 4 ¤Ä¤Î°À­¤Ï
1111 .Cm preserve
1112 ¥­¡¼¥ï¡¼¥É¤ÇÀ©¸æ¤·¤Þ¤¹¡£5 ¤ÄÌܤϤɤó¤Ê¾ì¹ç¤Ç¤âÊݸ¤µ¤ì¤Þ¤¹¡£
1113 .Pp
1114 .\"O The
1115 .\"O .Cm preserve
1116 .\"O keyword is not intended to be used for updating user files or CVS
1117 .\"O repositories.
1118 .Cm preserve
1119 ¥­¡¼¥ï¡¼¥É¤Ï¡¢¥æ¡¼¥¶¥Õ¥¡¥¤¥ë¤ä CVS ¥ê¥Ý¥¸¥È¥ê¤Î¹¹¿·¤Ë»È¤¦¤¿¤á¤Î¤â¤Î¤Ç
1120 ¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1121 .\"O It is intended only for specialized applications in which a host's entire
1122 .\"O file tree is to be replicated exactly.
1123 ¤³¤ì¤Ï¡¢¥Û¥¹¥È¤ÎÁ´ÂΤΥե¡¥¤¥ë¥Ä¥ê¡¼¤òÀµ³Î¤ËÊ£À½¤¹¤ë¤È¤¤¤Ã¤¿Æüì¤ÊÌÜŪ
1124 ¤Î¤¿¤á¤À¤±¤Ë»È¤ï¤ì¤Þ¤¹¡£
1125 .\"O Any differences between the server host and the client host can
1126 .\"O cause problems if
1127 .\"O .Cm preserve
1128 .\"O is specified.
1129 .Cm preserve
1130 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢¥µ¡¼¥Ð¥Û¥¹¥È¤È¥¯¥é¥¤¥¢¥ó¥È¥Û¥¹¥È¤Î²¿¤é¤«¤Î°ã¤¤¤¬
1131 ÌäÂê¤òµ¯¤³¤¹¤«¤â¤·¤ì¤Þ¤»¤ó¡£
1132 .\"O For example, if the client receives a file whose owner does not
1133 .\"O exist on the client machine, it will be unable to preserve the
1134 .\"O owner.
1135 Î㤨¤Ð¡¢¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó¾å¤Ë¸ºß¤·¤Ê¤¤½êÍ­¼Ô¤¬½êÍ­¤¹¤ë¥Õ¥¡¥¤¥ë¤ò
1136 ¥¯¥é¥¤¥¢¥ó¥È¤¬¼õ¤±¼è¤Ã¤¿¾ì¹ç¡¢¥ª¡¼¥Ê¤òÊݸ¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
1137 .\"O This may in turn cause the permissions to have unintended meanings.
1138 ƱÍͤˤ³¤ì¤Ë¤è¤Ã¤Æ°Õ¿Þ¤·¤Ê¤¤¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤¬ÀßÄꤵ¤ì¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
1139 .\"O In addition, each subsequent update run will cause further unsuccessful
1140 .\"O attempts to correct the file's owner on the client, wasting time
1141 .\"O and bandwidth.
1142 ¤µ¤é¤Ë¡¢¤½¤ì°Ê¹ß¤Î¹¹¿·¤Ç¤Ï¡¢Ëè²ó¥¯¥é¥¤¥¢¥ó¥È¾å¤Î¥Õ¥¡¥¤¥ë¤Î½êÍ­¼Ô¤òÄûÀµ
1143 ¤·¤è¤¦¤È¤·¤Æ¼ºÇÔ¤·¡¢»þ´Ö¤ÈÂÓ°èÉý¤ò̵Â̤ˤ·¤Æ¤·¤Þ¤¦¤Ç¤·¤ç¤¦¡£
1144 .\"O Finally,
1145 .\"O .Cm preserve
1146 .\"O mode increases the network traffic and slows down updates.
1147 ºÇ¸å¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢
1148 .Cm preserve
1149 ¥â¡¼¥É¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥È¥é¥Õ¥£¥Ã¥¯¤òÁýÂ礵¤»¡¢¹¹¿·¤òÃÙ¤¯¤·¤Þ¤¹¡£
1150 .Pp
1151 .\"O For
1152 .\"O .Cm preserve
1153 .\"O mode to function properly, the client must be executed with root
1154 .\"O access permissions.
1155 .Cm preserve
1156 ¥â¡¼¥É¤òÀµ¤·¤¯µ¡Ç½¤µ¤»¤ë¤¿¤á¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï root ¤Î¥¢¥¯¥»¥¹¸¢¸Â¤Ç
1157 ¼Â¹Ô¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1158 .\"O If the client is not root, then attempts to preserve the owner,
1159 .\"O group, and flags are suppressed.
1160 ¥¯¥é¥¤¥¢¥ó¥È¤¬ root ¤Ç¤Ê¤±¤ì¤Ð¡¢½êÍ­¼Ô¡¢¥°¥ë¡¼¥×¡¢¥Õ¥é¥°¤Î¾ðÊó¤òÊݸ¤·
1161 ¤è¤¦¤È¤¹¤ëµ¡Ç½¤Ï̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
1162 .Pp
1163 .\"O The
1164 .\"O .Cm preserve
1165 .\"O keyword is ignored in checkout mode.
1166 .Cm preserve
1167 ¥­¡¼¥ï¡¼¥É¤Ï¡¢checkout ¥â¡¼¥É¤Ç¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£
1168 .It Cm umask= Ns Ar n
1169 .\"O Causes
1170 .\"O .Nm
1171 .\"O to use a umask value of
1172 .\"O .Ar n
1173 .\"O (an octal number) when updating the files in the collection.
1174 ¥³¥ì¥¯¥·¥ç¥óÆâ¤Î¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤¹¤ë»þ¡¢
1175 .Nm
1176 ¤Ë umask ÃÍ
1177 .Ar n
1178 (8 ¿ÊÃÍ)¤ò»È¤ï¤»¤Þ¤¹¡£
1179 .\"O This option is ignored if
1180 .\"O .Cm preserve
1181 .\"O is specified.
1182 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢
1183 .Cm preserve
1184 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È̵»ë¤µ¤ì¤Þ¤¹¡£
1185 .El
1186 .Pp
1187 .\"O Some additional, more specialized keywords are described below.
1188 ¤¤¤¯¤Ä¤«¤ÎÄɲÃŪ¤Ç¡¢¤è¤êÀìÌçŪ¤Ê¥­¡¼¥ï¡¼¥É¤Ë¤Ä¤¤¤Æ¤Ï¸å½Ò¤·¤Þ¤¹¡£
1189 .\"O Unrecognized keywords are silently ignored for backward compatibility
1190 .\"O with
1191 .\"O .Nm sup .
1192 .Nm sup
1193 ¤È¤Î¸åÊý¸ß´¹À­¤Î¤¿¤á¡¢Ç§¼±¤Ç¤­¤Ê¤«¤Ã¤¿¥­¡¼¥ï¡¼¥É¤ÏÌۤäÆ̵»ë¤µ¤ì¤Þ¤¹¡£
1194 .\"O .Sh OPERATION
1195 .Sh Áàºî
1196 .\"O .Nm
1197 .\"O includes a graphical user interface (GUI) which allows one to monitor its
1198 .\"O progress and performance during an update.  The GUI is disabled if the
1199 .\"O .Fl g
1200 .\"O command line option is given, or if the
1201 .\"O .Ev DISPLAY
1202 .\"O environment variable is not set.
1203 .Nm
1204 ¤Ï GUI(¥°¥é¥Õ¥£¥«¥ë¥æ¡¼¥¶¥¤¥ó¥¿¥Õ¥§¡¼¥¹)¤ò»ý¤Ã¤Æ¤ª¤ê¡¢¤³¤ì¤ò»È¤¦¤È¥æ¡¼
1205 ¥¶¤Ï¹¹¿·Ãæ¤Î¿Ê¹Ô¾õ¶·¤È½èÍý¤ò´Æ»ë¤Ç¤­¤Þ¤¹¡£¤³¤Î GUI ¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó
1206 ¥ª¥×¥·¥ç¥ó
1207 .Fl g
1208 ¤¬»ØÄꤵ¤ì¤ë¤«¡¢
1209 .Ev DISPLAY
1210 ´Ä¶­ÊÑ¿ô¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð̵¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
1211 .\"O The GUI includes a
1212 .\"O .Dq Filter
1213 .\"O type-in field, where patterns may be entered to restrict the files to
1214 .\"O be updated.
1215 GUI ¤Ë¤Ï¡¢
1216 .Dq Filter
1217 ÆþÎÏ¥Õ¥£¡¼¥ë¥É¤¬¤¢¤ê¤Þ¤¹¡£¤³¤³¤Ë¥Ñ¥¿¡¼¥ó¤òÆþÎϤ·¤Æ¡¢¹¹¿·¤¹¤ë¥Õ¥¡¥¤¥ë¤ò
1218 À©¸Â¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1219 .\"O The patterns are as described for the
1220 .\"O .Fl i
1221 .\"O option.
1222 ¥Ñ¥¿¡¼¥ó¤Ï
1223 .Fl i
1224 ¥ª¥×¥·¥ç¥ó¤Î»ØÄê¤ÈƱÍͤ˵­½Ò¤·¤Þ¤¹¡£
1225 .\"O If multiple patterns are entered, they should be separated by white space.
1226 Ê£¿ô¤Î¥Ñ¥¿¡¼¥ó¤òÆþÎϤ¹¤ëºÝ¤Ë¤Ï¡¢¶õÇò¤Ç¶èÀÚ¤é¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1227 .Pp
1228 .\"O At present, the GUI does not support changing the parameters specified
1229 .\"O in the
1230 .\"O .Ar supfile .
1231 ¸½ºß¤Î¤È¤³¤í¤Ï¡¢
1232 .Ar supfile
1233 ¤Ç»ØÄꤵ¤ì¤¿¥Ñ¥é¥á¡¼¥¿¤ò GUI ¤ÇÊѹ¹¤¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó¡£
1234 .\"O That is planned for a future release.
1235 ¤³¤ÎÅÀ¤Ï¾­Íè¤Î¥ê¥ê¡¼¥¹¤Ç¤Î·×²è¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
1236 .\"O Despite its relative uselessness, the GUI is fun to watch.
1237 ¤É¤Á¤é¤«¤È¤¤¤¦¤ÈɬÍפʤ¤¤â¤Î¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬¡¢GUI ¤Ï¸«¤Æ³Ú¤·¤¤¤â¤Î¤Ç¤¹¡£
1238 .\"O .Sh CVS MODE
1239 .Sh CVS ¥â¡¼¥É
1240 .\"O .Nm CVSup
1241 .\"O supports two primary modes of operation.
1242 .Nm CVSup
1243 ¤Ï¡¢2 ¤Ä¤Î¼ç¤ÊÆ°ºî¥â¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
1244 .\"O They are called
1245 .\"O .Em CVS
1246 .\"O mode and
1247 .\"O .Em checkout
1248 .\"O mode.
1249 ¤³¤ì¤é¤Ï
1250 .Em CVS
1251 ¥â¡¼¥É¤È
1252 .Em checkout
1253 ¥â¡¼¥É¤È¸Æ¤Ð¤ì¤ë¤â¤Î¤Ç¤¹¡£
1254 .Pp
1255 .\"O In CVS mode, the client receives copies of the actual RCS files making
1256 .\"O up the master CVS repository.  CVS mode is the default mode of operation.
1257 CVS ¥â¡¼¥É¤Ç¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Ï¥Þ¥¹¥¿¡¼¤Î CVS ¥ê¥Ý¥¸¥È¥ê¤ò¹½À®¤·¤Æ¤¤¤ë
1258 ¼ÂºÝ¤Î RCS ¥Õ¥¡¥¤¥ë¤Î¥³¥Ô¡¼¤ò¼õ¿®¤·¤Þ¤¹¡£CVS ¥â¡¼¥É¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÆ°ºî
1259 ¥â¡¼¥É¤Ç¤¹¡£
1260 .\"O It is appropriate when the user wishes to maintain a full copy of the
1261 .\"O CVS repository on the client machine.
1262 ¤³¤Î¥â¡¼¥É¤Ï¡¢CVS ¥ê¥Ý¥¸¥È¥ê¤Î´°Á´¤Ê¥³¥Ô¡¼¤ò¥¯¥é¥¤¥¢¥ó¥È¥Þ¥·¥ó¾å¤Ç¥á¥ó
1263 ¥Æ¥Ê¥ó¥¹¤·¤è¤¦¤È¥æ¡¼¥¶¤¬¹Í¤¨¤Æ¤¤¤ë¾ì¹ç¤Ë¤ÏŬ¤·¤Æ¤¤¤Þ¤¹¡£
1264 .Pp
1265 .\"O CVS mode is also appropriate for file collections which are not
1266 .\"O based upon a CVS repository.  The files are simply transferred
1267 .\"O verbatim, without interpretation.
1268 CVS ¥â¡¼¥É¤Ï¡¢CVS ¥ê¥Ý¥¸¥È¥ê¥Ù¡¼¥¹¤Ç¤Ê¤¤¥Õ¥¡¥¤¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó¤ËÂФ·¤Æ
1269 ¤â¤¦¤Þ¤¯»È¤¨¤Þ¤¹¡£¤³¤Î¾ì¹ç¤Ë¤Ï¥Õ¥¡¥¤¥ë¤Ï²ò¼á¤µ¤ì¤ë¤³¤È¤Ê¤¯¡¢Ã±¤Ë¤½¤Î¤Þ
1270 ¤ÞžÁ÷¤µ¤ì¤Þ¤¹¡£
1271 .\"O .Sh CHECKOUT MODE
1272 .Sh checkout ¥â¡¼¥É
1273 .\"O In checkout mode, the client receives specific revisions of files,
1274 .\"O checked out directly from the server's CVS repository.
1275 checkout ¥â¡¼¥É¤Ç¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤ÏÆÃÄê¤Î¥ê¥Ó¥¸¥ç¥ó¤Î¥Õ¥¡¥¤¥ë¤ò¼õ¿®¤·
1276 ¤Þ¤¹¡£¤³¤ì¤Ï¥µ¡¼¥Ð¤Î CVS ¥ê¥Ý¥¸¥È¥ê¤«¤éľÀÜ¥Á¥§¥Ã¥¯¥¢¥¦¥È¤µ¤ì¤Þ¤¹¡£
1277 .\"O Checkout mode allows the client to receive any version from the
1278 .\"O repository, without requiring any extra disk space on the server for
1279 .\"O storing multiple versions in checked-out form.
1280 checkout ¥â¡¼¥É¤ò»È¤¦¤È¡¢¥¯¥é¥¤¥¢¥ó¥È¤ÏǤ°Õ¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¥ê¥Ý¥¸¥È¥ê¤«
1281 ¤é¼èÆÀ¤Ç¤­¤Þ¤¹¡£¤³¤ÎºÝ¡¢¥Á¥§¥Ã¥¯¥¢¥¦¥È¤µ¤ì¤ë»þ¤Î·Á¤ÇÊ£¿ô¸Ä¤Î¥Ð¡¼¥¸¥ç¥ó
1282 ¤ò¥µ¡¼¥Ð¾å¤Ë»ý¤ÄɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
1283 .\"O Checkout mode provides much flexibility beyond that basic functionality,
1284 .\"O however.
1285 ¤·¤«¤·¡¢checkout ¥â¡¼¥É¤Ç¤Ï¡¢¤½¤Î´ðËܵ¡Ç½¤è¤ê¤â¤º¤Ã¤È½ÀÆð¤ËÆ°ºî¤µ¤»¤ë
1286 ¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1287 ¤¤¤Þ¤¹¡£
1288 .\"O The client can specify any CVS symbolic tag, or any date, or both, and
1289 .\"O .Nm CVSup
1290 .\"O will provide the corresponding checked-out versions of the files in the
1291 .\"O repository.
1292 ¥¯¥é¥¤¥¢¥ó¥È¤Ï CVS ¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¥¿¥°¤ò»ØÄê¤Ç¤­¤Þ¤¹¤·¡¢Ç¤°Õ¤ÎÆüÉդλØ
1293 Äê¤â¤Ç¤­¤Þ¤¹¡£Î¾Êý¤ò»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£¤Þ¤¿
1294 .Nm CVSup
1295 ¤Ï¡¢¤³¤Î»ØÄê¤ËÂбþ¤¹¤ë¥Õ¥¡¥¤¥ë¤ò¥ê¥Ý¥¸¥È¥êÆ⤫¤é¥Á¥§¥Ã¥¯¥¢¥¦¥È·Á¼°¤Ç¼è
1296 ¤ê½Ð¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1297 .Pp
1298 .\"O Checkout mode is selected on a per-collection basis, by the presence of
1299 .\"O one or both of the following keywords in the
1300 .\"O .Ar supfile :
1301 checkout ¥â¡¼¥É¤Ï¥³¥ì¥¯¥·¥ç¥óÊ̤˻ØÄꤷ¤Þ¤¹¡£»ØÄê¤Ï¡¢
1302 .Ar supfile
1303 Æâ¤Ë°Ê²¼¤Î¥­¡¼¥ï¡¼¥É¤Î°ì¤Ä¤¢¤ë¤¤¤ÏξÊý¤ò´Þ¤á¤ë¤³¤È¤Ë¤è¤Ã¤Æ¹Ô¤¤¤Þ¤¹:
1304 .Bl -tag -width Fl
1305 .It Cm tag= Ns Ar tagname
1306 .\"O This specifies a symbolic tag that should be used to select the
1307 .\"O revisions that are checked out from the CVS repository.
1308 ¥·¥ó¥Ü¥ê¥Ã¥¯¥¿¥°¤ò»ØÄꤷ¤Þ¤¹¡£¤³¤Î¥¿¥°¤Ï¡¢CVS ¥ê¥Ý¥¸¥È¥ê¤«¤é¼è¤ê½Ð¤¹¥ê
1309 ¥Ó¥¸¥ç¥ó¤òÁªÂò¤¹¤ë¤¿¤á¤Ë»È¤ï¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1310 .\"O The tag may refer to either a branch or a specific revision.
1311 ¤³¤Î¥¿¥°¤Ï¥Ö¥é¥ó¥Á¤Þ¤¿¤ÏÆÃÄê¤Î¥ê¥Ó¥¸¥ç¥ó¤ò¼¨¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1312 .\"O It must be symbolic; numeric revision numbers are not supported.
1313 ¥¿¥°¤Ï¥·¥ó¥Ü¥ê¥Ã¥¯¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£¤Ä¤Þ¤ê¡¢¿ôÃͤΥê¥Ó¥¸¥ç¥óÈÖ¹æ¤Ï
1314 ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
1315 .Pp
1316 .\"O For the FreeBSD source repository, the most commonly used tags will be:
1317 FreeBSD ¤Î¥½¡¼¥¹¥ê¥Ý¥¸¥È¥ê¤Î¾ì¹ç¤Ï¡¢°Ê²¼¤Î¥¿¥°¤¬¤è¤¯»È¤ï¤ì¤Þ¤¹:
1318 .Bl -tag -width RELENG_3
1319 .It Li RELENG_3
1320 .\"O The
1321 .\"O .Ql stable
1322 .\"O branch.
1323 .Ql stable
1324 ¥Ö¥é¥ó¥Á¡£
1325 .It Li \&.
1326 .\"O The main branch (the
1327 .\"O .Ql current
1328 .\"O release).
1329 ¥á¥¤¥ó¥Ö¥é¥ó¥Á(
1330 .Ql current
1331 ¥ê¥ê¡¼¥¹)¡£
1332 .\"O This is the default, if only the
1333 .\"O .Cm date
1334 .\"O keyword is given.
1335 .Cm date
1336 ¥­¡¼¥ï¡¼¥É¤À¤±¤¬»ØÄꤵ¤ì¤ë¤È¡¢¤³¤Á¤é¤¬¥Ç¥Õ¥©¥ë¥È¤Ç¤¹¡£
1337 .El
1338 .Sm off
1339 .It Xo Cm date=
1340 .Op Ar cc
1341 .Ar yy.mm.dd.hh.mm.ss
1342 .Xc
1343 .Sm on
1344 .\"O This specifies a date that should be used to select the revisions that
1345 .\"O are checked out from the CVS repository.
1346 ¤³¤ì¤Ï¡¢CVS ¥ê¥Ý¥¸¥È¥ê¤«¤é¥Á¥§¥Ã¥¯¥¢¥¦¥È¤¹¤ë¥ê¥Ó¥¸¥ç¥ó¤ÎÁªÂò¤Ë»È¤¦ÆüÉÕ
1347 ¤ò»ØÄꤷ¤Þ¤¹¡£
1348 .\"O The client will receive the revisions that were in effect at the
1349 .\"O specified date and time.
1350 ¥¯¥é¥¤¥¢¥ó¥È¤Ï¼ÂºÝ¤Ë¤Ï¡¢»ØÄꤵ¤ì¤¿ÆüÉդȻþ¹ï¤Î¥ê¥Ó¥¸¥ç¥ó¤ò¼õ¤±¼è¤ê¤Þ¤¹¡£
1351 .Pp
1352 .\"O At present, the date format is inflexible.  All 17 or 19 characters must
1353 .\"O be specified, exactly as shown.
1354 ¸½»þÅÀ¤Ç¤Ï¡¢ÆüÉդΥե©¡¼¥Þ¥Ã¥È¤Ï½ÀÆð¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£17 Ê¸»ú¤¢¤ë¤¤¤Ï 19 
1355 ʸ»ú¤ÎÁ´¤Æ¤ò¡¢ÀâÌÀ¤·¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤ÇÀµ³Î¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1356 .\"O For the years 2000 and beyond, specify the century
1357 .\"O .Ar cc .
1358 2000 Ç¯°Ê¹ß¤Î¾ì¹ç¤Ï¡¢À¤µª¤ò
1359 .Ar cc
1360 ¤Ç»ØÄꤷ¤Þ¤¹¡£
1361 .\"O For earlier years, specify only the last two digits
1362 .\"O .Ar yy .
1363 ¤³¤ì¤è¤êÁ°¤Îǯ¤Î¾ì¹ç¤Ï¡¢ºÇ¸å¤Î 2 ·å¤À¤±¤ò
1364 .Ar yy
1365 ¤Ç»ØÄꤷ¤Þ¤¹¡£
1366 .\"O Dates and times are considered to
1367 .\"O be GMT.
1368 ÆüÉդȻþ¹ï¤Ï GMT ¤Ç°·¤¤¤Þ¤¹¡£
1369 .\"O The default date is
1370 .\"O .Ql \&. ,
1371 .\"O which means
1372 .\"O .Dq as late as possible .
1373 ¥Ç¥Õ¥©¥ë¥È¤ÎÆüÉÕ¤Ï
1374 .Ql \&.
1375 ¤Ç¤¹¡£¤³¤ì¤Ï
1376 .Dq ¤Ç¤­¤ë¤À¤±¿·¤·¤¤¤â¤Î
1377 ¤È¤¤¤¦°ÕÌ£¤Ç¤¹¡£
1378 .El
1379 .Pp
1380 .\"O To enable checkout mode, you must specify at least one of these keywords.
1381 checkout ¥â¡¼¥É¤òÍ­¸ú¤Ë¤¹¤ë¤¿¤á¤Ë¤Ï¡¢¾¯¤Ê¤¯¤È¤â¤³¤ì¤é¤Î¥­¡¼¥ï¡¼¥É¤Î
1382 ¤¤¤º¤ì¤«¤ò»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1383 .\"O If both are missing,
1384 .\"O .Nm CVSup
1385 .\"O defaults to CVS mode.
1386 ¤É¤Á¤é¤â»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢
1387 .Nm CVSup
1388 ¤Ï¥Ç¥Õ¥©¥ë¥È¤Î CVS ¥â¡¼¥É¤ÇÆ°ºî¤·¤Þ¤¹¡£
1389 .Pp
1390 .\"O If both a branch tag and a date are specified, then the revisions on the
1391 .\"O given branch, as of the given date, will be checked out.  It is
1392 .\"O permitted, but not particularly useful, to specify a date with a
1393 .\"O specific release tag.
1394 ¥Ö¥é¥ó¥Á¥¿¥°¤ÈÆüÉÕ¤¬Î¾Êý¤È¤â»ØÄꤵ¤ì¤ë¤È¡¢»ØÄꤵ¤ì¤¿¥Ö¥é¥ó¥Á¾å¤Î
1395 »ØÄꤵ¤ì¤¿ÆüÉդλþÅÀ¤Î¥ê¥Ó¥¸¥ç¥ó¤¬¥Á¥§¥Ã¥¯¥¢¥¦¥È¤µ¤ì¤Þ¤¹¡£
1396 ÆüÉÕ¤òÆÃÄê¤Î¥ê¥ê¡¼¥¹¥¿¥°¤ËÉÕ¤±¤Æ»ØÄꤹ¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¤¬¡¢¤¢¤Þ¤êÌò¤Ë¤Ï
1397 Ω¤¿¤Ê¤¤¤Ç¤·¤ç¤¦¡£
1398 .Pp
1399 .\"O In checkout mode, the tag and/or date may be changed between updates.
1400 checkout ¥â¡¼¥É¤Ç¤Ï¡¢¥¿¥°¤äÆüÉÕ¤ò¹¹¿·¤È¹¹¿·¤Î´Ö¤ËÊѤ¨¤é¤ì¤Þ¤¹¡£
1401 .\"O For example, suppose that a collection has been transferred using the
1402 .\"O specification
1403 .\"O .Ql tag=. .
1404 Î㤨¤Ð¡¢
1405 .Ql tag=.
1406 ¤È¤¤¤¦»ØÄê¤ò»È¤Ã¤Æ¥³¥ì¥¯¥·¥ç¥ó¤¬Å¾Á÷¤µ¤ì¤¿¤È¤·¤Þ¤·¤ç¤¦¡£
1407 .\"O The user could later change the specification to
1408 .\"O .Ql tag=RELENG_3 .
1409 ¥æ¡¼¥¶¤Ï¸å¤«¤é»ØÄê¤ò
1410 .Ql tag=RELENG_3
1411 ¤ËÊѤ¨¤é¤ì¤Þ¤¹¡£
1412 .\"O This would cause
1413 .\"O .Nm CVSup
1414 .\"O to edit the checked-out files in such a way as to transform them from the
1415 .\"O .Ql current
1416 .\"O versions to the
1417 .\"O .Ql stable
1418 .\"O versions.
1419 ¤³¤ì¤ò»ØÄꤹ¤ë¤È¡¢
1420 .Nm CVSup
1421 ¤Ï¥Á¥§¥Ã¥¯¥¢¥¦¥È¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤òÊÔ½¸¤·¡¢
1422 .Ql current
1423 ¥Ð¡¼¥¸¥ç¥ó¤¬
1424 .Ql stable
1425 ¥Ð¡¼¥¸¥ç¥ó¤Ë¤Ê¤ë¤è¤¦¤Ë¤·¤Þ¤¹¡£
1426 .\"O In general,
1427 .\"O .Nm CVSup
1428 .\"O is willing to transform any tag/date combination into any other tag/date
1429 .\"O combination, by applying the intervening RCS deltas to the existing files.
1430 °ìÈÌŪ¤Ë¤Ï¡¢
1431 .Nm CVSup
1432 ¤Ï¤É¤ó¤Ê¥¿¥°/ÆüÉÕ¤ÎÁȹ礻¤Ç¤¢¤Ã¤Æ¤â¡¢Â¾¤Î¥¿¥°/ÆüÉÕ¤ÎÁȹ礻¤ËÊÑ´¹¤·¤Æ¤¯
1433 ¤ì¤Þ¤¹¡£ÊÑ´¹¤Ï¡¢Î¾¼Ô¤Î´Ö¤Ë¤¢¤ë RCS ¤Îº¹Ê¬¤ò´û¸¤Î¥Õ¥¡¥¤¥ë¤ËŬÍѤ¹¤ë¤³
1434 ¤È¤Ë¤è¤Ã¤Æ¹Ô¤¤¤Þ¤¹¡£
1435 .Pp
1436 .\"O When transforming a collection of checked-out files from one tag to
1437 .\"O another, it is important to specify the
1438 .\"O .Cm list
1439 .\"O keyword in the
1440 .\"O .Ar supfile ,
1441 .\"O to ensure that the same list file is used both before and after the
1442 .\"O transformation.
1443 ¥Á¥§¥Ã¥¯¥¢¥¦¥È¤µ¤ì¤¿¥Õ¥¡¥¤¥ë¤Î¥³¥ì¥¯¥·¥ç¥ó¤ò¡¢¤¢¤ë¥¿¥°¤«¤éÊ̤Υ¿¥°¤Ë
1444 ÊÑ´¹¤¹¤ë¤È¤­¤Ë¤Ï¡¢ÊÑ´¹¤ÎÁ°¸å¤Çɬ¤ºÆ±¤¸¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤¬»È¤ï¤ì¤ë¤è¤¦¤Ë¤¹
1445 ¤ë¤¿¤á¡¢
1446 .Ar supfile
1447 ¥Õ¥¡¥¤¥ëÃæ¤Ç
1448 .Cm list
1449 ¥­¡¼¥ï¡¼¥É¤ò»ØÄꤹ¤ë¤³¤È¤¬½ÅÍפǤ¹¡£
1450 .\"O The list file is described in
1451 .\"O .Sx THE LIST FILE ,
1452 .\"O below.
1453 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Ï¼¡¤Î
1454 .Sx ¥ê¥¹¥È¥Õ¥¡¥¤¥ë
1455 ¤ÎÀá¤ÇÀâÌÀ¤·¤Þ¤¹¡£
1456 .\"O .Sh THE LIST FILE
1457 .SH ¥ê¥¹¥È¥Õ¥¡¥¤¥ë
1458 .\"O For efficiency,
1459 .\"O .Nm
1460 .\"O maintains a bookkeeping file for each collection, called the list file.
1461 ¸úΨ¤Î¤¿¤á¡¢
1462 .Nm
1463 ¤Ï³Æ¥³¥ì¥¯¥·¥ç¥ó¤Ë¤Ä¤¤¤Æ¤Îµ­Ï¿¥Õ¥¡¥¤¥ë¤ò´ÉÍý¤·¤Æ¤¤¤Þ¤¹¡£
1464 ¤³¤ì¤ò¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤È¸Æ¤Ó¤Þ¤¹¡£
1465 .\"O The list file contains information about which files and revisions the client
1466 .\"O currently possesses.
1467 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¸½ºß»ý¤Ã¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤È¥ê¥Ó¥¸¥ç¥ó¤Ë
1468 ´Ø¤¹¤ë¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£
1469 .\"O It also contains information used for verifying that the list file
1470 .\"O is consistent with the actual files in the client's tree.
1471 ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ä¥ê¡¼¤ËÆþ¤Ã¤Æ¤¤¤ë¼ÂºÝ¤Î¥Õ¥¡¥¤¥ë¤È
1472 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤¬°ìÃפ·¤Æ¤¤¤ë¤³¤È¤ò³Îǧ¤¹¤ë¤¿¤á¤Î¾ðÊó¤â½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£
1473 .Pp
1474 .\"O The list file is not strictly necessary.  If it is deleted, or becomes
1475 .\"O inconsistent with the actual client files,
1476 .\"O .Nm
1477 .\"O falls back upon a less efficient method of identifying the client's
1478 .\"O files and performing its updates.
1479 ¸·Ì©¤Ë¸À¤¦¤È¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤ÏɬÍפǤϤ¢¤ê¤Þ¤»¤ó¡£¤³¤Î¥Õ¥¡¥¤¥ë¤¬ºï½ü¤µ¤ì
1480 ¤ë¤«¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬»ý¤Ã¤Æ¤¤¤ë¼ÂºÝ¤Î¥Õ¥¡¥¤¥ë¤È¤ÎÉÔ°ìÃפ¬µ¯¤³¤ë¤È¡¢
1481 .Nm
1482 ¤ÏºÇ¸å¤Î¼êÃʤȤ·¤Æ¾¯¤·¸úΨ¤Î°­¤¤ÊýË¡¤Ç¥¯¥é¥¤¥¢¥ó¥È¦¤Î¥Õ¥¡¥¤¥ë¤Î¼±Ê̤È
1483 ¹¹¿·¤ò¹Ô¤¤¤Þ¤¹¡£
1484 .\"O Depending on
1485 .\"O .Nm CVSup Ns No 's
1486 .\"O mode of operation, the fallback method employs time stamps, checksums, or
1487 .\"O analysis of RCS files.
1488 ¤³¤ÎºÝ¤Ë¤Ï¡¢
1489 .Nm CVSup
1490 ¤ÎÆ°ºî¥â¡¼¥É¤Ë¤è¤Ã¤Æ¡¢¥¿¥¤¥à¥¹¥¿¥ó¥×¡¢¥Á¥§¥Ã¥¯¥µ¥à¡¢RCS ¥Õ¥¡¥¤¥ë¤Î
1491 ²òÀÏ·ë²Ì¤Ê¤É¤¬»È¤ï¤ì¤Þ¤¹¡£
1492 .Pp
1493 .\"O Because the list file is not essential,
1494 .\"O .Nm
1495 .\"O is able to
1496 .\"O .Dq adopt
1497 .\"O an existing file tree acquired by FTP or from a CD-ROM.
1498 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤ÏÉԲķç¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢
1499 .Nm
1500 ¤Ï FTP ¤ä CD-ROM ¤«¤éÆþ¼ê¤·¤¿´û¸¤Î¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤ò¡ÖÍøÍѡפǤ­¤Þ¤¹¡£
1501 .\"O .Nm
1502 .\"O identifies the client's versions of the files, updates them as
1503 .\"O necessary, and creates a list file for future use.
1504 .Nm
1505 ¤Ï¥¯¥é¥¤¥¢¥ó¥È¦¤Î¥Õ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó¤ò¼±Ê̤·¡¢É¬Íפ˱þ¤¸¤Æ¤³¤ì¤ò¹¹¿·
1506 ¤·¤Þ¤¹¡£¤µ¤é¤Ë¡¢¾­Íè»È¤¦¤¿¤á¤Ë¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤òÀ¸À®¤·¤Þ¤¹¡£
1507 .\"O Adopting a foreign file tree is not as fast as performing a normal
1508 .\"O update.
1509 ¾¤Î¥·¥¹¥Æ¥à¤¬ºî¤Ã¤¿¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤ò»È¤¦¾ì¹ç¤ÎÆ°ºî¤Ï¡¢Ä̾ï¤Î¹¹¿·¤Û¤É
1510 ¹â®¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1511 .\"O It also produces a heavier load on the server.
1512 ¤Þ¤¿¡¢¥µ¡¼¥Ð¤Ë¤«¤«¤ëÉé²Ù¤â¹â¤¯¤Ê¤ê¤Þ¤¹¡£
1513 .\"O .Pp
1514 .\"O The list file is stored in a collection-specific directory; see
1515 .\"O .Sx FILES
1516 .\"O for details.
1517 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Ï¥³¥ì¥¯¥·¥ç¥ó¸ÇÍ­¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËÊݸ¤µ¤ì¤Þ¤¹¡£¾Ü¤·¤¯¤Ï
1518 .Sx ¥Õ¥¡¥¤¥ë
1519 ¥»¥¯¥·¥ç¥ó¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
1520 .\"O Its name always begins with
1521 .\"O .Ql checkouts .
1522 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ïɬ¤º
1523 .Ql checkouts
1524 ¤Ç»Ï¤Þ¤ê¤Þ¤¹¡£
1525 .\"O If the keyword
1526 .\"O .Cm use-rel-suffix
1527 .\"O is specified in the
1528 .\"O .Ar supfile ,
1529 .\"O a suffix, formed from the release and tag, is appended to the name.
1530 .Ar supfile
1531 Æâ¤Ç¥­¡¼¥ï¡¼¥É
1532 .Cm use-rel-suffix
1533 ¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¡¢¥ê¥ê¡¼¥¹¤È¥¿¥°¤«¤éºî¤Ã¤¿¥µ¥Õ¥£¥Ã¥¯¥¹¤¬¥Õ¥¡¥¤¥ë̾¤Ë
1534 Äɲ䵤ì¤Þ¤¹¡£
1535 .\"O The default suffix can be overridden by specifying an explicit suffix in
1536 .\"O the
1537 .\"O .Ar supfile :
1538 ¥Ç¥Õ¥©¥ë¥È¤Î¥µ¥Õ¥£¥Ã¥¯¥¹¤Ï¡¢
1539 .Ar supfile 
1540 ¤ÇÌÀ¼¨Åª¤Ë¥µ¥Õ¥£¥Ã¥¯¥¹¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤ê¾å½ñ¤­¤µ¤ì¤Þ¤¹:
1541 .Bl -tag -width Fl
1542 .It Cm list= Ns Ar suffix
1543 .\"O This specifies a suffix for the name of the list file.  A leading dot is
1544 .\"O provided automatically.
1545 ¤³¤ì¤Ï¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤Î̾Á°¤ËÉÕ¤±¤ë¥µ¥Õ¥£¥Ã¥¯¥¹¤Î»ØÄê¤Ç¤¹¡£¥µ¥Õ¥£¥Ã¥¯¥¹
1546 ¤ÎÀèƬ¤Î¥É¥Ã¥È¤Ï¼«Æ°Åª¤ËÉÕ¤±¤é¤ì¤Þ¤¹¡£
1547 .\"O For example,
1548 .\"O .Ql list=stable
1549 .\"O would produce a list file named
1550 .\"O .Pa checkouts.stable ,
1551 .\"O regardless of the release, tag, or
1552 .\"O .Cm use-rel-suffix
1553 .\"O keyword.
1554 Î㤨¤Ð¡¢
1555 .Ql list=stable
1556 ¤È¤¹¤ë¤È¡¢
1557 .Pa checkouts.stable
1558 ¤È¤¤¤¦Ì¾Á°¤Î¥ê¥¹¥È¥Õ¥¡¥¤¥ë¤¬ºî¤é¤ì¤Þ¤¹¡£¤³¤Î¾ì¹ç¤Ë¤Ï¡¢¥ê¥ê¡¼¥¹¡¢¥¿¥°¡¢
1559 .Cm use-rel-suffix
1560 ¥­¡¼¥ï¡¼¥É¤Ï´Ø·¸¤¢¤ê¤Þ¤»¤ó¡£
1561 .El
1562 .\"O .Sh REFUSE FILES
1563 .Sh refuse ¥Õ¥¡¥¤¥ë
1564 .\"O The user can specify sets of files that he does not wish to receive.
1565 ¥æ¡¼¥¶¤Ï¼õ¤±¼è¤ê¤¿¤¯¤Ê¤¤¥Õ¥¡¥¤¥ë¤Î½¸¹ç¤ò»ØÄê¤Ç¤­¤Þ¤¹¡£
1566 .\"O The files are specified as file name patterns in so-called
1567 .\"O .Em refuse
1568 .\"O files.
1569 ¤³¤¦¤¤¤Ã¤¿¥Õ¥¡¥¤¥ë¤Ï¡¢¤¤¤ï¤æ¤ë
1570 .Em refuse
1571 ¥Õ¥¡¥¤¥ëÆâ¤Ç¥Õ¥¡¥¤¥ë̾¥Ñ¥¿¡¼¥ó¤È¤·¤Æ»ØÄꤵ¤ì¤Þ¤¹¡£
1572 .\"O The patterns are separated by whitespace, and multiple patterns are
1573 .\"O permitted on each line.
1574 ¥Ñ¥¿¡¼¥ó¤Ï¶õÇòʸ»ú¤Ç¶èÀÚ¤é¤ì¡¢³Æ¹Ô¤Ë¤ÏÊ£¿ô¸Ä¤Î¥Ñ¥¿¡¼¥ó¤òÃÖ¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
1575 .\"O Files and directories matching the patterns are neither updated nor
1576 .\"O deleted; they are simply ignored.
1577 ¥Ñ¥¿¡¼¥ó¤Ë¥Þ¥Ã¥Á¤¹¤ë¥Õ¥¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤Ï¡¢¹¹¿·¤âºï½ü¤â¤µ¤ì¤Þ¤»¤ó¡£
1578 ¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ïñ¤Ë̵»ë¤µ¤ì¤Þ¤¹¡£
1579 .Pp
1580 .\"O There is currently no provision for comments in refuse files.
1581 ¸½ºß¤Ï¡¢refuse ¥Õ¥¡¥¤¥ëÆâ¤Ë¥³¥á¥ó¥È¤Ë½ñ¤¯ÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1582 .Pp
1583 .\"O The patterns are similar to those of
1584 .\"O .Xr sh 1 ,
1585 .\"O except that there is no special treatment for slashes or for
1586 .\"O filenames that begin with a period.
1587 ¥Ñ¥¿¡¼¥ó¤Ï
1588 .Xr sh 1
1589 ¤Î¤½¤ì¤È»÷¤Æ¤¤¤Þ¤¹¤¬¡¢¥¹¥é¥Ã¥·¥å¤ÎÆÃÊÌ°·¤¤¤ä¡¢¥Ô¥ê¥ª¥É¤Ç»Ï¤Þ¤ë¥Õ¥¡¥¤¥ë
1590 ¤ÎÆÃÊÌ°·¤¤¤¬¤Ê¤¤ÅÀ¤¬°Û¤Ê¤ê¤Þ¤¹¡£
1591 .\"O For example, the pattern
1592 .\"O .Ql *.c
1593 .\"O will match any file name ending with
1594 .\"O .Ql \&.c
1595 .\"O including those in subdirectories, such as
1596 .\"O .Ql foo/bar/lam.c .
1597 Î㤨¤Ð¡¢¥Ñ¥¿¡¼¥ó
1598 .Ql *.c
1599 ¤Ï
1600 .Ql \&.c
1601 ¤Ç½ª¤ï¤ëÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£¤³¤ì¤Ë¤Ï
1602 .Ql foo/bar/lam.c
1603 ¤È¤¤¤Ã¤¿¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥êÆâ¤Î¥Õ¥¡¥¤¥ë¤â´Þ¤Þ¤ì¤Þ¤¹¡£
1604 .\"O All patterns are interpreted relative to the collection's prefix
1605 .\"O directory.
1606 Á´¤Æ¤Î¥Ñ¥¿¡¼¥ó¤Ï¥³¥ì¥¯¥·¥ç¥ó¤Î¥×¥ì¥Õ¥£¥Ã¥¯¥¹¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¤ÎÁêÂХѥ¹
1607 ¤È¤·¤Æ²ò¼á¤µ¤ì¤Þ¤¹¡£
1608 .Pp
1609 .\"O If the files are coming from a CVS repository, as is usually
1610 .\"O the case, then they will be RCS files. These have a
1611 .\"O .Ql \&,v
1612 .\"O suffix which must be taken into account in the patterns. For
1613 .\"O example, the FreeBSD documentation files are in a sub-directory of
1614 .\"O .Ar base
1615 .\"O called
1616 .\"O .Ql doc .
1617 ¤³¤ì¤é¥Õ¥¡¥¤¥ë¤¬ CVS ¥ê¥Ý¥¸¥È¥ê¤«¤éÆÀ¤¿¤â¤Î¤Ê¤é¤Ð¡½¡½ÉáÄ̤Ϥ½¤¦¤Ê¤Î¤Ç¤¹
1618 ¤¬¡½¡½¤³¤ì¤é¤Ï RCS ¥Õ¥¡¥¤¥ë¤È¤Ê¤ê¤Þ¤¹¡£¤³¤ì¤é¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢
1619 .Ql \&,v
1620 ¤È¤¤¤¦¥µ¥Õ¥£¥Ã¥¯¥¹¤¬ÉÕ¤­¤Þ¤¹¡£¥Ñ¥¿¡¼¥ó¤Ë¤Ä¤¤¤Æ¤Ï¥µ¥Õ¥£¥Ã¥¯¥¹¤â¹Íθ¤ËÆþ
1621 ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£Î㤨¤Ð¡¢FreeBSD ¤Îʸ½ñ¥Õ¥¡¥¤¥ë¤Ï
1622 .Ql doc
1623 ¤È¤¤¤¦
1624 .Ar base
1625 ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¤ËÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£
1626 .\"O If
1627 .\"O .Ql Makefile
1628 .\"O from that directory is not required then the line
1629 .\"O .Pp 
1630 .\"O .Bl -item -compact -offset indent
1631 .\"O .It 
1632 .\"O .Pa doc/Makefile
1633 .\"O .El
1634 .\"O .Pp
1635 .\"O will not work because the file on the server is called
1636 .\"O .Ql Makefile,v.
1637 ¤½¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë
1638 .Ql Makefile
1639 ¤¬ÉÔÍפʾì¹ç¤Ë
1640 .Pp 
1641 .Bl -item -compact -offset indent
1642 .It 
1643 .Pa doc/Makefile
1644 .El
1645 .Pp
1646 ¤È»ØÄꤷ¤Æ¤â¤¦¤Þ¤¯Æ°ºî¤·¤Þ¤»¤ó¡£¤Ê¤¼¤Ê¤é¡¢¥µ¡¼¥Ð¾å¤Ë¤¢¤ë¥Õ¥¡¥¤¥ë¤Ï
1647 .Ql Makefile,v
1648 ¤À¤«¤é¤Ç¤¹¡£
1649 .\"O A better solution would be
1650 .\"O .Pp
1651 .\"O .Bl -item -compact -offset indent
1652 .\"O .It
1653 .\"O .Pa doc/Makefile*
1654 .\"O .El 
1655 .\"O .Pp 
1656 .\"O which will match whether
1657 .\"O .Ql Makefile
1658 .\"O is an RCS file or not.
1659 ¤â¤Ã¤È¤è¤¤²ò·èÊýË¡¤Ï¡¢
1660 .Pp
1661 .Bl -item -compact -offset indent
1662 .It
1663 .Pa doc/Makefile*
1664 .El 
1665 .Pp 
1666 ¤È»ØÄꤹ¤ë¤³¤È¤Ç¤¹¡£¤³¤Î»ØÄê¤Ç¤¢¤ì¤Ð¡¢
1667 .Ql Makefile
1668 ¤¬ RCS ¥Õ¥¡¥¤¥ë¤Ç¤¢¤í¤¦¤È¤Ê¤«¤í¤¦¤È¥Þ¥Ã¥Á¤·¤Þ¤¹¡£
1669 .Pp
1670 .\"O As another example, to receive the FreeBSD documentation files without
1671 .\"O the Japanese, Russian, and Chinese translations, create a refuse file
1672 .\"O containing the following lines:
1673 Ê̤ÎÎã¤È¤·¤Æ¤Ï¡¢ÆüËܸ졢¥í¥·¥¢¸ì¡¢Ãæ¹ñ¸ì¤ÎËÝÌõ¤òÈò¤±¤Æ FreeBSD Ê¸½ñ
1674 ¥Õ¥¡¥¤¥ë¤ò¼èÆÀ¤¹¤ë¤Ë¤Ï¡¢°Ê²¼¤Î¹Ô¤ò´Þ¤à refuse ¥Õ¥¡¥¤¥ë¤òºî¤ê¤Þ¤¹:
1675 .Pp
1676 .Bl -item -compact -offset indent
1677 .It
1678 .Pa doc/ja*
1679 .It
1680 .Pa doc/ru*
1681 .It
1682 .Pa doc/zh*
1683 .El 
1684 .Pp
1685 .\"O As many as three refuse files are examined for each
1686 .\"O .Ar supfile
1687 .\"O line.
1688 ¤½¤ì¤¾¤ì¤Î
1689 .Ar supfile
1690 ¹Ô¤Ï¡¢3 ¤Ä¤Î refuse ¥Õ¥¡¥¤¥ë¤Ë¤è¤Ã¤ÆÄ´¤Ù¤é¤ì¤Þ¤¹¡£
1691 .\"O There can be a global refuse file named
1692 .\"O .Sm off
1693 .\"O .Ar base / Ar collDir Pa /refuse
1694 .\"O .Sm on
1695 .\"O which applies to all collections and releases.
1696 Âç°èŪ¤Ê refuse ¥Õ¥¡¥¤¥ë¤È¤·¤Æ
1697 .Sm off
1698 .Ar base / Ar collDir Pa /refuse
1699 .Sm on
1700 ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤ÏÁ´¤Æ¤Î¥³¥ì¥¯¥·¥ç¥ó¤È¥ê¥ê¡¼¥¹¤ËŬÍѤµ¤ì¤Þ¤¹¡£
1701 .\"O There can be a per-collection refuse file named
1702 .\"O .Sm off
1703 .\"O .Xo Ar base / Ar collDir / Ar collection
1704 .\"O .Pa /refuse
1705 .\"O .Xc
1706 .\"O .Sm on
1707 .\"O which applies to a specific collection.
1708 ¥³¥ì¥¯¥·¥ç¥óÊ̤Πrefuse ¥Õ¥¡¥¤¥ë¤È¤·¤Æ
1709 .Sm off
1710 .Xo Ar base / Ar collDir / Ar collection
1711 .Pa /refuse
1712 .Xc
1713 .Sm on
1714 ¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤ÏÆÃÄê¤Î¥³¥ì¥¯¥·¥ç¥ó¤ËŬÍѤµ¤ì¤Þ¤¹¡£
1715 .\"O Finally, there can be a per-release and tag refuse file which applies only
1716 .\"O to a given release/tag combination within a collection.
1717 ºÇ¸å¤Ë¡¢¥ê¥ê¡¼¥¹¤È¥¿¥°Ê̤Πrefuse ¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤Ï¡¢
1718 ¥³¥ì¥¯¥·¥ç¥óÆâ¤Î»ØÄꤵ¤ì¤¿¥ê¥ê¡¼¥¹/¥¿¥°¤ÎÁȤ߹ç¤ï¤»¤ËÂФ·¤Æ¤Î¤ßŬÍѤµ
1719 ¤ì¤Þ¤¹¡£
1720 .\"O The name of the latter is formed by suffixing the name of the
1721 .\"O per-collection refuse file in the same manner as described above for the
1722 .\"O list file.
1723 ºÇ¸å¤Î refuse ¥Õ¥¡¥¤¥ë¤Î̾Á°¤Ï¡¢¥³¥ì¥¯¥·¥ç¥óÊ̤Πrefuse ¥Õ¥¡¥¤¥ë¤Î̾
1724 Á°¤Ë¥µ¥Õ¥£¥Ã¥¯¥¹¤ò²Ã¤¨¤ë¤³¤È¤Ë¤è¤Ã¤ÆÉÕ¤±¤é¤ì¤Þ¤¹¡£¤³¤ì¤ÏÀè¤ËÀâÌÀ¤·¤¿¥ê
1725 ¥¹¥È¥Õ¥¡¥¤¥ë¤ÈƱ¤¸ÊýË¡¤Ç¤¹¡£
1726 .\"O None of the refuse files are required to exist.
1727 ¤É¤ó¤Ê¼ïÎà¤Î refuse ¥Õ¥¡¥¤¥ë¤â¸ºß¤·¤Ê¤¯¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
1728 .Pp
1729 .\"O .Nm
1730 .\"O has a built-in default value of
1731 .\"O .Ar /usr/local/etc/cvsup
1732 .\"O for
1733 .\"O .Ar base
1734 .\"O and
1735 .\"O .Ar sup
1736 .\"O for 
1737 .\"O .Ar collDir
1738 .\"O but it is possible to override both of these. The value of
1739 .\"O .Ar base
1740 .\"O can be changed using the
1741 .\"O .Fl b
1742 .\"O option or a
1743 .\"O .Ar base=pathname
1744 .\"O entry in the
1745 .\"O .Ar supfile .
1746 .Nm
1747 ¤Ï¡¢
1748 .Ar collDir
1749 ¤ËÂФ¹¤ë
1750 .Ar base
1751 ¤È
1752 .Ar sup
1753 ¤ÎÁȤ߹þ¤ß¤Î¥Ç¥Õ¥©¥ë¥ÈÃͤò
1754 .Ar /usr/local/etc/cvsup
1755 ¤Ë»ý¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤É¤Á¤é¤ÎÃͤâ¾å½ñ¤­²Äǽ¤Ç¤¹¡£
1756 .Ar base
1757 ¤ÎÃͤÏ
1758 .Fl b
1759 ¥ª¥×¥·¥ç¥ó¤Þ¤¿¤Ï
1760 .Ar supfile
1761 ¥Õ¥¡¥¤¥ëÃæ¤Î
1762 .Ar base=pathname
1763 ¥¨¥ó¥È¥ê¤ÇÊѹ¹¤Ç¤­¤Þ¤¹¡£
1764 .\"O (If both are used the 
1765 .\"O .Fl b
1766 .\"O option will override the
1767 .\"O .Ar supfile
1768 .\"O entry.)  The value of 
1769 .\"O .Ar collDir
1770 .\"O can only be changed with the
1771 .\"O .Fl c
1772 .\"O option; there is no
1773 .\"O .Ar supfile
1774 .\"O command to change it.
1775 (ξÊý»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢
1776 .Fl b
1777 ¥ª¥×¥·¥ç¥ó¤ÎÊý¤¬
1778 .Ar supfile
1779 ¤Î¥¨¥ó¥È¥ê¤è¤ê¤âÍ¥À褵¤ì¤Þ¤¹¡£)
1780 .Ar collDir
1781 ¤ÎÃͤÏ
1782 .Fl c
1783 ¥ª¥×¥·¥ç¥ó¤Ç¤·¤«Êѹ¹¤Ç¤­¤Þ¤»¤ó¡£¤³¤ì¤òÊѹ¹¤¹¤ë
1784 .Ar supfile
1785 ¥³¥Þ¥ó¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1786 .Pp
1787 .\"O As an example, suppose that the
1788 .\"O .Ar base
1789 .\"O and
1790 .\"O .Ar collDir
1791 .\"O both have their default values, and that the collection and release are
1792 .\"O .Ql src-all
1793 .\"O and
1794 .\"O .Ql cvs ,
1795 .\"O respectively.
1796 Î㤨¤Ð¡¢
1797 .Ar base
1798 ¤È
1799 .Ar collDir
1800 ¤ÎξÊý¤Ë¥Ç¥Õ¥©¥ë¥ÈÃͤ¬ÀßÄꤵ¤ì¤Æ¤ª¤ê¡¢¥³¥ì¥¯¥·¥ç¥ó¤¬
1801 .Ql src-all
1802 ¤Ç¥ê¥ê¡¼¥¹¤¬
1803 .Ql cvs
1804 ¤Ç¤¢¤ë¾ì¹ç¤ò¹Í¤¨¤Þ¤¹¡£
1805 .\"O Assume further that checkout mode is being used with
1806 .\"O .Ql tag=RELENG_3 .
1807 ¤µ¤é¤Ë¡¢
1808 .Ql tag=RELENG_3
1809 ¤ËÂФ·¤Æ checkout ¥â¡¼¥É¤¬»È¤ï¤ì¤Æ¤¤¤ë¤â¤Î¤È¤·¤Þ¤¹¡£
1810 .\"O The three possible refuse files would then be named:
1811 ¤³¤Î¾ì¹ç¡¢refuse ¥Õ¥¡¥¤¥ë¤Î̾Á°¤È¤·¤Æ¤Ï°Ê²¼¤Î 3 ¤Ä¤¬¹Í¤¨¤é¤ì¤Þ¤¹:
1812 .Pp
1813 .Bl -item -compact -offset indent
1814 .It
1815 .Pa /usr/local/etc/cvsup/sup/refuse
1816 .It
1817 .Pa /usr/local/etc/cvsup/sup/src-all/refuse
1818 .It
1819 .Pa /usr/local/etc/cvsup/sup/src-all/refuse.cvs:RELENG_3
1820 .El
1821 .Pp
1822 .\"O If the
1823 .\"O .Ar supfile
1824 .\"O includes the command
1825 .\"O .Ar base=/foo
1826 .\"O the refuse files would be:
1827 .Ar supfile
1828 ¤¬¥³¥Þ¥ó¥É
1829 .Ar base=/foo
1830 ¤ò´Þ¤ó¤Ç¤¤¤ë¾ì¹ç¡¢refuse ¥Õ¥¡¥¤¥ë¤Ï°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹:
1831 .Pp
1832 .Bl -item -compact -offset indent
1833 .It
1834 .Pa /foo/sup/refuse
1835 .It
1836 .Pa /foo/sup/src-all/refuse
1837 .It
1838 .Pa /foo/sup/src-all/refuse.cvs:RELENG_3
1839 .El
1840 .Pp
1841 .\"O If
1842 .\"O .Fl b
1843 .\"O .Ar /bar
1844 .\"O is used (even with
1845 .\"O .Ar base=/foo
1846 .\"O in the
1847 .\"O .Ar supfile ) :
1848 .Fl b
1849 .Ar /bar
1850 ¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç(
1851 .Ar supfile
1852 ¥Õ¥¡¥¤¥ëÃæ¤Ë
1853 .Ar base=/foo
1854 ¥³¥Þ¥ó¥É¤¬¤¢¤Ã¤Æ¤â):
1855 .Pp
1856 .Bl -item -compact -offset indent
1857 .It
1858 .Pa /bar/sup/refuse                
1859 .It
1860 .Pa /bar/sup/src-all/refuse                
1861 .It
1862 .Pa /bar/sup/src-all/refuse.cvs:RELENG_3                
1863 .El
1864 .Pp
1865 .\"O and with
1866 .\"O .Fl c
1867 .\"O .Ar stool
1868 .\"O as well:
1869 ¤½¤·¤Æ
1870 .Fl c
1871 .Ar stool
1872 ¤â»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç:
1873 .Pp
1874 .Bl -item -compact -offset indent
1875 .It
1876 .Pa /bar/stool/refuse
1877 .It 
1878 .Pa /bar/stool/src-all/refuse
1879 .It
1880 .Pa /bar/stool/src-all/refuse.cvs:RELENG_3
1881 .\"O .Sh AUTHENTICATION
1882 .Sh Ç§¾Ú
1883 .\"O .Nm CVSup
1884 .\"O implements an authentication mechanism which can be used by the
1885 .\"O client and server to verify each other's identities.  It uses a
1886 .\"O challenge-response protocol which is immune to packet sniffing and
1887 .\"O replay attacks.  No passwords are sent over the network in either
1888 .\"O direction.  Both the client and the server can independently verify
1889 .\"O the identities of each other.
1890 .Nm CVSup
1891 ¤Ïǧ¾Úµ¡¹½¤òÈ÷¤¨¤Æ¤ª¤ê¡¢¤³¤ì¤ò»È¤Ã¤Æ¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤¬¤ª¸ß¤¤¤Î¿È¸µ
1892 ¤ò³Îǧ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤Îµ¡¹½¤Ï¡¢¥Ñ¥±¥Ã¥ÈÅðÄ°¤ä¥ê¥×¥ì¥¤¹¶·â¤Î±Æ¶Á
1893 ¤ò¼õ¤±¤Ê¤¤ challenge-response ¥×¥í¥È¥³¥ë¤òÍѤ¤¤Æ¤¤¤Þ¤¹¡£¥Í¥Ã¥È¥ï¡¼¥¯¾å
1894 ¤Ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤Ï¤É¤Á¤é¤Î¸þ¤­¤Ë¤âή¤ì¤Þ¤»¤ó¡£¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤Î¤¤
1895 ¤º¤ì¤â¡¢¤ª¸ß¤¤¤Î¿È¸µ¤òÆÈΩ¤Ë³Îǧ¤Ç¤­¤Þ¤¹¡£
1896 .Pp
1897 .\"O The file
1898 .\"O .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
1899 .\"O holds the information used for authentication.  This file contains a
1900 .\"O record for each server that the client is allowed to access.  Each
1901 .\"O record occupies one line in the file.  Lines beginning with
1902 .\"O .Ql #
1903 .\"O are ignored, as are lines containing only white space.  White space is
1904 .\"O significant everywhere else in the file.  Fields are separated by
1905 .\"O .Ql \&:
1906 .\"O characters.
1907 ¥Õ¥¡¥¤¥ë
1908 .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
1909 ¤Ë¤Ïǧ¾Ú¤Ë»È¤ï¤ì¤ë¾ðÊ󤬽ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È
1910 ¤¬¥¢¥¯¥»¥¹²Äǽ¤Ê³Æ¥µ¡¼¥Ð¤Ë¤Ä¤¤¤Æ¤Î¥ì¥³¡¼¥É¤¬Æþ¤Ã¤Æ¤¤¤Þ¤¹¡£¤½¤ì¤¾¤ì¤Î
1911 ¥ì¥³¡¼¥É¤Ï¡¢¥Õ¥¡¥¤¥ëÃæ¤Ë 1 ¹Ô¤Ç½ñ¤«¤ì¤Þ¤¹¡£
1912 .Ql #
1913 ¤Ç»Ï¤Þ¤ë¹Ô¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£¶õÇòʸ»ú¤À¤±¤Î¹Ô¤âƱÍͤǤ¹¡£¤¿¤À¤·¡¢¥Õ¥¡¥¤¥ë
1914 Ãæ¤Î¾¤Î¾ì½ê¤Ç¤Ï¶õÇòʸ»ú¤â°ÕÌ£¤ò»ý¤Á¤Þ¤¹¡£¥Õ¥£¡¼¥ë¥É¤Ï
1915 .Ql \&:
1916 ʸ»ú¤Ç¶èÀÚ¤é¤ì¤Þ¤¹¡£
1917 .Pp
1918 .\"O Each record of the file has the following form:
1919 ¥Õ¥¡¥¤¥ë¤Î³Æ¥ì¥³¡¼¥É¤Ï°Ê²¼¤Î·Á¼°¤Ç¤¹:
1920 .Bd -literal -offset indent
1921 .Sm off
1922 .Xo Ar serverName No : Ar clientName No :
1923 .Ar password No : Ar comment
1924 .Xc
1925 .Sm on 
1926 .Ed 
1927 .Pp 
1928 .\"O All fields must be present even if some of them are empty.
1929 ¤¿¤È¤¨¶õ¤Ç¤¢¤Ã¤Æ¤â¡¢Á´¤Æ¤Î¥Õ¥£¡¼¥ë¥É¤Ï¸ºß¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1930 .\"O .Ar ServerName
1931 .\"O is the name of the server to which the record applies.  By convention,
1932 .\"O it is the canonical fully-qualified domain name of the server, e.g.,
1933 .\"O .Ql CVSup177.FreeBSD.ORG .
1934 .Ar ServerName
1935 ¤Ï¥ì¥³¡¼¥É¤¬Å¬ÍѤµ¤ì¤ë¥µ¡¼¥Ð̾¤Ç¤¹¡£´·½¬Åª¤Ë¡¢¤³¤ì¤Ï¥«¥Î¥Ë¥«¥ë¤«¤Ä´°Á´
1936 ¤Ë¥É¥á¥¤¥ó̾¤¬»ØÄꤵ¤ì¤¿¥µ¡¼¥Ð̾¤Ç¤¹(Îã:
1937 .Ql CVSup177.FreeBSD.ORG
1938 )¡£
1939 .\"O This must agree with the server's own idea of its name.  The name is
1940 .\"O case-insensitive.
1941 ¤³¤ì¤Ï¥µ¡¼¥Ð¤¬¼«Ê¬¤Î̾Á°¤È¹Í¤¨¤Æ¤¤¤ë¥Û¥¹¥È̾¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
1942 ̾Á°¤Ë¤Ä¤¤¤Æ¤ÏÂçʸ»ú¡¦¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£
1943 .Pp
1944 .\"O .Ar ClientName
1945 .\"O is the name the client uses to gain access to the server.  By
1946 .\"O convention, e-mail addresses are used for all client names, e.g.,
1947 .\"O .Ql BillyJoe@FreeBSD.ORG .
1948 .\"O Client names are case-insensitive.
1949 .Ar ClientName
1950 ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤¬¥µ¡¼¥Ð¤Ø¤Î¥¢¥¯¥»¥¹¸¢¤òÆÀ¤ë¤È¤­¤Ë»È¤¦Ì¾Á°¤Ç¤¹¡£´·½¬Åª¤Ë¡¢
1951 ¥¯¥é¥¤¥¢¥ó¥È̾¤Ë¤ÏÁ´¤Æ e-mail ¥¢¥É¥ì¥¹¤¬»È¤ï¤ì¤Þ¤¹(Îã:
1952 .Ql BillyJoe@FreeBSD.ORG
1953 )¡£¥¯¥é¥¤¥¢¥ó¥È̾¤Ç¤ÏÂçʸ»ú¡¦¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó¡£
1954 .Pp
1955 .\"O .Ar Password
1956 .\"O is a secret string of characters that the client uses to prove its
1957 .\"O identity.  It may not contain any
1958 .\"O .Ql \&:
1959 .\"O or newline characters.
1960 .Ar Password
1961 ¤ÏÈëÌ©¤Îʸ»úÎó¤Ç¤¢¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬¿È¸µ¤ò¾ÚÌÀ¤¹¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£
1962 ¥Ñ¥¹¥ï¡¼¥Éʸ»úÎó¤Ï
1963 .Ql \&:
1964 ¤ä²þ¹Ôʸ»ú¤ò´Þ¤ó¤Ç¤Ï¤¤¤±¤Þ¤»¤ó¡£
1965 .Pp
1966 .\"O .Ar Comment
1967 .\"O may contain any additional information to identify the record.  It
1968 .\"O is not interpreted by the program.
1969 .Ar Comment
1970 ¤Ï¥ì¥³¡¼¥É¤ò¼±Ê̤¹¤ë¤¿¤á¤ÎÉÕ²ÃŪ¤Ê¾ðÊó¤ò»ý¤Á¤Þ¤¹¡£¥×¥í¥°¥é¥à¤Ë²ò¼á¤µ¤ì
1971 ¤ë¤³¤È¤Ï¤¢¤ê¤Þ¤»¤ó¡£
1972 .Pp
1973 .\"O To set up authentication for a given server, one must perform the
1974 .\"O following steps:
1975 »ØÄꤵ¤ì¤¿¥µ¡¼¥Ð¤ËÂФ¹¤ëǧ¾Ú¤ÎÀßÄê¤ò¹Ô¤¦¤Ë¤Ï¡¢°Ê²¼¤Î¼ê½ç¤ò¼Â¹Ô¤·¤Ê¤±¤ì
1976 ¤Ð¤Ê¤ê¤Þ¤»¤ó:
1977 .Bl -enum
1978 .It
1979 .\"O Obtain the official
1980 .\"O .Ar serverName
1981 .\"O from the administrator of the server or from some other source.
1982 ¥µ¡¼¥Ð´ÉÍý¼Ô¤Þ¤¿¤ÏÊ̤ξðÊ󸻤«¤é¸ø¼°¤Ê
1983 .Ar serverName
1984 ¤ò¼èÆÀ¤·¤Þ¤¹¡£
1985 .It
1986 .\"O Choose an appropriate
1987 .\"O .Ar clientName .
1988 ŬÀÚ¤Ê
1989 .Ar clientName
1990 ¤òÁª¤Ó¤Þ¤¹¡£
1991 .\"O It should be in the form of a valid e-mail address, to make it easy
1992 .\"O for the server administrator to contact the user if necessary.
1993 ¤³¤ì¤ÏÍ­¸ú¤ÊÅŻҥ᡼¥ë¥¢¥É¥ì¥¹¤Î·Á¼°¤Ë¤¹¤Ù¤­¤Ç¤¹¡£¤³¤ì¤Ï¡¢¥µ¡¼¥Ð´ÉÍý¼Ô
1994 ¤¬É¬Íפ˱þ¤¸¤Æ¥æ¡¼¥¶¤ËÏ¢Íí¤·¤ä¤¹¤¯¤¹¤ë¤¿¤á¤Ç¤¹¡£
1995 .It
1996 .\"O Choose an arbitrary secret
1997 .\"O .Ar password .
1998 ÈëÌ©¤Î
1999 .Ar password
2000 ¤È¤·¤ÆǤ°Õ¤Îʸ»úÎó¤òÁª¤Ó¤Þ¤¹¡£
2001 .It
2002 .\"O Run the
2003 .\"O .Nm cvpasswd
2004 .\"O utility, and type in the
2005 .\"O .Ar password
2006 .\"O when prompted for it.  The utility will print out a line to send
2007 .\"O to the server administrator, and instruct you how to modify your
2008 .\"O .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
2009 .\"O file.  You should use a secure channel to send the line to the
2010 .\"O server administrator.
2011 .Nm cvpasswd
2012 ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ò¼Â¹Ô¤·¡¢¼ÁÌä¤ËÂФ·¤Æ
2013 .Ar ¥Ñ¥¹¥ï¡¼¥É
2014 ¤òÆþÎϤ·¤Þ¤¹¡£¤³¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ï¥µ¡¼¥Ð¤Î´ÉÍý¼Ô¤ËÁ÷¤ë¹Ô¤ò½ÐÎϤ·¡¢
2015 ¤½¤ì¤«¤é¥æ¡¼¥¶¤Î
2016 .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
2017 ¥Õ¥¡¥¤¥ë¤Î½¤Àµ¼ê½ç¤ò¼¨¤·¤Þ¤¹¡£¤³¤Î¹Ô¤ò¥µ¡¼¥Ð´ÉÍý¼Ô¤ËÁ÷¤ë¤Ë¤Ï¡¢°ÂÁ´¤Ê
2018 ¼êÃʤò»È¤¦¤Ù¤­¤Ç¤¹¡£
2019 .El
2020 .Pp
2021 .\"O Since
2022 .\"O .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
2023 .\"O contains passwords, you should ensure that it is not readable by
2024 .\"O anyone except yourself.
2025 .Li $ Ns Ev HOME Ns Pa /.cvsup/auth
2026 ¤Ë¤Ï¥Ñ¥¹¥ï¡¼¥É¤¬Æþ¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢É¬¤º¼«Ê¬°Ê³°¤Ë¤Ïï¤âÆɤá¤Ê¤¤¤è¤¦¤Ë¤·¤Æ
2027 ¤¯¤À¤µ¤¤¡£
2028 .Pp
2029 .\"O Authentication works independently in both directions.  The server
2030 .\"O administrator controls whether you must prove your identity.
2031 ǧ¾Ú¤Ï¤½¤ì¤¾¤ì¤Î¸þ¤­¤ÇÆÈΩ¤ËÆ°ºî¤·¤Þ¤¹¡£¥µ¡¼¥Ð¤Î´ÉÍý¼Ô¤Ï¡¢
2032 ¥æ¡¼¥¶¤¬¿È¸µ¤ò¾ÚÌÀ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤«¤É¤¦¤«¤òÀ©¸æ¤·¤Þ¤¹¡£
2033 .\"O You control whether to check the server's identity, by means of the
2034 .\"O .Fl a
2035 .\"O command line option.
2036 ¥æ¡¼¥¶¤Ï¥µ¡¼¥Ð¤Î¿È¸µ¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤«¤É¤¦¤«¤òÀ©¸æ¤·¤Þ¤¹¡£À©¸æ¤Ë¤Ï
2037 .Fl a
2038 ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤ò»È¤¤¤Þ¤¹¡£
2039 .\"O .Sh USING CVSup FOR MIRRORING
2040 .Sh ¥ß¥é¡¼¥ê¥ó¥°¤Î¤¿¤á¤Î CVSup ¤Î»ÈÍÑ
2041 .\"O Although
2042 .\"O .Nm CVSup
2043 .\"O is optimized for CVS repositories, it works quite well as a general
2044 .\"O purpose mirroring tool.
2045 .Nm CVSup
2046 ¤Ï CVS ¥ê¥Ý¥¸¥È¥êÍѤ˺ÇŬ²½¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢ÈÆÍÑŪ¤Ê¥ß¥é¡¼¥ê¥ó¥°¤È¤·¤Æ
2047 Èó¾ï¤Ë¤¦¤Þ¤¯Æ°ºî¤·¤Þ¤¹¡£
2048 .\"O It is able to update all types of files.
2049 .Nm CVSup
2050 ¤Ï¤É¤ó¤Ê¼ïÎà¤Î¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤Ë¤â»È¤¨¤Þ¤¹¡£
2051 .Bl -bullet -compact
2052 .It
2053 .\"O RCS files are updated by transferring individual tags and deltas,
2054 .\"O and merging them into the client file.
2055 RCS ¥Õ¥¡¥¤¥ë¤Î¹¹¿·¤Ï¡¢¸Ä¡¹¤Î¥¿¥°¤Èº¹Ê¬¤ÎžÁ÷¤ª¤è¤Ó¡¢¤³¤ì¤é¤Î
2056 ¥¯¥é¥¤¥¢¥ó¥È¦¤Î¥Õ¥¡¥¤¥ë¤Ø¤Î¥Þ¡¼¥¸¤Ë¤è¤Ã¤Æ¹Ô¤ï¤ì¤Þ¤¹¡£
2057 .It
2058 .\"O Regular files are updated using the rsync algorithm, if it is
2059 .\"O enabled.
2060 Ä̾ï¥Õ¥¡¥¤¥ë¤Ï¡¢²Äǽ¤Ç¤¢¤ì¤Ð rsync ¥¢¥ë¥´¥ê¥º¥à¤ò»È¤Ã¤Æ¹¹¿·¤µ¤ì¤Þ¤¹¡£
2061 .\"O If the rsync algorithm is disabled, files which have had data appended
2062 .\"O to them on the server (e.g., log files) receive only the new tail portion.
2063 rsync ¥¢¥ë¥´¥ê¥º¥à¤¬Ìµ¸ú¤Ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¡¢Äɲ䵤줿¥Ç¡¼¥¿¤ò»ý¤Ä¥µ¡¼¥Ð
2064 ¾å¤Î¥Õ¥¡¥¤¥ë(Îã: ¥í¥°¥Õ¥¡¥¤¥ë)¤Ï¡¢¿·¤·¤¯²Ã¤ï¤Ã¤¿ËöÈø¤ÎÉôʬ¤À¤±¤ò¼õ¤±¼è
2065 ¤ê¤Þ¤¹¡£
2066 .\"O Other regular files are replaced in whole.
2067 ¾¤ÎÄ̾ï¥Õ¥¡¥¤¥ë¤Ï¤Þ¤ë¤´¤ÈÃÖ¤­´¹¤¨¤é¤ì¤Þ¤¹¡£
2068 .It
2069 .\"O Empty directories are preserved.
2070 ¶õ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï»Ä¤µ¤ì¤Þ¤¹¡£
2071 .It
2072 .\"O Symbolic links are updated as dictated by
2073 .\"O .Cm symlink
2074 .\"O and
2075 .\"O .Cm rsymlink
2076 .\"O commands in the server's configuration files.  See
2077 .\"O .Xr cvsupd 8 .
2078 ¥·¥ó¥Ü¥ê¥Ã¥¯¥ê¥ó¥¯¤Ï¡¢¥µ¡¼¥Ð¤ÎÀßÄê¥Õ¥¡¥¤¥ëÆâ¤Ç
2079 .Cm symlink
2080 ¤È
2081 .Cm rsymlink
2082 ¥³¥Þ¥ó¥É¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¤È¹¹¿·¤µ¤ì¤Þ¤¹¡£¾Ü¤·¤¯¤Ï
2083 .Xr cvsupd 8
2084 ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
2085 .It
2086 .\"O Hard links are preserved within each collection, but not
2087 .\"O between collections.
2088 ¥Ï¡¼¥É¥ê¥ó¥¯¤Ï¤½¤ì¤¾¤ì¤Î¥³¥ì¥¯¥·¥ç¥óÆâ¤Ç¤ÏÊݸ¤µ¤ì¤Þ¤¹¤¬¡¢¥³¥ì¥¯¥·¥ç¥ó
2089 ´Ö¤Ç¤ÏÊݸ¤µ¤ì¤Þ¤»¤ó¡£
2090 .It
2091 .\"O Device nodes are updated by major and minor device number.
2092 ¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤Ï¥á¥¸¥ã¡¼ÈÖ¹æ¤È¥Þ¥¤¥Ê¡¼ÈÖ¹æ¤ò»È¤Ã¤Æ¹¹¿·¤µ¤ì¤Þ¤¹¡£
2093 .\"O This may not produce the desired results if the client host
2094 .\"O and the server host run different operating systems.
2095 ¥¯¥é¥¤¥¢¥ó¥È¤Î¥Û¥¹¥È¤È¥µ¡¼¥Ð¤Î¥Û¥¹¥È¤Ç°Û¤Ê¤ë¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¥·¥¹¥Æ¥à¤¬
2096 Æ°ºî¤·¤Æ¤¤¤ë¤È¡¢¤³¤ì¤Ï˾¤Þ¤·¤¤·ë²Ì¤È¤Ê¤é¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
2097 .El
2098 .\"O .Sh CVSup AND FIREWALLS
2099 .Sh CVSup ¤ÈËɲÐÊÉ
2100 .\"O .Nm
2101 .\"O provides a number of different modes designed to work thorough
2102 .\"O various firewall setups.
2103 .Nm
2104 ¤Ï¡¢ÍÍ¡¹¤ÊÀßÄê¤ÎËɲÐÊɤòĶ¤¨¤ë¤¿¤á¤Ë¿ô¿¤¯¤Î¥â¡¼¥É¤òÍÑ°Õ¤·¤Æ¤¤¤Þ¤¹¡£
2105 .\"O These are controlled by the
2106 .\"O .Fl P
2107 .\"O option and by the use of the
2108 .\"O .Nm m3socks
2109 .\"O command.
2110 ¤³¤ì¤é¤Î¥â¡¼¥É¤Ï
2111 .Fl P
2112 ¥ª¥×¥·¥ç¥ó¤«¡¢
2113 .Nm m3socks
2114 ¥³¥Þ¥ó¥É¤ò»È¤Ã¤ÆÀ©¸æ¤Ç¤­¤Þ¤¹¡£
2115 .\"O To allow
2116 .\"O .Nm
2117 .\"O to be used, the firewall must at a minimum permit outbound connections
2118 .\"O to port 5999 of the server host.
2119 .Nm
2120 ¤ò»È¤¨¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¡¢ËɲÐÊɤϥµ¡¼¥Ð¥Û¥¹¥È¤Î 5999 È֥ݡ¼¥È¤Ø¤Î³°¸þ¤­
2121 ¤ÎÀܳ¤òºÇÄã¸Âµö²Ä¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
2122 .\"O If this condition is met, then multiplexed mode
2123 .\"O .Pq Fl P Cm m
2124 .\"O should work, with or without SOCKS.
2125 ¤³¤Î¾ò·ï¤¬Ëþ¤¿¤µ¤ì¤Æ¤¤¤ì¤Ð¡¢SOCKS ¤Î̵ͭ¤Ë´Ø¤ï¤é¤ºÂ¿½Å¥â¡¼¥É
2126 .Pq Fl P Cm m
2127 ¤¬Æ°ºî¤¹¤ë¤Ï¤º¤Ç¤¹¡£
2128 .Pp
2129 .\"O With slightly more permissive firewall rules it may be possible to
2130 .\"O use passive mode or one of the other modes, for a slight gain in
2131 .\"O efficiency.
2132 ¤â¤¦¾¯¤·ËɲÐÊɤÎÀ©¸Â¤¬´Ë¤±¤ì¤Ð¡¢passive ¥â¡¼¥É¤ä¾¤Î¥â¡¼¥É¤Î°ì¤Ä¤ò»È¤Ã
2133 ¤Æ¡¢¸úΨ¤ò¾¯¤·¾å¤²¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
2134 .\"O See the description of the
2135 .\"O .Fl P
2136 .\"O option for details.
2137 ¾Ü¤·¤¯¤Ï
2138 .Fl P
2139 ¥ª¥×¥·¥ç¥ó¤ÎÀâÌÀ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
2140 .Pp
2141 .\"O For more information on using CVSup with specific kinds of firewalls,
2142 .\"O see the CVSup FAQ at
2143 .\"O .Aq http://www.polstra.com/projects/freeware/CVSup/ .
2144 ÆÃÄê¤Î¼ïÎà¤ÎËɲÐÊɤȠCVSup ¤òÁȤ߹ç¤ï¤»¤Æ»È¤¦ºÝ¤Î¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢
2145 .Aq http://www.polstra.com/projects/freeware/CVSup/
2146 ¤Ë¤¢¤ë CVSup FAQ ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
2147 .\"O .Sh USING CVSup WITH SOCKS
2148 .Sh SOCKS ¤ÈÁȤ߹ç¤ï¤»¤Æ¤Î CVSup ¤ÎÍøÍÑ
2149 .\"O Communication through a SOCKS proxy server is currently supported only
2150 .\"O under FreeBSD.
2151 SOCKS ¥×¥í¥­¥·¥µ¡¼¥Ð·Ðͳ¤Ç¤ÎÄÌ¿®¤Ï¡¢¸½ºß¤Ï FreeBSD ¾å¤Ç¤·¤«¥µ¥Ý¡¼¥È¤µ
2152 ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
2153 .\"O It requires a modified Modula-3 runtime system as provided by the
2154 .\"O .Pa lang/modula-3-lib
2155 .\"O port, and an add-on SOCKS library from the
2156 .\"O .Pa lang/modula-3-socks
2157 .\"O port.
2158 ¤³¤ì¤òÍѤ¤¤ë¤¿¤á¤Ë¤Ï¡¢port ¤È¤·¤ÆÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë
2159 ½¤ÀµÈǤΠModula-3 ¤Î¼Â¹Ô»þ¥·¥¹¥Æ¥à(
2160 .Pa lang/modula-3-lib
2161 )¤È¥¢¥É¥ª¥ó¤Î SOCKS ¥é¥¤¥Ö¥é¥ê(
2162 .Pa lang/modula-3-socks
2163 )¤¬É¬ÍפǤ¹¡£
2164 .\"O Also, the SOCKS library uses dynamic linking techniques which require
2165 .\"O that the
2166 .\"O .Nm
2167 .\"O executable be fully dynamic.
2168 ¤Þ¤¿¡¢SOCKS ¥é¥¤¥Ö¥é¥ê¤ÏưŪ¥ê¥ó¥¯µ»½Ñ¤ò»È¤¦¤Î¤Ç¡¢
2169 .Nm
2170 ¤Î¼Â¹Ô¥Õ¥¡¥¤¥ë¤Ï´°Á´¤ËưŪ¥ê¥ó¥¯¤µ¤ì¤Æ¤¤¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
2171 .\"O The FreeBSD port
2172 .\"O .Pa net/cvsup
2173 .\"O links
2174 .\"O .Nm
2175 .\"O fully dynamic as required.
2176 FreeBSD ¤Î port ¤Î
2177 .Pa net/cvsup
2178 ¤Ï¡¢É¬Íפ˱þ¤¸¤Æ
2179 .Nm
2180 ¤ò´°Á´¤ËưŪ¤Ë¥ê¥ó¥¯¤·¤Þ¤¹¡£
2181 .Pp
2182 .\"O To enable SOCKS operation, simply execute
2183 .\"O .Nm
2184 .\"O with the
2185 .\"O .Cm m3socks
2186 .\"O command provided in the
2187 .\"O .Pa lang/modula-3-socks
2188 .\"O package.
2189 SOCKS ¤ÎÆ°ºî¤òÍ­¸ú¤Ë¤¹¤ë¤Ë¤Ï¡¢Ã±¤Ë
2190 .Pa lang/modula-3-socks
2191 ¥Ñ¥Ã¥±¡¼¥¸¤Ë´Þ¤Þ¤ì¤ë
2192 .Cm m3socks
2193 ¤ÈÁȤ߹ç¤ï¤»¤Æ
2194 .Nm
2195 ¤ò¼Â¹Ô¤·¤Æ¤¯¤À¤µ¤¤¡£
2196 .\"O See
2197 .\"O .Xr m3socks 1
2198 .\"O for further details.
2199 ¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï
2200 .Xr m3socks 1
2201 ¤ò¤´Í÷¤¯¤À¤µ¤¤¡£
2202 .\"O .Sh USING ssh PORT FORWARDING
2203 .Sh ssh ¤ò»È¤Ã¤¿¥Ý¡¼¥ÈžÁ÷
2204 .\"O As an alternative to SOCKS, a user behind a firewall can penetrate it
2205 .\"O with the TCP port forwarding provided by the Secure Shell package
2206 .\"O .Nm ssh .
2207 ËɲÐÊɤÎÆ⦤Υ桼¥¶¤Ï¡¢SOCKS ¤ÎÂåÂØÉʤȤ·¤Æ¡¢Secure Shell ¥Ñ¥Ã¥±¡¼¥¸¤Î
2208 .Nm ssh
2209 ¤¬»ý¤Ã¤Æ¤¤¤ë TCP ¥Ý¡¼¥ÈžÁ÷µ¡Ç½¤ò»È¤Ã¤ÆËɲÐÊɤòÄ̲á¤Ç¤­¤Þ¤¹¡£
2210 .\"O The user must have a login account on the
2211 .\"O .Nm CVSup
2212 .\"O server host in order to do this.
2213 ¤³¤ì¤ò¹Ô¤¦¤¿¤á¤Ë¤Ï¡¢¥æ¡¼¥¶¤Ï
2214 .Nm CVSup
2215 ¤Î¥µ¡¼¥Ð¥Û¥¹¥È¤Ë¥í¥°¥¤¥ó¥¢¥«¥¦¥ó¥È¤¬É¬ÍפǤ¹¡£
2216 .\"O The procedure is as follows:
2217 ¼ê½ç¤ò°Ê²¼¤Ë¼¨¤·¤Þ¤¹:
2218 .Bl -enum
2219 .It
2220 .\"O Establish a connection to the server host with
2221 .\"O .Nm ssh ,
2222 .\"O like this:
2223 °Ê²¼¤Î¤è¤¦¤Ë¤·¤Æ¡¢
2224 .Nm ssh
2225 ¤ò»È¤Ã¤Æ¥µ¡¼¥Ð¥Û¥¹¥È¤È¤ÎÀܳ¤ò³ÎΩ¤·¤Þ¤¹:
2226 .Bd -literal
2227 ssh -f -x -L 5999:localhost:5999 serverhost sleep 60
2228 .Ed
2229 .Pp
2230 .\"O Replace
2231 .\"O .Ar serverhost
2232 .\"O with the hostname of the CVSup server, but type
2233 .\"O .Ql localhost
2234 .\"O literally.
2235 ÉáÄ̤Ï
2236 .Ar serverhost
2237 ¤ò CVSup ¥µ¡¼¥Ð¤Î¥Û¥¹¥È̾¤ËÃÖ¤­´¹¤¨¤ë¤Î¤Ç¤¹¤¬¡¢¤³¤³¤Ç¤Ï
2238 .Ql localhost
2239 ¤òÆþÎϤ·¤Þ¤¹¡£
2240 .\"O This sets up the required port forwarding.
2241 ¤³¤ì¤Ë¤è¤ê¡¢¥Ý¡¼¥ÈžÁ÷¤ËɬÍפÊÀßÄ꤬¤Ç¤­¤Þ¤¹¡£
2242 .\"O You must start
2243 .\"O .Nm
2244 .\"O before the 60-second
2245 .\"O .Nm sleep
2246 .\"O finishes.
2247 60 É÷ФäÆ
2248 .Nm sleep
2249 ¤¬½ª¤ï¤ë¤Þ¤Ç¤Ë
2250 .Nm
2251 ¤òµ¯Æ°¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£
2252 .\"O Once the update has begun,
2253 .\"O .Nm ssh
2254 .\"O will keep the forwarded channels open as long as they are needed.
2255 ¤¤¤Ã¤¿¤ó¹¹¿·¤¬»Ï¤Þ¤ë¤È¡¢
2256 .Nm ssh
2257 ¤ÏɬÍפʴ֡¢Å¾Á÷¥Á¥ã¥Í¥ë¤ò¥ª¡¼¥×¥ó¤·¤¿¾õÂÖ¤òÊݤÁ¤Þ¤¹¡£
2258 .It
2259 .\"O Run
2260 .\"O .Nm
2261 .\"O on the local host, including these arguments on the command line:
2262 .\"O .Ql -h localhost -P m .
2263 ¥í¡¼¥«¥ë¥Û¥¹¥È¤Ç
2264 .Nm
2265 ¤ò¼Â¹Ô¤·¤Þ¤¹¡£¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ë¤Ï°Ê²¼¤Î¹Ô¤ò´Þ¤á¤Þ¤¹:
2266 .Ql -h localhost -P m
2267 .El
2268 .\"O .Sh FILES
2269 .Sh ¥Õ¥¡¥¤¥ë
2270 .Bl -tag -width base/sup/collection/checkouts*xx -compact
2271 .It Pa /usr/local/etc/cvsup
2272 .\"O Default
2273 .\"O .Ar base
2274 .\"O directory.
2275 ¥Ç¥Õ¥©¥ë¥È¤Î
2276 .Ar base
2277 ¥Ç¥£¥ì¥¯¥È¥ê¡£
2278 .It Pa sup
2279 .\"O Default
2280 .\"O .Ar collDir
2281 .\"O subdirectory.
2282 ¥Ç¥Õ¥©¥ë¥È¤Î
2283 .Ar collDir
2284 ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê¡£
2285 .Sm off
2286 .It Xo Ar base / Ar collDir / Ar collection
2287 .Pa /checkouts*
2288 .Xc
2289 .Sm on
2290 .\"O List files.
2291 ¥ê¥¹¥È¥Õ¥¡¥¤¥ë¡£
2292 .Sm off
2293 .It Ar base / Ar collDir Pa /refuse
2294 .Sm on
2295 .\"O Global refuse file.
2296 ¥°¥í¡¼¥Ð¥ë¤Î refuse ¥Õ¥¡¥¤¥ë¡£
2297 .Sm off
2298 .It Xo Ar base / Ar collDir / Ar collection
2299 .Pa /refuse*
2300 .Xc
2301 .Sm on
2302 .\"O Per-collection and per-release and tag refuse files.
2303 ¥³¥ì¥¯¥·¥ç¥óÊ̤Πrefuse ¥Õ¥¡¥¤¥ë¤È¡¢¥ê¥ê¡¼¥¹¤È¥¿¥°Ê̤Πrefuse ¥Õ¥¡¥¤¥ë¡£
2304 .It Li $ Ns Ev HOME Ns Pa /.cvsup/auth
2305 .\"O Authentication password file.
2306 ǧ¾ÚÍѤΥѥ¹¥ï¡¼¥É¥Õ¥¡¥¤¥ë¡£
2307 .El
2308 .\"O .Sh SEE ALSO
2309 .Sh ´ØÏ¢¹àÌÜ
2310 .Xr ctm 1 ,
2311 .Xr cvpasswd 1 , 
2312 .Xr cvs 1 ,
2313 .Xr cvsupd 8 ,
2314 .Xr m3socks 1 ,
2315 .Xr rcsintro 1 ,
2316 .\"O .Xr ssh 1 .
2317 .Xr ssh 1
2318 .Pp
2319 .Bd -literal
2320 http://www.polstra.com/projects/freeware/CVSup/
2321 .Ed
2322 .\"O .Sh AUTHORS
2323 .Sh ºî¼Ô
2324 .\"O .An John Polstra Aq jdp@polstra.com .
2325 .An John Polstra Aq jdp@polstra.com
2326 .\"O .Sh BUGS
2327 .Sh ¥Ð¥°
2328 .\"O An RCS file is not recognized as such unless its name ends with
2329 .\"O .Ql \&,v .
2330 RCS ¥Õ¥¡¥¤¥ë¤Ï
2331 .Ql \&,v
2332 ¤Ç½ª¤ï¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð RCS ¥Õ¥¡¥¤¥ë¤Èǧ¼±¤µ¤ì¤Þ¤»¤ó¡£
2333 .Pp
2334 .\"O Any directory named
2335 .\"O .Ql Attic
2336 .\"O is assumed to be a CVS Attic, and is treated specially.
2337 .Ql Attic
2338 ¤È¤¤¤¦Ì¾Á°¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ï CVS Attic ¤È¤·¤ÆÆÃÊÌ°·¤¤¤µ¤ì¤Þ¤¹¡£
2339 .Pp
2340 .\"O Because of bugs in the SOCKS library or server, most forms of the
2341 .\"O .Fl P
2342 .\"O option cannot be used with SOCKS.
2343 SOCKS ¥é¥¤¥Ö¥é¥ê¤Þ¤¿¤Ï¥µ¡¼¥Ð¤Î¥Ð¥°¤Î¤¿¤á¡¢ÂçÉôʬ¤Î·Á¼°¤Î
2344 .Fl P
2345 ¥ª¥×¥·¥ç¥ó¤Ï SOCKS ¤Ç¤Ï»È¤¨¤Þ¤»¤ó¡£
2346 .\"O Multiplexed mode
2347 .\"O .Pq Fl P Cm m
2348 .\"O can be used, but the other forms of
2349 .\"O .Fl P
2350 .\"O are rejected.
2351 ¿½Å¥â¡¼¥É
2352 .Pq Fl P Cm m
2353 ¤ò»È¤¨¤Þ¤¹¤¬¡¢Â¾¤Î·Á¼°¤Î
2354 .Fl P
2355 ¥ª¥×¥·¥ç¥ó¤Ï¼õ¤±ÉÕ¤±¤é¤ì¤Þ¤»¤ó¡£
2356 .Pp
2357 .\"O The GUI interacts poorly with some window managers, notably FVWM.
2358 GUI ¤È°ìÉô¤Î¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã(ÆäˠFVWM)¤ÎÁêÀ­¤¬Îɤ¯¤¢¤ê¤Þ¤»¤ó¡£
2359 .\"O There are problems with both versions 1 and 2 of FVWM,
2360 .\"O though it appears that they are not as bad in version 2.
2361 FVWM ¤Î¥Ð¡¼¥¸¥ç¥ó 1, 2 ¤Î¤É¤Á¤é¤Ç¤âÌäÂ꤬µ¯¤³¤ë¤Î¤Ç¤¹¤¬¡¢¥Ð¡¼¥¸¥ç¥ó 2
2362 ¤ÎÊý¤¬¤Þ¤À¤Þ¤·¤Î¤è¤¦¤Ç¤¹¡£
2363 .\"O Adding the line
2364 .\"O .Pp
2365 .\"O .Dl Style \&"cvsup\&" ClickToFocus
2366 .\"O .Pp
2367 .\"O to FVWM2's
2368 .\"O .Pa .fvwmrc
2369 .\"O file helps quite a bit.
2370 .Pp
2371 .Dl Style \&"cvsup\&" ClickToFocus
2372 .Pp
2373 ¤È¤¤¤¦¹Ô¤ò FVWM2 ¤Î
2374 .Pa .fvwmrc
2375 ¤ËÄɲ乤ë¤È¤«¤Ê¤ê¤è¤¯¤Ê¤ê¤Þ¤¹¡£
2376 .\"O The problem appears to be caused by window manager bugs, triggered by
2377 .\"O the GUI's use of the
2378 .\"O .Ql WM_TAKE_FOCUS
2379 .\"O protocol.
2380 ¤³¤ÎÌäÂê¤Ï¤É¤¦¤ä¤é¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Î¥Ð¥°¤¬¸¶°ø¤é¤·¤¯¡¢GUI ¤¬
2381 .Ql WM_TAKE_FOCUS
2382 ¥×¥í¥È¥³¥ë¤ò»È¤¦¤Èµ¯¤³¤ë¤è¤¦¤Ç¤¹¡£
2383 .\"O As a work-around, you can always use the
2384 .\"O .Fl g
2385 .\"O option to disable the GUI entirely.
2386 ²óÈòºö¤È¤·¤Æ¤Ï¡¢
2387 .Fl g
2388 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ¡¢GUI ¤ò´°Á´¤Ë̵¸ú¤Ë¤¹¤ë¤È¤è¤¤¤Ç¤·¤ç¤¦¡£
2389