diff options
author | grant <grant@pkgsrc.org> | 2004-03-06 06:28:22 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-03-06 06:28:22 +0000 |
commit | 467251f192720242ba61204720151e1ea03ff825 (patch) | |
tree | 06427f30f2636a62e30ca7a9b3b19adf2a1301a4 /mail/postfix | |
parent | 7bc0431ea60e2346f251a22c5be17902f345875d (diff) | |
download | pkgsrc-467251f192720242ba61204720151e1ea03ff825.tar.gz |
move NetBSD specific MESSAGE to its own file.
Diffstat (limited to 'mail/postfix')
-rw-r--r-- | mail/postfix/MESSAGE | 10 | ||||
-rw-r--r-- | mail/postfix/MESSAGE.NetBSD | 12 | ||||
-rw-r--r-- | mail/postfix/Makefile | 5 |
3 files changed, 17 insertions, 10 deletions
diff --git a/mail/postfix/MESSAGE b/mail/postfix/MESSAGE index 760552c4a8d..278d5990e1c 100644 --- a/mail/postfix/MESSAGE +++ b/mail/postfix/MESSAGE @@ -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 @@ To activate postfix: - 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 --git a/mail/postfix/MESSAGE.NetBSD b/mail/postfix/MESSAGE.NetBSD new file mode 100644 index 00000000000..69e7476b165 --- /dev/null +++ b/mail/postfix/MESSAGE.NetBSD @@ -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 --git a/mail/postfix/Makefile b/mail/postfix/Makefile index efdb90bf6a4..071ee6867f0 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -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 @@ MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} .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}" |