NetBSD Problem Report #33821

From hauke@Espresso.Rhein-Neckar.DE  Sun Jun 25 12:07:48 2006
Return-Path: <hauke@Espresso.Rhein-Neckar.DE>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4B4AE63BA14
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Jun 2006 12:07:48 +0000 (UTC)
Message-Id: <200606251154.k5PBs2rW002679@pizza.causeuse.org>
Date: Sun, 25 Jun 2006 13:54:02 +0200 (CEST)
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Reply-To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Subject: Sendmail 'make cf-install' misses install script 
X-Send-Pr-Version: 3.95

>Number:         33821
>Category:       pkg
>Synopsis:       Sendmail 'make cf-install' misses install script
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tv
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 25 12:10:00 +0000 2006
>Closed-Date:    Fri Jul 07 18:08:21 +0000 2006
>Last-Modified:  Fri Nov 28 17:30:50 +0000 2014
>Originator:     Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
>Release:        NetBSD 3.99.21
>Organization:
Falling Raindrops
>Environment:


System: NetBSD pizza.causeuse.org 3.99.21 NetBSD 3.99.21 (PIZZA) #0: Thu Jun 22 19:25:34 CEST 2006 hf@Gstoder.nt.e-technik.tu-darmstadt.de:/var/obj/netbsd-builds/current/sparc/sys/arch/sparc/compile/PIZZA sparc
Architecture: sparc
Machine: sparc
>Description:

	The sendmail/cf/README recommends a 'make install-cf' to
	process the two mc setup files, and install the resulting cf files
	into /etc/mail.

	This results in

[hauke@pizza] /<3%sendmail/cf # make install-cf CF=pizza
../../devtools/bin/install.sh -c -o root -g bin -m 0444 pizza.cf /etc/mail/sendmail.cf
make: exec(../../devtools/bin/install.sh) failed (No such file or directory)
*** Error code 1

Stop.
make: stopped in /usr/pkg/share/sendmail/cf

	Unfortunately, the Makefile has

# use our own install program; should be really confINSTALL
INSTALL=../../devtools/bin/install.sh

	which is not there.

>How-To-Repeat:

	Install mail/sendmail pkg on NetBSD-current (for obvious
	reasons).  Try to install your .mc file, find it doesn't work.

>Fix:

	Set INSTALL to whatever pkgsrc uses for a BSD install.  On
	NetBSD, /usr/bin/install does the job just fine.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tv
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Sun, 25 Jun 2006 14:54:16 +0000
Responsible-Changed-Why:
Assign to maintainer.


From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33821: Sendmail 'make cf-install' misses install script
Date: Sat, 1 Jul 2006 17:39:50 +0200

 At 12:10 Uhr +0000 25.6.2006, gnats-admin@NetBSD.org wrote:
 >>Category:       pkg
 >>Responsible:    pkg-manager
 >>Synopsis:       Sendmail 'make cf-install'Ýmisses install script
 >>Arrival-Date:   Sun Jun 25 12:10:00 +0000 2006

 While we're here: This Makefile installs /etc/mail/{sendmail,submit}.cf
 'chgrp bin' instead of (the NetBSD default) wheel. The netbsd-3
 /etc/security script complains about that:

 <snip>
 Checking special files and directories.
 etc/mail/sendmail.cf:
 	gid (0, 7)
 </snip>

 	hauke

 --
 "It's never straight up and down"     (DEVO)


State-Changed-From-To: open->closed
State-Changed-By: tv@netbsd.org
State-Changed-When: Fri, 07 Jul 2006 18:08:21 +0000
State-Changed-Why:
Added pkgsrc definitions of INSTALL, BINOWN, and BINGRP to the Makefile.


