Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 10:44:25 -0700
From:      Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
To:        steve@Watt.COM (Steve Watt)
Cc:        stable@FreeBSD.ORG
Subject:   Re: Sendmail rantlet
Message-ID:  <15297.58873.808868.297849@horsey.gshapiro.net>
In-Reply-To: <200110030648.f936mkD38227@wattres.Watt.COM>
References:  <200110030648.f936mkD38227@wattres.Watt.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
steve> I was rather astonished to discover that the installworld had
steve> overwritten my lovingly crafted `hostname`.mc with a copy of
steve> freebsd.mc.

I don't see how this could be true (unless mergemaster did something).
The 'install' target in /usr/src/etc/sendmail/Makefile only installs a .cf
file:

install:	${INSTALL_CF}
.if (defined(SENDMAIL_MC) && defined(SENDMAIL_CF))
	@echo ">>> ERROR: Both SENDMAIL_CF and SENDMAIL_MC can not be set"
	@false
.endif
.if defined(INSTALL_CF)
.if ${INSTALL_CF} != ${DEST_CF}
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \
		${DEST_CF}
.endif
.endif

There is nothing there to overwrite a .mc file.

/usr/src/etc/mail/Makefile is not used during installworld.  However, even
if you later did a 'make install' in /etc/mail, `hostname`.mc is only put
in place if it doesn't already exist:

.ifndef SENDMAIL_MC
SENDMAIL_MC!=           hostname
SENDMAIL_MC:=           ${SENDMAIL_MC}.mc

${SENDMAIL_MC}: freebsd.mc
	cp freebsd.mc ${SENDMAIL_MC}
.endif


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15297.58873.808868.297849>