adns - C/C++ DNS client library and utilities ChangeLog

HOWTO


# GNU adns 1.6.1
# ==============
# As this is written, there is no Slackware package for adns
# I use the default prefix /usr/local below, but if a Slackware package is
# added in the future, I would change it to /usr to match the paths in that.
#
# Here are 3rd party options for packages if you do not want to install it
# from source yourself or just want to see how they did it.  I have not
# tried them.
# Slackers package via slackware.pkgs.org
# ftp.belnet.be hosted package for the salixos.org Slackware-based distribution

# adns-announce: adns 1.6.1 - build fixes
# Home page at www.chiark.greenend.org.uk
# Home page at www.gnu.org
# adns-announce
# adns-discuss

# If you ever want to uninstall adns, skip down to the bottom for instructions

# If the download URL does not work below, download alternatives:
# http://ftpirror.gnu.org/adns/ (automatic redirect)
# https://ftp.gnu.org/gnu/adns/
# https://www.gnu.org/prep/ftp.html (GNU mirrors)

# Get the tarball
cd
test -f installed/adns-1.6.1.tar.gz &&
mv -f installed/adns-1.6.1.tar.gz .
test ! -f adns-1.6.1.tar.gz &&
wget https://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.1.tar.gz

# Verify tarball w/ sha256sum:
echo "7138b3789b7506bd683f451d4f7d853077a91803b7b35d86ec667f0f9cd401\
cd  adns-1.6.1.tar.gz" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys E3E3392348B50D39 > /dev/null 2>&1 ||
  gpg --recv-keys E3E3392348B50D39 ) &&
wget -nc https://www.chiark.greenend.org.uk/~ian/adns/ftp/adns-1.6.1.tar.gz.sig &&
  gpg --verify adns-1.6.1.tar.gz.sig && rm adns-1.6.1.tar.gz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "adns-*" -exec rm -r {} \;
tar xzvf ~/adns-1.6.1.tar.gz
cd adns-1.6.1
test $UID = 0 && chown -R root:root .

# Configure the build - 64 bit
test $(uname -m) = 'x86_64' && ./configure --libdir=/usr/local/lib64

# Configure the build - anything else
test $(uname -m) != 'x86_64' && ./configure

# Build it
make

# Check the build
make check

# Become root to install it
su

# Install it
make install
ldconfig

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/adns-*.tar.*
mv -f adns-1.6.1.tar.gz installed/


# If you ever want to uninstall adns, this should do it:
# ('make uninstall' as root should be enough)
cd
su
test -d src/adns-* && ( cd src/adns-* ; make uninstall )
( cd /usr/local/bin
  rm -f adnsheloex adnshost adnslogres adnsresfilter )
rm -f /usr/local/include/adns.h /usr/local/lib/libadns.*
test -d /usr/local/lib64 && rm -f /usr/local/lib64/libadns.*
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "adns-*" -exec rm -r {} \;
rm -f ~/installed/adns-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2025-06-19 10:09am
Copyright © 2001-2025 Jason Englander. All Rights reserved.
[HTML5]