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

Annotation of www/snapshots.html, Revision 1.7

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>
1.7     ! jkatz      14: <h1>OpenBSD</h1>
        !            15: <hr>
1.1       deraadt    16: <h2>OpenBSD Snapshots</h2>
                     17:
1.3       fn         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
1.1       deraadt    24:
                     25: <pre>
                     26:        setenv LDSTATIC -static
                     27:        cd /usr/src
                     28:        make obj
                     29:        make build
                     30:        setenv DESTDIR /dir
                     31:        make snapshot
                     32: </pre>
                     33:
1.3       fn         34: <p>
1.1       deraadt    35: If you find a snapshot that is dynamically linked, please inform
1.3       fn         36: deraadt@openbsd.org.
                     37: </p>
1.1       deraadt    38:
1.3       fn         39: <p>
1.1       deraadt    40: In each snapshot, all tar.gz files are rooted at /.  If you are a
                     41: trusting kind of person you can use the following script.  However it
1.3       fn         42: is suggested that you not blindly install snapshots in this fashion.
                     43: </p>
1.1       deraadt    44:
                     45: <pre>
                     46:        foreach i ( `pwd`/*.tar.gz )
                     47:            ( cd /; tar --unlink zxvpf $i )
                     48:        end
                     49: </pre>
                     50:
1.3       fn         51: <p>
1.1       deraadt    52: The tar program you use must be GNU tar or some other newer
                     53: posix-compliant version.  The tar files contain directory information
                     54: in a new format, in particular dev.tar.gz contains all sorts of files
                     55: that an older version of tar would break on.  Also, one should be able
1.3       fn         56: to use just about any version of pax instead.
                     57: <p>
1.1       deraadt    58:
1.3       fn         59: <hr>
                     60: <h3><strong>But I want dynamic binaries!:</strong></h3>
1.1       deraadt    61:
1.3       fn         62: <p>
                     63: Real Releases, when they are made, will not be statically linked.
                     64: </p>
                     65:
                     66: <p>
                     67: If you desire dynamic binaries on your machine, do the following:
                     68: </p>
1.1       deraadt    69:
                     70: <pre>
                     71:        cd /usr/src
                     72:        make obj
                     73:        make build
                     74: </pre>
                     75:
1.3       fn         76: <p>
1.1       deraadt    77: This will rebuild your machine's binaries in the normal way.  of
                     78: course, before doing this later step of rebuilding all the binaries on
                     79: your machine, realize that source code quality can vary from day to
                     80: day -- on some days the make build might fail and you might run into
1.3       fn         81: nasty problems.
                     82: </p>
                     83:
                     84: <hr>
1.6       deraadt    85: <a href=ftp.html><img src=back.gif border=0 alt=OpenBSD></a>
1.3       fn         86: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
                     87: <br>
1.7     ! jkatz      88: <small>$OpenBSD: snapshots.html,v 1.6 1996/09/02 15:11:41 deraadt Exp $</small>
1.3       fn         89:
                     90: </body>
                     91: </html>