Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ccd6d20295ff28f0d90115b0394355f1 > files > 27

libdnssec-tools-devel-1.5-2mdv2010.0.i586.rpm

		DNSSEC extension to libspf2-x: HOWTO
		========================================

Introduction
------------

The DNSSEC extension to libspf2 provides DNSSEC validation to DNS queries in
libspf2.  This document describes how to install libspf2 with DNSSEC validation
functionality. The companion libspf2-x_guide.txt documents explain 
how to use this DNSSEC validation functionality in applications that use
libspf2.

libspf2 can be downloaded from http://www.libspf2.org/download.html
Patches are available for version libspf2-1.2.5 and libspf2-1.0.4. 

Unzip and untar the distribution using the following command 
(replace x by the correct version number):

	tar -xvzf libspf2-x.tar.gz

Now apply the patch by (replace x by the correct version number):

	patch -p 0 -b -z .orig </path/to/patch/libspf2-x_dnssec_patch.txt

This will apply the patch and store the original files with a .orig suffix.

Before compiling libspf2 with the above patch, you will need to install
the libsres and the libval libraries from http://dnssec-tools.sourceforge.net.

To compile libspf2, first run the following sequence of commands from the main
libspf2 source directory to generate new 'configure' and other files needed
for compilation:

	aclocal
	autoheader
	libtoolize --automake --force
	automake
	autoconf

Next, configure with the --enable-dnssec-support option:

	./configure --enable-dnssec-support

Then, compile and install libspf2 as per the instructions given
in the libspf2 distribution.