NetBSD Problem Report #47407

From makoto@mx.ki.nu  Sat Jan  5 14:03:24 2013
Return-Path: <makoto@mx.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 0B04963EC4D
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  5 Jan 2013 14:03:24 +0000 (UTC)
Message-Id: <201301051403.r05E3Jho005856@mx.ki.nu>
Date: Sat, 5 Jan 2013 23:03:19 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto@ki.nu
To: gnats-bugs@gnats.NetBSD.org
Subject: [PATCH] mail/sendmail 8.14.6
X-Send-Pr-Version: 3.95

>Number:         47407
>Category:       pkg
>Synopsis:       Update to mail/sendmail 8.14.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jnemeth
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 05 14:05:00 +0000 2013
>Closed-Date:    Sat May 31 06:48:31 +0000 2014
>Last-Modified:  Sat May 31 06:48:31 +0000 2014
>Originator:     Makoto Fujiwara
>Release:        NetBSD 6.0
>Organization:
KINU Corporation
>Environment:


System: NetBSD modena 6.0 NetBSD 6.0 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
	sendmail-8.14.6 released on 2012/12/23
>How-To-Repeat:
	(cd /usr/pkgsrc/mail/sendmail; make package)
>Fix:
8.14.6/8.14.6   2012/12/23
        Fix a regression introduced in 8.14.5: if a server offers
                two AUTH lines, the MTA would not read them after
                STARTTLS has been used and hence SMTP AUTH for
                the client side would fail.  Problem noted by Lena.
        Do not cache hostnames internally in a non case sensitive way
                as that may cause addresses to change from lower case
                to upper case or vice versa. These header modifications
                can cause problems with milters that rely on receiving
                headers in the same way as they are being sent out such
                as a DKIM signing milter.
        If MaxQueueChildren is set then it was possible that new queue
                runners could not be started anymore because an
                internal counter was subject to a race condition.
        If a milter decreases the timeout it waits for a communication
                with the MTA, the MTA might experience a write() timeout.
                In some situations, the resulting error might have been
                ignored.  Problem noted by Werner Wiethege.
                Note: decreasing the communication timeout in a milter
                should not be done without considering the potential
                problems.
        smfi_setsymlist() now properly sets the list of macros for
                the milter which invoked it, instead of a global
                list for all milters.  Problem reported by
                David Shrimpton of the University of Queensland.
        If Timeout.resolver.retrans is set to a value larger than 20,
                then resolver.retry was temporarily set to 0 for
                gethostbyaddr() lookups. Now it is set to 1 instead.
                Patch from Peter.
        If sendmail could not lock the statistics file due to a system
                error, and sendmail later sends a DSN for a mail that
                triggered such an error, then sendmail tried to access
                memory that was freed before (causing a crash on some
                systems).  Problem reported by Ryan Stone.
        Do not log negative values for size= nor pri= to avoid confusing
                log parsers, instead limit the values to LONG_MAX.
        Account for an API change in newer versions of Cyrus-SASL.
                Patch from Hajimu UMEMOTO from FreeBSD.
        Do not try to resolve link-local addresses for IPv4 (just as it
                is done for IPv6).  Patch from John Beck of Oracle.
        Improve logging of client and server STARTTLS connection failures
                that may be due to incompatible cipher lists by including
                the reason for the failure in a single log line.  Suggested
                by James Carey of Boeing.
        Portability:
                Add support for Darwin 11.x and 12.x (Mac OS X 10.7 and 10.8).
                Add support for SunOS 5.12 (aka Solaris 12). Patch from
                John Beck of Oracle.

Index: mail/sendmail/Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.112
diff -u -r1.112 Makefile
--- mail/sendmail/Makefile	16 Dec 2012 01:52:23 -0000	1.112
+++ mail/sendmail/Makefile	5 Jan 2013 13:49:18 -0000
@@ -2,7 +2,6 @@

 PKGNAME=	sendmail-${DIST_VERS}
 COMMENT=	The well known Mail Transport Agent
-PKGREVISION=	2

 CONFLICTS+=	courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
 CONFLICTS+=	esmtp>=1.2
