cvs commit: src/etc/sendmail Makefile

Ruslan Ermilov ru at FreeBSD.org
Tue Jul 22 05:52:46 PDT 2003


On Wed, Jul 09, 2003 at 09:53:32PM -0700, Gregory Neil Shapiro wrote:
> gshapiro    2003/07/09 21:53:32 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc/sendmail         Makefile 
>   Log:
>   Continue trying to build SENDMAIL_CF if the user uses SENDMAIL_CF
>   instead of SENDMAIL_MC but don't remove on it 'make clean' as the
>   user may not have the original .mc file and removing it could be
>   dangerous (e.g., make SENDMAIL_CF=/etc/mail/sendmail.cf clean).
>   
>   Noticed by:     peter
>   MFC after:      3 days
>   
>   Revision  Changes    Path
>   1.26      +5 -2      src/etc/sendmail/Makefile
> 
Gregory,

I have trouble understanding what this commit fixes.  I have read
the preceding discussion where you explained to Peter that SENDMAIL_CF
should have a /full/path/to/sendmail.cf, but even after that it's
still unclear: just reverting to rev. 1.24 of etc/sendmail/Makefile
gives the below, which looks very consistent to me:

: Script started on Tue Jul 22 15:46:47 2003
: # ident Makefile
: Makefile:
:      $FreeBSD: src/etc/sendmail/Makefile,v 1.24 2003/07/06 18:54:18 gshapiro Exp $
: # ls -l /etc/mail/sendmail.cf
: -r--r--r--  1 root  wheel  57028 Jul 22 15:02 /etc/mail/sendmail.cf
: # make -n clean SENDMAIL_CF=/etc/mail/sendmail.cf
: rm -f freebsd.cf  

No attempts to remove /etc/mail/sendmail.cf.

: # make -n install SENDMAIL_CF=/etc/mail/sendmail.cf

No attempts to install the file over itself.

: # make -n install SENDMAIL_CF=/foo/bar/sendmail.cf
: install -o root -g wheel -m 644  /foo/bar/sendmail.cf /etc/mail/sendmail.cf
: # make -n clean SENDMAIL_CF=/foo/bar/sendmail.cf
: rm -f freebsd.cf  

No attempts to remove /foo/bar/sendmail.cf, either.

: Script done on Tue Jul 22 15:47:47 2003

We weren't removing the ${SENDMAIL_CF} file because we weren't
adding it to the list of files to build (${ALL}) which we then
remove (CLEANFILES=${ALL}).

Can you please clarify this?


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru at sunbay.com		Sunbay Software Ltd,
ru at FreeBSD.org		FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030722/004c143f/attachment.bin


More information about the cvs-src mailing list