Subversion Repositories libdkim

Compare Revisions

Ignore whitespace Rev 46 → Rev 47

/trunk/debian/libdkim0d.symbols
File deleted
/trunk/debian/control
6,7 → 6,7
Section: libs
Homepage: http://libdkim.sourceforge.net
 
Package: libdkim0d
Package: libdkim1d
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
25,7 → 25,7
Package: libdkim-dev
Section: libdevel
Architecture: any
Depends: libdkim0d (= ${binary:Version}), libssl-dev, ${shlibs:Depends}, ${misc:Depends}
Depends: libdkim1d (= ${binary:Version}), libssl-dev, ${shlibs:Depends}, ${misc:Depends}
Description: cryptographically identify the sender of email
DomainKeys Identified Mail (DKIM) defines a domain-level
authentication framework for email using public-key cryptography and
41,13 → 41,13
This package contains the development files needed to compile and link
programs with libdkim.
 
Package: libdkim0d-dbg
Package: libdkim1d-dbg
Section: debug
Priority: extra
Architecture: any
Depends: libdkim0d (= ${binary:Version}), ${misc:Depends}
Depends: libdkim1d (= ${binary:Version}), ${misc:Depends}
Description: DomainKeys Identified Mail (DKIM) library - debug symbols
This package contains the debug symbols for libdkim0d, a library for
This package contains the debug symbols for libdkim1d, a library for
server-level signing of email using the DKIM standard, and
verification of the signatures. See the description of that package
for more information.
/trunk/debian/Makefile.in
35,7 → 35,7
SHLIBSONAME = $(SHLIBFORLINK).$(SHLIBMAJOR)
SHLIBTARGET = $(SHLIBFORLINK)
SHLIBLINK = $(CXX) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -Wl,-version-script=debian/libdkim.ver
SHLIBMAJOR = 0d
SHLIBMAJOR = 1d
SHLIBMINOR = 1
SHLIBFILE = $(SHLIBSONAME).$(SHLIBMINOR)
SHLIBCFLAGS = -fPIC
/trunk/debian/libdkim1d.symbols
0,0 → 1,13
libdkim.so.1d libdkim1d #MINVER#
DKIMGetErrorString@Base 0
DKIMSignFree@Base 0
DKIMSignGetSig2@Base 0
DKIMSignGetSig@Base 0
DKIMSignInit@Base 0
DKIMSignProcess@Base 0
DKIMVerifyFree@Base 0
DKIMVerifyGetDetails@Base 0
DKIMVerifyInit@Base 0
DKIMVerifyProcess@Base 0
DKIMVerifyResults@Base 0
DKIMVersion@Base 0
/trunk/debian/patches/30_extra_fields.dpatch
File deleted
/trunk/debian/patches/fix_warnings.dpatch
275,17 → 275,6
{
if (values[j] != NULL && values[j] < values[0])
{
@@ -1411,8 +1411,8 @@
return DKIM_POLICY_DNS_PERM_FAILURE;
}
- unsigned pos = sDomain.find('.');
- if (pos == -1 || sDomain.find('.', pos+1) == -1)
+ string::size_type pos = sDomain.find('.');
+ if (pos == string::npos || sDomain.find('.', pos+1) == string::npos)
{
// SSP not found but the domain exists, it's non-suspicious
iSSP = DKIM_SSP_UNKNOWN;
diff -ru libdkim-1.0.19.orig/src/libdkimtest.cpp libdkim-1.0.19/src/libdkimtest.cpp
--- libdkim-1.0.19.orig/src/libdkimtest.cpp 2008-05-12 20:08:54.000000000 +1000
+++ libdkim-1.0.19/src/libdkimtest.cpp 2009-04-15 19:38:08.000000000 +1000
/trunk/debian/patches/01_strtok_r.dpatch
117,31 → 117,3
}
}
@@ -1388,6 +1394,9 @@
////////////////////////////////////////////////////////////////////////////////
int CDKIMVerify::GetSSP( const string &sDomain, int &iSSP, bool &bTesting )
{
+ // for strtok_r()
+ char *saveptr;
+
string sFQDN = "_ssp._domainkey.";
sFQDN += sDomain;
@@ -1456,7 +1465,7 @@
// flags
if (values[1] != NULL)
{
- char *s = strtok(values[1], "|");
+ char *s = strtok_r(values[1], "|", &saveptr);
while (s != NULL)
{
if (strcmp(s, "y") == 0)
@@ -1474,7 +1483,7 @@
return DKIM_SUCCESS;
}
}
- s = strtok(NULL, "|");
+ s = strtok_r(NULL, "|", &saveptr);
}
}
}
/trunk/debian/patches/00list
1,3 → 1,2
01_strtok_r
30_extra_fields
fix_warnings
/trunk/debian/changelog
1,3 → 1,15
libdkim (1:1.0.21-1) unstable; urgency=low
 
* New upstream version.
* SSP (Sender Signing Practices) replaced by ADSP (Author Domain
Signing Practices).
* 30_extra_fields.dpatch: Dropped. The DKIMVerifyDetails structure now
provides the formerly missing information in the szSignatureDomain and
szIdentityDomain fields.
* SONAME changed to libdkim.so.1d because of the above change.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 31 Jan 2010 22:57:06 +0100
 
libdkim (1:1.0.19-4) unstable; urgency=low
 
* Add debug package (Closes: #532058).
/trunk/debian/rules
71,7 → 71,7
dh_installexamples
# dh_installinfo
# dh_installman
dh_strip --dbg-package=libdkim0d-dbg
dh_strip --dbg-package=libdkim1d-dbg
dh_compress
dh_fixperms
dh_makeshlibs
/trunk/debian/configure.ac
2,7 → 2,7
# Process this file with autoconf to produce a configure script.
 
AC_PREREQ(2.61)
AC_INIT(libdkim, 1.0.19)
AC_INIT(libdkim, 1.0.21)
AC_CONFIG_SRCDIR([dkim.cpp])
##AC_CONFIG_HEADER([config.h])