NetBSD Problem Report #47207
From www@NetBSD.org Sat Nov 17 12:31:43 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 5CAD463E8B9
for <gnats-bugs@gnats.NetBSD.org>; Sat, 17 Nov 2012 12:31:43 +0000 (UTC)
Message-Id: <20121117123141.DEE8B63E80F@www.NetBSD.org>
Date: Sat, 17 Nov 2012 12:31:41 +0000 (UTC)
From: richard.palo@baou.fr
Reply-To: richard.palo@baou.fr
To: gnats-bugs@NetBSD.org
Subject: install problems with sendmail
X-Send-Pr-Version: www-1.0
>Number: 47207
>Category: pkg
>Synopsis: install problems with sendmail
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: jnemeth
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Nov 17 12:35:00 +0000 2012
>Closed-Date: Sun Nov 23 06:22:56 +0000 2014
>Last-Modified: Sun Nov 23 06:22:56 +0000 2014
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc
>Description:
after building sendmail with bmake, bmake install fails with the following:
richard@devzone:~/src/pkgsrc/mail/sendmail$ bmake install
=> Bootstrap dependency digest>=20010302: found digest-20111104
===> Installing for sendmail-8.14.5nb1
=> Creating installation directories
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/libsm
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/libsm
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/libsmutil
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/libsmutil
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/libsmdb
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/libsmdb
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/sendmail
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/sendmail
if [ ! -d /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc ]; then mkdir -p /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc; else :; fi
../../devtools/bin/install.sh -c -o bin -g bin -m 444 helpfile /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc/helpfile
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/share/misc/helpfile: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/sendmail
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/editmap
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/editmap
../../devtools/bin/install.sh -c -o bin -g bin -m 555 editmap /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin/editmap: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/editmap
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/mail.local
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/mail.local
NOTE: This version of mail.local is not suited for some operating
systems such as HP-UX and Solaris. Please consult the
README file in the mail.local directory. You can force
the install using 'Build force-install'.
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/mailstats
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/mailstats
../../devtools/bin/install.sh -c -o bin -g bin -m 555 mailstats /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin/mailstats: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/mailstats
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/makemap
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/makemap
../../devtools/bin/install.sh -c -o bin -g bin -m 555 makemap /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin/makemap: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/makemap
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/praliases
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/praliases
../../devtools/bin/install.sh -c -o bin -g bin -m 555 praliases /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/sbin/praliases: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/praliases
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/rmail
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/rmail
NOTE: This version of rmail is not suited for some operating
systems. You can force the install using
'Build force-install'.
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/smrsh
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/smrsh
../../devtools/bin/install.sh -c -o bin -g bin -m 555 smrsh /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/libexec/sendmail
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/libexec/sendmail/smrsh: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/smrsh
Making install in:
/tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/vacation
Configuration: pfx=, os=SunOS, rel=5.11, rbase=5, rroot=5.11, arch=i86pc, sfx=, variant=optimized
Making in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/vacation
../../devtools/bin/install.sh -c -o bin -g bin -m 555 vacation /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/bin
chown: /tmp/pkgsrc/mail/sendmail/work/.destdir/opt/pkg/bin/vacation: Not owner
*** Error code 1
Stop.
make: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5/obj.SunOS.5.11.i86pc/vacation
*** Error code 1
Stop.
bmake: stopped in /tmp/pkgsrc/mail/sendmail/work/sendmail-8.14.5
*** Error code 1
Stop.
bmake: stopped in /home/richard/src/pkgsrc/mail/sendmail
*** Error code 1
Stop.
bmake: stopped in /home/richard/src/pkgsrc/mail/sendmail
>How-To-Repeat:
repeat the bmake install command
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jnemeth
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 18 Nov 2012 19:48:54 +0000
Responsible-Changed-Why:
Over to maintainer.
From: RichardPALO <richard.palo@baou.fr>
To: <gnats-bugs@netbsd.org>
Cc:
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Wed, 05 Dec 2012 18:37:03 +0100
I tried this:
richard@devzone:~/src/pkgsrc/mail/sendmail$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
retrieving revision 1.111
diff -u -p -r1.111 Makefile
--- Makefile 8 Oct 2012 12:19:30 -0000 1.111
+++ Makefile 5 Dec 2012 17:34:30 -0000
@@ -11,6 +11,7 @@ CONFLICTS+= esmtp>=1.2
.include "../../mail/sendmail/Makefile.common"
USE_TOOLS+= pax
+USE_DESTDIR= full
MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
and it seemed to be able to package/install.
I'll try some tests in the coming week to see if it really worked.
Seems
strange that this hasn't come up before, unless nobody really uses the
just
in time SU support for this package.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Sun, 9 Dec 2012 18:58:14 +0000
not sent to the bug database (send all traffic to gnats-bugs; it remails)
------
From: Richard PALO <richard.palo@baou.fr>
To: pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Thu, 06 Dec 2012 06:41:03 +0100
Le 05/12/12 18:40, RichardPALO a ?crit :
> The following reply was made to PR pkg/47207; it has been noted by GNATS.
>
> From: RichardPALO <richard.palo@baou.fr>
> To: <gnats-bugs@netbsd.org>
> Cc:
> Subject: Re: pkg/47207 (install problems with sendmail)
> Date: Wed, 05 Dec 2012 18:37:03 +0100
>
> I tried this:
>
> richard@devzone:~/src/pkgsrc/mail/sendmail$ cvs diff
> Index: Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
> retrieving revision 1.111
> diff -u -p -r1.111 Makefile
> --- Makefile 8 Oct 2012 12:19:30 -0000 1.111
> +++ Makefile 5 Dec 2012 17:34:30 -0000
> @@ -11,6 +11,7 @@ CONFLICTS+= esmtp>=1.2
> .include "../../mail/sendmail/Makefile.common"
>
> USE_TOOLS+= pax
> +USE_DESTDIR= full
>
> MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
> PLIST_SRC= ${WRKDIR}/.PLIST_SRC
>
> and it seemed to be able to package/install.
>
> I'll try some tests in the coming week to see if it really worked.
> Seems
> strange that this hasn't come up before, unless nobody really uses the
> just
> in time SU support for this package.
>
>
I should mention that USE_DESTDIR=yes did not work, only "full" did.
Also, it was quite surprising that I did a "bmake package" build and
it went ahead and installed. That is, a subsequent "bmake install" is
more or less a NOOP.
Finally, I notice that the package file has a couple of owner/group
protection problems, as seen in this extract (+INSTALL/+DEINSTALL):
richard@devzoneX:~/src/pkgsrc/mail/sendmail$ gtar tvfa
../../packages/All/sendmail-8.14.5nb1.tgz
-rw-r--r-- root/root 18425 2012-12-06 06:35 +CONTENTS
-r--r--r-- root/root 36 2012-12-06 06:35 +COMMENT
-r--r--r-- root/root 561 2012-12-06 06:35 +DESC
-rwxr-xr-x richard/staff 42549 2012-12-06 06:35 +INSTALL
-rwxr-xr-x richard/staff 4179 2012-12-06 06:35 +DEINSTALL
-rw-r--r-- root/root 1063 2012-12-06 06:35 +DISPLAY
...
From: Richard PALO <richard.palo@baou.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/47207 (install problems with sendmail)
Date: Tue, 08 Jan 2013 18:37:58 +0100
This is a multi-part message in MIME format.
--------------000703060102090906080804
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
I believe the last communications were unfortunately not made here but
to pkgsrc-users...
Here is a copy:
-------- Message original --------
Sujet: Re: pkgsrc/mail/sendmail anomalies
Date : Tue, 25 Dec 2012 16:52:31 +0100
De : Richard PALO <richard.palo@baou.fr>
Pour : pkgsrc-users@netbsd.org
I come back with an update on my findings.
First, I agree with the observations that the paths documented in
pkgsrc/mail/sendmail/Makefile should be largely applied.
The supplied files break this philosophy and generate, frankly speaking,
a mess; definitely not intuitive when perusing the pkgsrc sendmail bits.
(I do believe that the local /usr/sbin/sendmail is a special case, but
in reality it really doesn't seem to affect anything directly in the
pkgsrc bits, THAT, like any pkgsrc bits, is a different local issue)
On the same note, I'm not entirely OKAY with /etc/mail being used
instead of ${PKG_SYSCONFBASE}/mail, I suggest that it be re-evaluated,
but I don't propose any patches here at the moment.
The attached patch puts certain critical cf files in order, as well as
cf/ostypes/solaris8.mc which is my particular target at the moment.
Do note that cf/cf is built now in order to supply the updates for install.
By the way, the other files in cf/ostypes are also candidates to
upgrade, just do
grep -E "bin|etc|var" cf/ostypes/*
but if this approach is selected, perhaps it would be better to more
specifically replace with the m4 parameter name (e.g. confEBINDIR) as
part of the selection.
With this patch, the pid file is correctly placed where
/etc/rc.d/sendmail expects it, and the various directories and files are
also in the place created during pkgsrc make install (namely in ${VARBASE}.
MTA to MTA testing seems ok, now I will tackle the MTA/UA part where I
hope there is nothing special anymore to do in sendmail...
here are some pertinent outputs:
richard@devzoneX:~$ pfexec /etc/rc.d/sendmail status
sendmail is running as pid 20707.
richard@devzoneX:~$ telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 devzoneX.baou.fr ESMTP Sendmail 8.14.5/8.14.5; Tue, 25 Dec 2012
16:38:01 +0100 (CET)
ehlo localhost
250-devzoneX.baou.fr Hello localhost [IPv6:::1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5
250-STARTTLS
250-DELIVERBY
250 HELP
quit
221 2.0.0 devzoneX.baou.fr closing connection
Connection closed by foreign host.
This is with the following sendmail.mc file which simply adds the
missing domain statements from solaris provided solaris-generic.m4,
and adding GSS-SPNEGO and STARTTLS support (naturally I needed to
install security/cy2-crammd5, cy2-digestmd5 and cy2-gssapi and
recuperate my certificate files) :
divert(0)dnl
VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro
Exp $')
OSTYPE(solaris8)dnl
DOMAIN(generic)dnl
FEATURE(`nouucp', `reject')
FEATURE(`use_ct_file')dnl
FEATURE(`accept_unqualified_senders')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`relay_entire_domain')dnl
dnl set SASL options
TRUST_AUTH_MECH(`GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`confAUTH_MECHANISMS', `GSS-SPNEGO GSSAPI DIGEST-MD5 CRAM-MD5
LOGIN')dnl
define(`confCACERT_PATH', `/etc/mail/certs')dnl
define(`confCACERT', `/etc/mail/certs/CAcert.pem')dnl
define(`confSERVER_CERT', `/etc/mail/certs/MYcert.pem')dnl
define(`confSERVER_KEY', `/etc/mail/certs/MYkey.pem')dnl
define(`confCRL', `/etc/mail/certs/revoke.crl')
define(`confCLIENT_CERT', `/etc/mail/certs/MYcert.pem')dnl
define(`confCLIENT_KEY', `/etc/mail/certs/MYkey.pem')dnl
MAILER(local)dnl
MAILER(smtp)dnl
--------------000703060102090906080804
Content-Type: text/plain; charset=UTF-8;
name="sendmail-diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="sendmail-diff"
SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L3BrZ3Ny
Yy9tYWlsL3NlbmRtYWlsL01ha2VmaWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjExMgpk
aWZmIC11IC1wIC1yMS4xMTIgTWFrZWZpbGUKLS0tIE1ha2VmaWxlCTE2IERlYyAyMDEyIDAx
OjUyOjIzIC0wMDAwCTEuMTEyCisrKyBNYWtlZmlsZQkyNSBEZWMgMjAxMiAxNTowMzozMCAt
MDAwMApAQCAtNyw2ICs3LDggQEAgUEtHUkVWSVNJT049CTIKIENPTkZMSUNUUys9CWNvdXJp
ZXItbXRhLVswLTldKiBmYXN0Zm9yd2FyZD49MC41MW5iMiBwb3N0Zml4LVswLTldKgogQ09O
RkxJQ1RTKz0JZXNtdHA+PTEuMgogCitQS0dfREVTVERJUl9TVVBQT1JUPWRlc3RkaXIKKwog
LmluY2x1ZGUgIm9wdGlvbnMubWsiCiAuaW5jbHVkZSAiLi4vLi4vbWFpbC9zZW5kbWFpbC9N
YWtlZmlsZS5jb21tb24iCiAKQEAgLTMzLDcgKzM1LDggQEAgUEtHX0dST1VQUz0JCXNtbXNw
CiBQS0dfVVNFUlM9CQlzbW1zcDpzbW1zcAogUEtHX0dFQ09TLnNtbXNwPQlTZW5kbWFpbCBN
ZXNzYWdlIFN1Ym1pc3Npb24gUHJvZ3JhbQogCi1TVUJTVF9DTEFTU0VTKz0JCXBhdGhzCitT
VUJTVF9DTEFTU0VTKz0JCXBhdGhzIGNmLXBhdGhzCisKIFNVQlNUX1NUQUdFLnBhdGhzPQlw
cmUtY29uZmlndXJlCiBTVUJTVF9GSUxFUy5wYXRocz0JLi4vbWFpbGVyLmNvbmYgc21yc2gv
c21yc2guOCB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1bl9yY19jb21tYW5kICIkMSIK
--------------000703060102090906080804--
From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47207 CVS commit: pkgsrc/mail/sendmail
Date: Sun, 15 Jun 2014 20:48:50 +0000
Module Name: pkgsrc
Committed By: jnemeth
Date: Sun Jun 15 20:48:50 UTC 2014
Modified Files:
pkgsrc/mail/sendmail: Makefile Makefile.common PLIST distinfo
options.mk
pkgsrc/mail/sendmail/files: sendmail.sh site.config.m4 smmsp.sh
pkgsrc/mail/sendmail/patches: patch-aa patch-af patch-ai
Added Files:
pkgsrc/mail/sendmail: TODO
pkgsrc/mail/sendmail/files: netbsd-proto.mc site.config.m4-ffr_tls
site.config.m4-stdbool sm_os_netbsd.h
pkgsrc/mail/sendmail/patches: patch-ao patch-ap patch-aq patch-ar
patch-as patch-at patch-au patch-av patch-aw patch-ax patch-ay
patch-az
Removed Files:
pkgsrc/mail/sendmail/files: site.config.m4-ffr_tls_1
pkgsrc/mail/sendmail/patches: patch-ab patch-ac patch-ad patch-ae
patch-al patch-am
Log Message:
Update to sendmail 8.14.9: this fixes a minor potential security issue
pkgsrc changes:
- consolidate several patches into site.config.m4
- pkgsrc LDFLAGS should always be used
- don't bother specifying file owner/group anywhere except in Makefile
- create include/sm/os/sm_os_netbsd.h to fix warnings and OS specific stuff
- install mail.local and rmail
- convert to use res_n* functions
- allows for linking against threaded libraries
- add a TODO file
- PR/35249 - Loren M. Lang
- can't find libraries on Linux, this should be fixed by using pkgsrc LDFLAGS
- PR/46694 - Makoto Fujiwara
- bring back netbsd-proto.mc from when sendmail was part of the base system
- PR/47207 - Richard Palo
- let pkgsrc infrastructure handle file ownership and group
- PR/48566 - Emmanuel Dreyfus
- always set _FFR_USE_GETPWNAM_ERRNO on NetBSD
- roll ffr_tls_1 and the suggested ffr_tls_ec into one new ffr_tls option
- not enabled by default because it changes behaviour
8.14.9/8.14.9 2014/05/21
SECURITY: Properly set the close-on-exec flag for file descriptors
(except stdin, stdout, and stderr) before executing mailers.
Fix a misformed comment in conf.c: "/*" within comment
which may cause a compilation error on some systems.
Problem reported by John Beck of Oracle.
DEVTOOLS: Fix regression in auto-detection of libraries when only
shared libraries are available. Problem reported by
Bryan Costales.
To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 pkgsrc/mail/sendmail/Makefile
cvs rdiff -u -r1.60 -r1.61 pkgsrc/mail/sendmail/Makefile.common
cvs rdiff -u -r1.19 -r1.20 pkgsrc/mail/sendmail/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/sendmail/TODO
cvs rdiff -u -r1.50 -r1.51 pkgsrc/mail/sendmail/distinfo
cvs rdiff -u -r1.20 -r1.21 pkgsrc/mail/sendmail/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/sendmail/files/netbsd-proto.mc \
pkgsrc/mail/sendmail/files/site.config.m4-ffr_tls \
pkgsrc/mail/sendmail/files/site.config.m4-stdbool \
pkgsrc/mail/sendmail/files/sm_os_netbsd.h
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/sendmail/files/sendmail.sh \
pkgsrc/mail/sendmail/files/smmsp.sh
cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/sendmail/files/site.config.m4
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/sendmail/files/site.config.m4-ffr_tls_1
cvs rdiff -u -r1.20 -r1.21 pkgsrc/mail/sendmail/patches/patch-aa
cvs rdiff -u -r1.12 -r0 pkgsrc/mail/sendmail/patches/patch-ab
cvs rdiff -u -r1.6 -r0 pkgsrc/mail/sendmail/patches/patch-ac
cvs rdiff -u -r1.7 -r0 pkgsrc/mail/sendmail/patches/patch-ad
cvs rdiff -u -r1.5 -r0 pkgsrc/mail/sendmail/patches/patch-ae \
pkgsrc/mail/sendmail/patches/patch-al
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mail/sendmail/patches/patch-af
cvs rdiff -u -r1.8 -r1.9 pkgsrc/mail/sendmail/patches/patch-ai
cvs rdiff -u -r1.3 -r0 pkgsrc/mail/sendmail/patches/patch-am
cvs rdiff -u -r0 -r1.3 pkgsrc/mail/sendmail/patches/patch-ao
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/sendmail/patches/patch-ap \
pkgsrc/mail/sendmail/patches/patch-aq \
pkgsrc/mail/sendmail/patches/patch-ar \
pkgsrc/mail/sendmail/patches/patch-as \
pkgsrc/mail/sendmail/patches/patch-at \
pkgsrc/mail/sendmail/patches/patch-au \
pkgsrc/mail/sendmail/patches/patch-av \
pkgsrc/mail/sendmail/patches/patch-aw \
pkgsrc/mail/sendmail/patches/patch-ax \
pkgsrc/mail/sendmail/patches/patch-ay \
pkgsrc/mail/sendmail/patches/patch-az
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: jnemeth@NetBSD.org
State-Changed-When: Sun, 15 Jun 2014 20:53:42 +0000
State-Changed-Why:
Should be fixed with update 8.14.9. Please check.
From: "John Nemeth" <jnemeth@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47207 CVS commit: pkgsrc/mail/sendmail
Date: Fri, 20 Jun 2014 05:24:32 +0000
Module Name: pkgsrc
Committed By: jnemeth
Date: Fri Jun 20 05:24:32 UTC 2014
Modified Files:
pkgsrc/mail/sendmail: Makefile distinfo
pkgsrc/mail/sendmail/files: netbsd-proto.mc
pkgsrc/mail/sendmail/patches: patch-an patch-au patch-aw patch-ay
Added Files:
pkgsrc/mail/sendmail/patches: patch-ba patch-bb patch-bc patch-bd
patch-be
Log Message:
Update to sendmail 8.14.9nb1: this is a pkgsrc bugfix update
- remove some HTML cruft from netbsd-proto.mc
- stop trying to set file ownership and group during stage-install
- initialize sm_res earlier and test before calling res_ninit()
- clear SSL_OP_TLSEXT_PADDING by defualt to fix interoperability issues
- eliminate stray call to res_search()
- verified with nm that all deprecated resolver functions have been eradicated
The above should address the folling PRs:
- PR/47207 - Richard Palo -- attempt to set ownership when unprivileged
- PR/48566 - Emmanuel Dreyfus -- problem with TLS timeouts
- PR/48913 - Matthias Scheler -- attempt to set ownership when unprivileged
To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/mail/sendmail/Makefile
cvs rdiff -u -r1.51 -r1.52 pkgsrc/mail/sendmail/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/sendmail/files/netbsd-proto.mc
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/sendmail/patches/patch-an \
pkgsrc/mail/sendmail/patches/patch-au \
pkgsrc/mail/sendmail/patches/patch-aw \
pkgsrc/mail/sendmail/patches/patch-ay
cvs rdiff -u -r0 -r1.3 pkgsrc/mail/sendmail/patches/patch-ba
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/sendmail/patches/patch-bb \
pkgsrc/mail/sendmail/patches/patch-bc \
pkgsrc/mail/sendmail/patches/patch-bd \
pkgsrc/mail/sendmail/patches/patch-be
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 23 Nov 2014 06:22:56 +0000
State-Changed-Why:
feedback timeout
>Unformatted:
(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-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.