aboutsummaryrefslogtreecommitdiff
path: root/en/handbook/cutting-edge/chapter.sgml
blob: a79fc015cf59407c959e57e170505373f2f15c64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
<!--
     The FreeBSD Documentation Project

     $Id: chapter.sgml,v 1.22 1999-07-28 20:23:20 nik Exp $
-->

<chapter id="cutting-edge">
  <title>The Cutting Edge: FreeBSD-current and FreeBSD-stable</title>
  
  <para>FreeBSD is under constant development between releases.  For people
    who want to be on the cutting edge, there are several easy mechanisms for
    keeping your system in sync with the latest developments.  Be warned: the
    cutting edge is not for everyone! This chapter will help you decide if you
    want to track the development system, or stick with one of the released
    versions.</para>
  
  <sect1 id="current">
    <title>Staying Current with FreeBSD</title>
    
    <para><emphasis>Contributed by &a.jkh;.</emphasis></para>
    
    <sect2>
      <title>What is FreeBSD-current?</title>
      
      <para>FreeBSD-current is, quite literally, nothing more than a daily
	snapshot of the working sources for FreeBSD.  These include work in
	progress, experimental changes and transitional mechanisms that may or
	may not be present in the next official release of the software.
	While many of us compile almost daily from FreeBSD-current sources,
	there are periods of time when the sources are literally
	un-compilable.  These problems are generally resolved as expeditiously
	as possible, but whether or not FreeBSD-current sources bring disaster
	or greatly desired functionality can literally be a matter of which
	part of any given 24 hour period you grabbed them in!</para>
    </sect2>
    
    <sect2>
      <title>Who needs FreeBSD-current?</title>
      
      <para>FreeBSD-current is made generally available for 3 primary interest
	groups:</para>
	  
      <orderedlist>
	<listitem>
	  <para>Members of the FreeBSD group who are actively working on some
	    part of the source tree and for whom keeping &ldquo;current&rdquo;
	    is an absolute requirement.</para>
	</listitem>
	
	<listitem>
	  <para>Members of the FreeBSD group who are active testers, willing
	    to spend time working through problems in order to ensure that
	    FreeBSD-current remains as sane as possible. These are also people
	    who wish to make topical suggestions on changes and the general
	    direction of FreeBSD.</para>
	</listitem>
	
	<listitem>
	  <para>Peripheral members of the FreeBSD (or some other) group who
	    merely wish to keep an eye on things and use the current sources
	    for reference purposes (e.g. for <emphasis>reading</emphasis>, not
	    running).  These people also make the occasional comment or
	    contribute code.</para>
	</listitem>
      </orderedlist>
    </sect2>
    
    <sect2>
      <title>What is FreeBSD-current <emphasis>not</emphasis>?</title>
      
      <orderedlist>
	<listitem>
	  <para>A fast-track to getting pre-release bits because you heard
	    there is some cool new feature in there and you want to be the
	    first on your block to have it.</para>
	</listitem>
	
	<listitem>
	  <para>A quick way of getting bug fixes.</para>
	</listitem>
	
	<listitem>
	  <para>In any way &ldquo;officially supported&rdquo; by us.  We do
	    our best to help people genuinely in one of the 3
	    &ldquo;legitimate&rdquo; FreeBSD-current categories, but we simply
	    <emphasis>do not have the time</emphasis> to provide tech support
	    for it. This is not because we are mean and nasty people who do
	    not like helping people out (we would not even be doing FreeBSD if
	    we were), it is literally because we cannot answer 400 messages a
	    day <emphasis>and</emphasis> actually work on FreeBSD! I am sure
	    that, if given the choice between having us answer lots of
	    questions or continuing to improve FreeBSD, most of you would vote
	    for us improving it.</para>
	</listitem>
      </orderedlist>
    </sect2>
    
    <sect2>
      <title>Using FreeBSD-current</title>
      
      <orderedlist>
	<listitem>
	  <para>Join the &a.current; and the &a.cvsall; .  This is not just a
	    good idea, it is <emphasis>essential</emphasis>.  If you are not
	    on the <emphasis>FreeBSD-current</emphasis> mailing list, you will
	    not see the comments that people are making about the current
	    state of the system and thus will probably end up stumbling over a
	    lot of problems that others have already found and solved.  Even
	    more importantly, you will miss out on important bulletins which
	    may be critical to your system's continued health.</para>

	  <para>The <email>cvs-all</email> mailing list will allow you to see
	    the commit log entry for each change as it is made along with any
	    pertinent information on possible side-effects.</para>

	  <para>To join these lists, send mail to
	      &a.majordomo; and specify:

	    <programlisting>
subscribe freebsd-current
subscribe cvs-all</programlisting>

	    in the body of your message.  Optionally, you can also say
	    <literal>help</literal> and Majordomo will send you full help on
	    how to subscribe and unsubscribe to the various other mailing
	    lists we support.</para>
	</listitem>
	
	<listitem>
	  <para>Grab the sources from <hostid
	      role="fqdn">ftp.FreeBSD.org</hostid>.  You can do this in three
	    ways:</para>
	  
	  <orderedlist>
	    <listitem>
	      <para>Use the <application><link
		    linkend="ctm">CTM</link></application> facility.  Unless
		you  have a good TCP/IP connection at a flat rate, this is
		the way to do it.</para>
	    </listitem>
	    
	    <listitem>
	      <para>Use the <link linkend="cvsup">cvsup</link> program with
		<ulink
		  URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/standard-supfile">this
		  supfile</ulink>.  This is the second most recommended
		method, since it allows  you to grab the entire collection
		once and then only what has changed from then on.  Many people
		run cvsup from cron and keep their sources up-to-date
		automatically.  For a fairly easy interface to this, simply
		type:</para>
    
	      <blockquote><screen>&prompt.root; <userinput>pkg_add -f \
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsupit.tgz</userinput></screen></blockquote>
	    </listitem>
	    
	    <listitem>
	      <para>Use <command>ftp</command>.  The source tree for
		FreeBSD-current is always &ldquo;exported&rdquo; on: <ulink
		  URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current">ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current</ulink>.
		We also use <command>wu-ftpd</command> which allows
		compressed/tar'd grabbing of whole trees.  e.g. you
		see:</para>
	      
	      <screen>usr.bin/lex</screen>
	      
	      <para>You can do:
					
		<screen><prompt>ftp&gt;</prompt> <userinput>cd usr.bin</userinput>
<prompt>ftp&gt;</prompt> <userinput>get lex.tar.Z</userinput></screen>
		
		and it will get the whole directory for you as a compressed
		tar file.</para>
	    </listitem>
	  </orderedlist>
	</listitem>
	
	<listitem>
	  <para>Essentially, if you need rapid on-demand access to the source
	    and communications bandwidth is not a consideration, use
	    <command>cvsup</command> or <command>ftp</command>.  Otherwise,
	    use <application>CTM</application>.</para>

	  <para>If you are grabbing the sources to run, and not just look at,
	    then grab <emphasis>all</emphasis> of current, not just selected
	    portions.  The reason for this is that various parts of the source
	    depend on updates elsewhere, and trying to compile just a subset
	    is almost guaranteed to get you into trouble.</para>

	  <para>Before compiling current, read the Makefile in
	    <filename>/usr/src</filename> carefully.  You should at least run
	    a <link linkend="makeworld">make world</link> the first time
	    through as part of the upgrading process.  Reading the &a.current;
	    will keep you up-to-date on other bootstrapping procedures that
	    sometimes become necessary as we move towards the next
	    release.</para>
	</listitem>
	      
	<listitem>
	  <para>Be active! If you are running FreeBSD-current, we want to
	    know what you have to say about it, especially if you have
	    suggestions for enhancements or bug fixes. Suggestions with
	    accompanying code are received most enthusiastically!</para>
	</listitem>
      </orderedlist>
    </sect2>
  </sect1>
  
  <sect1 id="stable">
    <title>Staying Stable with FreeBSD</title>
    
    <para><emphasis>Contributed by &a.jkh;.</emphasis></para>
    
    <sect2>
      <title>What is FreeBSD-stable?</title>
      
      <para>FreeBSD-stable is our development branch for a more low-key and
	conservative set of changes intended for our next mainstream release.
	Changes of an experimental or untested nature do not go into this
	branch (see <link linkend="current">FreeBSD-current</link>).</para>
    </sect2>
    
    <sect2>
      <title>Who needs FreeBSD-stable?</title>
      
      <para>If you are a commercial user or someone who puts maximum stability
	of their FreeBSD system before all other concerns, you should consider
	tracking <emphasis>stable</emphasis>.  This is especially true if you
	have installed the most recent release (<ulink
	  URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/&rel.current;-RELEASE">&rel.current;-RELEASE</ulink>
	at the time of this writing) since the <emphasis>stable</emphasis>
	branch is effectively a bug-fix stream relative to the previous
	release.</para>
      
      <warning>
	<para>The <emphasis>stable</emphasis> tree endeavors, above all, to be
	  fully compilable and stable at all times, but we do occasionally
	  make mistakes (these are still active sources with
	  quickly-transmitted updates, after all).  We also do our best to
	  thoroughly test fixes in <emphasis>current</emphasis> before
	  bringing them into <emphasis>stable</emphasis>, but sometimes our
	  tests fail to catch every case.  If something breaks for you in
	  <emphasis>stable</emphasis>, please let us know
	  <emphasis>immediately!</emphasis> (see next section).</para>
      </warning>
    </sect2>
    
    <sect2>
      <title>Using FreeBSD-stable</title>
      
      <orderedlist>
	
	<listitem>
	  <para>Join the &a.stable;.  This will keep you informed of
	    build-dependencies that may appear in <emphasis>stable</emphasis>
	    or any other issues requiring special attention.  Developers will
	    also make announcements in this mailing list when they are
	    contemplating some controversial fix or update, giving the users a
	    chance to respond if they have any issues to raise concerning the
	    proposed change.</para>
	  
	  <para>The <email>cvs-all</email> mailing list will allow you to see
	    the commit log entry for each change as it is made along with any
	    pertinent information on possible side-effects.</para>

	  <para>To join these lists, send mail to &a.majordomo; and specify:

	    <programlisting>
