Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade our repository to that version, we will get the change. It is best to make the path change in 4.0-R (which may not have the latest Sendmail Inc. version, than to change in mid-4.x stream when we may upgrade. Ok'ed by: Peter (quite a while ago)
This commit is contained in:
parent
c9a1b894a6
commit
076db74dae
@ -12,6 +12,8 @@
|
||||
* @(#)conf.h 8.385 (Berkeley) 1/28/1999
|
||||
*/
|
||||
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
** CONF.H -- All user-configurable parameters for sendmail
|
||||
**
|
||||
@ -831,6 +833,10 @@ typedef int pid_t;
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# include <paths.h>
|
||||
# if defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
|
||||
# define _PATH_VENDOR_CF "/etc/mail/sendmail.cf"
|
||||
# define USE_VENDOR_CF_PATH
|
||||
# endif
|
||||
# define HASUNSETENV 1 /* has unsetenv(3) call */
|
||||
# define HASSETSID 1 /* has the setsid(2) POSIX syscall */
|
||||
# define USESETEUID 1 /* has useable seteuid(2) call */
|
||||
|
@ -18,7 +18,7 @@ RM= rm -f
|
||||
ALL= freebsd.cf
|
||||
|
||||
# Local sendmail.cf, may be set in /etc/make.conf. Warning! If set, this
|
||||
# causes 'make install' to always copy it over /etc/sendmail.cf!!!
|
||||
# causes 'make install' to always copy it over /etc/mail/sendmail.cf!!!
|
||||
# Caveat emptor! Be sure you want this before you enable it.
|
||||
.if defined(SENDMAIL_CF)
|
||||
ALL+= ${SENDMAIL_CF}
|
||||
@ -33,13 +33,13 @@ depend:
|
||||
install:
|
||||
.if defined(SENDMAIL_CF)
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${SENDMAIL_CF} \
|
||||
${DESTDIR}/etc/sendmail.cf
|
||||
${DESTDIR}/etc/mail/sendmail.cf
|
||||
.endif
|
||||
|
||||
# Helper for src/etc/Makefile
|
||||
etc-sendmail.cf: freebsd.cf
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 freebsd.cf \
|
||||
${DESTDIR}/etc/sendmail.cf
|
||||
${DESTDIR}/etc/mail/sendmail.cf
|
||||
|
||||
# this is overkill, but....
|
||||
M4FILES!= find ${CFDIR} -type f -name '*.m4' -print
|
||||
|
Loading…
Reference in New Issue
Block a user