1995-12-19 11:11:47 +01:00
|
|
|
<!-- $Id: sup.sgml,v 1.8 1995/09/27 19:20:43 nate Exp $ -->
|
1995-04-28 18:19:59 +02:00
|
|
|
<!-- The FreeBSD Documentation Project -->
|
|
|
|
|
|
|
|
|
1995-06-30 19:37:53 +02:00
|
|
|
<sect><heading>SUP<label id="sup"></heading>
|
1995-04-28 18:19:59 +02: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.
|
|
|
|
|
|
|
|
<sect1><heading>Getting setup</heading>
|
|
|
|
|
|
|
|
<p>First off you will need to pick up the sup binaries. The easiest
|
|
|
|
way of doing this is to grab the sup.tgz package from:
|
|
|
|
<verb>
|
1995-12-19 11:11:47 +01:00
|
|
|
ftp://ftp.FreeBSD.ORG:/pub/FreeBSD/packages/All/sup-2.0.tgz
|
1995-04-28 18:19:59 +02:00
|
|
|
</verb>
|
|
|
|
Install the sup package using pkg_add and add the following line to
|
1995-09-27 20:20:43 +01:00
|
|
|
your /etc/services file (if it doesn't already exist):
|
1995-04-28 18:19:59 +02:00
|
|
|
<verb>
|
1995-09-27 20:20:43 +01:00
|
|
|
supfilesrv 871/tcp # for SUP
|
1995-04-28 18:19:59 +02:00
|
|
|
</verb>
|
|
|
|
|
|
|
|
SUP gets the information it needs to run from a configuration file
|
1995-12-19 11:11:47 +01:00
|
|
|
called a supfile. This file should be found in
|
|
|
|
<tt>/usr/share/examples/sup/standard-supfile</tt> for the standard
|
|
|
|
distributions.
|
|
|
|
This file tells sup what collections it will be updating
|
|
|
|
and/or installing and where they go. This supfile will sup the current source
|
|
|
|
collection. For ports please have a look at
|
|
|
|
<tt>/usr/share/examples/sup/ports-supfile</tt>.
|
|
|
|
If you're inside the United States, you may also uncomment
|
|
|
|
the `secure' and `eBones' collection lines to grab the DES code.
|
|
|
|
If you're outside the
|
|
|
|
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
|
|
|
|
<tt>secure-supfile</tt> found within the above directory. This will
|
|
|
|
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 01:46:30 +01:00
|
|
|
with a # at the beginning of the distribution line.
|
1995-04-28 18:19:59 +02:00
|
|
|
|
|
|
|
Once this is setup, you're ready to go. To start sup type:
|
|
|
|
<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>
|
|
|
|
Thats all there is to it! Remember that if you're running current,
|
|
|
|
which is what you will have if you sup, please join the freebsd-current
|
1995-07-06 16:25:01 +02:00
|
|
|
mailing list. You should also be sure to read <ref id="current"
|
|
|
|
name="Staying current with FreeBSD">
|
|
|
|
for important information on just what we can and cannot do for you as
|
1995-04-28 18:19:59 +02:00
|
|
|
a -current user.
|
|
|
|
|
|
|
|
<sect1><heading>Description of FreeBSD SUP distributions</heading>
|
|
|
|
|
1995-12-19 11:11:47 +01:00
|
|
|
<p>For the main FreeBSD distribution useing the standard-supfile:
|
1995-04-28 18:19:59 +02:00
|
|
|
<verb>
|
|
|
|
base: /usr/src/... misc files at the top of /usr/src
|
1995-12-19 11:11:47 +01:00
|
|
|
bin: /usr/src/bin user and system binaries
|
|
|
|
secure: /usr/src/secure DES Sources (US/Canada ONLY)
|
|
|
|
eBones: /usr/src/eBones Kerberos and DES (US/Canada ONLY)
|
1995-04-28 18:19:59 +02:00
|
|
|
etc: /usr/src/etc system files
|
|
|
|
games: /usr/src/games games
|
|
|
|
gnu: /usr/src/gnu sources under the GNU Public License
|
|
|
|
include: /usr/src/include include files
|
|
|
|
sys: /usr/src/sys kernel sources
|
|
|
|
lib: /usr/src/lib libraries
|
1995-12-19 11:11:47 +01:00
|
|
|
libexec: /usr/src/libexec system binaries
|
1995-04-28 18:19:59 +02:00
|
|
|
share: /usr/src/share various shared resources
|
1995-12-19 11:11:47 +01:00
|
|
|
sbin: /usr/src/sbin single user system binaries
|
1995-04-28 18:19:59 +02:00
|
|
|
usrbin: /usr/src/usr.bin user binaries
|
1995-12-19 11:11:47 +01:00
|
|
|
usrsbin: /usr/src/usr.sbin system binaries
|
|
|
|
</verb>
|
|
|
|
|
|
|
|
<p>For the international FreeBSD distribution using the secure-supfile:
|
|
|
|
<verb>
|
|
|
|
secure: /usr/src/secure DES Sources
|
|
|
|
eBones: /usr/src/eBones Kerberos and DES
|
1995-04-28 18:19:59 +02:00
|
|
|
</verb>
|
|
|
|
|
1995-12-19 11:11:47 +01:00
|
|
|
<p>And for the ports collection:
|
1995-04-28 18:19:59 +02:00
|
|
|
<verb>
|
|
|
|
ports-base: /usr/ports/... misc files at the top of /usr/ports
|
|
|
|
ports-editors: /usr/ports/editors text editors
|
|
|
|
ports-game: /usr/ports/games games
|
|
|
|
ports-lang: /usr/ports/lang programming languages
|
|
|
|
ports-mail: /usr/ports/mail mail software
|
|
|
|
ports-math: /usr/ports/math math software
|
|
|
|
ports-net: /usr/ports/net networking software
|
|
|
|
ports-news: /usr/ports/news USENET news software
|
|
|
|
ports-print: /usr/ports/print printing software
|
1995-05-03 16:32:27 +02:00
|
|
|
ports-russian: /usr/ports/russian russian software
|
1995-04-28 18:19:59 +02:00
|
|
|
ports-shells: /usr/ports/shells various UN*X shells
|
|
|
|
ports-utils: /usr/ports/utils miscellaneous utilities
|
|
|
|
ports-x11: /usr/ports/x11 X11 software
|
1995-07-08 00:25:55 +02:00
|
|
|
</verb>
|