git: sendmail transition: Do not pre-generate sendmail.cf
John Marino
marino at crater.dragonflybsd.org
Tue Mar 10 04:58:24 PDT 2015
commit 545f1377ff4ba12a5f4578698a99f6e26ec9e876
Author: John Marino <draco at marino.st>
Date: Tue Mar 10 11:46:07 2015 +0100
sendmail transition: Do not pre-generate sendmail.cf
Originally a starter sendmail.cf file was created using the .mc template
files and the m4 files installed from contrib/sendmail-8.14 directory.
This starter sendmail.cf was installed with "make distribution". The
template files were only changed with "make upgrade" (not sure why but
maybe people tried editing them directly) and the Makefile was only
installed once.
This commit accomplishes these things:
* No sendmail.cf or submit.cf file is created. This was the last
user of contrib/sendmail-8.14
* etc/sendmail was altered to just install files
* the README file the was recently placed in libexec/dma was relocated
to etc/sendmail and updated
* the /etc/mail/Makefile is now updated with installworld
* the dragonfl*.mc templates are now updated with installworld
The suggested method to creating /etc/mail/sendmail.cf and
/etc/mail/submit.cf now on a new system is:
1. cd /etc/mail
2. type "make cf"
3. <optional> edit new <hostname>.mc and <hostname>.submit.mc files
4. <optional> type "make cf" again
5. type "make install"
Summary of changes:
etc/Makefile | 4 +-
etc/sendmail/Makefile | 97 +++--------------------
etc/{mail/Makefile => sendmail/Makefile.4install} | 0
{libexec/dma/mailer-conf => etc/sendmail}/README | 13 +--
libexec/dma/mailer-conf/Makefile | 3 +-
5 files changed, 23 insertions(+), 94 deletions(-)
rename etc/{mail/Makefile => sendmail/Makefile.4install} (100%)
rename {libexec/dma/mailer-conf => etc/sendmail}/README (82%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/545f1377ff4ba12a5f4578698a99f6e26ec9e876
--
DragonFly BSD source repository
More information about the Commits
mailing list