[BACK]Return to snapshots.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/snapshots.html, Revision 1.6

1.3       fn          1: <!DOCTYPE HTML PUBLIC  "-//IETF//DTD HTML Strict//EN">
                      2: <html>
1.1       deraadt     3: <head>
                      4: <title>OpenBSD Snapshots</title>
1.3       fn          5: <link rev=made href=mailto:www@openbsd.org>
                      6: <meta name="resource-type" content="document">
                      7: <meta name="description" content="the OpenBSD snapshots info page">
                      8: <meta name="keywords" content="openbsd,snapshots">
                      9: <meta name="distribution" content="global">
                     10: <meta name="copyright" content="This document copyright 1996 by OpenBSD, Inc.">
                     11: </head>
                     12:
                     13: <body>
                     14:
1.1       deraadt    15: <h2>OpenBSD Snapshots</h2>
                     16:
1.3       fn         17: <hr>
                     18: <h3><strong>How OpenBSD Snapshots are built:</strong></h3>
1.1       deraadt    19:
1.3       fn         20: <p>
1.1       deraadt    21: Binary snapshots are supposed to be easy to use and install.  To ease
                     22: their use, they are always statically linked.  Developers have built
1.3       fn         23: these distributions by doing
                     24: </p>
1.1       deraadt    25:
                     26: <pre>
                     27:        setenv LDSTATIC -static
                     28:        cd /usr/src
                     29:        make obj
                     30:        make build
                     31:        setenv DESTDIR /dir
                     32:        make snapshot
                     33: </pre>
                     34:
1.3       fn         35: <p>
1.1       deraadt    36: If you find a snapshot that is dynamically linked, please inform
1.3       fn         37: deraadt@openbsd.org.
                     38: </p>
1.1       deraadt    39:
1.3       fn         40: <p>
1.1       deraadt    41: In each snapshot, all tar.gz files are rooted at /.  If you are a
                     42: trusting kind of person you can use the following script.  However it
1.3       fn         43: is suggested that you not blindly install snapshots in this fashion.
                     44: </p>
1.1       deraadt    45:
                     46: <pre>
                     47:        foreach i ( `pwd`/*.tar.gz )
                     48:            ( cd /; tar --unlink zxvpf $i )
                     49:        end
                     50: </pre>
                     51:
1.3       fn         52: <p>
1.1       deraadt    53: The tar program you use must be GNU tar or some other newer
                     54: posix-compliant version.  The tar files contain directory information
                     55: in a new format, in particular dev.tar.gz contains all sorts of files
                     56: that an older version of tar would break on.  Also, one should be able
1.3       fn         57: to use just about any version of pax instead.
                     58: <p>
1.1       deraadt    59:
1.3       fn         60: <hr>
                     61: <h3><strong>But I want dynamic binaries!:</strong></h3>
1.1       deraadt    62:
1.3       fn         63: <p>
                     64: Real Releases, when they are made, will not be statically linked.
                     65: </p>
                     66:
                     67: <p>
                     68: If you desire dynamic binaries on your machine, do the following:
                     69: </p>
1.1       deraadt    70:
                     71: <pre>
                     72:        cd /usr/src
                     73:        make obj
                     74:        make build
                     75: </pre>
                     76:
1.3       fn         77: <p>
1.1       deraadt    78: This will rebuild your machine's binaries in the normal way.  of
                     79: course, before doing this later step of rebuilding all the binaries on
                     80: your machine, realize that source code quality can vary from day to
                     81: day -- on some days the make build might fail and you might run into
1.3       fn         82: nasty problems.
                     83: </p>
                     84:
                     85: <hr>
1.6     ! deraadt    86: <a href=ftp.html><img src=back.gif border=0 alt=OpenBSD></a>
1.3       fn         87: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
                     88: <br>
1.6     ! deraadt    89: <small>$OpenBSD: snapshots.html,v 1.5 1996/09/02 11:18:09 deraadt Exp $</small>
1.3       fn         90:
                     91: </body>
                     92: </html>