*BSD News Article 17356


Return to BSD News archive

Xref: sserve comp.os.386bsd.announce:72 comp.os.386bsd.misc:487
Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!overload.lbl.gov!agate!agate.berkeley.edu!cgd
From: cgd@erewhon.CS.Berkeley.EDU (Chris G. Demetriou)
Newsgroups: comp.os.386bsd.announce,comp.os.386bsd.misc
Subject: [NetBSD] NetBSD-current sources now SUP-able
Followup-To: comp.os.386bsd.misc
Date: 20 Jun 93 21:24:20
Organization: Kernel Hackers 'r' Us
Lines: 126
Approved: 386bsd-announce@agate.berkeley.edu
Message-ID: <CGD.93Jun20212420@erewhon.CS.Berkeley.EDU>
NNTP-Posting-Host: erewhon.cs.berkeley.edu


we've now set up SUP so that people can retrieve the NetBSD-current
sources from sun-lamp.cs.berkeley.edu.


the readme is below



chris
=============================================================================
Instructions for installing NetBSD sources and releases using SUP
-----------------------------------------------------------------
                                1.2 1993/06/21 02:41:21

SUP is a network installation package written by CMU used to distribute
software. For more details on SUP refer to the man pages.

Sup works by reading a configuration file (supfile) and using this information
to determine what "collections" of files will be loaded from the collection
repository. Here is an example of a supfile to load the NetBSD current
release

[ Note: lines have been broken for readability; do NOT use '\' in supfiles ]

src release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
ksrc release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
security release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
gamessrc release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
regress release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
#gnusrc release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete
#othersrc release=current host=sun-lamp.cs.berkeley.edu hostbase=/b/anon_ftp \
        base=/usr prefix=/usr \
        old backup delete

This supfile will load the "current" collections for "src", "ksrc",
"security", "gamessrc", and "regress" in the /usr directory on the
local machine. The "gnusrc" and "othersrc" collections will not be
loaded because they are commented out.

The supfile line is made up of keywords that describe the collections
location on the sup server and where and how it will be loaded on the
local host.

        release - the release of the collection to load. Currently
                the only release is "current". [Expect a 0.9 release
                once it is released]
        host    - the 'host' where the SUP repository resides. NetBSD uses
                sun-lamp.cs.berkeley.edu .
        hostbase - the pathname on the host to the base of the collection.
                The hostbase for NetBSD is "/b/anon_ftp".
        base    - where you want to install it locally.
        prefix  - used to locate the "sup" directory to write sup's
                info about updates. Usually the same as base.

This supfile example also sets some options. The "old" option tells sup
to check all files for changes, not just those that are newer than the
last sup update. Normally sup will overwrite local files with the changed
file from the repository. If the sup collection specifies that an existing
file should be renamed to a backup, the "backup" option in the supfile
activates this. The "delete" option tells sup to delete any files locally
that are no longer in the collection.

You may want to set 'base' and 'prefix' to something other than /usr
if you want to preserve your existing src tree.

The sup repository on sun-lamp.cs.berkeley.edu currently offers these
collections.
        
        src, ksrc, security
                The sources for NetBSD

        othersrc
                The current sources for contributed parts of NetBSD. This
                contains the sources for sup.

        regress
                The current sources for the NetBSD regression test suite.

The security release is not to be sup'ed by sites outside of the U.S.,
read the "README.export-control" file for details.

Each collection can have multiple releases (as specified by the "release"
keyword). Until the next release of NetBSD is made available, the
only SUP'able release is "current". Be aware that the current release
is simply a snapshot of the daily state of NetBSD development and is
not guaranteed to build (or even work) - use at your own risk ! The
next stable release of NetBSD will be available via SUP. Instructions
will be included with the release announcement.

Before running sup, be sure that your /etc/services contains these
entries.

supfilesrv      871/tcp         # for SUP
supfiledbg      1127/tcp

To try sup without really updating anything use the '-f' flag. The '-v'
flag means verbose and can be used to see what sup is doing.

        sup -fv supfile

The sup binary, sup man page and sample supfiles can be ftp'ed from
sun-lamp.cs.berkeley.edu:~ftp/pub/sup .  Comments should be directed
to "sup@sun-lamp.cs.berkeley.edu".

A mailing list exists for users of the NetBSD "current" release. To
join, mail to 'netbsd-current-users-request@sun-lamp.cs.berkeley.edu'.
We will use this list to announce any special changes made to the
"current" tree.
--
Chris G. Demetriou                                    cgd@cs.berkeley.edu

   "386bsd as depth first search: whenever you go to fix something you
       find that 3 more things are actually broken." -- Adam Glass