subscribe freebsd-stable
subscribe cvs-all</programlisting>

	    in the body of your message.  Optionally, you can also say
	    <literal>help</literal> and Majordomo will send you full help on
	    how to subscribe and unsubscribe to the various other mailing
	    lists we support.</para>
	</listitem>
	
	<listitem>
	  <para>If you are installing a new system and want it to be as stable
	    as possible, you can simply grab the latest dated branch snapshot
	    from <ulink
	      url="ftp://releng3.FreeBSD.org/pub/FreeBSD/">ftp://releng3.FreeBSD.org/pub/FreeBSD/</ulink>
	    and install it like any other release.</para>

	  <para>If you are already running a previous release of 2.2 and wish
	    to upgrade via sources then you can easily do so from <hostid
	      role="fqdn">ftp.FreeBSD.org</hostid>.  This can be done in one
	    of three ways:</para>
		  
	  <orderedlist>
	    <listitem>
	      <para>Use the <application><link
		    linkend="ctm">CTM</link></application> facility.  Unless
		you have a good TCP/IP connection at a flat rate, this is
		the way to do it.</para>
	    </listitem>
	    
	    <listitem>
	      <para>Use the <link linkend="cvsup">cvsup</link> program with
		<ulink
		  URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/stable-supfile">this
		  supfile</ulink>.  This is the second most recommended
		method, since it allows  you to grab the entire collection
		once and then only what has changed from then on.  Many people
		run cvsup from cron to keep their sources up-to-date
		automatically.  For a fairly easy interface to this, simply
		type;</para>
	      
<blockquote><screen>&prompt.root; <userinput>pkg_add -f \
ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsupit.tgz</userinput></screen></blockquote>
	    </listitem>
		    
	    <listitem>
	      <para>Use <command>ftp</command>.  The source tree for
		FreeBSD-stable is always &ldquo;exported&rdquo; on: <ulink
		  URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-stable">ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-stable</ulink></para>
		      
	      <para>We also use <command>wu-ftpd</command> which allows
		compressed/tar'd grabbing of whole trees.  e.g. you
		see:</para>

	      <screen>usr.bin/lex</screen>
	      
	      <para>You can do:
		
		<screen><prompt>ftp&gt;</prompt> <userinput>cd usr.bin</userinput>
