diff options
-rw-r--r-- | mail/opendkim/Makefile | 4 | ||||
-rw-r--r-- | mail/opendkim/distinfo | 3 | ||||
-rw-r--r-- | mail/opendkim/patches/patch-libopendkim_dkim-canon.c | 21 |
3 files changed, 25 insertions, 3 deletions
diff --git a/mail/opendkim/Makefile b/mail/opendkim/Makefile index ea6fd5a8b49..ad7abac8533 100644 --- a/mail/opendkim/Makefile +++ b/mail/opendkim/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.33 2020/08/31 18:09:58 wiz Exp $ +# $NetBSD: Makefile,v 1.34 2021/03/19 09:50:21 manu Exp $ DISTNAME= opendkim-2.10.3 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opendkim/} diff --git a/mail/opendkim/distinfo b/mail/opendkim/distinfo index 6bef0b820f6..e158d27838b 100644 --- a/mail/opendkim/distinfo +++ b/mail/opendkim/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.20 2020/01/07 13:35:13 sborrill Exp $ +$NetBSD: distinfo,v 1.21 2021/03/19 09:50:21 manu Exp $ SHA1 (opendkim-2.10.3.tar.gz) = 4e9b966860bcfbca6441ed84a95bbe762fff69f4 RMD160 (opendkim-2.10.3.tar.gz) = c6553757ae9675434e647f3cc1e6357bc60c7d2a SHA512 (opendkim-2.10.3.tar.gz) = 97923e533d072c07ae4d16a46cbed95ee799aa50f19468d8bc6d1dc534025a8616c3b4b68b5842bc899b509349a2c9a67312d574a726b048c0ea46dd4fcc45d8 Size (opendkim-2.10.3.tar.gz) = 1210224 bytes SHA1 (patch-configure.ac) = c9ae182ed2c5c2ec3018fe4c6066ed7fa0d3686f +SHA1 (patch-libopendkim_dkim-canon.c) = 82dc322f86981feddc2ad0100b33ce1eca7435d6 SHA1 (patch-opendkim_opendkim-crypto.c) = d7d08fda3dba5bf9cb834123218b1e89b78878e5 diff --git a/mail/opendkim/patches/patch-libopendkim_dkim-canon.c b/mail/opendkim/patches/patch-libopendkim_dkim-canon.c new file mode 100644 index 00000000000..7cac043e665 --- /dev/null +++ b/mail/opendkim/patches/patch-libopendkim_dkim-canon.c @@ -0,0 +1,21 @@ +$NetBSD: patch-libopendkim_dkim-canon.c,v 1.1 2021/03/19 09:50:21 manu Exp $ + +--- libopendkim/dkim-canon.c.orig 2021-03-18 09:50:14.195951232 +0100 ++++ libopendkim/dkim-canon.c 2021-03-19 09:49:52.141301747 +0100 +@@ -386,10 +386,14 @@ + break; + } + } + +- /* skip all spaces before first word */ +- while (*p != '\0' && DKIM_ISWSP(*p)) ++ /* ++ * skip all spaces before first word ++ * we also need to skip CRLF for long header formatted as ++ * Header-Name:\r\n\tHeader-value ++ */ ++ while (*p != '\0' && DKIM_ISLWSP(*p)) + p++; + + space = FALSE; /* just saw a space */ + |