release revision 1676408640d8283c9f17eec0b183e1302ea7fd70
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCopyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweCopyright (C) 2000-2003 Internet Software Consortium.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweSee COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe$Id: release,v 1.60 2004/03/18 02:57:55 marka Exp $
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LowePreparing a bind9 release
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweHere's a rough outline of the steps to follow in preparing a new bind9
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov - Update the README file
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov - Send the new README file to webteam@nominum.com at least 48
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov hours prior to the planned release and ask them to prepare
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe the web pages for the new version. If there have been only
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov minor changes, send context diffs relative to the previous
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe release instead.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Do a "cvs update" to check that all changes have been committed.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Verify that the file "version" contains the correct version
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe number (it should have been incremented after the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe previous release)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - If building from a release branch, check that any important
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe bug fixes made on the mainline since the last release have
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov been pulled up. You can do this by comparing the CHANGES
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe files using the util/check-pullups.pl script. For example,
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe running the script from a mainline tree:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe perl util/check-pullups.pl CHANGES ../9.2/CHANGES ../9.2/EXCLUDED
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe This will list all bug fixes on the mainline that are not
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe on the 9.2 release branch.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov - Before creating a new release branch, update the lib/*/api files
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe as needed. See the libtool info file for information about what
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov the various numbers mean.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov - Check that http://status.isc.org/bind9/bind9.html
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe shows a clean build and test status for all supported
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov systems and that the tests are actually being run on the
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov version being released (the version can be found in the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe page behind the "Source tar build" link).
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Check that running "make all_tests" in bin/tests does not
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov produce compile errors.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe - Regenerate the documentation by running "make man" (mainline/9.2)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe or by running genhtml.sh in doc/arm (9.1 release branch)
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov and commit it. Note that not all machines have the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe necessary XML tools, but at least trebuchet, cuba,
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov and Scanner's machine do. Commit any files that were
- Verify that the documents in doc/misc are up-to-date.
$ perl util/merge_copyrights
... then edit util/newcopyrights if necessary
$ cvs ci -m'merge_copyrights' util/copyrights
- Run util/altbuild.sh. This is to make sure that
builds using libtool, separate source/object directories, and other
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
"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