Release Instructions

From DNSSEC-Tools
Jump to: navigation, search

Release Steps

check that validator make test works

make -C validator test

version stamp everything with the release number

This needs to be done in a better automatted can't miss something way

Last time I did:

find . -type f | grep -v '\.svn' | \
  xargs perl -p -i -e 's/DNSSEC-Tools Version: 1.1/DNSSEC-Tools Version: 1.1.1/' $flist
svc -m "version stamp: 1.1.1"


One thing done in the past:

 cd tools/scripts/
 perl -i.bak -p -e 's/(DNSSEC-Tools Version:) [\.0-9]+/$1 NEWVERSION/' *
 svn commit -m "DNSSEC-Tools version update"

Other files that need updating:

  • configure (run autoconf to generate after editing

Generate the ChangeLog

 svn log > ChangeLog
 svn commit -m "changelog update" ChangeLog

Update the README/NEWS/ETC files

  • any needed changes

Check copyrights

Any files that have changed since the last release probably need new copyright end dates if a year recently passed.

Update the spec file

(it'll need a new version number)


At least this should be tested on solaris, because it's used by some of our customers and the development is mostly done on linux. SPARTA netsec's deepthot machine is a solaris box.

Tag the release

 svn copy -m "tag of 1.0" \ \

Export it to a directory and tar

NOTE: You must use star not tar (gtar or sun) to create the archive so it works everywhere

 svn export dnssec-tools-1.0
 star cf dnsec-tools-1.0.tar dnssec-tools-1.0
 gzip dnsec-tools-1.0.tar

Package binaries


sudo cp dist/dnssec-tools.spec /usr/src/redhat/SPECS/
sudo cp dnssec-tools-1.0.tar.gz /usr/src/redhat/SOURCES/
cd /usr/src/redhat/SPECS
sudo rpmbuild -ba dnssec-tools.spec

Upload to SF server

something like:

 ncftpput incoming ~/src/dnssec/dnssec-tools-1.1-branch/dnssec-tools-1.1.1.tar.gz  \
   /usr/src/redhat/RPMS/i386/d*1.1.1-1*.rpm /usr/src/redhat/SRPMS/d*1.1.1-1*.rpm

and publish