Subversion Repositories libdkim

Compare Revisions

Ignore whitespace Rev 4 → Rev 5

/branches/exp-tk/debian/Makefile.in
34,7 → 34,7
SHLIBTARGET = $(SHLIBFORLINK)
SHLIBLINK = $(CXX) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -Wl,-version-script=$(SHLIBVERSCRIPT)
SHLIBMAJOR = 0
SHLIBMINOR = 0
SHLIBMINOR = 1
SHLIBFILE = $(SHLIBSONAME).$(SHLIBMINOR)
SHLIBCFLAGS = -fPIC
 
/branches/exp-tk/debian/patches/00list
1,0 → 0,0
20_winmacros
30_extra_fields
/branches/exp-tk/debian/patches/30_extra_fields.dpatch
0,0 → 1,34
#! /bin/sh /usr/share/dpatch/dpatch-run
## 30_extra_fields.dpatch by Tom Kistner <tom@duncanthrax.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add Domain and IdentityDomain fields to struct DKIMVerifyDetails.
 
@DPATCH@
 
diff -w -xdebian -ur libdkim-1.0.14/src/dkim.h libdkim-1.0.15-tk/src/dkim.h
--- libdkim-1.0.14/src/dkim.h 2007-05-03 17:53:09.000000000 +0200
+++ libdkim-1.0.15-tk/src/dkim.h 2007-09-28 13:08:04.000000000 +0200
@@ -137,6 +137,8 @@
{
char *szSignature;
char *DNS;
+ char *Domain;
+ char *IdentityDomain;
int nResult;
} DKIMVerifyDetails;
diff -w -xdebian -ur libdkim-1.0.14/src/dkimverify.cpp libdkim-1.0.15-tk/src/dkimverify.cpp
--- libdkim-1.0.14/src/dkimverify.cpp 2007-04-24 11:01:58.000000000 +0200
+++ libdkim-1.0.15-tk/src/dkimverify.cpp 2007-09-28 08:05:01.000000000 +0200
@@ -1428,6 +1386,10 @@
DKIMVerifyDetails d;
d.szSignature = (char*)i->Header.c_str();
d.nResult = i->Status;
+
+ d.Domain = (char*)i->Domain.c_str();
+ d.IdentityDomain = i->IdentityDomain.empty()?(char*)i->IdentityDomain.c_str():(char*)i->Domain.c_str();
+
Details.push_back(d);
}
/branches/exp-tk/debian/changelog
1,3 → 1,12
libdkim (1.0.14-1exp1+eximdkim) experimental; urgency=low
 
* Experimental version made specifically to work with potential DKIM
support in Exim.
* 30_extra_fields.dpatch (new): Add Domain and IdentityDomain fields to
struct DKIMVerifyDetails (this is Tom Kistner's plan).
 
-- Magnus Holmgren <magnus@kibibyte.se> Sun, 30 Sep 2007 12:36:43 +0200
 
libdkim (1.0.14-1) unstable; urgency=low
 
* New upstream release.
/branches/exp-tk/debian/rules
74,7 → 74,9
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
# The shlibs dependency is intentionally made tight, because we have an
# experimental extension that may not be there in the next official release.
dh_makeshlibs -V "libdkim0 (= `dpkg-parsechangelog | sed -ne 's/Version: *//p'`)"
dh_installdeb
dh_shlibdeps
dh_gencontrol