<prompt>ftp&gt;</prompt> <userinput>get lex.tar.Z</userinput></screen>
			
		and it will get the whole directory for you as a compressed
		tar file.</para>
	    </listitem>
	  </orderedlist>
	</listitem>
	
	<listitem>
	  <para>Essentially, if you need rapid on-demand access to the source
	    and communications bandwidth is not a consideration, use
	    <command>cvsup</command> or <command>ftp</command>.  Otherwise,
	    use <application>CTM</application>.</para>
	</listitem>
	
	<listitem>
	  <para>Before compiling stable, read the Makefile in
	    <filename>/usr/src</filename> carefully.  You should at least run
	    a <link linkend="makeworld">make world</link> the first time
	    through as part of the upgrading process.  Reading the &a.stable;
	    will keep you up-to-date on other bootstrapping procedures that
	    sometimes become necessary as we move towards the next
	    release.</para>
	</listitem>
      </orderedlist>
    </sect2>
  </sect1>
  
  <sect1 id="synching">
    <title>Synchronizing Source Trees over the Internet</title>
    
    <para><emphasis>Contributed by &a.jkh;.</emphasis></para>
	
    <para>There are various ways of using an Internet (or email) connection to
      stay up-to-date with any given area of the FreeBSD project sources, or
      all areas, depending on what interests you.  The primary services we
      offer are <link linkend="anoncvs">Anonymous CVS</link>, <link
	linkend="cvsup">CVSup</link>, and <link
	linkend="ctm">CTM</link>.</para>
	
    <para><application>Anonymous CVS</application> and
      <application>CVSup</application> use the <emphasis>pull</emphasis> model
      of updating sources.  In the case of <application>CVSup</application>
      the user (or a cron script) invokes the <command>cvsup</command>
      program, and it interacts with a <command>cvsupd</command> server
      somewhere to bring your files up to date.  The updates you receive are
      up-to-the-minute and you get them when, and only when, you want them.
      You can easily restrict your updates to the specific files or
      directories that are of interest to you.  Updates are generated on the
      fly by the server, according to what you have and what you want to have.
      <application>Anonymous CVS</application> is quite a bit more simplistic
      than CVSup in that it's just an extension to
      <application>CVS</application> which allows it to pull changes directly
      from a remote CVS repository.  <application>CVSup</application> can do
      this far more efficiently, but <application>Anonymous CVS</application>
      is easier to use.</para>
	
    <para><application>CTM</application>, on the other hand, does not
      interactively compare the sources you have with those on the master
      archive or otherwise pull them across..  Instead, a script which
      identifies changes in files since its previous run is executed several
      times a day on the master CTM machine, any detected changes being
      compressed, stamped with a sequence-number and encoded for transmission
      over email (in printable ASCII only).  Once received, these &ldquo;CTM
      deltas&rdquo; can then be handed to the &man.ctm.rmail.1; utility which
      will automatically decode,
      verify and apply the changes to the user's copy of the sources.  This
      process is far more efficient than <application>CVSup</application>, and
      places less strain on our server resources since it is a
      <emphasis>push</emphasis> rather than a <emphasis>pull</emphasis>
      model.</para>

    <para>There are other trade-offs, of course.  If you inadvertently wipe
      out portions of your archive, <application>CVSup</application> will
      detect and rebuild the damaged portions for you.
      <application>CTM</application> won't do this, and if you wipe some
      portion of your source tree out (and don't have it backed up) then you
      will have to start from scratch (from the most recent CVS &ldquo;base
      delta&rdquo;) and rebuild it all with CTM or, with anoncvs, simply
      delete the bad bits and resync.</para>
	
    <para>For more information on <application>Anonymous CVS</application>,
      <application>CTM</application>, and <application>CVSup</application>,
      please see one of the following sections:</para>

    <sect2 id="anoncvs">
      <title>Anonymous CVS</title>
      
      <para><emphasis>Contributed by &a.jkh;</emphasis></para>
      
      <sect3>
	<title><anchor id="anoncvs-intro">Introduction</title>
	
	<para>Anonymous CVS (or, as it is otherwise known,
	  <emphasis>anoncvs</emphasis>) is a feature provided by the CVS
	  utilities bundled with FreeBSD for synchronizing with a remote CVS
	  repository.  Among other things, it allows users of FreeBSD to
	  perform, with no special privileges, read-only CVS operations
	  against one of the FreeBSD project's official anoncvs servers.  To
	  use it, one simply sets the <envar>CVSROOT</envar> environment
	  variable to point at the appropriate anoncvs server and then uses
	  the &man.cvs.1; command to access it like any local
	  repository.</para>

	<para>While it can also be said that the <link
	    linkend="cvsup">CVSup</link> and <emphasis>anoncvs</emphasis>
	  services both perform essentially the same function, there are
	  various trade-offs which can influence the user's choice of
	  synchronization methods.  In a nutshell,
	  <application>CVSup</application> is much more efficient in its usage
	  of network resources and is by far the most technically
	  sophisticated of the two, but at a price.  To use
	  <application>CVSup</application>, a special client must first be
	  installed and configured before any bits can be grabbed, and then
	  only in the fairly large chunks which
	  <application>CVSup</application> calls
	  <emphasis>collections</emphasis>.</para>

	<para><application>Anoncvs</application>, by contrast, can be used to
	  examine anything from an individual file to a specific program (like
	  <command>ls</command> or <command>grep</command>) by referencing the
	  CVS module name.  Of course, <application>anoncvs</application> is
	  also only good for read-only operations on the CVS repository, so if
	  it's your intention to support local development in one repository
	  shared with the FreeBSD project bits then
	  <application>CVSup</application> is really your only option.</para>
      </sect3>
      
      <sect3>
	<title><anchor id="anoncvs-usage">Using Anonymous CVS</title>
	
	<para>Configuring &man.cvs.1; to use an Anonymous CVS repository is a
	  simple matter of setting the <envar>CVSROOT</envar> environment
	  variable to point to one of the FreeBSD project's
	  <emphasis>anoncvs</emphasis> servers.  At the time of this writing,
	  the following servers are available:</para>

	<itemizedlist>
	  <listitem>
	    <para><emphasis>USA</emphasis>:
	      anoncvs@anoncvs.FreeBSD.org:/cvs</para>
	  </listitem>
	</itemizedlist>
	
	<para>Since CVS allows one to &ldquo;check out&rdquo; virtually any
	  version of the FreeBSD sources that ever existed (or, in some cases,
	  will exist <!-- smiley -->:), you need to be familiar with the
	  revision (<option>-r</option>) flag to &man.cvs.1; and what some of
	  the permissible values for it in the FreeBSD Project repository
	  are.</para>

	<para>There are two kinds of tags, revision tags and branch tags.  A
	  revision tag refers to a specific revision.  Its meaning stays the
	  same from day to day.  A branch tag, on the other hand, refers to
	  the latest revision on a given line of development, at any given
	  time.  Because a branch tag does not refer to a specific revision,
	  it may mean something different tomorrow than it means today.</para>
	
	<para>Here are the branch tags that users might be interested
	  in:</para>

	<variablelist>
	  <varlistentry>
	    <term>HEAD</term>
	    
	    <listitem>
	      <para>Symbolic name for the main line, or FreeBSD-current. Also
		the default when no revision is specified.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_3</term>
	    
	    <listitem>
	      <para>The line of development for FreeBSD-3.x, also known as
		FreeBSD-stable.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_2</term>
	    
	    <listitem>
	      <para>The line of development for FreeBSD-2.2.x, also known as
		2.2-stable.  This branch is mostly obsolete. Not valid for
	 	the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_0</term>
	    
	    <listitem>
	      <para>The line of development for FreeBSD-2.1.x - this branch is
		largely obsolete.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	</variablelist>
	
	<para>Here are the revision tags that users might be interested
	  in:</para>
	
	<variablelist>
	  <varlistentry>

            <term>RELENG_3_2_0_RELEASE</term>
                  
            <listitem>
              <para>FreeBSD-3.2.  Not valid for the ports collection.</para>
            </listitem>
          </varlistentry>
        
          <varlistentry>

	    <term>RELENG_3_1_0_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-3.1.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>RELENG_3_0_0_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-3.0.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>RELENG_2_2_8_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.8.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>RELENG_2_2_7_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.7.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>

	  <varlistentry>
	    <term>RELENG_2_2_6_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.6.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_2_5_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.5.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_2_2_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.2.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_2_1_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.1.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_2_0_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.2.0.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_7_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.1.7.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_6_1_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.1.6.1.  Not valid for the ports
		collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_6_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.1.6.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_5_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.1.5.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>RELENG_2_1_0_RELEASE</term>
	    
	    <listitem>
	      <para>FreeBSD-2.1.0.  Not valid for the ports collection.</para>
	    </listitem>
	  </varlistentry>
	</variablelist>
	
	<para>When you specify a branch tag, you normally receive the latest
	  versions of the files on that line of development.  If you wish to
	  receive some past version, you can do so by specifying a date with
	  the <option>-D date</option> flag.  See the &man.cvs.1; man page
	  for more details.</para>
      </sect3>
      
      <sect3>
	<title>Examples</title>
	
	<para>While it really is recommended that you read the manual page for
	    &man.cvs.1; thoroughly before doing anything, here are some
	  quick examples which essentially show how to use Anonymous
	  CVS:</para>

	<example>
	  <title>Checking out something from -current (&man.ls.1;) and
	    deleting it again:</title>

	  <screen>
&prompt.user; <userinput>setenv CVSROOT anoncvs@anoncvs.FreeBSD.org:/cvs</userinput>
&prompt.user; <userinput>cvs co ls</userinput>
&prompt.user; <userinput>cvs release -d ls</userinput></screen>
	</example>
	
	<example>
	  <title>Checking out the version of ls(1) in the 2.2-stable
	    branch:</title>
	    
	  <screen>
&prompt.user; <userinput>setenv CVSROOT anoncvs@anoncvs.FreeBSD.org:/cvs</userinput>
&prompt.user; <userinput>cvs co -rRELENG_2_2 ls</userinput>
&prompt.user; <userinput>cvs release -d ls</userinput></screen>
	</example>
	
	<example>
	  <title>Creating a list of changes (as unidiffs) to &man.ls.1;</title>

	  <screen>
&prompt.user; <userinput>setenv CVSROOT anoncvs@anoncvs.FreeBSD.org:/cvs</userinput>
&prompt.user; <userinput>cvs rdiff -u -rRELENG_2_2_2_RELEASE -rRELENG_2_2_6_RELEASE ls</userinput></screen>
	</example>

	<example>
	  <title>Finding out what other module names can be used:</title>
	  
	  <screen>
&prompt.user; <userinput>setenv CVSROOT anoncvs@anoncvs.FreeBSD.org:/cvs</userinput>
&prompt.user; <userinput>cvs co modules</userinput>
&prompt.user; <userinput>more modules/modules</userinput>
&prompt.user; <userinput>cvs release -d modules</userinput></screen>
	</example>
      </sect3>
      
      <sect3>
	<title>Other Resources</title>
	
	<para>The following additional resources may be helpful in learning
	  CVS:</para>
	
	<itemizedlist>
	  <listitem>
	    <para><ulink
		url="http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/">CVS Tutorial</ulink> from Cal Poly.</para>
	  </listitem>
	  
	  <listitem>
	    <para><ulink url="http://www.cyclic.com">Cyclic Software</ulink>,
	      commercial maintainers of CVS.</para>
	  </listitem>
	  
	  <listitem>
	    <para><ulink
		url="http://www.FreeBSD.org/cgi/cvsweb.cgi">CVSWeb</ulink> is
	      the FreeBSD Project web interface for CVS.</para>
	  </listitem>
	</itemizedlist>
      </sect3>
    </sect2>
    
    <sect2 id="ctm">
      <title><application>CTM</application></title>
      
      <para><emphasis>Contributed by &a.phk;.  Updated
	  19-October-1997.</emphasis></para>
      
      <para><application>CTM</application> is a method for keeping a remote
	directory tree in sync with a central one.  It has been developed for
	usage with FreeBSD's source trees, though other people may find it
	useful for other purposes as time goes by.  Little, if any,
	documentation currently exists at this time on the process of creating
	deltas, so talk to &a.phk; for more information should you wish to use
	<application>CTM</application> for other things.</para>
	  
      <sect3>
	<title>Why should I use <application>CTM</application>?</title>
	
	<para><application>CTM</application> will give you a local copy of the
	  FreeBSD source trees.  There are a number of &ldquo;flavors&rdquo;
	  of the tree available.  Whether you wish to track the entire cvs
	  tree or just one of the branches, <application>CTM</application> can
	  provide you the information.  If you are an active developer on
	  FreeBSD, but have lousy or non-existent TCP/IP connectivity, or
	  simply wish to have the changes automatically sent to you,
	  <application>CTM</application> was made for you.  You will need to
	  obtain up to three deltas per day for the most  active branches.
	  However, you should consider having them sent by automatic email.
	  The sizes of the updates are always kept as small as possible.  This
	  is typically less than 5K, with an occasional (one in ten) being
	  10-50K and every now and then a biggie of 100K+ or more coming
	  around.</para>
	    
	<para>You will also need to make yourself aware of the various caveats
	  related to working directly from the development sources rather than
	  a pre-packaged release.  This is particularly true if you choose the
	  &ldquo;current&rdquo; sources.  It is recommended that you read
	  <link linkend="current">Staying current with FreeBSD</link>.</para>
      </sect3>
      
      <sect3>
	<title>What do I need to use <application>CTM</application>?</title>
	
	<para>You will need two things: The <application>CTM</application>
	  program and the initial deltas to feed it (to get up to
	  &ldquo;current&rdquo; levels).</para>
	    
	<para>The <application>CTM</application> program has been part of
	  FreeBSD ever since version 2.0 was released, and lives in
	  <filename>/usr/src/usr.sbin/CTM</filename> if you have a copy of the
	  source online.</para>
	    
	<para>If you are running a pre-2.0 version of FreeBSD, you can fetch
	  the current <application>CTM</application> sources directly
	  from:</para>
	    
	<para><ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/ctm">ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/ctm</ulink></para>
	    
	<para>The &ldquo;deltas&rdquo; you feed <application>CTM</application>
	  can be had two ways, FTP or e-mail.  If you have general FTP access
	  to the Internet then the following FTP sites support access to
	  <application>CTM</application>:</para>
	    
	<para><ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM">ftp://ftp.FreeBSD.org/pub/FreeBSD/CTM</ulink></para>
	    
	<para>or see section <link linkend="mirrors-ctm">mirrors</link>.</para>
	
	<para>FTP the relevant directory and fetch the
	  <filename>README</filename> file, starting from there.</para>
	    
	<para>If you may wish to get your deltas via email:</para>
	    
	<para>Send email to &a.majordomo; to subscribe to one of the
	  <application>CTM</application> distribution lists.
	  &ldquo;ctm-cvs-cur&rdquo; supports the entire cvs tree.
	  &ldquo;ctm-src-cur&rdquo; supports the head of the development
	  branch.  &ldquo;ctm-src-2_2&rdquo; supports the 2.2 release branch,
	  etc.  (If you do not know how to subscribe yourself using majordomo,
	  send a message first containing the word <literal>help</literal>
	  &mdash; it will send you back usage instructions.)</para>
	    
	<para>When you begin receiving your <application>CTM</application>
	  updates in the mail, you may use the <command>ctm_rmail</command>
	  program to unpack and apply them.  You can actually use the
	  <command>ctm_rmail</command> program directly from a entry in
	  <filename>/etc/aliases</filename> if you want to have the process
	  run in a fully automated fashion.  Check the
	  <command>ctm_rmail</command> man page for more details.</para>

	<note>
	  <para>No matter what method you use to get the
	    <application>CTM</application> deltas, you should subscribe to the
	    <email>ctm-announce@FreeBSD.org</email> mailing list.  In the
	    future, this will be the only place where announcements concerning
	    the operations of the <application>CTM</application> system will
	    be posted.  Send an email to &a.majordomo; with a single line of
	    <literal>subscribe ctm-announce</literal> to get added to the
	    list.</para>
	</note>
      </sect3>
      
      <sect3>
	<title>Starting off with <application>CTM</application> for the first
	  time</title>
	    
	<para>Before you can start using <application>CTM</application>
	  deltas, you will need to get to a starting point for the deltas
	  produced subsequently to it.</para>
	    
	<para>First you should determine what you already have.  Everyone can
	  start from an &ldquo;empty&rdquo; directory.  You must use an
	  initial &ldquo;Empty&rdquo delta to start off your
	  <application>CTM</application> supported tree.  At some point it is
	  intended that one of these &ldquo;started&rdquo; deltas be
	  distributed on the CD for your convenience.  This does not currently
	  happen however.</para>

	<para>However, since the trees are many tens of megabytes, you should
	  prefer to start from something already at hand.  If you have a
	  RELEASE CD, you can copy or extract an initial source from it.  This
	  will save a significant transfer of data.</para>
	    
	<para>You can recognize these &ldquo;starter&rdquo; deltas by the
	  <literal>X</literal> appended to the number
	  (<filename>src-cur.3210XEmpty.gz</filename> for instance).  The
	  designation following the <filename>X</filename> corresponds to the
	  origin of your initial &ldquo;seed&rdquo;.
	  <filename>Empty</filename> is an empty directory.  As a rule a base
	  transition from <filename>Empty</filename> is produced every 100
	  deltas.  By the way, they are large! 25 to 30 Megabytes of
	  <command>gzip</command>'ed data is common for the
	  <filename>XEmpty</filename> deltas.</para>
	    
	<para>Once you've picked a base delta to start from, you will also
	  need all deltas with higher numbers following it.</para>
      </sect3>
      
      <sect3>
	<title>Using <application>CTM</application> in your daily life</title>
	
	<para>To apply the deltas, simply say:</para>
	
	<screen>&prompt.root; <userinput>cd /where/ever/you/want/the/stuff</userinput>
&prompt.root; <userinput>ctm -v -v /where/you/store/your/deltas/src-xxx.*</userinput></screen>
	      
	<para><application>CTM</application> understands deltas which have
	  been put through <command>gzip</command>, so you do not need to
	  gunzip them first, this saves disk space.</para>
	    
	<para>Unless it feels very secure about the entire process,
	  <application>CTM</application> will not touch your tree.  To verify
	  a delta you can also use the <option>-c</option> flag and
	  <application>CTM</application> will not actually touch your tree; it
	  will merely verify the integrity of the delta and see if it would
	  apply cleanly to your current tree.</para>
	    
	<para>There are other options to <application>CTM</application> as
	  well, see the manual pages or look in the sources for more
	  information.</para>
	    
	<para>I would also be very happy if somebody could help with the
	  &ldquo;user interface&rdquo; portions, as I have realized that I
	  cannot make up my mind on what options should do what, how and
	  when...</para>
	    
	<para>That's really all there is to it.  Every time you get a new
	  delta, just run it through <application>CTM</application> to keep
	  your sources up to date.</para>
	    
	<para>Do not remove the deltas if they are hard to download again. You
	  just might want to keep them around in case something bad happens.
	  Even if you only have floppy disks, consider using
	  <command>fdwrite</command> to make a copy.</para>
      </sect3>
      
      <sect3>
	<title>Keeping your local changes</title>
	
	<para>As a developer one would like to experiment with and change
	  files in the source tree.  <application>CTM</application> supports
	  local modifications in a limited way: before checking for the
	  presence of a file <filename>foo</filename>, it first looks for
	  <filename>foo.ctm</filename>.  If this file exists, CTM will operate
	  on it instead of <filename>foo</filename>.</para>
	    
	<para>This behaviour gives us a simple way to maintain local changes:
	  simply copy the files you plan to modify to the corresponding file
	  names with a <filename>.ctm</filename> suffix.  Then you can freely
	  hack  the code, while CTM keeps the <filename>.ctm</filename> file
	  up-to-date.</para>
      </sect3>
      
      <sect3>
	<title>Other interesting <application>CTM</application> options</title>
	
	<sect4>
	  <title>Finding out exactly what would be touched by an
	    update</title>
	      
	  <para>You can determine the list of changes that
	    <application>CTM</application> will make on your source repository
	    using the <option>-l</option> option to
	    <application>CTM</application>.</para>
	      
	  <para>This is useful if you would like to keep logs of the changes,
	    pre- or post- process the modified files in any manner, or just
	    are feeling a tad paranoid <!-- smiley -->:-).</para>
	</sect4>
	
	<sect4>
	  <title>Making backups before updating</title>
	  
	  <para>Sometimes you may want to backup all the files that would be
	    changed by a <application>CTM</application> update.</para>
	      
	  <para>Specifying the <option>-B backup-file</option> option causes
	    <application>CTM</application> to backup all files that would be
	    touched by a given <application>CTM</application> delta to
	    <filename>backup-file</filename>.</para>
	</sect4>
	
	<sect4>
	  <title>Restricting the files touched by an update</title>
	  
	  <para>Sometimes you would be interested in restricting the scope of
	    a given <application>CTM</application> update, or may be
	    interested in extracting just a few files from a sequence of
	    deltas.</para>
	      
	  <para>You can control the list of files that
	    <application>CTM</application> would operate on by specifying
	    filtering regular expressions using the <option>-e</option> and
	    <option>-x</option> options.</para>
	      
	  <para>For example, to extract an up-to-date copy of
	    <filename>lib/libc/Makefile</filename> from your collection of
	    saved CTM deltas, run the commands:</para>
		
	  <screen>&prompt.root; <userinput>cd /where/ever/you/want/to/extract/it/</userinput>
