summaryrefslogtreecommitdiff
path: root/mail/sendmail
diff options
context:
space:
mode:
authorben <ben>2003-12-02 05:45:12 +0000
committerben <ben>2003-12-02 05:45:12 +0000
commita878fd1d72e174cf6c3680f9a39f839a0f785591 (patch)
treee4b39cbcde8ab5a8302cef6c18c9064108304b01 /mail/sendmail
parentbed1eced4575f4323daf9b965740f02cc23c42a1 (diff)
downloadpkgsrc-a878fd1d72e174cf6c3680f9a39f839a0f785591.tar.gz
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', `')
Diffstat (limited to 'mail/sendmail')
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail/distinfo4
-rw-r--r--mail/sendmail/patches/patch-aa6
3 files changed, 8 insertions, 6 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 1bcbe3301fb..76202e0645f 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.64 2003/11/12 03:39:41 jschauma Exp $
+# $NetBSD: Makefile,v 1.65 2003/12/02 05:45:12 ben Exp $
.include "../../mail/sendmail/Makefile.common"
PKGNAME= sendmail-${DIST_VERS}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= The well known Mail Transport Agent
MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
diff --git a/mail/sendmail/distinfo b/mail/sendmail/distinfo
index b6db4ea0deb..7cc08efb832 100644
--- a/mail/sendmail/distinfo
+++ b/mail/sendmail/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.13 2003/09/18 09:01:04 grant Exp $
+$NetBSD: distinfo,v 1.14 2003/12/02 05:45:12 ben Exp $
SHA1 (sendmail.8.12.10.tar.gz) = e3141713ebba36ef1ea6eb7c34603f3340dea84f
Size (sendmail.8.12.10.tar.gz) = 1892497 bytes
-SHA1 (patch-aa) = 8a4563ece8ba8cee01081d49e486393f26ee1484
+SHA1 (patch-aa) = 05c14abce245eac14d8445f996b9e494097cdc5e
SHA1 (patch-ab) = a2abf6e78772e257e2a1973e7730159ff24a91aa
SHA1 (patch-ac) = 96c19300b4188dbcbd202768eea912f675dadc27
SHA1 (patch-ad) = 7232cc7ceb46a2dbf631d61185e4c6ca4af18a13
diff --git a/mail/sendmail/patches/patch-aa b/mail/sendmail/patches/patch-aa
index f741eda8fa3..656a95720e9 100644
--- a/mail/sendmail/patches/patch-aa
+++ b/mail/sendmail/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.15 2002/09/23 12:57:00 markd Exp $
+$NetBSD: patch-aa,v 1.16 2003/12/02 05:45:12 ben Exp $
--- devtools/OS/NetBSD.orig Fri Mar 22 11:59:25 2002
+++ devtools/OS/NetBSD Mon Sep 16 15:01:23 2002
-@@ -6,13 +6,15 @@
+@@ -6,13 +6,17 @@
define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
define(`confENVDEF', ` -DNETISO')
define(`confDEPEND_TYPE', `CC-M')
@@ -23,3 +23,5 @@ $NetBSD: patch-aa,v 1.15 2002/09/23 12:57:00 markd Exp $
define(`confMAN5EXT', `0')
define(`confMAN8EXT', `0')
+define(`confLDOPTS', `${LDFLAGS}')
++define(`confINST_DEP', `')
++define(`confNO_STATISTICS_INSTALL', `')