|
Lines 213-219
Link Here
|
| 213 |
|
213 |
|
| 214 |
<listitem> |
214 |
<listitem> |
| 215 |
<para>Grab the sources from a &os; <link linkend="mirrors">mirror |
215 |
<para>Grab the sources from a &os; <link linkend="mirrors">mirror |
| 216 |
site</link>. You can do this in one of three ways:</para> |
216 |
site</link>. You can do this in one of two ways:</para> |
| 217 |
|
217 |
|
| 218 |
<orderedlist> |
218 |
<orderedlist> |
| 219 |
<indexterm> |
219 |
<indexterm> |
|
Lines 229-237
Link Here
|
| 229 |
|
229 |
|
| 230 |
<listitem> |
230 |
<listitem> |
| 231 |
<para>Use the <link linkend="cvsup">cvsup</link> program |
231 |
<para>Use the <link linkend="cvsup">cvsup</link> program |
| 232 |
with <ulink |
232 |
with the supfile named <filename>standard-supfile</filename> |
| 233 |
url="ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/standard-supfile">this |
233 |
available from <filename>/usr/share/examples/cvsup</filename>. |
| 234 |
supfile</ulink>. This is the most recommended |
234 |
This is the most recommended |
| 235 |
method, since it allows you to grab the entire |
235 |
method, since it allows you to grab the entire |
| 236 |
collection once and then only what has changed from then |
236 |
collection once and then only what has changed from then |
| 237 |
on. Many people run <command>cvsup</command> from |
237 |
on. Many people run <command>cvsup</command> from |
|
Lines 245-278
Link Here
|
| 245 |
<screen>&prompt.root; <userinput>pkg_add -f ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsupit-3.1.tgz</userinput></screen> |
245 |
<screen>&prompt.root; <userinput>pkg_add -f ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsupit-3.1.tgz</userinput></screen> |
| 246 |
|
246 |
|
| 247 |
</listitem> |
247 |
</listitem> |
| 248 |
<indexterm> |
|
|
| 249 |
<primary>-CURRENT</primary> |
| 250 |
<secondary>Downloading with ftp</secondary> |
| 251 |
</indexterm> |
| 252 |
|
| 253 |
<listitem> |
| 254 |
<para>Use <command>ftp</command>. The source tree for |
| 255 |
&os.current; is <quote>exported</quote> on some of the |
| 256 |
<link linkend="mirrors-ftp">FTP mirrors</link> in the |
| 257 |
directory <filename>/pub/FreeBSD/FreeBSD-current/</filename>. |
| 258 |
Some of our FTP mirrors may also allow |
| 259 |
compressed/tarred grabbing of whole trees. For example you |
| 260 |
see:</para> |
| 261 |
|
| 262 |
<screen>usr.bin/lex</screen> |
| 263 |
|
| 264 |
<para>You can do the following to get the whole directory |
| 265 |
as a tar file:</para> |
| 266 |
|
| 267 |
<screen><prompt>ftp></prompt> <userinput>cd usr.bin</userinput> |
| 268 |
<prompt>ftp></prompt> <userinput>get lex.tar</userinput></screen> |
| 269 |
|
| 270 |
<note> |
| 271 |
<para>If you wish to download the entire &os.current; source |
| 272 |
tree <command>cvsup</command> handles this much better than |
| 273 |
mirroring a FTP site.</para> |
| 274 |
</note> |
| 275 |
</listitem> |
| 276 |
|
248 |
|
| 277 |
<indexterm> |
249 |
<indexterm> |
| 278 |
<primary>-CURRENT</primary> |
250 |
<primary>-CURRENT</primary> |
|
Lines 424-430
Link Here
|
| 424 |
<para>If you are already running a previous release of &os; |
396 |
<para>If you are already running a previous release of &os; |
| 425 |
and wish to upgrade via sources then you can easily do so |
397 |
and wish to upgrade via sources then you can easily do so |
| 426 |
from &os; <link linkend="mirrors">mirror site</link>. This can |
398 |
from &os; <link linkend="mirrors">mirror site</link>. This can |
| 427 |
be done in one of three ways:</para> |
399 |
be done in one of two ways:</para> |
| 428 |
|
400 |
|
| 429 |
<orderedlist> |
401 |
<orderedlist> |
| 430 |
<indexterm> |
402 |
<indexterm> |
|
Lines 439-447
Link Here
|
| 439 |
</indexterm> |
411 |
</indexterm> |
| 440 |
<listitem> |
412 |
<listitem> |
| 441 |
<para>Use the <link linkend="cvsup">cvsup</link> program |
413 |
<para>Use the <link linkend="cvsup">cvsup</link> program |
| 442 |
with <ulink |
414 |
with the supfile named <filename>stable-supfile</filename> |
| 443 |
url="ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/stable-supfile">this |
415 |
from the directory |
| 444 |
supfile</ulink>. This is the most recommended |
416 |
<filename>/usr/share/examples/cvsup</filename>. |
|
|
417 |
This is the most recommended |
| 445 |
method, since it allows you to grab the entire |
418 |
method, since it allows you to grab the entire |
| 446 |
collection once and then only what has changed from then |
419 |
collection once and then only what has changed from then |
| 447 |
on. Many people run <command>cvsup</command> from |
420 |
on. Many people run <command>cvsup</command> from |
|
Lines 455-487
Link Here
|
| 455 |
<blockquote><screen>&prompt.root; <userinput>pkg_add -f ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsupit-3.1.tgz</userinput></screen></blockquote> |
428 |
<blockquote><screen>&prompt.root; <userinput>pkg_add -f ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/cvsupit-3.1.tgz</userinput></screen></blockquote> |
| 456 |
</listitem> |
429 |
</listitem> |
| 457 |
|
430 |
|
| 458 |
<indexterm> |
|
|
| 459 |
<primary>-STABLE</primary> |
| 460 |
<secondary>downloading with FTP</secondary> |
| 461 |
</indexterm> |
| 462 |
<listitem> |
| 463 |
<para>Use <command>ftp</command>. The source tree for |
| 464 |
&os.stable; is <quote>exported</quote> on some of the |
| 465 |
<link linkend="mirrors-ftp">FTP mirrors</link> in the |
| 466 |
directory <filename>/pub/FreeBSD/FreeBSD-stable/</filename>. |
| 467 |
Some of our FTP mirrors may also allow |
| 468 |
compressed/tarred grabbing of whole trees. For example you |
| 469 |
see:</para> |
| 470 |
|
| 471 |
<screen>usr.bin/lex</screen> |
| 472 |
|
| 473 |
<para>You can do the following to get the whole directory |
| 474 |
for you as a tar file:</para> |
| 475 |
|
| 476 |
<screen><prompt>ftp></prompt> <userinput>cd usr.bin</userinput> |
| 477 |
<prompt>ftp></prompt> <userinput>get lex.tar</userinput></screen> |
| 478 |
|
| 479 |
<note> |
| 480 |
<para>If you wish to download the entire &os.stable; source |
| 481 |
tree <command>cvsup</command> handles this much better than |
| 482 |
mirroring a FTP site.</para> |
| 483 |
</note> |
| 484 |
</listitem> |
| 485 |
<indexterm> |
431 |
<indexterm> |
| 486 |
<primary>-STABLE</primary> |
432 |
<primary>-STABLE</primary> |
| 487 |
<secondary>syncing with CTM</secondary> |
433 |
<secondary>syncing with CTM</secondary> |