&prompt.root; <userinput>ctm -e '^lib/libc/Makefile' ~ctm/src-xxx.*</userinput></screen>
		
	  <para>For every file specified in a <application>CTM</application>
	    delta, the <option>-e</option> and <option>-x</option> options are
	    applied in the order given on the command line.  The file is
	    processed by <application>CTM</application> only if it is marked
	    as eligible after all the <option>-e</option> and
	    <option>-x</option> options are applied to it.</para>
	</sect4>
      </sect3>
      
      <sect3>
	<title>Future plans for <application>CTM</application></title>
	
	<para>Tons of them:</para>
	
	<itemizedlist>
	  <listitem>
	    <para>Use some kind of authentication into the CTM system, so as
	      to allow detection of spoofed CTM updates.</para>
	  </listitem>
	  
	  <listitem>
	    <para>Clean up the options to <application>CTM</application>, they
	      became confusing and counter intuitive.</para>
	  </listitem>
	</itemizedlist>
	
	<para>The bad news is that I am very busy, so any help in doing this
	  will be most welcome.  And do not forget to tell me what you want
	  also...</para>
      </sect3>
      
      <sect3>
	<title>Miscellaneous stuff</title>
	
	<para>All the &ldquo;DES infected&rdquo; (e.g. export controlled)
	  source is not included.  You will get the
	  &ldquo;international&rdquo; version only. If sufficient interest
	  appears, we will set up a <literal>sec-cur</literal> sequence too.
	  There is a sequence of deltas for the <literal>ports</literal>
	  collection too, but interest has not been all that high yet. Tell me
	  if you want an email list for that too and we will consider setting
	  it up.</para>
      </sect3>
      
      <sect3>
	<title>Thanks!</title>
	
	<variablelist>
	  <varlistentry>
	    <term>&a.bde;</term>

	    <listitem>
	      <para>for his pointed pen and invaluable comments.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>&a.sos;</term>
	    
	    <listitem>
	      <para>for patience.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>Stephen McKay</term>
	    
	    <listitem>
	      <para>wrote <command>ctm_[rs]mail</command>, much
		appreciated.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>&a.jkh;</term>
	    
	    <listitem>
	      <para>for being so stubborn that I had to make it better.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term>All the users</term>
	    
	    <listitem>
	      <para>I hope you like it...</para>
	    </listitem>
	  </varlistentry>
	</variablelist>
      </sect3>
    </sect2>
    
    <sect2 id="cvsup">
      <title><application>CVSup</application></title>
      
      <para><emphasis>Contributed by &a.jdp;</emphasis>.</para>
      
      <sect3 id="cvsup-intro">
	<title>Introduction</title>
	
	<para><application>CVSup</application> is a software package for
	  distributing and updating source trees from a master CVS repository
	  on a remote server host.  The FreeBSD sources are maintained in a
	  CVS repository on a central development machine in California.  With
	  <application>CVSup</application>, FreeBSD users can easily keep
	  their own source trees up to date.</para>
	    
	<para><application>CVSup</application> uses the so-called
	  <emphasis>pull</emphasis> model of updating.  Under the pull model,
	  each client asks the server for updates, if and when they are
	  wanted.  The server waits passively for update requests from its
	  clients.  Thus all updates are instigated by the client.  The server
	  never sends unsolicited updates.  Users must either run the
	  <application>CVSup</application> client manually to get an update,
	  or they must set up a <command>cron</command> job to run it
	  automatically on a regular basis.</para>
	    
	<para>The term <application>CVSup</application>, capitalized just so,
	  refers to the entire software package.  Its main components are the
	  client <command>cvsup</command> which runs on each user's machine,
	  and the server <command>cvsupd</command> which runs at each of the
	  FreeBSD mirror sites.</para>
	    
	<para>As you read the FreeBSD documentation and mailing lists, you may
	  see references to <application>sup</application>.
	  <application>Sup</application> was the predecessor of
	  <application>CVSup</application>, and it served a similar purpose.
	  <application>CVSup</application> is in used in much the same way as
	  sup and, in fact, uses configuration files which are
	  backward-compatible with <command>sup</command>'s.
	  <application>Sup</application> is no longer used in the FreeBSD
	  project, because <application>CVSup</application> is both faster and
	  more flexible.</para>
      </sect3>
      
      <sect3 id="cvsup-install">
	<title>Installation</title>
	
	<para>The easiest way to install <application>CVSup</application> if
	  you are running FreeBSD 2.2 or later is to use either <ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ports-current/net/cvsup.tar">the
	    port</ulink> from the FreeBSD <link linkend="ports">ports
	    collection</link> or the corresponding <ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/packages-current/net/cvsup-16.0.tgz">binary
	    package</ulink>, depending on whether you prefer to roll your own
	  or not.</para>
	    
	<para>If you are running FreeBSD-2.1.6 or 2.1.7, you unfortunately
	  cannot use the binary package versions due to the fact that they
	  require a version of the C library that does not yet exist in
	  FreeBSD-2.1.{6,7}.  You can easily use <ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ports-current/net/cvsup.tar">the
	    port</ulink>, however, just as with FreeBSD 2.2.  Simply unpack
	  the tar file, cd to the cvsup subdirectory and type <command>make
	    install</command>.</para>
	    
	<para>Because <application>CVSup</application> is written in <ulink
	    URL="http://www.research.digital.com/SRC/modula-3/html/home.html">Modula-3</ulink>,
	  both the package and the port require that the Modula-3 runtime
	  libraries be installed.  These are available as the <ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ports-current/lang/modula-3-lib.tar">lang/modula-3-lib</ulink> port and the <ulink URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/packages-current/lang/modula-3-lib-3.6.tgz">lang/modula-3-lib-3.6</ulink> package.
	  If you follow the same directions as for <command>cvsup</command>,
	  these libraries will be compiled and/or installed automatically when
	  you install the <application>CVSup</application> port or
	  package.</para>
	    
	<para>The Modula-3 libraries are rather large, and fetching and
	  compiling them is not an instantaneous process.  For that reason, a
	  third option is provided.  You can get <emphasis>statically
	    linked</emphasis> FreeBSD executables for
	  <application>CVSup</application> from the USA distribution
	  site:</para>
	    
	<itemizedlist>
	  <listitem>
	    <para><ulink
		URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsup-bin-16.0.tar.gz">ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsup-bin-16.0.tar.gz</ulink> (client including GUI).</para>
	  </listitem>
	  
	  <listitem>
	    <para><ulink
		URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsup.nogui-bin-16.0.tar.gz">ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsup.nogui-bin-16.0.tar.gz</ulink> (client without GUI).</para>
	  </listitem>
	  
	  <listitem>
	    <para><ulink
		URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsupd-bin-16.0.tar.gz">ftp://ftp.FreeBSD.org/pub/FreeBSD/development/CVSup/cvsupd-bin-16.0.tar.gz</ulink> (server).</para>
	  </listitem>
	</itemizedlist>
	
	<para>as well as from the many FreeBSD <link linkend="mirrors-ftp">FTP
	    mirror sites</link> around the world.</para>
	
	<para>Most users will need only the client.  These executables are
	  entirely self-contained, and they will run on any version of FreeBSD
	  from FreeBSD-2.1.0 to FreeBSD-current.</para>
	    
	<para>In summary, your options for installing CVSup are:</para>
	
	<itemizedlist>
	  <listitem>
	    <para>FreeBSD-2.2 or later:		static binary, port, or
	      package</para>
	  </listitem>
	  
	  <listitem>
	    <para>FreeBSD-2.1.6, 2.1.7:		static binary or port</para>
	  </listitem>
	  
	  <listitem>
	    <para>FreeBSD-2.1.5 or earlier:	static binary</para>
	  </listitem>
	</itemizedlist>
      </sect3>
      
      <sect3 id="cvsup-config">
	<title>CVSup Configuration</title>
	
	<para><application>CVSup</application>'s operation is controlled by a
	  configuration file called the <filename>supfile</filename>.
	  Beginning with FreeBSD-2.2, there are some sample
	  <filename>supfiles</filename> in the directory <ulink
	    URL="file:/usr/share/examples/cvsup">/usr/share/examples/cvsup</ulink>.
	  These examples are also available from <ulink
	    URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/">ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/src/share/examples/cvsup/</ulink> if you are on a pre-2.2 system.</para>
	
	<para>The information in a <filename>supfile</filename> answers the
	  following questions for cvsup:</para>
		    
	<itemizedlist>
	  <listitem>
	    <para><link linkend="cvsup-config-files">Which files do you want
		to receive?</link></para>
	  </listitem>
	  
	  <listitem>
	    <para><link linkend="cvsup-config-vers">Which versions of them do
		you want?</link></para>
	  </listitem>
	  
	  <listitem>
	    <para><link linkend="cvsup-config-where">Where do you want to get
		them from?</link></para>
	  </listitem>
	  
	  <listitem>
	    <para><link linkend="cvsup-config-dest">Where do you want to put
		them on your own machine?</link></para>
	  </listitem>
	  
	  <listitem>
	    <para><link linkend="cvsup-config-status">Where do you want to put
		your status files?</link></para>
	  </listitem>
	</itemizedlist>
	
	<para>In the following sections, we will construct a typical
	  <filename>supfile</filename> by answering each of these questions in
	  turn.  First, we describe the overall structure of a
	  <filename>supfile</filename>.</para>
	    
	<para>A <filename>supfile</filename> is a text file.  Comments begin
	  with <literal>#</literal> and extend to the end of the line.  Lines
	  that are blank and lines that contain only comments are
	  ignored.</para>
	    
	<para>Each remaining line describes a set of files that the user
	  wishes to receive.  The line begins with the name of a
	  &ldquo;collection&rdquo;, a logical grouping of files defined by the
	  server. The name of the collection tells the server which files you
	  want.  After the collection name come zero or more fields, separated
	  by white space.  These fields answer the questions listed above.
	  There are two types of fields: flag fields and value fields.  A flag
	  field consists of a keyword standing alone, e.g.,
	  <literal>delete</literal> or <literal>compress</literal>.  A value
	  field also begins with a keyword, but the keyword is followed
	  without intervening white space by <literal>=</literal> and a second
	  word.  For example, <literal>release=cvs</literal> is a value
	  field.</para>
	    
	<para>A <filename>supfile</filename> typically specifies more than one
	  collection to receive.  One way to structure a
	  <filename>supfile</filename> is to specify all of the relevant
	  fields explicitly for each collection.  However, that tends to make
	  the <filename>supfile</filename> lines quite long, and it is
	  inconvenient because most fields are the same for all of the
	  collections in a <filename>supfile</filename>.
	  <application>CVSup</application> provides a defaulting mechanism to
	  avoid these problems.  Lines beginning with the special
	  pseudo-collection name <literal>*default</literal> can be used to
	  set flags and values which will be used as defaults for the
	  subsequent collections in the <filename>supfile</filename>.  A
	  default value can be overridden for an individual collection, by
	  specifying a different value with the collection itself. Defaults
	  can also be changed or augmented in mid-supfile by additional
	  <literal>*default</literal> lines.</para>
	    
	<para>With this background, we will now proceed to construct a
	  <filename>supfile</filename> for receiving and updating the main
	  source tree of <link
	    linkend="current">FreeBSD-current</link>.</para>
	
	<itemizedlist>
	  <listitem>
	    <para>Which files do you want to receive?<anchor
		id="cvsup-config-files"></para>
		  
	    <para>The files available via <application>CVSup</application> are
	      organized into named groups called &ldquo;collections&rdquo;.
	      The collections that are available are described <link
		linkend="cvsup-collec">here</link>.  In this example, we wish
	      to receive the entire main source tree for the FreeBSD system.
	      There is a single large collection <literal>src-all</literal>
	      which will give us all of that, except the export-controlled
	      cryptography support.  Let us assume for this example that we
	      are in the USA or Canada.  Then we can get the cryptography code
	      with one additional collection, <literal>cvs-crypto</literal>.
	      As a first step toward constructing our
	      <filename>supfile</filename>, we simply list these collections,
	      one per line:</para>
		  
	    <programlisting>
