From owner-freebsd-bugs Fri Oct 18 21:10: 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 EE42737B401 for ; Fri, 18 Oct 2002 21:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0167A43E91 for ; Fri, 18 Oct 2002 21:10:01 -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 g9J4A1x3095347 for ; Fri, 18 Oct 2002 21:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9J4A1GZ095346; Fri, 18 Oct 2002 21:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C0C37B401 for ; Fri, 18 Oct 2002 21:06:58 -0700 (PDT) Received: from tomts12-srv.bellnexxia.net (tomts12.bellnexxia.net [209.226.175.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D16E43E75 for ; Fri, 18 Oct 2002 21:06:58 -0700 (PDT) (envelope-from matt@gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([65.95.177.83]) by tomts12-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021019040655.PNVL25284.tomts12-srv.bellnexxia.net@xena.gsicomp.on.ca> for ; Sat, 19 Oct 2002 00:06:55 -0400 Received: from dhcp2.gsicomp.on.ca (dhcp2.gsicomp.on.ca [192.168.0.11]) by xena.gsicomp.on.ca (8.11.3/8.11.3) with ESMTP id g9J2kup69460 for ; Fri, 18 Oct 2002 22:46:56 -0400 (EDT) (envelope-from matt@dhcp2.gsicomp.on.ca) Received: (from matt@localhost) by dhcp2.gsicomp.on.ca (8.12.6/8.12.6) id g9J46skA001031; Sat, 19 Oct 2002 00:06:54 -0400 (EDT) (envelope-from matt) Message-Id: <200210190406.g9J46skA001031@dhcp2.gsicomp.on.ca> Date: Sat, 19 Oct 2002 00:06:54 -0400 (EDT) From: Matt Emmerton Reply-To: Matt Emmerton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/44256: /etc/mail/Makefile doesn't build submit.cf file 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 >Number: 44256 >Category: bin >Synopsis: /etc/mail/Makefile doesn't build submit.cf file >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 18 21:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matt Emmerton >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD laptop.gsicomp.on.ca 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Thu Oct 17 21:13:55 EDT 2002 root@laptop.gsicomp.on.ca:/usr/obj/usr/src/sys/LAPTOP.20020914.01 i386 cvsup'd and rebuilt kernel/world on Oct 17 >Description: When issuing a 'make' from /etc/mail, the sendmail.cf file (or `hostname`.cf file) is generated from the corresponding .mc file, and if `hostname`.mc doesn't exist, freebsd.mc is used as a template. According to the makefile, the same should hold true for the generation of the submit.cfg file, but this does not occur. >How-To-Repeat: Touch freebsd.submit.mc, issue 'make'. No `hostname`.submit.mc or submit.cf is created. >Fix: --- etc/mail/Makefile.orig Mon Jul 29 05:40:05 2002 +++ etc/mail/Makefile Fri Oct 18 23:42:53 2002 @@ -69,9 +69,15 @@ cp freebsd.mc ${SENDMAIL_MC} .endif -SENDMAIL_SUBMIT_MC?= freebsd.submit.mc - INSTALL_CF= ${SENDMAIL_MC:R}.cf + +.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 .ifndef SENDMAIL_SET_USER_ID INSTALL_SUBMIT_CF= ${SENDMAIL_SUBMIT_MC:R}.cf >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message