pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/postfix move NetBSD specific MESSAGE to its own f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/040253811c3a
branches:  trunk
changeset: 470066:040253811c3a
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Mar 06 06:28:22 2004 +0000

description:
move NetBSD specific MESSAGE to its own file.

diffstat:

 mail/postfix/MESSAGE        |  10 +---------
 mail/postfix/MESSAGE.NetBSD |  12 ++++++++++++
 mail/postfix/Makefile       |   5 ++++-
 3 files changed, 17 insertions(+), 10 deletions(-)

diffs (58 lines):

diff -r 4134a5bb8cf6 -r 040253811c3a mail/postfix/MESSAGE
--- a/mail/postfix/MESSAGE      Sat Mar 06 06:26:21 2004 +0000
+++ b/mail/postfix/MESSAGE      Sat Mar 06 06:28:22 2004 +0000
@@ -1,5 +1,5 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.4 2003/05/01 14:07:56 jmmv Exp $
+$NetBSD: MESSAGE,v 1.5 2004/03/06 06:28:22 grant Exp $
 
 To activate postfix:
 
@@ -8,12 +8,4 @@
 - Modify /etc/mailer.conf (see ${SHAREDIR}/mailer.conf)
 - Set postfix=YES in /etc/rc.conf
 
-If you are running NetBSD 1.5 (or newer), the existing /etc/rc.d/postfix
-can be forced to start ${PREFIX}/sbin/postfix instead of /usr/sbin/postfix,
-by adding the following lines to /etc/rc.conf.d/postfix:
-       required_files='${PKG_SYSCONFDIR}/main.cf'
-       start_cmd='${PREFIX}/sbin/postfix start'
-       stop_cmd='${PREFIX}/sbin/postfix stop'
-       reload_cmd='${PREFIX}/sbin/postfix reload'
-
 ===========================================================================
diff -r 4134a5bb8cf6 -r 040253811c3a mail/postfix/MESSAGE.NetBSD
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postfix/MESSAGE.NetBSD       Sat Mar 06 06:28:22 2004 +0000
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE.NetBSD,v 1.1 2004/03/06 06:28:22 grant Exp $
+
+If you are running NetBSD 1.5 (or newer), the existing /etc/rc.d/postfix
+can be forced to start ${PREFIX}/sbin/postfix instead of /usr/sbin/postfix,
+by adding the following lines to /etc/rc.conf.d/postfix:
+       required_files='${PKG_SYSCONFDIR}/main.cf'
+       start_cmd='${PREFIX}/sbin/postfix start'
+       stop_cmd='${PREFIX}/sbin/postfix stop'
+       reload_cmd='${PREFIX}/sbin/postfix reload'
+
+===========================================================================
diff -r 4134a5bb8cf6 -r 040253811c3a mail/postfix/Makefile
--- a/mail/postfix/Makefile     Sat Mar 06 06:26:21 2004 +0000
+++ b/mail/postfix/Makefile     Sat Mar 06 06:28:22 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.118 2004/03/05 13:54:32 grant Exp $
+# $NetBSD: Makefile,v 1.119 2004/03/06 06:28:22 grant Exp $
 
 DISTNAME=      postfix-2.0.18
 PKGREVISION=   1
@@ -116,6 +116,9 @@
 .endif
 
 MESSAGE_SRC+=  ${PKGDIR}/MESSAGE
+.if exists(${PKGDIR}/MESSAGE.${OPSYS})
+MESSAGE_SRC+=  ${PKGDIR}/MESSAGE.${OPSYS}
+.endif
 PLIST_SRC+=    ${PKGDIR}/PLIST
 ALL_TARGET=    #empty
 MAKE_ENV=      CC="${CC}" OPT="${CFLAGS}"



Home | Main Index | Thread Index | Old Index