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

Annotation of www/snapshots.html, Revision 1.3

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