src-all
cvs-crypto</programlisting>
	  </listitem>
		
	  <listitem>
	    <para>Which version(s) of them do you want?<anchor
		id="cvsup-config-vers"></para>
		  
	    <para>With <application>CVSup</application>, you can receive
	      virtually any version of the sources that ever existed.  That is
	      possible because the cvsupd server works directly from the CVS
	      repository, which contains all of the versions.  You specify
	      which one of them you want using the <literal>tag=</literal> and
	      <option>date=</option> value fields.</para>

	    <warning>
	      <para>Be very careful to specify any <literal>tag=</literal>
		fields correctly.  Some tags are valid only for certain
		collections of files.  If you specify an incorrect or
		misspelled tag, CVSup will delete files which you probably do
		not want deleted.  In particular, use <emphasis>only
		</emphasis> <literal>tag=.</literal> for the
		<literal>ports-*</literal> collections.</para>
	    </warning>
		
	    <para>The <literal>tag=</literal> field names a symbolic tag in
	      the repository.  There are two kinds of tags, revision tags and
	      branch tags.  A revision tag refers to a specific revision.  Its
	      meaning stays the same from day to day.  A branch tag, on the
	      other hand, refers to the latest revision on a given line of
	      development, at any given time.  Because a branch tag does not
	      refer to a specific revision, it may mean something different
	      tomorrow than it means today.</para>

	    <para>Here are the branch tags that users might be interested
	      in:</para>
	    
	    <variablelist>
	      <varlistentry>
		<term>tag=.</term>

		<listitem>
		  <para>The main line of development, also known as
		    FreeBSD-current.</para>

		  <note>
		    <para>The <literal>.</literal> is not punctuation; it is
		      the name of the tag.  Valid for all collections.</para>
		  </note>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>RELENG_3</term>

		<listitem>
		  <para>The line of development for FreeBSD-3.x, also known as
		    FreeBSD-stable.  Not valid for the ports
		    collection.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>RELENG_2_2</term>
		
		<listitem>
		  <para>The line of development for FreeBSD-2.2.x, also known
		    as 2.2-stable.  Not valid for the ports collection.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_0</term>
		
		<listitem>
		  <para>The line of development for FreeBSD-2.1.x - this
		    branch is largely obsolete.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	    </variablelist>
	    
	    <para>Here are the revision tags that users might be interested
	      in:</para>
		  
	    <variablelist>
	      <varlistentry>

              <term>tag=RELENG_3_2_0_RELEASE</term>
                      
                <listitem>
                  <para>FreeBSD-3.2.  Not valid for the ports-*
                  collections.</para>
                </listitem>
              </varlistentry>
        
              <varlistentry>
		<term>tag=RELENG_3_1_0_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-3.1.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_3_0_0_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-3.0.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_8_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.2.8.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_7_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.2.7.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_6_RELEASE</term>

		<listitem>
		  <para>FreeBSD-2.2.6.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_5_RELEASE</term>
			
		<listitem>
		  <para>FreeBSD-2.2.5.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_2_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.2.2.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_1_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.2.1.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_2_0_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.2.0.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_7_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.1.7.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_6_1_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.1.6.1.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_6_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.1.6.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_5_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.1.5.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	      
	      <varlistentry>
		<term>tag=RELENG_2_1_0_RELEASE</term>
		
		<listitem>
		  <para>FreeBSD-2.1.0.  Not valid for the ports-*
		    collections.</para>
		</listitem>
	      </varlistentry>
	    </variablelist>
	    
	    <warning>
	      <para>Be very careful to type the tag name exactly as shown.
		<application>CVSup</application> cannot distinguish between
		valid and invalid tags.  If you misspell the tag,
		<application>CVSup</application> will behave as though you had
		specified a valid tag which happens to refer to no files at
		all.  It will delete your existing sources in that
		case.</para>
	    </warning>
	    
	    <para>When you specify a branch tag, you normally receive the
	      latest versions of the files on that line of development.  If
	      you wish to receive some past version, you can do so by
	      specifying a date with the <option>date=</option> value field.
	      The &man.cvsup.1; manual page explains how to do
	      that.</para>

	    <para>For our example, we wish to receive FreeBSD-current. We add
	      this line at the beginning of our
	      <filename>supfile</filename>:</para>
		  
	    <programlisting>
