release revision dafcb997e390efa4423883dafd100c975c4095d6
3cb3f6867cf90188b5f4bf192ed3885e04b986fbAndreas GustafssonCopyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark AndrewsCopyright (C) 2000-2003 Internet Software Consortium.
3cb3f6867cf90188b5f4bf192ed3885e04b986fbAndreas GustafssonSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews$Id: release,v 1.57 2004/03/05 05:04:50 marka Exp $
3cb3f6867cf90188b5f4bf192ed3885e04b986fbAndreas GustafssonPreparing a bind9 release
61dd99bfae0ffa8ec193cf48fc86e4fa246a06e2Automatic UpdaterHere's a rough outline of the steps to follow in preparing a new bind9
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Update the README file
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Send the new README file to webteam@nominum.com at least 48
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer hours prior to the planned release and ask them to prepare
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer the web pages for the new version. If there have been only
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer minor changes, send context diffs relative to the previous
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer release instead.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Do a "cvs update" to check that all changes have been committed.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Verify that the file "version" contains the correct version
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer number (it should have been incremented after the
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer previous release)
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - If building from a release branch, check that any important
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer bug fixes made on the mainline since the last release have
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer been pulled up. You can do this by comparing the CHANGES
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer files using the util/check-pullups.pl script. For example,
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer running the script from a mainline tree:
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer perl util/check-pullups.pl CHANGES ../9.2/CHANGES ../9.2/EXCLUDED
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer This will list all bug fixes on the mainline that are not
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer on the 9.2 release branch.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Before creating a new release branch, update the lib/*/api files
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer as needed. See the libtool info file for information about what
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer the various numbers mean.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Check that http://status.isc.org/bind9/bind9.html
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer shows a clean build and test status for all supported
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer systems and that the tests are actually being run on the
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer version being released (the version can be found in the
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer page behind the "Source tar build" link).
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Check that running "make all_tests" in bin/tests does not
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer produce compile errors.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Regenerate the documentation by running "make man" (mainline/9.2)
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer or by running genhtml.sh in doc/arm (9.1 release branch)
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer and commit it. Note that not all machines have the
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer necessary XML tools, but at least trebuchet, cuba,
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer and Scanner's machine do. Commit any files that were
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer regenerated.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Verify that the documents in doc/misc are up-to-date.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Update the copyrights. According to tale:
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer Go to the root of the source tree.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer The scripts need to be run from there; they reference the util
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer subdirectory internally.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer $ make distclean
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer ... [I prefer to check out a fresh source tree --gson]
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer ... examine output, particularly any files with the "?" type, and
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer ... then edit util/newcopyrights if necessary
dc02df4d9e57afcd09682d45bd42f981414d7b88Mark Andrews $ cvs ci -m'merge_copyrights' util/copyrights
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer ... examine output, edit as necessary. mail me about anything that
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer ... the script should have been able to do itself. :-)
dc02df4d9e57afcd09682d45bd42f981414d7b88Mark Andrews $ cvs ci -m'update_copyrights'
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer - Announce a CVS freeze if doing an alpha or beta release from
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer the mainline, or stop doing pullups if building from a release branch.
1e733ffc1103667dd6cf0eae01f5dfd0c84c5108Mark Andrews - Run util/altbuild.sh. This is to make sure that
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer builds using libtool, separate source/object directories, and other
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer obscure build options work. This script may need some hacking if run
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer on anything other than NetBSD. Save the output (it's big) and look
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer for error and warning messages.
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer cd $top_of_mainline_tree
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer cd $top_of_9_1_tree
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer Alteratively, you can do this after building the kit, by giving
01c7700793e3db356c774e7e7d2bf80456db1014Danny Mayer the kit .tar.gz file as an argument to altbuild.sh instad of
find lib -name '*.h' -print | xargs perl util/check-includes.pl
http://clisp.cons.org/~haible/packages-libiconv.html and install it.
$ sh util/sanitize_all.sh
$ egrep Hunk patch.out
./configure --with-iconv-include=/usr/local/include \
'--with-iconv=-L/usr/local/lib -lgiconv'
$ cp configure configure.orig
$ rm -rf /tmp/idn
[ Some tests will be added to bin/tests/system to validate operation. ]
$ patchd=$idn/patch/bind9
$ awk '/^\+\+\+ / {print $2}' $patchd/patch.most |
diff -u2 $i.orig $i
done > $patchd/patch.most.new
$ cvs diff -u2 configure > $patchd/patch.configure
$ cvs ci -ko $patchd/patch.*
"util/kit.sh" script.
ssh phred.isc.org
gunzip <bind-$ver.tar.gz | tar xfv -
/var/named/keep-running ns-ext &
gunzip <bind-$ver.tar.gz | tar xfv -
/var/named/keep-running9 rc-res1 &
/var/named/keep-running9 ns-int &
pgp -sba bind-$ver.tar.gz -u 0x51BAB2ED
chmod 644 bind-$ver.tar.gz.asc
pgp -sba BIND$ver.zip -u 0x51BAB2ED
chmod 644 BIND$ver.zip.asc