dim
0d1f91e8e1
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
2012-02-28 18:30:18 +00:00
dim
842c3a3e59
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
2011-12-19 13:35:44 +00:00
ed
4b1182c046
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>
2010-01-03 15:32:25 +00:00
ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
gshapiro
330262c3e1
This FFR is no longer needed in sendmail 8.14
2007-04-09 01:45:52 +00:00
obrien
d7fe3e7365
Catch up with share/mk/bsd.sys.mk rev. 1.38.
2006-09-26 02:18:35 +00:00
ru
388e590f95
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)
2006-03-17 18:54:44 +00:00
gshapiro
d2cf0c963a
Make links for hoststat(8) and purgestat(8) man pages.
...
PR: docs/85009
MFC after: 3 days
2005-08-17 02:36:31 +00:00
des
2bb8de20fe
Remove kludges intended to support src trees with partial obj trees.
...
Discussed with: ru
2005-06-10 06:12:53 +00:00
ru
5c04306fea
NOINET6 -> NO_INET6
2004-12-21 10:49:29 +00:00
ru
f4c44b761b
NOCRYPT -> NO_CRYPT
2004-12-21 10:16:04 +00:00
gshapiro
35ee62eea5
Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.
...
PR: bin/73105
MFC after: 2 days
2004-12-10 19:15:31 +00:00
bz
4b83c5852a
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
2004-11-13 20:40:32 +00:00
cperciva
e629b37603
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
2004-08-06 07:27:08 +00:00
gshapiro
1e94b13612
Reflect changes in sendmail 8.13 source tree
2004-08-01 01:16:59 +00:00
gshapiro
76a17fc316
Honor NOINET6 and disable IPv6 support in libmilter and sendmail if it
...
is set.
MFC after: 4 days
2004-06-01 01:29:42 +00:00
markm
376c7c030b
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.
2003-07-24 18:30:25 +00:00
gshapiro
e95dd66c1f
Remove MAINTAINER= lines from individual Makefiles in favor of the
...
MAINTAINER file (which already had entries for sendmail).
2003-07-07 03:54:04 +00:00
obrien
9c354cd6a6
CSTD=c89 due to mismatched declarations.
2003-06-02 02:18:37 +00:00
des
e5d2d778eb
Retire the useless NOSECURE knob.
...
Approved by: re (scottl)
2003-05-19 15:52:01 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
markm
21f0f28e47
No need for the OPENSSL_NO_KRB5 switch anymore.
...
Fixed by: nectar
2003-01-31 23:26:55 +00:00
markm
2fd2d84bc3
iAdjust for OpenSSL 0.9.7.
2003-01-28 23:08:41 +00:00
gshapiro
805e40ade4
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).
2002-02-17 22:06:20 +00:00
ru
c2bdeb287b
Set BINOWN=root explicitly for setuid root binaries.
2001-09-14 11:03:34 +00:00
gshapiro
88b9c792ce
Convert to using the same method of detecting the secure directory as other
...
usr.sbin programs.
Noted by: markm
2001-08-03 16:22:47 +00:00
obrien
9c97c8f02d
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.
2001-07-20 06:20:32 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
gshapiro
d383ddef28
Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
...
a user configurable file and it would benefit from mergemaster.
2001-03-01 03:50:28 +00:00
gshapiro
6af82228b4
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.
2001-02-22 03:55:08 +00:00
gshapiro
90b1557dac
Add a MAINTAINER= line so people know who to blame
2000-10-26 23:02:36 +00:00
gshapiro
a98dcfa204
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
2000-10-24 16:04:56 +00:00
gshapiro
dd28ff57d0
../Makefile.inc was clobbering BINDIR so sendmail was being installed in
...
/usr/sbin/ instead of /usr/libexec/sendmail/
Submitted by: bde
2000-10-13 16:51:05 +00:00
gshapiro
9feaadf365
Remove STARTTLS support as it breaks builds without crypto installed.
...
Waiting to hear back regarding the best way to do this.
2000-10-12 17:04:32 +00:00
peter
fcb6e94f11
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 +=.
2000-10-11 12:19:42 +00:00
gshapiro
e0b2de2c8f
Style fixes
2000-10-11 05:04:21 +00:00
gshapiro
e5336b1b20
NOCRYPT imples NO_OPENSSL.
...
Still need to solve the distribution problem.
Submitted by: kris
2000-10-11 03:35:32 +00:00
gshapiro
a8f95eb1e9
Build sendmail with STARTTLS support unless NO_OPENSSL is set.
2000-10-10 18:15:41 +00:00
gshapiro
1f7ac54fbd
Give users a way to alter the sendmail (and related utilities) build
...
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
gshapiro
07746c099a
Allow users to add libraries for sendmail (e.g. Cyrus SASL)
...
Obtained from: Sergei Vyshenski <svysh@pn.sinp.msu.ru>
2000-09-13 04:16:16 +00:00
gshapiro
34bd54827a
Turn on support for IPv6
2000-08-14 02:36:29 +00:00
gshapiro
eec2af9031
Get rid of the /etc/aliases -> /etc/mail/aliases hack. /etc/mail/aliases
...
now exists in the distribution.
2000-08-13 08:36:40 +00:00
gshapiro
002ef51d6e
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.
2000-08-12 22:39:25 +00:00
peter
37d997842b
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.
1999-12-29 18:56:55 +00:00
peter
fa91ef53d7
Install sendmail in it's new location.
1999-12-29 18:40:56 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
markm
76ab29871c
Enable tcp_wrapper support by default.
1999-03-28 10:55:03 +00:00
peter
82ea36d410
MaxHeaderLines is now MaxHeadersLength (in bytes)
1999-02-07 09:48:52 +00:00
peter
29bfcbeb8a
Support 'O MaxHeaderLines=' to override the default header count and line
...
length limits. The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
peter
893c597778
Update for 8.9.2 (new file, control.c)
...
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.
1999-01-12 12:47:54 +00:00