*default tag=.</programlisting>

	    <para>There is an important special case that comes into play if
	      you specify neither a <literal>tag=</literal> field nor a
	      <literal>date=</literal> field.  In that case, you receive the
	      actual RCS files directly from the server's CVS repository,
	      rather than receiving a particular version.  Developers
	      generally prefer this mode of operation.  By maintaining a copy
	      of the repository itself on their systems, they gain the ability
	      to browse the revision histories and examine past versions of
	      files.  This gain is achieved at a large cost in terms of disk
	      space, however.</para>
	  </listitem>
	  
	  <listitem>
	    <para>Where do you want to get them from?<anchor
		id="cvsup-config-where"></para>
		  
	    <para>We use the <literal>host=</literal> field to tell
	      <command>cvsup</command> where to obtain its updates.  Any of
	      the <link linkend="mirrors-cvsup">CVSup mirror sites</link> will
	      do, though you should try to select one that is close to you in
	      cyberspace.  In this example we will use a fictional FreeBSD
	      distribution site, <hostid
		role="fqdn">cvsup666.FreeBSD.org</hostid>:</para>
		  
	    <programlisting>
*default host=cvsup666.FreeBSD.org</programlisting>

	    <para>You will need to change the host to one that actually exists
	      before running CVSup.  On any particular run of
	      <command>cvsup</command>, you can override the host  setting on
	      the command line, with <option>-h
		<replaceable>hostname</replaceable></option>.</para>
	  </listitem>
	  
	  <listitem>
	    <para>Where do you want to put them on your own machine?<anchor
		id="cvsup-config-dest"></para>
		  
	    <para>The <literal>prefix=</literal> field tells
	      <command>cvsup</command> where to put the files it receives.  In
	      this example, we will put the source files directly into our
	      main source tree, <filename>/usr/src</filename>.  The
	      <filename>src</filename> directory is already implicit in the
	      collections we have chosen to receive, so this is the correct
	      specification:</para>
		  
	    <programlisting>
