aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sendmail
Commit message (Collapse)AuthorAgeFilesLines
* Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for detailsGregory Neil Shapiro2020-07-151-2/+2
|\ | | | | | | | | | | | | | | | | Includes build infrastructure & config updates required for changes in 8.16.1 MFC after: 5 days Notes: svn path=/head/; revision=363233
| * Import sendmail-8.9.1 (slightly trimmed) onto a fresh branch undervendor/sendmail/8.9.1Peter Wemm1998-08-03249-96347/+0
| | | | | | | | | | | | | | | | | | src/contrib as per various discussions. I will copy across our changes and then point the Makefiles across once the dust has settled.. Notes: svn path=/vendor/sendmail/dist/; revision=38032 svn path=/vendor/sendmail/8.9.1/; revision=38034; tag=vendor/sendmail/8.9.1
* | Update Makefile.depend filesSimon J. Gerraty2019-12-111-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* | Add Makefile.depend.optionsSimon J. Gerraty2019-12-111-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc can be set in local.dirdeps-options.mk which can add to those set in Makefile.depend.options See share/mk/dirdeps-options.mk Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469 Notes: svn path=/head/; revision=355616
* | DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | | | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* | usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-2/+2
| | | | | | | | | | | | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314659
* | Conditionalize wrap(3) use based on MK_TCP_WRAPPERS instead ofEnji Cooper2017-01-061-2/+7
| | | | | | | | | | | | | | | | | | always building support into sendmail. MFC after: 2 weeks Notes: svn path=/head/; revision=311471
* | MFHGlen Barber2016-03-021-80/+0
|\ \ | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * | DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-80/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | | Create a package for sendmail(8).Glen Barber2016-02-081-0/+1
|/ / | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295403
* | Use LIBEXECDIR for /usr/libexec.Bryan Drewery2015-11-261-1/+1
| | | | | | | | | | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291348
* | META MODE: Don't create .meta files when symlinking sources into the obj ↵Bryan Drewery2015-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=291320
* | Temporarily disable WARNS while addressing a non-issue with the upstream codeGregory Neil Shapiro2015-07-071-1/+1
| | | | | | | | Notes: svn path=/head/; revision=285225
* | Add META_MODE support.Simon J. Gerraty2015-06-131-0/+106
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * | dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * | Merge sync of headSimon J. Gerraty2015-05-271-13/+2
| |\ \ | |/ / |/| | | | | Notes: svn path=/projects/bmake/; revision=283595
| * | Merge from head@274682Simon J. Gerraty2014-11-191-2/+0
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ \ Merge head from 7/28Simon J. Gerraty2014-08-191-1/+3
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | | Updated dependenciesSimon J. Gerraty2014-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ \ \ sync from headSimon J. Gerraty2013-04-121-5/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=249429
| * | | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-13/+2
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | | | | Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+0
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=270168
* | | | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] Notes: svn path=/head/; revision=267233
* | | | | When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS andWarner Losh2014-06-061-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=267147
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |/ / |/| | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | Since clang 3.2 now has an option to suppress warnings about implicitlyDimitry Andric2013-02-161-5/+0
|/ / | | | | | | | | | | | | | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week Notes: svn path=/head/; revision=246880
* | Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, toDimitry Andric2012-02-281-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=232263
* | Unfortunately, clang gives warnings about sendmail code that cannot beDimitry Andric2011-12-191-0/+7
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=228707
* | Lower WARNS for sendmail.Ed Schouten2010-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=201433
* | The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | | Notes: svn path=/head/; revision=201390
* | This FFR is no longer needed in sendmail 8.14Gregory Neil Shapiro2007-04-091-1/+1
| | | | | | | | Notes: svn path=/head/; revision=168522
* | Catch up with share/mk/bsd.sys.mk rev. 1.38.David E. O'Brien2006-09-261-1/+0
| | | | | | | | Notes: svn path=/head/; revision=162646
* | Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=156813
* | Make links for hoststat(8) and purgestat(8) man pages.Gregory Neil Shapiro2005-08-171-0/+2
| | | | | | | | | | | | | | | | PR: docs/85009 MFC after: 3 days Notes: svn path=/head/; revision=149174
* | Remove kludges intended to support src trees with partial obj trees.Dag-Erling Smørgrav2005-06-101-12/+4
| | | | | | | | | | | | | | Discussed with: ru Notes: svn path=/head/; revision=147225
* | NOINET6 -> NO_INET6Ruslan Ermilov2004-12-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=139115
* | NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | | | | | Notes: svn path=/head/; revision=139113
* | Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.Gregory Neil Shapiro2004-12-101-1/+1
| | | | | | | | | | | | | | | | PR: bin/73105 MFC after: 2 days Notes: svn path=/head/; revision=138670
* | Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.Bjoern A. Zeeb2004-11-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=137675
* | Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-08-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=133196
* | Reflect changes in sendmail 8.13 source treeGregory Neil Shapiro2004-08-011-4/+4
| | | | | | | | Notes: svn path=/head/; revision=132947
* | Honor NOINET6 and disable IPv6 support in libmilter and sendmail if itGregory Neil Shapiro2004-06-011-1/+5
| | | | | | | | | | | | | | | | | | is set. MFC after: 4 days Notes: svn path=/head/; revision=129912
* | Don't check for the existance of src/crypto/ for building items thatMark Murray2003-07-241-2/+1
| | | | | | | | | | | | | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient. Notes: svn path=/head/; revision=117978
* | Remove MAINTAINER= lines from individual Makefiles in favor of theGregory Neil Shapiro2003-07-071-2/+0
| | | | | | | | | | | | | | MAINTAINER file (which already had entries for sendmail). Notes: svn path=/head/; revision=117299
* | CSTD=c89 due to mismatched declarations.David E. O'Brien2003-06-021-0/+1
| | | | | | | | Notes: svn path=/head/; revision=115662
* | Retire the useless NOSECURE knob.Dag-Erling Smørgrav2003-05-191-3/+2
| | | | | | | | | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=115157