4 apt-get
install -y libopendmarc-dev libspf2-dev
5 apt-get
-y build-dep exim
4/flidas
6 # https://wiki.debian.org/BuildingAPackage
7 apt-get
install build-essential dpatch fakeroot devscripts equivs lintian quilt
9 apt-get
source exim
4/flidas
11 # to just patch heavy:
12 # first apply below patch, then build, then
13 #diff -u ./EDITME.exim4-light ./EDITME.exim4-heavy > /tmp/EDITME.exim4-heavy.diff
14 # remove extraneous differences
15 # meld ./debian/EDITME.exim4-heavy.diff /tmp/EDITME.exim4-heavy.diff
16 # diff -u ./debian/EDITME.exim4-heavy.diff /tmp/EDITME.exim4-heavy.diff
17 # edit the diff to get filenames right.
21 --- ./exim4-4.86.2/src/EDITME.orig 2019-07-31 11:34:22.284977059 -0400
22 +++ ./exim4-4.86.2/src/EDITME 2019-07-31 11:35:01.361206192 -0400
24 # installed on your system (www.libspf2.org). Depending on where it is installed
25 # you may have to edit the CFLAGS and LDFLAGS lines.
27 -# EXPERIMENTAL_SPF=yes
28 -# CFLAGS += -I/usr/local/include
31 +CFLAGS += -I/usr/local/include
34 # Uncomment the following lines to add SRS (Sender rewriting scheme) support.
35 # You need to have libsrs_alt installed on your system (srs.mirtol.com).
38 # Uncomment the following line to add DMARC checking capability, implemented
39 # using libopendmarc libraries.
40 -# EXPERIMENTAL_DMARC=yes
41 -# CFLAGS += -I/usr/local/include
42 -# LDFLAGS += -lopendmarc
43 +EXPERIMENTAL_DMARC=yes
44 +CFLAGS += -I/usr/local/include
45 +LDFLAGS += -lopendmarc
48 # Uncomment the following line to support Events,
52 fakeroot debian
/rules binary