From owner-freebsd-bugs Fri Oct 25 19:30: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A501D37B401 for ; Fri, 25 Oct 2002 19:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6050943E42 for ; Fri, 25 Oct 2002 19:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9Q2U3x3034444 for ; Fri, 25 Oct 2002 19:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9Q2U22e034442; Fri, 25 Oct 2002 19:30:02 -0700 (PDT) Date: Fri, 25 Oct 2002 19:30:02 -0700 (PDT) Message-Id: <200210260230.g9Q2U22e034442@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Matthew Emmerton" Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Reply-To: "Matthew Emmerton" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/44256; it has been noted by GNATS. From: "Matthew Emmerton" To: "Giorgos Keramidas" Cc: Subject: Re: bin/44256: /etc/mail/Makefile doesn't build submit.cf file Date: Fri, 25 Oct 2002 22:28:41 -0400 > On 2002-10-23 16:30, Matthew Emmerton wrote: > > My report is slightly inaccurate, as the makefile *will* create a > > submit.cf, but it doesn't create it in the `hostname`.submit.cf > > format that sendmail.cf is created in, and will not use a > > `hostname`.submit.mc as a template if it exists. > > It does. At least, after setting the proper make.conf variables: > SENDMAIL_MC > SENDMAIL_SUBMIT_MC > SENDMAIL_ADDITIONAL_MC > > A small change to /etc/mail/Makefile can make SENDMAIL_SUBMIT_MC > default to `hostname`.submit.mc too, if that's what you are after: > > %%% > --- Makefile.orig Fri Oct 25 04:49:43 2002 > +++ Makefile Fri Oct 25 04:51:27 2002 > @@ -69,7 +69,13 @@ > cp freebsd.mc ${SENDMAIL_MC} > .endif > > -SENDMAIL_SUBMIT_MC?= freebsd.submit.mc > +.ifndef SENDMAIL_SUBMIT_MC > +SENDMAIL_SUBMIT_MC!= hostname > +SENDMAIL_SUBMIT_MC:= ${SENDMAIL_SUBMIT_MC}.submit.mc > + > +${SENDMAIL_SUBMIT_MC}: > + cp freebsd.submit.mc ${SENDMAIL_SUBMIT_MC} > +.endif > > INSTALL_CF= ${SENDMAIL_MC:R}.cf > > %%% > > Giorgos. How is this patch different from the one in my PR? -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message