summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-01 15:19:11 +0000
committerjmmv <jmmv>2003-05-01 15:19:11 +0000
commitffc0fe3dc51d8389a2584ef8841fccfa717b0d47 (patch)
tree65e540e4145ab362bf3898444da04cff9831f328
parent6fe1a4d27da7e82f35144f9f0773e96376b146f1 (diff)
downloadpkgsrc-ffc0fe3dc51d8389a2584ef8841fccfa717b0d47.tar.gz
Move the example mailer.conf file to the examples directory.
Bump PKGREVISION to 2 (and fix PKGNAME).
-rw-r--r--mail/sendmail/MESSAGE8
-rw-r--r--mail/sendmail/Makefile8
-rw-r--r--mail/sendmail/PLIST5
3 files changed, 12 insertions, 9 deletions
diff --git a/mail/sendmail/MESSAGE b/mail/sendmail/MESSAGE
index c396bf2057a..ab8bdda2615 100644
--- a/mail/sendmail/MESSAGE
+++ b/mail/sendmail/MESSAGE
@@ -1,9 +1,9 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.2 2001/11/11 06:17:29 hubertf Exp $
+$NetBSD: MESSAGE,v 1.3 2003/05/01 15:19:11 jmmv Exp $
To use "${PKGNAME}" as the system's mail transport agent you have
-to install "${PREFIX}/etc/mailer.conf.sendmail" as global mailwrapper
-configuration file. The command below will do that for you:
+to install "${PREFIX}/share/examples/sendmail/mailer.conf" as global
+mailwrapper configuration file. The command below will do that for you:
-ln -fs ${PREFIX}/etc/mailer.conf.sendmail /etc/mailer.conf
+ln -fs ${PREFIX}/share/examples/sendmail/mailer.conf /etc/mailer.conf
===========================================================================
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 16a9564c7a1..5bf04fe478d 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.57 2003/04/17 16:13:54 manu Exp $
+# $NetBSD: Makefile,v 1.58 2003/05/01 15:19:12 jmmv Exp $
.include "../../mail/sendmail/Makefile.common"
-PKGNAME= sendmail-${DIST_VERS}nb1
+PKGNAME= sendmail-${DIST_VERS}
+PKGREVISION= 2
COMMENT= The well known Mail Transport Agent
MESSAGE_SRC= ${WRKDIR}/.MESSAGE_SRC
@@ -87,7 +88,8 @@ pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/sendmail
post-install:
- ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/etc
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sendmail
+ ${INSTALL_DATA} ${WRKDIR}/mailer.conf.sendmail ${PREFIX}/share/examples/sendmail/mailer.conf
${CP} -pr ${WRKSRC}/cf ${PREFIX}/share/sendmail
${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/share/sendmail
.if ${USE_DB2} == YES
diff --git a/mail/sendmail/PLIST b/mail/sendmail/PLIST
index 840bc3915df..d36b29a2809 100644
--- a/mail/sendmail/PLIST
+++ b/mail/sendmail/PLIST
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.4 2003/03/04 00:21:31 seb Exp $
+@comment $NetBSD: PLIST,v 1.5 2003/05/01 15:19:12 jmmv Exp $
bin/hoststat
bin/mailq
bin/newaliases
bin/purgestat
bin/vacation
-etc/mailer.conf.sendmail
libexec/sendmail/sendmail
libexec/sendmail/smrsh
man/cat1/mailq.0
@@ -21,6 +20,7 @@ sbin/editmap
sbin/mailstats
sbin/makemap
sbin/praliases
+share/examples/sendmail/mailer.conf
share/misc/helpfile
share/sendmail/README
share/sendmail/cf/Build
@@ -210,3 +210,4 @@ share/sendmail/siteconfig/uucp.ucbvax.m4
@dirrm share/sendmail/domain
@unexec ${RM} -rf %D/share/sendmail/cf
@dirrm share/sendmail
+@dirrm share/examples/sendmail