release revision 070347dafd61757886d03b80628ada12214fec61
c25356d5978632df6203437e1953bcb29e0c736fTimo SirainenCopyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
c25356d5978632df6203437e1953bcb29e0c736fTimo SirainenCopyright (C) 2000-2003 Internet Software Consortium.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo SirainenSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
49e358eebea107aad9919dcc4bd88cee8519ba2eTimo Sirainen$Id: release,v 1.63 2005/09/09 01:00:04 marka Exp $
c0435c854a0e7246373b9752d163095cc4fbe985Timo SirainenPreparing a bind9 release
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo SirainenHere's a rough outline of the steps to follow in preparing a new bind9
c06f4017027263cf3a08becc551f5126409e2a83Timo Sirainen - Update the README file
411d6baa37f31d90730e90c4a28c43e1974bbe58Timo Sirainen - Send the new README file to webteam@nominum.com at least 48
7e1f68ad71d3485f1882142837b01f7a98ca8467Timo Sirainen hours prior to the planned release and ask them to prepare
7e1f68ad71d3485f1882142837b01f7a98ca8467Timo Sirainen the web pages for the new version. If there have been only
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen minor changes, send context diffs relative to the previous
daf029d2a627daa39d05507140f385162828172eTimo Sirainen release instead.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - Do a "cvs update" to check that all changes have been committed.
2526d52441ef368215ab6bf04fd0356d3b09d235Timo Sirainen - Verify that the file "version" contains the correct version
fe363b433b8038a69b55169da9dca27892ad7d18Timo Sirainen number (it should have been incremented after the
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen previous release)
fe363b433b8038a69b55169da9dca27892ad7d18Timo Sirainen - If building from a release branch, check that any important
fe363b433b8038a69b55169da9dca27892ad7d18Timo Sirainen bug fixes made on the mainline since the last release have
dd62b77c932d1b518f2a3e4bf80e36542becc256Timo Sirainen been pulled up. You can do this by comparing the CHANGES
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen files using the util/check-pullups.pl script. For example,
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen running the script from a mainline tree:
cd56a23e21f1df3f79648cf07e2f4385e2fadebbTimo Sirainen perl util/check-pullups.pl CHANGES ../9.2/CHANGES ../9.2/EXCLUDED
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen This will list all bug fixes on the mainline that are not
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen on the 9.2 release branch.
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5dTimo Sirainen - Before creating a new release branch, update the lib/*/api files
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen as needed. See the libtool info file for information about what
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen the various numbers mean.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - Check that http://status.isc.org/bind9/bind9.html
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen shows a clean build and test status for all supported
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen systems and that the tests are actually being run on the
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen version being released (the version can be found in the
07e4875d250e7a7157cd99132aafc773cf3cdf83Timo Sirainen page behind the "Source tar build" link).
07e4875d250e7a7157cd99132aafc773cf3cdf83Timo Sirainen - Check that running "make all_tests" in bin/tests does not
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen produce compile errors.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - Regenerate the documentation by running "make man" (mainline/9.2)
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen or by running genhtml.sh in doc/arm (9.1 release branch)
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen and commit it. Note that not all machines have the
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen necessary XML tools, but at least trebuchet, cuba,
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen and Scanner's machine do. Commit any files that were
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - Verify that the documents in doc/misc are up-to-date.
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - Update the copyrights. According to tale:
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen Go to the root of the source tree.
602a0434db30d8e3292d1c161a803d96a879a74fTimo Sirainen The scripts need to be run from there; they reference the util
602a0434db30d8e3292d1c161a803d96a879a74fTimo Sirainen subdirectory internally.
602a0434db30d8e3292d1c161a803d96a879a74fTimo Sirainen $ make distclean
602a0434db30d8e3292d1c161a803d96a879a74fTimo Sirainen ... [I prefer to check out a fresh source tree --gson]
7d207b1e77a7b5e3fda640e353acfc86d261fedfTimo Sirainen ... examine output, particularly any files with the "?" type, and
7d207b1e77a7b5e3fda640e353acfc86d261fedfTimo Sirainen ... then edit util/newcopyrights if necessary
7d207b1e77a7b5e3fda640e353acfc86d261fedfTimo Sirainen $ cvs ci -m'merge_copyrights' util/copyrights
7d207b1e77a7b5e3fda640e353acfc86d261fedfTimo Sirainen $ perl util/update_copyrights < util/copyrights
7e1f68ad71d3485f1882142837b01f7a98ca8467Timo Sirainen ... examine output, edit as necessary. mail me about anything that
6ef7e31619edfaa17ed044b45861d106a86191efTimo Sirainen ... the script should have been able to do itself. :-)
7e1f68ad71d3485f1882142837b01f7a98ca8467Timo Sirainen $ cvs ci -m'update_copyrights'
08fb191d6148feb3ed14e2d6c625cd248dd1c1d4Timo Sirainen - Announce a CVS freeze if doing an alpha or beta release from
08fb191d6148feb3ed14e2d6c625cd248dd1c1d4Timo Sirainen the mainline, or stop doing pullups if building from a release branch.
89e195dfb5c4b0efd9b9f459771a4467674e5b1fTimo Sirainen - Run util/altbuild.sh. This is to make sure that
137ea7ca34005345aa2304a940149b7f3774d727Timo Sirainen builds using libtool, separate source/object directories, and other
89e195dfb5c4b0efd9b9f459771a4467674e5b1fTimo Sirainen obscure build options work. This script may need some hacking if run
7e1f68ad71d3485f1882142837b01f7a98ca8467Timo Sirainen on anything other than NetBSD. Save the output (it's big) and look
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen for error and warning messages.
c06f4017027263cf3a08becc551f5126409e2a83Timo Sirainen cd $top_of_mainline_tree
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen cd $top_of_9_1_tree
65cb456a072219fa35b55695d476b0bf51e2d735Timo Sirainen Alteratively, you can do this after building the kit, by giving
c06f4017027263cf3a08becc551f5126409e2a83Timo Sirainen the kit .tar.gz file as an argument to altbuild.sh instad of
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen - If you can (= your system is similar enough to the one Tale is using),
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