*default prefix=/usr</programlisting>
	  </listitem>
		
	  <listitem>
	    <para>Where should <command>cvsup</command> maintain its status
	      files?<anchor id="cvsup-config-status"></para>
		  
	    <para>The cvsup client maintains certain status files in what is
	      called the &ldquo;base&rdquo; directory.  These files help
	      <application>CVSup</application> to work more efficiently, by
	      keeping track of which updates you have already received.  We
	      will use the standard base directory,
	      <filename>/usr/local/etc/cvsup</filename>:</para>
		  
	    <programlisting>
*default base=/usr/local/etc/cvsup</programlisting>

	    <para>This setting is used by default if it is not specified in
	      the <filename>supfile</filename>, so we actually do not need the
	      above line.</para>

	    <para>If your base directory does not already exist, now would be
	      a good time to create it.  The <command>cvsup</command> client
	      will refuse to run if the base directory does not exist.</para>
	  </listitem>
		
	  <listitem>
	    <para>Miscellaneous <filename>supfile</filename> settings:</para>
	    
	    <para>There is one more line of boiler plate that normally needs
	      to be present in the <filename>supfile</filename>:</para>
		  
	    <programlisting>
*default release=cvs delete use-rel-suffix compress</programlisting>

	    <para><literal>release=cvs</literal> indicates that the server
	      should get its information out of the main FreeBSD CVS
	      repository.  This is virtually always the case, but there are
	      other possibilities which are beyond the scope of this
	      discussion.</para>

	    <para><literal>delete</literal> gives
	      <application>CVSup</application> permission to delete files.
	      You should always specify this, so that
	      <application>CVSup</application> can keep your source tree fully
	      up to date.  <application>CVSup</application> is careful to
	      delete only those files for which it is responsible.  Any extra
	      files you happen to have will be left strictly alone.</para>

	    <para><literal>use-rel-suffix</literal> is ... arcane.  If you
	      really want to know about it, see the &man.cvsup.1; manual page.
	      Otherwise, just specify it and do not worry about it.</para>

	    <para><literal>compress</literal> enables the use of gzip-style
	      compression on the communication channel.  If your network link
	      is T1 speed or faster, you probably should not use compression.
	      Otherwise, it helps substantially.</para>
	  </listitem>
	  
	  <listitem>
	    <para>Putting it all together:</para>
	    
	    <para>Here is the entire <filename>supfile</filename> for our
	      example:</para>
		  
	    <programlisting>
*default tag=.
*default host=cvsup666.FreeBSD.org
*default prefix=/usr
*default base=/usr/local/etc/cvsup
*default release=cvs delete use-rel-suffix compress

src-all
cvs-crypto</programlisting>
	  </listitem>
	</itemizedlist>
      </sect3>
      
      <sect3>
	<title>Running <application>CVSup</application></title>
	
	<para>You are now ready to try an update.  The command line for doing
	  this is quite simple:</para>
	    
	<screen>&prompt.root; <userinput>cvsup <replaceable>supfile</replaceable></userinput></screen>
	    
	<para>where <filename><replaceable>supfile</replaceable></filename> is
	  of course the name of the supfile you have just created.  Assuming
	  you are running under X11, <command>cvsup</command> will display a
	  GUI window with some buttons to do the usual things.  Press the
	  &ldquo;go&rdquo; button, and watch it run.</para>
	    
	<para>Since you are updating your actual <filename>/usr/src</filename>
	  tree in this example, you will need to run the program as
	  <username>root</username> so that <command>cvsup</command> has the
	  permissions it needs to update your files.  Having just created your
	  configuration file, and having never used this program before, that
	  might understandably make you nervous. There is an easy way to do a
	  trial run without touching your precious files.  Just create an
	  empty directory somewhere convenient, and name it as an extra
	  argument on the command line:</para>
	
	<screen>&prompt.root; <userinput>mkdir /var/tmp/dest</userinput>
