Date: Tue, 21 Aug 2001 14:17:14 -0400 (EDT) From: "Garrett A. Wollman" <wollman@LCS.MIT.EDU> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/29928: SENDMAIL_ADDITIONAL_MC is less than entirely useful Message-ID: <200108211817.f7LIHEr86469@mintaka.lcs.mit.edu>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108211817.f7LIHEr86469>