From owner-freebsd-bugs Tue Aug 21 11:20:40 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D5DEE37B405 for ; Tue, 21 Aug 2001 11:20:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7LIKTj00973; Tue, 21 Aug 2001 11:20:29 -0700 (PDT) (envelope-from gnats) Received: from mintaka.lcs.mit.edu (mintaka.lcs.mit.edu [18.26.0.36]) by hub.freebsd.org (Postfix) with ESMTP id BF10A37B405 for ; Tue, 21 Aug 2001 11:17:15 -0700 (PDT) (envelope-from wollman@mintaka.lcs.mit.edu) Received: (from wollman@localhost) by mintaka.lcs.mit.edu (8.11.5/8.11.5) id f7LIHEr86469; Tue, 21 Aug 2001 14:17:14 -0400 (EDT) (envelope-from wollman) Message-Id: <200108211817.f7LIHEr86469@mintaka.lcs.mit.edu> Date: Tue, 21 Aug 2001 14:17:14 -0400 (EDT) From: "Garrett A. Wollman" Reply-To: "Garrett A. Wollman" To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/29928: SENDMAIL_ADDITIONAL_MC is less than entirely useful 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: 29928 >Category: conf >Synopsis: SENDMAIL_ADDITIONAL_MC is less than entirely useful >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 21 11:20:28 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Garrett A. Wollman >Release: FreeBSD 4.4-PRERELEASE i386 >Organization: MIT Laboratory for Computer Science >Environment: System: FreeBSD mintaka.lcs.mit.edu 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #9: Wed Aug 15 17:13:02 EDT 2001 root@mintaka.lcs.mit.edu:/usr/src/sys/compile/MINTAKA i386 >Description: SENDMAIL_ADDITIONAL_MC allows one to specify a list of additional sendmail.cf prototypes to be processed using the configuration macro system. However, these files are simply built -- they don't get installed anywhere. This is not particularly useful for my servers, where everything is installed on the master server and then propagated to slaves using rdist. >How-To-Repeat: Put stuff in SENDMAIL_ADDITIONAL_MC. cd /usr/src/etc/sendmail; make && make install Observe that the additional .cf files did not get installed. >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/src/etc/sendmail/Makefile,v retrieving revision 1.3.2.8 diff -u -r1.3.2.8 Makefile --- Makefile 2001/08/01 03:38:44 1.3.2.8 +++ Makefile 2001/08/21 18:08:57 @@ -42,7 +42,8 @@ # Additional .cf files to build .if defined(SENDMAIL_ADDITIONAL_MC) -ALL+= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} +SENDMAIL_ADDITIONAL_CF= ${SENDMAIL_ADDITIONAL_MC:S/.mc$/.cf/g} +ALL+= ${SENDMAIL_ADDITIONAL_CF} .endif CLEANFILES+= ${ALL} @@ -60,6 +61,10 @@ .if ${INSTALL_CF} != ${DEST_CF} ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 ${INSTALL_CF} \ ${DEST_CF} +.endif +.if defined(SENDMAIL_ADDITIONAL_CF) + ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \ + ${SENDMAIL_ADDITIONAL_CF} ${DESTDIR}/etc/mail .endif .endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message