From: Todd Vierling <tv@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33821 CVS commit: pkgsrc/mail/sendmail
Date: Fri,  7 Jul 2006 18:06:28 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tv
 Date:		Fri Jul  7 18:06:28 UTC 2006

 Modified Files:
 	pkgsrc/mail/sendmail: Makefile Makefile.common distinfo
 	pkgsrc/mail/sendmail/patches: patch-aj
 Removed Files:
 	pkgsrc/mail/sendmail/patches: patch-ak patch-al patch-am

 Log Message:
 Update to 8.13.7; changelog below.  (8.13.6nb3 already had the security
 fixes by patch.)

 While here, fix PR pkg/33821 by substituting pkgsrc's BINOWN, BINGRP, and
 INSTALL definitions into the installed share/sendmail/cf/Makefile.

 8.13.7/8.13.7	2006/06/14
 	A malformed MIME structure with many parts can cause sendmail to
 		crash while trying to send a mail due to a stack overflow,
 		e.g., if the stack size is limited (ulimit -s).  This
 		happens because the recursion of the function mime8to7()
 		was not restricted.  The function is called for MIME 8 to
 		7 bit conversion and also to enforce MaxMimeHeaderLength.
 		To work around this problem, recursive calls are limited to
 		a depth of MAXMIMENESTING (20); message content after this
 		limit is treated as opaque and is not checked further.
 		Problem noted by Frank Sheiness.
 	The changes to the I/O layer in 8.13.6 caused a regression for
 		SASL mechanisms that use the security layer, e.g.,
 		DIGEST-MD5.  Problem noted by Robert Stampfli.
 	If a timeout occurs while reading a message (during the DATA phase)
 		a df file might have been left behind in the queue.
 		This was another side effect of the changes to the I/O
 		layer made in 8.13.6.
 	Several minor problems have been fixed that were found by a
 		Coverity scan of sendmail 8 as part of the NetBSD
 		distribution. See http://scan.coverity.com/
 		Note: the scan generated also a lot of "false positives",
 		e.g., "error" reports about situations that cannot happen.
 		Most of those code places are marked with lint(1) comments
 		like NOTREACHED, but Coverity does not understand those.
 		Hence an explicit assertion has been added in some cases
 		to avoid those false positives.
 	If the start of the sendmail daemon fails due to a configuration
 		error then in some cases shared memory segments or pid
 		files were not removed.
 	If DSN support is disabled via access_db, then related ESMTP
 		parameters for MAIL and RCPT should be rejected.  Problem
 		reported by Akihiro Sagawa.
 	Enabling zlib compression in OpenSSL 0.9.8[ab] breaks the padding
 		bug work-around.  Hence if sendmail is linked against
 		either of these versions and compression is available,
 		the padding bug work-around is turned off.  Based on
 		patch from Victor Duchovni of Morgan Stanley.
 	CONFIG: FEATURE(`dnsbl') and FEATURE(`enhdnsbl') used
 		blackholes.mail-abuse.org as default domain for lookups,
 		however, that list is no longer available.  To avoid
 		further problems, no default value is available anymore,
 		but an argument must be specified.
 	Portability:
 		Fix compilation on OSF/1 for sfsasl.c.  Patch from
 		Pieter Bowman of the University of Utah.


 To generate a diff of this commit:
 cvs rdiff -r1.90 -r1.91 pkgsrc/mail/sendmail/Makefile
 cvs rdiff -r1.36 -r1.37 pkgsrc/mail/sendmail/Makefile.common
 cvs rdiff -r1.30 -r1.31 pkgsrc/mail/sendmail/distinfo
 cvs rdiff -r1.3 -r1.4 pkgsrc/mail/sendmail/patches/patch-aj
 cvs rdiff -r1.3 -r0 pkgsrc/mail/sendmail/patches/patch-ak \
     pkgsrc/mail/sendmail/patches/patch-al
 cvs rdiff -r1.1 -r0 pkgsrc/mail/sendmail/patches/patch-am

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33821 CVS commit: [pkgsrc-2006Q2] pkgsrc/mail/sendmail
Date: Tue, 29 Aug 2006 06:53:23 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	ghen
 Date:		Tue Aug 29 06:53:23 UTC 2006

 Modified Files:
 	pkgsrc/mail/sendmail [pkgsrc-2006Q2]: Makefile Makefile.common distinfo
 	pkgsrc/mail/sendmail/patches [pkgsrc-2006Q2]: patch-aj
 Removed Files:
 	pkgsrc/mail/sendmail/patches [pkgsrc-2006Q2]: patch-ak patch-al
 	    patch-am

 Log Message:
 Pullup ticket 1812 - requested by tv
 security/bugfix update for sendmail

 Revisions pulled up:
 - pkgsrc/mail/sendmail/Makefile				1.91
 - pkgsrc/mail/sendmail/Makefile.common			1.37-1.38
 - pkgsrc/mail/sendmail/distinfo				1.31-1.32
 - pkgsrc/mail/sendmail/patches/patch-aj			1.4
 - pkgsrc/mail/sendmail/patches/patch-ak			removed
 - pkgsrc/mail/sendmail/patches/patch-al			removed
 - pkgsrc/mail/sendmail/patches/patch-am			removed

    Module Name:	pkgsrc
    Committed By:	tv
    Date:		Fri Jul  7 18:06:28 UTC 2006

    Modified Files:
 	pkgsrc/mail/sendmail: Makefile Makefile.common distinfo
 	pkgsrc/mail/sendmail/patches: patch-aj
    Removed Files:
 	pkgsrc/mail/sendmail/patches: patch-ak patch-al patch-am

    Log Message:
    Update to 8.13.7; changelog below.  (8.13.6nb3 already had the security
    fixes by patch.)

    While here, fix PR pkg/33821 by substituting pkgsrc's BINOWN, BINGRP, and
    INSTALL definitions into the installed share/sendmail/cf/Makefile.

    8.13.7/8.13.7	2006/06/14
 	A malformed MIME structure with many parts can cause sendmail to
 		crash while trying to send a mail due to a stack overflow,
 		e.g., if the stack size is limited (ulimit -s).  This
 		happens because the recursion of the function mime8to7()
 		was not restricted.  The function is called for MIME 8 to
 		7 bit conversion and also to enforce MaxMimeHeaderLength.
 		To work around this problem, recursive calls are limited to
 		a depth of MAXMIMENESTING (20); message content after this
 		limit is treated as opaque and is not checked further.
 		Problem noted by Frank Sheiness.
 	The changes to the I/O layer in 8.13.6 caused a regression for
 		SASL mechanisms that use the security layer, e.g.,
 		DIGEST-MD5.  Problem noted by Robert Stampfli.
 	If a timeout occurs while reading a message (during the DATA phase)
 		a df file might have been left behind in the queue.
 		This was another side effect of the changes to the I/O
 		layer made in 8.13.6.
 	Several minor problems have been fixed that were found by a
 		Coverity scan of sendmail 8 as part of the NetBSD
 		distribution. See http://scan.coverity.com/
 		Note: the scan generated also a lot of "false positives",
 		e.g., "error" reports about situations that cannot happen.
 		Most of those code places are marked with lint(1) comments
 		like NOTREACHED, but Coverity does not understand those.
 		Hence an explicit assertion has been added in some cases
 		to avoid those false positives.
 	If the start of the sendmail daemon fails due to a configuration
 		error then in some cases shared memory segments or pid
 		files were not removed.
 	If DSN support is disabled via access_db, then related ESMTP
 		parameters for MAIL and RCPT should be rejected.  Problem
 		reported by Akihiro Sagawa.
 	Enabling zlib compression in OpenSSL 0.9.8[ab] breaks the padding
 		bug work-around.  Hence if sendmail is linked against
 		either of these versions and compression is available,
 		the padding bug work-around is turned off.  Based on
 		patch from Victor Duchovni of Morgan Stanley.
 	CONFIG: FEATURE(`dnsbl') and FEATURE(`enhdnsbl') used
 		blackholes.mail-abuse.org as default domain for lookups,
 		however, that list is no longer available.  To avoid
 		further problems, no default value is available anymore,
 		but an argument must be specified.
 	Portability:
 		Fix compilation on OSF/1 for sfsasl.c.  Patch from
 		Pieter Bowman of the University of Utah.
 ---
    Module Name:	pkgsrc
    Committed By:	tv
    Date:		Wed Aug  9 21:23:00 UTC 2006

    Modified Files:
 	pkgsrc/mail/sendmail: Makefile.common distinfo

    Log Message:
    Update to 8.13.8.  Changes:

    8.13.8/8.13.8   2006/08/09
         Fix a regression in 8.13.7: if shared memory is activated, then
                 the server can erroneously report that there is
                 insufficient disk space.  Additionally make sure that
                 an internal variable is set properly to avoid those
                 misleading errors.  Based on patch from Steve Hubert
                 of University of Washington.
         Fix a regression in 8.13.7: the PidFile could be removed after
                 the process that forks the daemon exited, i.e., if
                 sendmail -bd is invoked.  Problem reported by Kan Sasaki
                 of Fusion Communications Corp. and Werner Wiethege.
         Avoid opening qf files if QueueSortOrder is "none".  Patch from
                 David F. Skoll.
         Avoid a crash when finishing due to referencing a freed variable.
                 Problem reported and diagnosed by Moritz Jodeit.
         CONTRIB: cidrexpand now deals with /0 by issuing the entire IPv4
                 range (0..255).
         LIBMILTER: The "hostname" argument of the xxfi_connect() callback
                 previously was the equivalent of {client_ptr}.  However,
                 this did not match the documentation of the function, hence
                 it has been changed to {client_name}.  See doc/op/op.*
                 about these macros.


 To generate a diff of this commit:
 cvs rdiff -r1.90 -r1.90.2.1 pkgsrc/mail/sendmail/Makefile
 cvs rdiff -r1.36 -r1.36.2.1 pkgsrc/mail/sendmail/Makefile.common
 cvs rdiff -r1.30 -r1.30.2.1 pkgsrc/mail/sendmail/distinfo
 cvs rdiff -r1.3 -r1.3.2.1 pkgsrc/mail/sendmail/patches/patch-aj
 cvs rdiff -r1.3 -r0 pkgsrc/mail/sendmail/patches/patch-ak \
     pkgsrc/mail/sendmail/patches/patch-al
 cvs rdiff -r1.1 -r0 pkgsrc/mail/sendmail/patches/patch-am

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.