pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/opendkim
Module Name: pkgsrc
Committed By: manu
Date: Fri Mar 19 09:50:21 UTC 2021
Modified Files:
pkgsrc/mail/opendkim: Makefile distinfo
Added Files:
pkgsrc/mail/opendkim/patches: patch-libopendkim_dkim-canon.c
Log Message:
Fix DKIM canonization of headers formatted as Name:\r\n\tValue
Submitted upstream as
https://github.com/trusteddomainproject/OpenDKIM/pull/119
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/mail/opendkim/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/mail/opendkim/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/mail/opendkim/patches/patch-libopendkim_dkim-canon.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/opendkim/Makefile
diff -u pkgsrc/mail/opendkim/Makefile:1.33 pkgsrc/mail/opendkim/Makefile:1.34
--- pkgsrc/mail/opendkim/Makefile:1.33 Mon Aug 31 18:09:58 2020
+++ pkgsrc/mail/opendkim/Makefile Fri Mar 19 09:50:21 2021
@@ -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/}
Index: pkgsrc/mail/opendkim/distinfo
diff -u pkgsrc/mail/opendkim/distinfo:1.20 pkgsrc/mail/opendkim/distinfo:1.21
--- pkgsrc/mail/opendkim/distinfo:1.20 Tue Jan 7 13:35:13 2020
+++ pkgsrc/mail/opendkim/distinfo Fri Mar 19 09:50:21 2021
@@ -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
Added files:
Index: pkgsrc/mail/opendkim/patches/patch-libopendkim_dkim-canon.c
diff -u /dev/null pkgsrc/mail/opendkim/patches/patch-libopendkim_dkim-canon.c:1.1
--- /dev/null Fri Mar 19 09:50:21 2021
+++ pkgsrc/mail/opendkim/patches/patch-libopendkim_dkim-canon.c Fri Mar 19 09:50:21 2021
@@ -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 */
+
Home |
Main Index |
Thread Index |
Old Index