the djb way



Version: djbdns-1.05 (2001.02.11)
Download: djbdns-1.05.tar.gz
MD5 (djbdns-1.05.tar.gz) = 3147c5cd56832aa3b41955c7a51cbeb2
Build type: djb classic (make setup check)
errno patch: djbdns-1.05.errno.patch

The build/install procedure for djbdns is the usual make setup check.

First, obtain the source distribution for the package. Right click on the link above; use ftp, wget, curl, lynx -dump; whatever works for you. The installation procedure described below assumes the package will be available on your system in /usr/local/djb/dist/djbdns-1.05.tar.gz.

Verify the MD5 checksum:

# cd /usr/local/djb/dist
# md5 djbdns-1.05.tar.gz
MD5 (djbdns-1.05.tar.gz) = 3147c5cd56832aa3b41955c7a51cbeb2

If the reported checksum doesn't agree, the package has been altered or corrupted. Delete the package and download it again from a trusted source.

Unpack the archive into your build directory:

# cd /usr/local/djb/build
# tar -xzvf ../dist/djbdns-1.05.tar.gz

You should now find a new directory in /usr/local/djb/build named djbdns-1.05. Change into this directory:

# cd djbdns-1.05

Apply patches as necessary. The errno patch is for GNU glibc systems as described in the appendix errno patches.

# patch -p1 < ../../patches/djbdns-1.05.errno.patch

Then continue with the build/install:

# make
# make setup check

The usual rush of compiler message will stream down your screen. When it finishes, the package has been compiled and installed on your system.

Let Bernstein know how everything worked out, using your own name in the following:

# (echo 'Britney Spears'; cat `cat SYSDEPS`) | mail 

Copyright © 2002, 2003, 2004, Wayne Marshall.
All rights reserved.

Last edit 2004.01.07, wcm.