&prompt.root; <userinput>cvsup supfile /var/tmp/dest</userinput></screen>
	    
	<para>The directory you specify will be used as the destination
	  directory for all file updates.  <application>CVSup</application>
	  will examine your usual files in <filename>/usr/src</filename>, but
	  it will not modify or delete any of them.  Any file updates will
	  instead land in <filename>/var/tmp/dest/usr/src</filename>.
	  <application>CVSup</application> will also leave its base directory
	  status files untouched when run this way.  The new versions of those
	  files will be written into the specified directory.  As long as you
	  have read access to <filename>/usr/src</filename>, you do not even
	  need to be root to perform this kind of trial run.</para>
	    
	<para>If you are not running X11 or if you just do not like GUIs, you
	  should add a couple of options to the command line when you run
	  cvsup:</para>
	    
	<screen>&prompt.root; <userinput>cvsup -g -L 2 supfile</userinput></screen>
	    
	<para>The <option>-g</option> tells cvsup not to use its GUI.  This is
	  automatic if you are not running X11, but otherwise you have to
	  specify it.</para>
	    
	<para>The <option>-L 2</option> tells cvsup to print out the details
	  of all the file updates it is doing.  There are three levels of
	  verbosity, from <option>-L 0</option> to <option>-L 2</option>.  The
	  default is 0, which means total silence except for error
	  messages.</para>
	    
	<para>There are plenty of other options available.  For a brief list
	  of them, type <command>cvsup -H</command>.  For more detailed
	  descriptions, see the manual page.</para>
	
	<para>Once you are satisfied with the way updates are working, you can
	  arrange for regular runs of cvsup using &man.cron.8;.
	  Obviously, you should not let cvsup use its GUI when running it from
	  cron.</para>
      </sect3>
      
      <sect3 id="cvsup-collec">
	<title><application>CVSup</application> File Collections</title>
	    
	<para>The file collections available via
	  <application>CVSup</application> are organized hierarchically.
	  There are a few large collections, and they are divided into smaller
	  sub-collections.  Receiving a large collection is equivalent to
	  receiving each of its sub-collections.  The hierarchical
	  relationships among collections are reflected by the use of
	  indentation in the list below.</para>
	    
	<para>The most commonly used collections are
	  <literal>src-all</literal>, <literal>cvs-crypto</literal>, and
	  <literal>ports-all</literal>.  The other collections are used only
	  by small groups of people for specialized purposes, and some mirror
	  sites may not carry all of them.</para>
	
	<variablelist>
	  <varlistentry>
	    <term><literal>cvs-all release=cvs</literal></term>

	    <listitem>
	      <para>The main FreeBSD CVS repository, excluding the
		export-restricted cryptography code.</para>
		    
	      <variablelist>
		<varlistentry>
		  <term><literal>distrib release=cvs</literal></term>
		  
		  <listitem>
		    <para>Files related to the distribution and mirroring of
		      FreeBSD.</para>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>doc-all release=cvs</literal></term>
		  
		  <listitem>
		    <para>Sources for the FreeBSD handbook and other
		      documentation.</para>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>ports-all release=cvs</literal></term>
			  
		  <listitem>
		    <para>The FreeBSD ports collection.</para>
		    
		    <variablelist>
		      <varlistentry>
			<term><literal>ports-archivers
			    release=cvs</literal></term>

			<listitem>
			  <para>Archiving tools.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-astro
			    release=cvs</literal></term>
				  
			<listitem>
			  <para>Astronomical ports.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-audio
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Sound support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-base release=cvs</literal></term>
			
			<listitem>
			  <para>Miscellaneous files at the top of
			    /usr/ports.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-benchmarks
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Benchmarks.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-biology
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Biology.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-cad release=cvs</literal></term>
			
			<listitem>
			  <para>Computer aided design tools.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-chinese
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Chinese language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-comms
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Communication software.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-converters
			    release=cvs</literal></term>
			
			<listitem>
			  <para>character code converters.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-databases
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Databases.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal></literal>ports-deskutils
			  release=cvs</term>
			
			<listitem>
			  <para>Things that used to be on the desktop before
			    computers were invented.</para>
			  </listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-devel
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Development utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-editors
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Editors.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-emulators
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Emulators for other operating systems.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-games
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Games.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-german
			    release=cvs</literal></term>
			
			<listitem>
			  <para>German language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-graphics
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Graphics utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-japanese
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Japanese language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-korean
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Korean language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-lang release=cvs</literal></term>
			
			<listitem>
			  <para>Programming languages.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-mail release=cvs</literal></term>
			
			<listitem>
			  <para>Mail software.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-math release=cvs</literal></term>
			
			<listitem>
			  <para>Numerical computation software.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-mbone
			    release=cvs</literal></term>
			
			<listitem>
			  <para>MBone applications.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-misc release=cvs</literal></term>
			
			<listitem>
			  <para>Miscellaneous utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-net release=cvs</literal></term>
			
			<listitem>
			  <para>Networking software.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-news release=cvs</literal></term>
				  
			<listitem>
			  <para>USENET news software.</para>
			</listitem>
		      </varlistentry>

                      <varlistentry>
                        <term><literal>ports-palm
                          release=cvs</literal></term>
                              
                        <listitem>
                          <para>Software support for 3Com Palm(tm) series.</para>
                        </listitem>
                      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-plan9
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Various programs from Plan9.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-print
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Printing software.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-russian
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Russian language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-security
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Security utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-shells
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Command line shells.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-sysutils
			    release=cvs</literal></term>

			<listitem>
			  <para>System utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-textproc
			    release=cvs</literal></term>
			
			<listitem>
			  <para>text processing utilities (does not include
			    desktop publishing).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-vietnamese
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Vietnamese language support.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-www release=cvs</literal></term>
				  
			<listitem>
			  <para>Software related to the World Wide Web.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11 release=cvs</literal></term>
				  
			<listitem>
			  <para>Ports to support the X window system.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11-clocks
			    release=cvs</literal></term>
			
			<listitem>
			  <para>X11 clocks.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11-fm
			    release=cvs</literal></term>
			
			<listitem>
			  <para>X11 file managers.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11-fonts
			    release=cvs</literal></term>
			
			<listitem>
			  <para>X11 fonts and font utilities.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11-toolkits
			    release=cvs</literal></term>
			
			<listitem>
			  <para>X11 toolkits.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>ports-x11-wm</literal></term>
			
			<listitem>
			  <para>X11 window managers.</para>
			</listitem>
		      </varlistentry>
		    </variablelist>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>src-all release=cvs</literal></term>
		  
		  <listitem>
		    <para>The main FreeBSD sources, excluding the
		      export-restricted cryptography code.</para>
			    
		    <variablelist>
		      <varlistentry>
			<term><literal>src-base release=cvs</literal></term>
			
			<listitem>
			  <para>Miscellaneous files at the top of
			    <filename>/usr/src</filename>.</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-bin release=cvs</literal></term>
				  
			<listitem>
			  <para>User utilities that may be needed in
			    single-user mode
			    (<filename>/usr/src/bin</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-contrib
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Utilities and libraries from outside the
			    FreeBSD project, used relatively unmodified
			    (<filename>/usr/src/contrib</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-etc release=cvs</literal></term>
				  
			<listitem>
			  <para>System configuration files
			    (<filename>/usr/src/etc</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-games release=cvs</literal></term>
			
			<listitem>
			  <para>Games
			    (<filename>/usr/src/games</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-gnu release=cvs</literal></term>
			
			<listitem>
			  <para>Utilities covered by the GNU Public License
			    (<filename>/usr/src/gnu</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-include
			    release=cvs</literal></term>
				  
			<listitem>
			  <para>Header files
			    (<filename>/usr/src/include</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-kerberosIV
			    release=cvs</literal></term>
				  
			<listitem>
			  <para>KerberosIV security package
			    (<filename>/usr/src/kerberosIV</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-lib release=cvs</literal></term>
				  
			<listitem>
			  <para>Libraries
			    (<filename>/usr/src/lib</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-libexec
			    release=cvs</literal></term>
			
			<listitem>
			  <para>System programs normally executed by other
			    programs
			    (<filename>/usr/src/libexec</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-release
			    release=cvs</literal></term>
			
			<listitem>
			  <para>Files required to produce a FreeBSD release
			    (<filename>/usr/src/release</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-sbin release=cvs</literal></term>
			
			<listitem>
			  <para>System utilities for single-user mode
			    (<filename>/usr/src/sbin</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-share release=cvs</literal></term>
			
			<listitem>
			  <para>Files that can be shared across multiple
			    systems
			    (<filename>/usr/src/share</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-sys release=cvs</literal></term>
				  
			<listitem>
			  <para>The kernel
			    (<filename>/usr/src/sys</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-tools release=cvs</literal></term>
				  
			<listitem>
			  <para>Various tools for the maintenance of FreeBSD
			    (<filename>/usr/src/tools</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-usrbin release=cvs</literal></term>
			
			<listitem>
			  <para>User utilities
			    (<filename>/usr/src/usr.bin</filename>).</para>
			</listitem>
		      </varlistentry>
		      
		      <varlistentry>
			<term><literal>src-usrsbin
			    release=cvs</literal></term>
			
			<listitem>
			  <para>System utilities
			    (<filename>/usr/src/usr.sbin</filename>).</para>
			</listitem>
		      </varlistentry>
		    </variablelist>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>www release=cvs</literal></term>
			  
		  <listitem>
		    <para>The sources for the World Wide Web data.</para>
		  </listitem>
		</varlistentry>
	      </variablelist>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term><literal>cvs-crypto release=cvs</literal></term>
	    
	    <listitem>
	      <para>The export-restricted cryptography code.</para>
	      
	      <variablelist>
		<varlistentry>
		  <term><literal>src-crypto release=cvs</literal></term>

		  <listitem>
		    <para>Export-restricted utilities and libraries from
		      outside the FreeBSD project, used relatively unmodified
		      (<filename>/usr/src/crypto</filename>).</para>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>src-eBones release=cvs</literal></term>
			  
		  <listitem>
		    <para>Kerberos and DES
		      (<filename>/usr/src/eBones</filename>).</para>
		  </listitem>
		</varlistentry>
		
		<varlistentry>
		  <term><literal>src-secure release=cvs</literal></term>
			  
		  <listitem>
		    <para>DES (<filename>/usr/src/secure</filename>).</para>
		  </listitem>
		</varlistentry>
	      </variablelist>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term><literal>distrib release=self</literal></term>
		  
	    <listitem>
	      <para>The CVSup server's own configuration files.  Used by CVSup
		mirror sites.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term><literal>gnats release=current</literal></term>
		  
	    <listitem>
	      <para>The GNATS bug-tracking database.</para>
	    </listitem>
	  </varlistentry>
		
	  <varlistentry>
	    <term><literal>mail-archive release=current</literal></term>
		  
	    <listitem>
	      <para>FreeBSD mailing list archive.</para>
	    </listitem>
	  </varlistentry>
	  
	  <varlistentry>
	    <term><literal>www release=current</literal></term>
		  
	    <listitem>
	      <para>The installed World Wide Web data.  Used by WWW mirror
		sites.</para>
	    </listitem>
	  </varlistentry>
	</variablelist>
      </sect3>
      
      <sect3>
	<title>For more information</title>
	
	<para>For the CVSup FAQ and other information about CVSup, see <ulink
	    url="http://www.polstra.com/projects/freeware/CVSup/">The CVSup
	    Home Page</ulink>.</para>

	<para>Most FreeBSD-related discussion of
	  <application>CVSup</application> takes place on the &a.hackers;.
	  New versions of the software are announced there, as well as on the
	  &a.announce;.</para>
	    
	<para>Questions and bug reports should be addressed to the author of
	  the program at <email>cvsup-bugs@polstra.com</email>.</para>
      </sect3>
    </sect2>
  </sect1>
  
  <sect1 id="makeworld">
    <title>Using <command>make world</command> to rebuild your system</title>
	
    <para><emphasis>Contributed by &a.nik;.</emphasis></para>
	
    <para>Once you have synchronised your local source tree against a
      particular version of FreeBSD (<literal>stable</literal>,
      <literal>current</literal> and so on) you must then use the source tree
      to rebuild the system.</para>
	
    <para>Currently, the best source of information on how to do that is a
      tutorial available from <ulink
	URL="http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/make-world.html">http://www.nothing-going-on.demon.co.uk/FreeBSD/make-world/make-world.html</ulink>.</para>
	
    <para>A successor to this tutorial will be integrated into the
      handbook.</para>
  </sect1>
</chapter>

<!-- 
     Local Variables:
     mode: sgml
     sgml-declaration: "../chapter.decl"
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-always-quote-attributes: t
     sgml-parent-document: ("../handbook.sgml" "part" "chapter")
     End:
-->