Subject: CVS commit: pkgsrc/mail/sendmail
To: None <pkgsrc-changes@NetBSD.org>
From: Ben Collver <ben@netbsd.org>
List: pkgsrc-changes
Date: 12/02/2003 05:45:12
Module Name:	pkgsrc
Committed By:	ben
Date:		Tue Dec  2 05:45:12 UTC 2003

Modified Files:
	pkgsrc/mail/sendmail: Makefile distinfo
	pkgsrc/mail/sendmail/patches: patch-aa

Log Message:
This package would install a directory and two files on the build machine
that do make it into the binary package.  Under the default configuration
on NetBSD these files are erroneous.  This fix should resolve PR 20852
Here are the details:

1) /etc/mail/statistics
        This file is created like so:
                statistics:
                        ${CP} /dev/null statistics

        This file is not needed because sendmail is configured to use:
                O StatusFile=/var/log/sendmail.st

        To avoid creating this file, I added to devtools/OS/NetBSD:
                define(`confNO_STATISTICS_INSTALL', `')

2) /etc/mail/submit.cf
        This file is not needed because we install it as:
                ${PREFIX}/share/sendmail/cf/submit.cf

        To avoid installing /etc/mail/submit.cf, I added to devtools/OS/NetBSD:
                define(`confINST_DEP', `')

        If confINST_DEP is undefined, then it will default to:
                `${DESTDIR}/etc/mail/submit.cf ${DESTDIR}${MSPQ}'

3) /var/db/pkg/sendmail-8.12.8nb1/+INSTALL
        This is now created by pkg_add with the binary package.
        It appears the problem is resolved.

4) /var/spool/clientmqueue
        This directory is not needed because sendmail is configured to use:
                O QueueDirectory=/var/spool/mqueue

        To avoid installing this directory, I added to devtools/OS/NetBSD:
                define(`confINST_DEP', `')


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 pkgsrc/mail/sendmail/Makefile
cvs rdiff -r1.13 -r1.14 pkgsrc/mail/sendmail/distinfo
cvs rdiff -r1.15 -r1.16 pkgsrc/mail/sendmail/patches/patch-aa

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