History log of /freebsd-11.0-release/usr.sbin/sendmail/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

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

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

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


# 298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


# 291348 26-Nov-2015 bdrewery

Use LIBEXECDIR for /usr/libexec.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


# 291320 25-Nov-2015 bdrewery

META MODE: Don't create .meta files when symlinking sources into the obj directory.

Tracking these leads to situations where meta mode will consider the
file to be out of date if /bin/sh or /bin/ln are newer than the source
file. There's no reason for meta mode to do this as make is already
handling the rebuild dependency fine.

Sponsored by: EMC / Isilon Storage Division


# 285225 07-Jul-2015 gshapiro

Temporarily disable WARNS while addressing a non-issue with the upstream code


# 275054 25-Nov-2014 bapt

Convert usr.sbin to LIBADD
Reduce overlinking


# 270168 19-Aug-2014 bdrewery

Revert r267233 for now. PIE support needs to be reworked.

1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other
build-only utility libraries.
2. Another 40% is fixed by generating _pic.a variants of various libraries.
3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR)
where it never would work anyhow, such as csu or loader. This suggests
there may be better ways of adding support to the tree. Many of these
cases can be fixed such that -fPIE will work but there is really no
reason to have it in those cases.
4. Some of the uses are working around hacks done to some Makefiles that are
really building libraries but have been using bsd.prog.mk because the code
is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have
been needed.

We likely do want to enable PIE by default (opt-out) for non-tree consumers
(such as ports). For in-tree though we probably want to only enable PIE
(opt-in) for common attack targets such as remote service daemons and setuid
utilities. This is also a great performance compromise since ASLR is expected
to reduce performance. As such it does not make sense to enable it in all
utilities such as ls(1) that have little benefit to having it enabled.

Reported by: kib


# 267233 08-Jun-2014 bdrewery

In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.

This is currently an opt-in build flag. Once ASLR support is ready and stable
it should changed to opt-out and be enabled by default along with ASLR.

Each application Makefile uses opt-out to ensure that ASLR will be enabled by
default in new directories when the system is compiled with PIE/ASLR. [2]

Mark known build failures as NO_PIE for now.

The only known runtime failure was rtld.

[1] http://www.bsdcan.org/2014/schedule/events/452.en.html
Submitted by: Shawn Webb <lattera@gmail.com>
Discussed between: des@ and Shawn Webb [2]


# 267147 06-Jun-2014 imp

When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS and
remove the now-redundant checks for RELEASE_CRUNCH. This originally
was defined for building smaller sysinstall images, but was later also
used by picobsd builds for a similar purpose. Now that we've moved
away from sysinstall, picobsd is the only remaining consumer of this
interface. Adding these two options reduces the RELEASE_CRUNCH
special cases in the tree by half.


# 265420 06-May-2014 imp

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# 246880 16-Feb-2013 dim

Since clang 3.2 now has an option to suppress warnings about implicitly
promoted K&R parameters, remove the workarounds added for sendmail
components in r228558.

MFC after: 1 week


# 232263 28-Feb-2012 dim

Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to
get rid of testing explicitly for clang (using ${CC:T:Mclang}) in
individual Makefiles.

Instead, use the following extra macros, for use with clang:
- NO_WERROR.clang (disables -Werror)
- NO_WCAST_ALIGN.clang (disables -Wcast-align)
- NO_WFORMAT.clang (disables -Wformat and friends)
- CLANG_NO_IAS (disables integrated assembler)
- CLANG_OPT_SMALL (adds flags for extra small size optimizations)

As a side effect, this enables setting CC/CXX/CPP in src.conf instead of
make.conf! For clang, use the following:

CC=clang
CXX=clang++
CPP=clang-cpp

MFC after: 2 weeks


# 228707 19-Dec-2011 dim

Unfortunately, clang gives warnings about sendmail code that cannot be
turned off yet. Since this is contrib code, and we don't really care
about the warnings, just turn make them non-fatal for now.

MFC after: 1 week


# 201433 03-Jan-2010 ed

Lower WARNS for sendmail.

Even though it builds with WARNS=2, some users link sendmail from the
base system against SASL. This doesn't build in this case.

Reported by: Andrzej Tobola <ato iem pw edu pl>


# 201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


# 168522 09-Apr-2007 gshapiro

This FFR is no longer needed in sendmail 8.14


# 162646 26-Sep-2006 obrien

Catch up with share/mk/bsd.sys.mk rev. 1.38.


# 156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


# 149174 17-Aug-2005 gshapiro

Make links for hoststat(8) and purgestat(8) man pages.

PR: docs/85009
MFC after: 3 days


# 147225 10-Jun-2005 des

Remove kludges intended to support src trees with partial obj trees.

Discussed with: ru


# 139115 21-Dec-2004 ru

NOINET6 -> NO_INET6


# 139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


# 138670 10-Dec-2004 gshapiro

Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.

PR: bin/73105
MFC after: 2 days


# 137675 13-Nov-2004 bz

Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on no NIS support and related programs will be built.

Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks


# 133196 06-Aug-2004 cperciva

Join the 21st century: Cryptography is no longer an optional component
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004


# 132947 01-Aug-2004 gshapiro

Reflect changes in sendmail 8.13 source tree


# 129912 01-Jun-2004 gshapiro

Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it
is set.

MFC after: 4 days


# 117978 24-Jul-2003 markm

Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.


# 117299 07-Jul-2003 gshapiro

Remove MAINTAINER= lines from individual Makefiles in favor of the
MAINTAINER file (which already had entries for sendmail).


