1997-05-02 14:15:35 +00:00
|
|
|
<!-- $Id: sup.sgml,v 1.28 1997/04/27 00:32:37 asami Exp $ -->
|
1995-04-28 16:19:59 +00:00
|
|
|
<!-- The FreeBSD Documentation Project -->
|
|
|
|
|
|
|
|
|
1997-05-02 14:15:35 +00:00
|
|
|
<sect1><heading>SUP<label id="sup"></heading>
|
1995-04-28 16:19:59 +00:00
|
|
|
|
|
|
|
<p><em>Contributed by &a.jkh; and &a.gclarkii;.</em>
|
|
|
|
|
|
|
|
SUP is a network based software update tool developed at CMU. The
|
|
|
|
purpose of this document is get the beginner up and running with sup.
|
|
|
|
|
1997-05-02 14:15:35 +00:00
|
|
|
<sect2><heading>Configuration<label id="sup:setup"></heading>
|
1995-04-28 16:19:59 +00:00
|
|
|
|
1996-07-27 22:25:19 +00:00
|
|
|
<p>SUP gets the information it needs to run from a configuration file
|
|
|
|
called a supfile. There are different example supfiles provided
|
|
|
|
for different source releases of FreeBSD. The
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/standard-supfile"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="/usr/share/examples/sup/standard-supfile"> file, for example,
|
|
|
|
contains sup information for the latest standard FreeBSD source
|
|
|
|
distributions - it tells sup what collections it will be updating
|
|
|
|
and/or installing and where they go. Someone using this particular
|
|
|
|
supfile is said to be supping <ref id="current" name="-current">.
|
|
|
|
<p>For ports, please have a look at
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/ports-supfile"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="/usr/share/examples/sup/ports-supfile">.<p>
|
|
|
|
If you are interested in obtaining the
|
1997-01-04 20:36:26 +00:00
|
|
|
<url url="http://www.freebsd.org/cgi/cvsweb.cgi" name="CVS"> files
|
1996-07-27 22:25:19 +00:00
|
|
|
that make up the source tree, refer to
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/cvs-supfile"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="/usr/share/examples/sup/cvs-supfile">.<p>
|
|
|
|
If you would rather track changes to the -stable branch, refer to
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/stable-supfile"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="/usr/share/examples/sup/stable-supfile"> instead.
|
1996-02-05 18:52:05 +00:00
|
|
|
|
1996-05-16 23:18:28 +00:00
|
|
|
If you are inside the United States, you may also uncomment
|
1995-12-19 10:11:47 +00:00
|
|
|
the `secure' and `eBones' collection lines to grab the DES code.
|
1996-05-16 23:18:28 +00:00
|
|
|
If you are outside the
|
1995-12-19 10:11:47 +00:00
|
|
|
U.S., you should NOT sup this code from sup.FreeBSD.ORG as this will
|
|
|
|
violate U.S. export restrictions. Instead you should use the
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/secure-supfile"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="secure-supfile"> in the sup examples directory. This will
|
1995-12-19 10:11:47 +00:00
|
|
|
connect you to the international sup site that contains a secure distribution.
|
|
|
|
Any distributions you do not wish to receive can be commented out
|
1995-09-27 00:46:30 +00:00
|
|
|
with a # at the beginning of the distribution line.
|
1995-04-28 16:19:59 +00:00
|
|
|
|
1996-02-05 18:52:05 +00:00
|
|
|
Please consult the file
|
1996-12-19 20:24:37 +00:00
|
|
|
<url url="file:/usr/share/examples/sup/README"
|
1996-07-27 22:25:19 +00:00
|
|
|
name="/usr/share/examples/sup/README">
|
1996-02-05 18:52:05 +00:00
|
|
|
for a list of alternate sup servers. The default sup server (sup.FreeBSD.ORG)
|
|
|
|
listed in the above example files is currently overloaded and any traffic
|
|
|
|
that can be transfered to a different host will help relieve some of
|
|
|
|
the strain.
|
|
|
|
|
1996-05-16 23:18:28 +00:00
|
|
|
Once this is setup, you are ready to go. To start sup type:
|
1995-04-28 16:19:59 +00:00
|
|
|
<verb>
|
|
|
|
sup supfile
|
|
|
|
</verb>
|
|
|
|
If you wish to see what sup is doing "verbosely", give it the -v option,
|
|
|
|
like so:
|
|
|
|
<verb>
|
|
|
|
sup -v supfile
|
|
|
|
</verb>
|
1996-05-16 23:18:28 +00:00
|
|
|
Thats all there is to it! Remember that if you are running current,
|
1996-02-05 18:52:05 +00:00
|
|
|
which is what you will have if you sup with the standard-supfile, please
|
1996-07-04 01:44:33 +00:00
|
|
|
join the &a.current . You should also be sure to read
|
1996-02-11 00:16:20 +00:00
|
|
|
<ref id="current" name="Staying current with FreeBSD">
|
1995-07-06 14:25:01 +00:00
|
|
|
for important information on just what we can and cannot do for you as
|
1996-02-05 18:52:05 +00:00
|
|
|
a -current user. If you are using the stable-supfile, please
|
1996-07-27 22:25:19 +00:00
|
|
|
join the &a.stable and read
|
|
|
|
<ref id="stable" name="Staying stable with FreeBSD">.
|
1995-04-28 16:19:59 +00:00
|
|
|
|
1997-05-02 14:15:35 +00:00
|
|
|
<sect2><heading>Distributions<label id="sup:dists">
|
1996-12-19 20:24:37 +00:00
|
|
|
</heading>
|
1995-04-28 16:19:59 +00:00
|
|
|
|
1996-01-03 03:18:36 +00:00
|
|
|
<p>For the main FreeBSD distribution using the standard-supfile:
|
1995-04-28 16:19:59 +00:00
|
|
|
<verb>
|
1996-02-05 18:52:05 +00:00
|
|
|
src-base: /usr/src/... misc files at the top of /usr/src
|
|
|
|
src-bin: /usr/src/bin user and system binaries
|
1997-03-11 06:42:03 +00:00
|
|
|
src-contrib: /usr/src/contrib contributed software
|
1996-02-05 18:52:05 +00:00
|
|
|
src-secure: /usr/src/secure DES Sources (US/Canada ONLY)
|
|
|
|
src-eBones: /usr/src/eBones Kerberos and DES (US/Canada ONLY)
|
|
|
|
src-etc: /usr/src/etc system files
|
|
|
|
src-games: /usr/src/games games
|
|
|
|
src-gnu: /usr/src/gnu sources under the GNU Public License
|
|
|
|
src-include: /usr/src/include include files
|
|
|
|
src-sys: /usr/src/sys kernel sources
|
|
|
|
src-lib: /usr/src/lib libraries
|
|
|
|
src-libexec: /usr/src/libexec system binaries
|
1996-09-14 02:32:30 +00:00
|
|
|
src-release: /usr/src/release sources required to build a release
|
1996-02-05 18:52:05 +00:00
|
|
|
src-share: /usr/src/share various shared resources
|
|
|
|
src-sbin: /usr/src/sbin single user system binaries
|
1996-09-14 02:32:30 +00:00
|
|
|
src-tools: /usr/src/tools various management tools
|
1996-02-05 18:52:05 +00:00
|
|
|
src-usrbin: /usr/src/usr.bin user binaries
|
|
|
|
src-usrsbin: /usr/src/usr.sbin system binaries
|
1995-12-19 10:11:47 +00:00
|
|
|
</verb>
|
|
|
|
|
|
|
|
<p>For the international FreeBSD distribution using the secure-supfile:
|
|
|
|
<verb>
|
1996-02-05 18:52:05 +00:00
|
|
|
src-secure: /usr/src/secure DES Sources
|
|
|
|
src-eBones: /usr/src/eBones Kerberos and DES
|
1995-04-28 16:19:59 +00:00
|
|
|
</verb>
|
|
|
|
|
1996-09-14 02:32:30 +00:00
|
|
|
<p>There is also a collection including all of the above, except for
|
|
|
|
either (domestic or international) versions of the export-restricted
|
|
|
|
software (i.e., <tt>src-secure</tt> and <tt>src-eBones</tt>
|
|
|
|
collections):
|
|
|
|
<verb>
|
|
|
|
src-all: /usr/src the whole operating system (almost)
|
|
|
|
</verb>
|
|
|
|
|
1995-12-19 10:11:47 +00:00
|
|
|
<p>And for the ports collection:
|
1995-04-28 16:19:59 +00:00
|
|
|
<verb>
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-base: /usr/ports/... misc files at the top of /usr/ports
|
|
|
|
ports-archivers: /usr/ports/archivers archiving tools
|
1996-10-24 11:23:06 +00:00
|
|
|
ports-astro: /usr/ports/astro astronomical ports
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-audio: /usr/ports/audio sound support
|
|
|
|
ports-benchmarks: /usr/ports/benchmarks benchmarks
|
|
|
|
ports-cad: /usr/ports/cad CAD tools
|
1996-09-14 02:32:30 +00:00
|
|
|
ports-chinese: /usr/ports/chinese Chinese support
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-comms: /usr/ports/comms communication software
|
1997-04-27 00:32:37 +00:00
|
|
|
ports-converters: /usr/ports/converters character code converters
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-databases: /usr/ports/databases databases
|
|
|
|
ports-devel: /usr/ports/devel development utilities
|
|
|
|
ports-editors: /usr/ports/editors editors
|
|
|
|
ports-emulators: /usr/ports/emulators emulators for other OSes
|
|
|
|
ports-games: /usr/ports/games games
|
|
|
|
ports-graphics: /usr/ports/graphics various graphics utilities
|
1996-09-14 02:32:30 +00:00
|
|
|
ports-japanese: /usr/ports/japanese Japanese support
|
1997-03-06 05:55:09 +00:00
|
|
|
ports-korean: /usr/ports/korean Korean support
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-lang: /usr/ports/lang programming languages
|
|
|
|
ports-mail: /usr/ports/mail mail software
|
|
|
|
ports-math: /usr/ports/math numerical computation software
|
1996-11-07 12:32:05 +00:00
|
|
|
ports-mbone: /usr/ports/mbone MBone applications
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-misc: /usr/ports/misc miscellaneous utilities
|
|
|
|
ports-net: /usr/ports/net networking software
|
|
|
|
ports-news: /usr/ports/news USENET news software
|
|
|
|
ports-plan9: /usr/ports/plan9 various programs from Plan9
|
|
|
|
ports-print: /usr/ports/print printing software
|
1996-09-14 02:32:30 +00:00
|
|
|
ports-russian: /usr/ports/russian Russian support
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-security: /usr/ports/security ``security'' utilities, for better or for worse
|
|
|
|
ports-shells: /usr/ports/shells various UN*X shells
|
|
|
|
ports-sysutils: /usr/ports/sysutils system utilities
|
1997-04-27 00:32:37 +00:00
|
|
|
ports-textproc: /usr/ports/textproc text processing utilities (does not include desktop publishing)
|
1996-12-05 11:17:11 +00:00
|
|
|
ports-vietnamese: /usr/ports/vietnamese Vietnamese support
|
1996-02-06 23:41:01 +00:00
|
|
|
ports-www: /usr/ports/www software related to the world wide web
|
|
|
|
ports-x11: /usr/ports/x11 X11 software
|
|
|
|
</verb>
|
|
|
|
|
1996-09-14 02:32:30 +00:00
|
|
|
<p>There is also a collection including all of the above:
|
|
|
|
<verb>
|
|
|
|
ports-all: /usr/ports the whole ports tree
|
|
|
|
</verb>
|
|
|
|
|
1996-12-05 11:17:11 +00:00
|
|
|
<!-- The following is currently not available (and probably will never return)
|
1996-02-06 23:41:01 +00:00
|
|
|
<p>If you want to keep updated on the original source of the ports,
|
|
|
|
you can also add this to your supfile. But note that this collection
|
|
|
|
is <em>enormous</em>, and unless you are an ftp site mirroring the
|
1996-05-16 23:18:28 +00:00
|
|
|
entire FreeBSD tree (but cannot use ``mirror'' for some reason), you
|
1996-02-06 23:41:01 +00:00
|
|
|
(and us) are much better off not using sup to collect these:
|
|
|
|
<verb>
|
|
|
|
ports-distfiles: /usr/ports/distfiles original tarballs
|
1995-07-07 22:25:55 +00:00
|
|
|
</verb>
|
1996-12-05 11:17:11 +00:00
|
|
|
-->
|