Index: mail/sendmail/Makefile.common
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/Makefile.common,v
retrieving revision 1.56
diff -u -r1.56 Makefile.common
--- mail/sendmail/Makefile.common	13 Mar 2012 11:01:01 -0000	1.56
+++ mail/sendmail/Makefile.common	5 Jan 2013 13:49:18 -0000
@@ -20,7 +20,7 @@
 FILESDIR=	${.CURDIR}/../../mail/sendmail/files
 PATCHDIR=	${.CURDIR}/../../mail/sendmail/patches

-DIST_VERS=	8.14.5
+DIST_VERS=	8.14.6

 MAKE_ENV+=	BSD_BINOWN=${BINOWN} BSD_BINGRP=${BINGRP} \
 		BSD_MANOWN=${MANOWN} BSD_MANGRP=${MANGRP} \
Index: mail/sendmail/distinfo
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/mail/sendmail/distinfo,v
retrieving revision 1.46
diff -u -r1.46 distinfo
--- mail/sendmail/distinfo	12 Mar 2012 12:53:13 -0000	1.46
+++ mail/sendmail/distinfo	5 Jan 2013 13:49:18 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.46 2012/03/12 12:53:13 fhajny Exp $

-SHA1 (sendmail.8.14.5.tar.gz) = 86dd2a8ad5eac892cd02cf67792a25efccacc100
-RMD160 (sendmail.8.14.5.tar.gz) = 0961ed4d6bcda73908670c20c8de6c14cac4d0dd
-Size (sendmail.8.14.5.tar.gz) = 2092508 bytes
+SHA1 (sendmail.8.14.6.tar.gz) = 0984581a1cdd034d2cb17cc89761bae9093845bf
+RMD160 (sendmail.8.14.6.tar.gz) = 49c41f4acb44c8ca295e8de3dcf9ad7ed9b255c4
+Size (sendmail.8.14.6.tar.gz) = 2104299 bytes
 SHA1 (patch-aa) = 0f2273f7c089e8137aae1d3503006ac2bc18166d
 SHA1 (patch-ab) = a2abf6e78772e257e2a1973e7730159ff24a91aa
 SHA1 (patch-ac) = 96c19300b4188dbcbd202768eea912f675dadc27
@@ -16,3 +16,4 @@
 SHA1 (patch-al) = f5d8cef8c4abba5d5ae813b754c16037190a7ef1
 SHA1 (patch-am) = d84eedbff0f037c1db341255dc9e1877866f12c7
 SHA1 (patch-an) = 82d2df0c609099f295eb00f1f5e19391ae97833c
+SHA1 (patch-include_sm_cdefs.h) = 8e4891da0c1e33f962202893548900d1edc97cd4
Index: mail/sendmail/patches/patch-include_sm_cdefs.h
===================================================================
RCS file: mail/sendmail/patches/patch-include_sm_cdefs.h
diff -N mail/sendmail/patches/patch-include_sm_cdefs.h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ mail/sendmail/patches/patch-include_sm_cdefs.h	5 Jan 2013 13:49:18 -0000
@@ -0,0 +1,25 @@
+$NetBSD$
+
+Avoid following warning:
+ ---
+../../include/sm/cdefs.h:42:0: warning: "__BEGIN_DECLS" redefined
+/usr/include/sys/cdefs.h:293:0: note: this is the location of the previous definition
+../../include/sm/cdefs.h:43:0: warning: "__END_DECLS" redefined
+/usr/include/sys/cdefs.h:294:0: note: this is the location of the previous definition
+ ---
+
+--- include/sm/cdefs.h.orig	2003-12-06 07:45:25.000000000 +0900
++++ include/sm/cdefs.h	2013-01-05 22:41:34.000000000 +0900
+@@ -39,8 +39,12 @@
+ #   define	__BEGIN_DECLS	extern "C" {
+ #   define	__END_DECLS	};
+ #  else /* defined(__cplusplus) */
++#  if (!defined(__BEGIN_DECLS))
+ #   define	__BEGIN_DECLS
++#  endif
++#  if (!defined(__END_DECLS))
+ #   define	__END_DECLS
++#  endif
+ #  endif /* defined(__cplusplus) */
+ #  if defined(__STDC__) || defined(__cplusplus)
+ #   ifndef __P

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->jnemeth
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 05 Jan 2013 23:01:27 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: jnemeth@NetBSD.org
State-Changed-When: Sat, 31 May 2014 06:48:31 +0000
State-Changed-Why:
- sendmail is currently at 8.14.8 and will soon be at 8.14.9
- the warnings will be fixed in a different way


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.