release revision 8209c24d4265e3c8c00e4065b2070f394fb812a2
fb84f9014321c5f33c4682de5661b579fcde318fAndreas GustafssonCopyright (C) 2000, 2001 Internet Software Consortium.
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark AndrewsSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein$Id: release,v 1.38 2001/07/06 21:15:10 gson Exp $
fb84f9014321c5f33c4682de5661b579fcde318fAndreas GustafssonPreparing a bind9 release
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinHere's a rough outline of the steps to follow in preparing a new bind9
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Do a "cvs update" to check that all changes have been committed.
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - Update the README file
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - Send the new README file to webteam@nominum.com at least 48
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson hours prior to the planned release and ask them to prepare
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews the web pages for the new version. If there have been only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minor changes, send context diffs relative to the previous
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein release instead.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Verify that the file "version" contains the correct version
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein number (it should have been incremented after the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein previous release)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Update the lib/*/api files as needed. See the libtool
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein info file for information about what the various numbers mean.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - If building from a release branch, check that any important
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein bug fixes made on the mainline since the last release have
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein been pulled up. You can do this by comparing the CHANGES
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein files using the util/check-pullups.pl script. For example,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein running the script from a mainline tree:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein perl util/check-pullups.pl CHANGES ../9.1/CHANGES
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This will list all bug fixes on the mainline that are not
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews on the 9.1 release branch.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Check that http://status.isc.org/bind9/bind9.html
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein shows a clean build and test status for all supported
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein systems and that the tests are actually being run on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein version being released (the version can be found in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein page behind the "Source tar build" link).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Check that running "make all_tests" in bin/tests does not
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein produce compile errors.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Regenerate the documentation by running "make man" (mainline)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or by running genhtml.sh in doc/arm (9.1 release branch)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and commit it. Note that not all machines have the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein necessary XML tools, but at least trebuchet, cuba,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and Scanner's machine do.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Verify that the documents in doc/misc are up-to-date.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Update the copyrights. According to tale:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Go to the root of the source tree.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The scripts need to be run from there; they reference the util
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein subdirectory internally.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ make distclean
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... [I prefer to check out a fresh source tree --gson]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... examine output, particularly any files with the "?" type, and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... then edit util/newcopyrights if necessary
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ cvs ci -m'merge_copyrights' util/copyrights
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... examine output, edit as necessary. mail me about anything that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... the script should have been able to do itself. :-)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ cvs ci -m'update_copyrights'
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews - Announce a CVS freeze if doing an alpha or beta release from
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the mainline, or stop doing pullups if building from a release branch.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Run util/altbuild.sh. This is to make sure that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein builds using libtool, separate source/object directories, and other
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein obscure build options work. This script may need some hacking if run
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on anything other than NetBSD. Save the output (it's big) and look
61e1dc26d62c2a0059e3ca7efe2ad0f4a5b8df92Mark Andrews for error and warning messages.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cd $top_of_mainline_tree
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cd $top_of_9_1_tree
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Alteratively, you can do this after building the kit, by giving
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the kit .tar.gz file as an argument to altbuild.sh instad of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the CVS tag.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - If you can (= your system is similar enough to the one Tale is using),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein check the header files for cruft by running the command
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ This step is quite imperfect and should probably be skipped
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for now -- Tale ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein find lib -name '*.h' -print | xargs perl util/check-includes.pl
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Ensure that the JPNIC patch applies cleanly:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you don't have the "iconv" library, you need to get it from
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein http://clisp.cons.org/~haible/packages-libiconv.html and install it.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ patch -p0 < contrib/idn/mdnkit/patch/bind9/patch.most > patch.out 2>&1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein All hunks should have applied successfully with no offset or fuzz.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If all succeeded but some were offset or had fuzz, the patch will be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein regenerated at the end of this stage.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ Sample on netbsd ... ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ CFLAGS=-I/usr/local/include ./configure '--with-iconv=-L/usr/local/lib -liconv'
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ cd ../../.. ; : cd back to top level
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ ./configure
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... should cleanly compile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ make distclean
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ mkdir -p /tmp/mdn/{lib,include}
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ ./configure --with-mdn=/tmp/mdn --with-iconv="-L/usr/local/lib -liconv"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ LD_LIBRARY_PATH=/usr/local/lib:/tmp/mdn/lib:/usr/lib make
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... should cleanly compile
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ Some tests will be added to bin/tests/system to validate operation. ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Generate a fresh copy of the diffs:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ awk '/^\+\+\+ / {print $2}' $patchd/patch.most |
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein while read i; do
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ cvs diff -u2 configure > $patchd/patch.configure
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $ cvs ci -ko $patchd/patch.*
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Add a marker line like " --- 9.0.0rc1 released ---"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to the CHANGES file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Tag the CVS source tree with the final tag, as in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "cvs rtag v9_0_0rc1 bind9" (mainline) or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "cvs rtag -r v9_1 v9_1_1rc7 bind9" (release branch).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Build the release kit. This procedure differs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein between the 9.0 release branch and later versions.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein On the 9.0 release branch,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cd <temporary directory>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cvs export -r v9_0_0rc7 bind9
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sh configure
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein On the 9.1 release branch or mainline, use the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Build bind9 from the kit on at least one machine
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and test it. Run it as a caching name server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you can, try resolving some IPv6 addresses and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein doing queries over IPv6.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - If problems are found at this stage, fix them, move the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein release tag up using "rtag -F", and respin the kit.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Sign the distribution files with the ISC signing PGP key
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and fix the permissions on the signature file:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pgp -sba bind-9.1.3.tar.gz -u 0x51BAB2ED
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Verify the PGP signature:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (Look for the words "Good signature" in the output.)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Prepare a release announcement based on the previous one.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Copy the distribution and PGP signature files to the FTP site:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ssh -n isrv4.pa.vix.com "mkdir /udir/ftp/isc/bind9/$ver"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Download using FTP (or Netscape) using the URLs in the release
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein announcement and verify the PGP signature again
61e1dc26d62c2a0059e3ca7efe2ad0f4a5b8df92Mark Andrews - Increment the version in the file "version"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Resume doing pullups
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - Announce the release on bind-announce@isc.org