last modified:

Patch collection for OpenDMARC 1.3.2-beta0

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.
There is also a clone of the official OpenDMARC Git repository with these patches applied ,which can be found here: https://sourceforge.net/u/pktomo/opendmarc/ci/develop-1.3.2/tree/

Download OpenDMARC 1.3.2-beta0

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

Get the patch collection

Download the patch collection from http://batleth.sapienti-sat.org/projects/opendmarc/patches-2016110801.tar.gz. Then untar it with
tar -xzf patches-2016110801.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-2016110801/*; 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: