last modified:

Patch collection for OpenDMARC 1.3.2-beta2

Introduction

I created this page to support others in running an up-to-date OpenDMARC installation and to support the author to release a new version.
The former version of this page for Beta1 can be found here.

Download OpenDMARC 1.3.2-beta2

Get the current beta release from http://downloads.sourceforge.net/project/opendmarc/Pre-Releases/opendmarc-1.3.2.Beta2.tar.gz and untar it in a directory of your choice with
tar -xzf opendmarc-1.3.2.Beta2.tar.gz

Get the patch collection

Download the patch collection from http://batleth.sapienti-sat.org/projects/opendmarc/patches-2017020901.tar.gz. Then untar it with
tar -xzf patches-2017020901.tar.gz
in the same directory as above.

Apply the patches

Change into the directory of the OpenDMARC source an apply all patches in the order of the ticket numbers. The thre patches without ticket numbers must be applied last:
cd opendmarc-1.3.2
for patch in ../patches-2017020901/*; do echo $patch; patch -sp1 < $patch; done

Run configure

Here is how I configure the OpenDMARC source to use libspf2 - it's actually taken from the Debian package build by Scott Kitterman:
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc LDFLAGS="-lresolv -Wl,-z,defs -L/usr/lib/libmilter" --enable-live-tests --enable-filter-tests --with-spf --with-spf2-include=/usr/include/spf2 --with-spf2-lib=/usr/lib --with-sql-backend

The patches: