pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sendmail812 8.12.11nb5:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d958138f2a59
branches:  trunk
changeset: 519964:d958138f2a59
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Oct 12 21:05:25 2006 +0000

description:
8.12.11nb5:

Don't install .cf files to /etc/mail directly at all; offer a message
about how to install them instead.  Don't create /etc/mail/statistics.
Create mqueue dirs at install via MAKE_DIRS.  Should fix PR pkg/20852.

While here, fixup manpages to act like mail/sendmail so that they are
uniform across build platforms.

diffstat:

 mail/sendmail812/MESSAGE              |  14 +++++++++++++-
 mail/sendmail812/Makefile             |  10 ++++++++--
 mail/sendmail812/Makefile.common      |   4 ++--
 mail/sendmail812/PLIST                |  22 +++++++++++-----------
 mail/sendmail812/files/site.config.m4 |  16 ++++++++++++++--
 5 files changed, 48 insertions(+), 18 deletions(-)

diffs (132 lines):

diff -r f791737a6399 -r d958138f2a59 mail/sendmail812/MESSAGE
--- a/mail/sendmail812/MESSAGE  Thu Oct 12 21:04:27 2006 +0000
+++ b/mail/sendmail812/MESSAGE  Thu Oct 12 21:05:25 2006 +0000
@@ -1,9 +1,21 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2004/08/30 19:56:45 adrianp Exp $
+$NetBSD: MESSAGE,v 1.2 2006/10/12 21:05:25 tv Exp $
 
 To use "${PKGNAME}" as the system's mail transport agent you have
 to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
 mailwrapper configuration file.  The command below will do that for you:
 
 ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
+
+If you are changing the database format used by sendmail you must run
+"newaliases" and "makemap" in order to re-create the databases.
+
+You may also need to install (and/or customize) the configuration files
+for Sendmail before it will be operational.  "cd" to the directory
+
+    ${PREFIX}/share/sendmail/cf
+
+and read the file README for instructions on creating and installing
+configuration files.
+
 ===========================================================================
diff -r f791737a6399 -r d958138f2a59 mail/sendmail812/Makefile
--- a/mail/sendmail812/Makefile Thu Oct 12 21:04:27 2006 +0000
+++ b/mail/sendmail812/Makefile Thu Oct 12 21:05:25 2006 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2006/09/05 20:06:06 tv Exp $
+# $NetBSD: Makefile,v 1.14 2006/10/12 21:05:25 tv Exp $
 
 .include "options.mk"
 .include "../../mail/sendmail812/Makefile.common"
 
 PKGNAME=       sendmail-${DIST_VERS}
-PKGREVISION=   4
+PKGREVISION=   5
 COMMENT=       The well known Mail Transport Agent
 HAS_SIG=       yes
 
@@ -17,6 +17,12 @@
 PKG_USERS=             smmsp:smmsp
 PKG_GECOS.smmsp=       Sendmail Message Submission Program
 
+# Not OWN_DIRS, so that the admin doesn't get a suggestion to delete the
+# queue dirs if they are nonempty at deinstall (probably undesirable).
+#
+MAKE_DIRS_PERMS+=      /var/spool/clientmqueue smmsp smmsp 0770
+MAKE_DIRS_PERMS+=      /var/spool/mqueue ${ROOT_USER} ${ROOT_GROUP} 0755
+
 post-patch: make-sendmail-siteconfig
 .if !empty(PKG_OPTIONS:Mtcpwrappers)
        ${CAT} ${FILESDIR}/site.config.m4-tcpwrappers >>${SITECONFIG}
diff -r f791737a6399 -r d958138f2a59 mail/sendmail812/Makefile.common
--- a/mail/sendmail812/Makefile.common  Thu Oct 12 21:04:27 2006 +0000
+++ b/mail/sendmail812/Makefile.common  Thu Oct 12 21:05:25 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile.common,v 1.12 2006/06/13 20:34:38 adrianp Exp $
+# $NetBSD: Makefile.common,v 1.13 2006/10/12 21:05:25 tv Exp $
 #
-# Makefile fragment shared with libmilter
+# Makefile fragment [formerly] shared with libmilter
 #
 
 DISTNAME=      sendmail.${DIST_VERS}
diff -r f791737a6399 -r d958138f2a59 mail/sendmail812/PLIST
--- a/mail/sendmail812/PLIST    Thu Oct 12 21:04:27 2006 +0000
+++ b/mail/sendmail812/PLIST    Thu Oct 12 21:05:25 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/08/30 19:56:44 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/10/12 21:05:25 tv Exp $
 bin/hoststat
 bin/mailq
 bin/newaliases
@@ -8,16 +8,16 @@
 lib/libsmutil.a
 libexec/sendmail/sendmail
 libexec/sendmail/smrsh
-man/cat1/mailq.0
-man/cat1/newaliases.0
-man/cat1/vacation.0
-man/cat5/aliases.0
-man/cat8/editmap.0
-man/cat8/mailstats.0
-man/cat8/makemap.0
-man/cat8/praliases.0
-man/cat8/sendmail.0
-man/cat8/smrsh.0
+man/man1/mailq.1
+man/man1/newaliases.1
+man/man1/vacation.1
+man/man5/aliases.5
+man/man8/editmap.8
+man/man8/mailstats.8
+man/man8/makemap.8
+man/man8/praliases.8
+man/man8/sendmail.8
+man/man8/smrsh.8
 sbin/editmap
 sbin/mailstats
 sbin/makemap
diff -r f791737a6399 -r d958138f2a59 mail/sendmail812/files/site.config.m4
--- a/mail/sendmail812/files/site.config.m4     Thu Oct 12 21:04:27 2006 +0000
+++ b/mail/sendmail812/files/site.config.m4     Thu Oct 12 21:05:25 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: site.config.m4,v 1.1.1.1 2004/08/30 19:56:46 adrianp Exp $
+# $NetBSD: site.config.m4,v 1.2 2006/10/12 21:05:25 tv Exp $
 
 # pathnames specific to pkgsrc
 #
@@ -7,6 +7,18 @@
 define(`confSBINDIR', `${PREFIX}/sbin')
 define(`confUBINDIR', `${PREFIX}/bin')
 define(`confHFDIR', `${PREFIX}/share/misc')
-define(`confMANROOT', `${PREFIX}/man/cat')
+define(`confINSTALL_RAWMAN', 'yes')
+define(`confDONT_INSTALL_CATMAN', 'yes')
+define(`confMANROOT', `${PREFIX}/${PKGMANDIR}/man')
+define(`confMANROOTMAN', `${PREFIX}/${PKGMANDIR}/man')
+define(`confMAN1EXT', `1')
+define(`confMAN3EXT', `3')
+define(`confMAN4EXT', `4')
+define(`confMAN5EXT', `5')
+define(`confMAN8EXT', `8')
 APPENDDEF(`confENVDEF', `-I${PREFIX}/include')
 APPENDDEF(`confLIBS', `-L${PREFIX}/lib')
+
+# the following are handled by pkgsrc
+define(`confINST_DEP',`')
+define(`confNO_STATISTICS_INSTALL')



Home | Main Index | Thread Index | Old Index