release revision 070347dafd61757886d03b80628ada12214fec61
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedyCopyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedyCopyright (C) 2000-2003 Internet Software Consortium.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedySee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy$Id: release,v 1.63 2005/09/09 01:00:04 marka Exp $
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedyPreparing a bind9 release
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren KennedyHere's a rough outline of the steps to follow in preparing a new bind9
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Update the README file
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Send the new README file to webteam@nominum.com at least 48
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy hours prior to the planned release and ask them to prepare
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy the web pages for the new version. If there have been only
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy minor changes, send context diffs relative to the previous
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy release instead.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Do a "cvs update" to check that all changes have been committed.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Verify that the file "version" contains the correct version
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy number (it should have been incremented after the
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy previous release)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - If building from a release branch, check that any important
88a916040716032880a2a28e8f26912aef5426daAkash Ayare bug fixes made on the mainline since the last release have
88a916040716032880a2a28e8f26912aef5426daAkash Ayare been pulled up. You can do this by comparing the CHANGES
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy files using the util/check-pullups.pl script. For example,
88a916040716032880a2a28e8f26912aef5426daAkash Ayare running the script from a mainline tree:
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy perl util/check-pullups.pl CHANGES ../9.2/CHANGES ../9.2/EXCLUDED
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy This will list all bug fixes on the mainline that are not
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy on the 9.2 release branch.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Before creating a new release branch, update the lib/*/api files
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy as needed. See the libtool info file for information about what
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy the various numbers mean.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Check that http://status.isc.org/bind9/bind9.html
88a916040716032880a2a28e8f26912aef5426daAkash Ayare shows a clean build and test status for all supported
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy systems and that the tests are actually being run on the
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy version being released (the version can be found in the
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy page behind the "Source tar build" link).
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Check that running "make all_tests" in bin/tests does not
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy produce compile errors.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Regenerate the documentation by running "make man" (mainline/9.2)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy or by running genhtml.sh in doc/arm (9.1 release branch)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy and commit it. Note that not all machines have the
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy necessary XML tools, but at least trebuchet, cuba,
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy and Scanner's machine do. Commit any files that were
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Verify that the documents in doc/misc are up-to-date.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Update the copyrights. According to tale:
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy Go to the root of the source tree.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy The scripts need to be run from there; they reference the util
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy subdirectory internally.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy $ make distclean
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy ... [I prefer to check out a fresh source tree --gson]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy ... examine output, particularly any files with the "?" type, and
88a916040716032880a2a28e8f26912aef5426daAkash Ayare ... then edit util/newcopyrights if necessary
88a916040716032880a2a28e8f26912aef5426daAkash Ayare $ cvs ci -m'merge_copyrights' util/copyrights
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy $ perl util/update_copyrights < util/copyrights
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy ... examine output, edit as necessary. mail me about anything that
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy ... the script should have been able to do itself. :-)
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy $ cvs ci -m'update_copyrights'
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy - Announce a CVS freeze if doing an alpha or beta release from
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy the mainline, or stop doing pullups if building from a release branch.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy - Run util/altbuild.sh. This is to make sure that
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy builds using libtool, separate source/object directories, and other
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy obscure build options work. This script may need some hacking if run
sh util/altbuild.sh v9_0
sh util/altbuild.sh v9_1
find lib -name '*.h' -print | xargs perl util/check-includes.pl
http://clisp.cons.org/~haible/packages-libiconv.html and install it.
$ patch -p0 < contrib/idn/idnkit-1.0-src/patch/bind9/bind-9.x.y-patch \
> patch.out 2>&1
$ egrep Hunk patch.out
(configure and config.h.in) are generated automatically. When
./configure --with-iconv-include=/usr/local/include \
'--with-iconv=-L/usr/local/lib -liconv'
$ autoheader ; : regenerate config.h.in
$ rm -rf /tmp/idn
[ Some tests will be added to bin/tests/system to validate operation. ]
$ patchd=$idn/patch/bind9
$ old_patch=bind-9.x.y-patch
$ new_patch=bind-9.x.z-patch
$ missing=`cvs log -R $files 2>&1 >/dev/null | \
do echo Index: $i; diff -u /dev/null $i; done >> $patchd/$new_patch
$ rm README.idnkit
"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