# 115662 02-Jun-2003 obrien

CSTD=c89 due to mismatched declarations.


# 115157 19-May-2003 des

Retire the useless NOSECURE knob.

Approved by: re (scottl)


# 113091 04-Apr-2003 obrien

style.Makefile(5)


# 110165 31-Jan-2003 markm

No need for the OPENSSL_NO_KRB5 switch anymore.

Fixed by: nectar


# 110012 28-Jan-2003 markm

iAdjust for OpenSSL 0.9.7.


# 90799 17-Feb-2002 gshapiro

Update build infrastructure for sendmail 8.12.
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).


# 83445 14-Sep-2001 ru

Set BINOWN=root explicitly for setuid root binaries.


# 81105 03-Aug-2001 gshapiro

Convert to using the same method of detecting the secure directory as other
usr.sbin programs.

Noted by: markm


# 80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.


# 74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# 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.


# 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.


# 67660 26-Oct-2000 gshapiro

Add a MAINTAINER= line so people know who to blame


# 67502 24-Oct-2000 gshapiro

Fix up the build for the STARTTLS version of sendmail (again). This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once. For 'make release', it is built once for the bin dist and
once for the crypto dist. This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris


# 67083 13-Oct-2000 gshapiro

../Makefile.inc was clobbering BINDIR so sendmail was being installed in
/usr/sbin/ instead of /usr/libexec/sendmail/

Submitted by: bde


# 67029 12-Oct-2000 gshapiro

Remove STARTTLS support as it breaks builds without crypto installed.
Waiting to hear back regarding the best way to do this.


# 66977 11-Oct-2000 peter

With apoligies to Greg Shapiro, fix the world. The previous commit
lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than
appending to them with +=.


# 66961 11-Oct-2000 gshapiro

Style fixes


# 66959 11-Oct-2000 gshapiro

NOCRYPT imples NO_OPENSSL.
Still need to solve the distribution problem.

Submitted by: kris


# 66944 10-Oct-2000 gshapiro

Build sendmail with STARTTLS support unless NO_OPENSSL is set.


# 65970 17-Sep-2000 gshapiro

Give users a way to alter the sendmail (and related utilities) build
environment so they can enable functionality such as SASL, LDAP, Hesiod.


# 65797 13-Sep-2000 gshapiro

Allow users to add libraries for sendmail (e.g. Cyrus SASL)

Obtained from: Sergei Vyshenski <svysh@pn.sinp.msu.ru>


# 64628 14-Aug-2000 gshapiro

Turn on support for IPv6


# 64597 13-Aug-2000 gshapiro

Get rid of the /etc/aliases -> /etc/mail/aliases hack. /etc/mail/aliases
now exists in the distribution.


# 64567 12-Aug-2000 gshapiro

The rest of the changes needed to support the new version of sendmail (8.11.0).
Beyond changes to the build system, this includes fixing up the sample
freebsd.mc configuration for changes in defaults and syntax, removing
outdated documentation, and updating the release notes.


# 55239 29-Dec-1999 peter

Since /etc/sendmail.cf got moved to /etc/mail/sendmail.cf, a 'make world'
would leave you with a broken sendmail and local mail loss.
This evil hack moves sendmail.cf from the old location to the new one (if
required) at install time.


# 55236 29-Dec-1999 peter

Install sendmail in it's new location.


# 50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 45090 28-Mar-1999 markm

Enable tcp_wrapper support by default.


# 43735 07-Feb-1999 peter

MaxHeaderLines is now MaxHeadersLength (in bytes)


# 43153 24-Jan-1999 peter

Support 'O MaxHeaderLines=' to override the default header count and line
length limits. The configuration keyword is: confMAX_HEADER_LINES


# 42584 12-Jan-1999 peter

Update for 8.9.2 (new file, control.c)
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.


# 39496 19-Sep-1998 obrien

Remove useless `BINOWN=root' now that it is the default.


# 38094 04-Aug-1998 peter

Connect up sendmail-8.9.1


# 19149 24-Oct-1996 peter

Fold sendmail-8.8.2 changes into files that have been touched.

(^!&@$#&^! delete !!@^@^ trailing !@^&#$!& whitespace!!!)


# 15349 22-Apr-1996 pst

typo shmrsh -> smrsh


# 15338 21-Apr-1996 pst

Enable proper installation of sendmail restricted shell smrsh(8).

This program is a wrapper for the prog mailer in sendmail. It does shell
meta character masking and restricts the list of executables to those found
in /usr/libexec/sm.bin.

The default sendmail.cf file does not use this tool, however you can enable
it by either changing /bin/sh to /usr/libexec/smrsh or adding the line
FEATURE(smrsh) into your sendmail .mc file and rebuilding your .cf file.

For more info, RTFMP.


# 12583 02-Dec-1995 peter

*GULP* cvs remove the uncomfortably large list of files that are no longer
part of sendmail 8.7.2...


# 12576 02-Dec-1995 peter

Re-disable the cf/cf SUBDIR - we were not building it before anyway.
The Makefile down there does not handle the obj dir well..


# 12572 02-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r12571,
which included commits to RCS files with non-trunk default branches.


# 12571 02-Dec-1995 peter

Import Sendmail-8.7.2 as discussed on -current.

The conflict merge will happen shortly after.


# 10088 17-Aug-1995 peter

Import Sendmail v8.6.12, onto the CSRG(!) branch.
A seperate commit to fix the conflicts wil follow.


# 1553 26-May-1994 rgrimes

BSD 4.4 Lite usr.sbin Sources