Annotation of www/snapshots.html, Revision 1.1
1.1 ! deraadt 1: <http>
! 2: <head>
! 3: <title>OpenBSD Snapshots</title>
! 4: <h2>OpenBSD Snapshots</h2>
! 5:
! 6: <h3><hr>
! 7: <strong>How OpenBSD Snapshots are built:</strong></h3>
! 8:
! 9: Binary snapshots are supposed to be easy to use and install. To ease
! 10: their use, they are always statically linked. Developers have built
! 11: these distributions by doing<p>
! 12:
! 13: <pre>
! 14: setenv LDSTATIC -static
! 15: cd /usr/src
! 16: make obj
! 17: make build
! 18: setenv DESTDIR /dir
! 19: make snapshot
! 20: </pre>
! 21:
! 22: If you find a snapshot that is dynamically linked, please inform
! 23: deraadt@openbsd.org.<p>
! 24:
! 25: In each snapshot, all tar.gz files are rooted at /. If you are a
! 26: trusting kind of person you can use the following script. However it
! 27: is suggested that you not blindly install snapshots in this fashion.<p>
! 28:
! 29: <pre>
! 30: foreach i ( `pwd`/*.tar.gz )
! 31: ( cd /; tar --unlink zxvpf $i )
! 32: end
! 33: </pre>
! 34:
! 35: The tar program you use must be GNU tar or some other newer
! 36: posix-compliant version. The tar files contain directory information
! 37: in a new format, in particular dev.tar.gz contains all sorts of files
! 38: that an older version of tar would break on. Also, one should be able
! 39: to use just about any version of pax instead.<p>
! 40:
! 41: <h3><hr>
! 42: <strong>But I want dynamic binaries!:</strong></h3>
! 43:
! 44: Real Releases, when they are made, will not be statically linked.<p>
! 45:
! 46: If you desire dynamic binaries on your machine, do the following:<p>
! 47:
! 48: <pre>
! 49: cd /usr/src
! 50: make obj
! 51: make build
! 52: </pre>
! 53:
! 54: This will rebuild your machine's binaries in the normal way. of
! 55: course, before doing this later step of rebuilding all the binaries on
! 56: your machine, realize that source code quality can vary from day to
! 57: day -- on some days the make build might fail and you might run into
! 58: nasty problems.<p>