pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/opendkim opendkim: Fix SunOS build and pkglint.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/331823639e75
branches:  trunk
changeset: 379429:331823639e75
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 16 19:12:19 2022 +0000

description:
opendkim: Fix SunOS build and pkglint.

diffstat:

 mail/opendkim/Makefile                               |  7 ++++---
 mail/opendkim/distinfo                               |  4 ++--
 mail/opendkim/patches/patch-libopendkim_dkim-canon.c |  6 +++++-
 3 files changed, 11 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r c28e0401222e -r 331823639e75 mail/opendkim/Makefile
--- a/mail/opendkim/Makefile    Mon May 16 18:51:51 2022 +0000
+++ b/mail/opendkim/Makefile    Mon May 16 19:12:19 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2021/05/24 19:52:43 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2022/05/16 19:12:19 jperkin Exp $
 
 DISTNAME=      opendkim-2.10.3
 PKGREVISION=   8
@@ -11,11 +11,13 @@
 LICENSE=       sendmail-open-source-license
 
 USE_LIBTOOL=           yes
-USE_TOOLS+=             autoconf automake autoreconf
+USE_TOOLS+=            autoconf automake autoreconf
 USE_TOOLS+=            pkg-config perl:run
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 
+LDFLAGS.SunOS+=        -lsocket -lnsl
+
 REPLACE_PERL+= opendkim/opendkim-genkey.in
 
 FILES_SUBST+=  DKIM_USER=${DKIM_USER} DKIM_GROUP=${DKIM_GROUP}
@@ -48,7 +50,6 @@
 PLIST_SRC+=            ${PKGDIR}/PLIST
 
 .include "../../security/openssl/buildlink3.mk"
-BUILDLINK_API_DEPENDS.libmilter+=      libmilter>=8.13.0
 .include "../../mail/libmilter/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c28e0401222e -r 331823639e75 mail/opendkim/distinfo
--- a/mail/opendkim/distinfo    Mon May 16 18:51:51 2022 +0000
+++ b/mail/opendkim/distinfo    Mon May 16 19:12:19 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2021/10/26 10:54:11 nia Exp $
+$NetBSD: distinfo,v 1.24 2022/05/16 19:12:19 jperkin Exp $
 
 BLAKE2s (opendkim-2.10.3.tar.gz) = b790b2fdcffd16372460f0d686845019c85d21e3530202792c5d601801030dc7
 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-libopendkim_dkim-canon.c) = 3d15386a114639f2479505bc3b12c1de67dbb18a
 SHA1 (patch-opendkim_opendkim-crypto.c) = d7d08fda3dba5bf9cb834123218b1e89b78878e5
diff -r c28e0401222e -r 331823639e75 mail/opendkim/patches/patch-libopendkim_dkim-canon.c
--- a/mail/opendkim/patches/patch-libopendkim_dkim-canon.c      Mon May 16 18:51:51 2022 +0000
+++ b/mail/opendkim/patches/patch-libopendkim_dkim-canon.c      Mon May 16 19:12:19 2022 +0000
@@ -1,4 +1,8 @@
-$NetBSD: patch-libopendkim_dkim-canon.c,v 1.1 2021/03/19 09:50:21 manu Exp $
+$NetBSD: patch-libopendkim_dkim-canon.c,v 1.2 2022/05/16 19:12:19 jperkin Exp $
+
+Fix DKIM canonization of headers formatted as Name:\r\n\tValue
+
+Submitted upstream as https://github.com/trusteddomainproject/OpenDKIM/pull/119
 
 --- 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



Home | Main Index | Thread Index | Old Index