History log of /freebsd-10.0-release/etc/sendmail/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 124839 22-Jan-2004 ru

Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution"
targets, have "distribution" always install original (as from the release
media) files, whether SENDMAIL_MC is set or not. Do error handling the
make(1) way.

Reviewed by: gshapiro
Approved by: gshapiro


# 121232 18-Oct-2003 gshapiro

Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world. Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.

PR: conf/57733
Reviewed by: nork
MFC after: 2 weeks


# 120397 24-Sep-2003 gshapiro

Turn SENDMAIL_CF_DIR into an officially supported make.conf variable
and use it in src/etc/sendmail/Makefile in case the user wants to use
a different path to the sendmail m4 sources (e.g., sendmail port users).

Submitted by: dinoex
MFC after: 21 days
X-MFC after: RELENG_4 code freeze ends


# 119631 01-Sep-2003 gshapiro

Build the submit.cf file instead of installing the version that ships
with the vendor sendmail distribution. By doing so, we avoid mergemaster
warnings after every 'make' in /etc/mail/.

Reported by: Jeremy Chadwick <koitsu@parodius.com>
MFC after: 3 days
X-MFC after: and re approval


# 118738 10-Aug-2003 gshapiro

Revert revision 1.25 now that mergemaster does a 'make all' to build
the required .cf file(s).

Submitted by: ru
X-MFC after: mergemaster MFC


# 117373 10-Jul-2003 gshapiro

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


# 117298 07-Jul-2003 gshapiro

Put back install/distribution dependency on the buildable .cf
files to get mergemaster working again.

Noticed by: Shin-ichi YOSHIMOTO <yosimoto@waishi.jp>


# 117289 06-Jul-2003 gshapiro

Get rid of unneeded depend target

Submitted by: ru
MFC after: 5 days


# 117288 06-Jul-2003 gshapiro

- Prevent buildworld from trying to write to /etc/mail/
- Stop 'make clean' from removing SENDMAIL_CF
- install and distribute targets should not attempt to build anything
- SENDMAIL_ADDITIONAL_CF were not installed in the distribution case
- If SENDMAIL_SET_USER_ID was defined, submit.cf was needlessly installed
in the distribution case
- Collapse install and distribution target into one to remove code
duplication

Submitted by: ru
MFC after: 5 days


# 117286 06-Jul-2003 gshapiro

Style fixes: tab after a dependency operator should be a single space
second level indent of tab should be four spaces

Submitted by: ru
MFC after: 3 days


# 100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


# 100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


# 97199 23-May-2002 gshapiro

Change the default permissions for the sendmail statistics file to 0640
instead of 0644 to help protect users against a file locking local
denial of service.

MFC after: 1 day
pending RE approval


# 95227 21-Apr-2002 gshapiro

Non-sendmail users use the FreeBSD sendmail startup functionality to start
alternative MTAs. Therefore, always install rc.sendmail, regardless of
NO_SENDMAIL make.conf setting. Users can still set mta_start_script to a
different script.

This commit is after a repo-copy of src/etc/sendmail/rc.sendmail to
src/etc/rc.sendmail.

Noticed by: Calvin NG <calvinng@brel.com>
MFC after: 3 days


# 94676 14-Apr-2002 gshapiro

Provide a new make.conf knob, SENDMAIL_SUBMIT_MC to allow users to pick
the .mc file used for /etc/mail/submit.cf. By default,
/etc/mail/freebsd.submit.mc is installed and used.

Requested by: fenner
Submitted by: ume
MFC after: 1 week


# 93853 05-Apr-2002 gshapiro

Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again."

As an alternative to sendmail_enable=NONE, solve the boot time problem
for non-sendmail users completely by moving all of the sendmail startup
code from /etc/rc to /etc/rc.sendmail. The source for that script will
be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will
prevent it from being installed. A new rc.conf variable,
mta_start_script specifies the script to run to start the user's
preferred MTA. For backward compatibility, it will default to
/etc/rc.sendmail. The specified script is called out of /etc/rc after
checking to make sure it exists. A new rc.sendmail.8 man page has also
been added which now houses the sendmail_* variable descriptions
formerly in rc.conf.5.

Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication.

Reviewed by: -current, -stable, obrien, peter, ru
MFC after: 1 week


# 91187 24-Feb-2002 gshapiro

Make sure we don't remove /etc/mail/sendmail.cf on make clean since this
will break a running system during a buildworld.

Noticed by: Alexandr Listopad <laa@laa.zp.ua>
MFC after: 1 week


# 90802 17-Feb-2002 gshapiro

Add new build knob, SENDMAIL_SET_USER_ID, which installs sendmail as a
set-user-ID root binary instead of the new method (set-group-ID smmsp).
Therefore, we shouldn't install /etc/mail/submit.cf if it is set.


# 86639 20-Nov-2001 gshapiro

Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
installworld should install them.

PR: 29928
Submitted by: wollman
MFC after: 3 days


# 80796 01-Aug-2001 gshapiro

Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)

Problem found by: nsayer


# 80176 23-Jul-2001 gshapiro

If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an
error:

===> etc/sendmail
install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf
install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file
*** Error code 64

Catch this in the Makefile and don't call install if the source and target
are the same file.

Reported by: Alexandr Listopad <laa@reis.zp.ua>
MFC after: 1 week


# 80175 22-Jul-2001 gshapiro

New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file.

Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary
build enables that FFR as well.

PR: conf/28361
MFC after: 1 week


# 73250 01-Mar-2001 gshapiro

Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
a user configurable file and it would benefit from mergemaster.


# 73210 28-Feb-2001 gshapiro

Fix dependencies and cleanup spacing in the file


# 72918 22-Feb-2001 gshapiro

Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report. It allows building multiple .cf files at build time.

PR: bin/19897


# 72846 22-Feb-2001 gshapiro

Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF as
users should be configuring via m4 now. If set, use m4 to create the .cf
file. Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or
'make distribution' in src/etc/sendmail/ will install the appropriate .cf as
/etc/mail/sendmail.cf. This fixes some mergemaster problems.

PR: conf/13016


# 72845 22-Feb-2001 gshapiro

Install freebsd.mc and freebsd.cf in /etc/mail so users have the base files
for creating their own configuration.


# 72843 22-Feb-2001 gshapiro

Move creation of the sendmail statistics file from the usr.sbin/sendmail
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations. In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.


# 54836 19-Dec-1999 obrien

Install sendmail.cf into /etc/mail.

The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.

Ok'ed by: Peter (quite a while ago)


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 38102 04-Aug-1998 peter

Builder for sendmail.cf's, in particular freebsd.cf.
This needs to be revisited - we need a simple way of building/installing
these at runtime from the installed system's /etc/mail directory.
freebsd.mc,v and freefall.mc,v have been repository copied here.