summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314659,r314676:ngie2017-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | r314659: usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output r314676: Fix build after r314656 Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery
* MFC r311471:ngie2017-02-041-2/+7
| | | | | Conditionalize wrap(3) use based on MK_TCP_WRAPPERS instead of always building support into sendmail.
* MFHgjb2016-03-021-80/+0
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-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
* | Create a package for sendmail(8).gjb2016-02-081-0/+1
|/ | | | Sponsored by: The FreeBSD Foundation
* Use LIBEXECDIR for /usr/libexec.bdrewery2015-11-261-1/+1
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* META MODE: Don't create .meta files when symlinking sources into the obj ↵bdrewery2015-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
* Temporarily disable WARNS while addressing a non-issue with the upstream codegshapiro2015-07-071-1/+1
|
* Add META_MODE support.sjg2015-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
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-13/+2
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-2/+0
| |\
| * \ Merge head from 7/28sjg2014-08-191-1/+3
| |\ \
| * | | Updated dependenciessjg2014-05-161-0/+1
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * \ \ \ sync from headsjg2013-04-121-5/+0
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | |
| * | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | |
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Convert usr.sbin to LIBADDbapt2014-11-251-13/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | Reduce overlinking
* | | | | Revert r267233 for now. PIE support needs to be reworked.bdrewery2014-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
* | | | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-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]
* | | | When building picobsd, define WITHOUT_OPENSSL and WITHOUT_KERBEROS andimp2014-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.
* | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |/ |/| | | | | from the latter.
* | Since clang 3.2 now has an option to suppress warnings about implicitlydim2013-02-161-5/+0
|/ | | | | | | promoted K&R parameters, remove the workarounds added for sendmail components in r228558. MFC after: 1 week
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-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
* Unfortunately, clang gives warnings about sendmail code that cannot bedim2011-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
* Lower WARNS for sendmail.ed2010-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>
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* This FFR is no longer needed in sendmail 8.14gshapiro2007-04-091-1/+1
|
* Catch up with share/mk/bsd.sys.mk rev. 1.38.obrien2006-09-261-1/+0
|
* Reimplementation of world/kernel build options. For details, see:ru2006-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)
* Make links for hoststat(8) and purgestat(8) man pages.gshapiro2005-08-171-0/+2
| | | | | PR: docs/85009 MFC after: 3 days
* Remove kludges intended to support src trees with partial obj trees.des2005-06-101-12/+4
| | | | Discussed with: ru
* NOINET6 -> NO_INET6ru2004-12-211-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Enable _FFR_DEAL_WITH_ERROR_SSL to deal with OpenSSL error returns of 0.gshapiro2004-12-101-1/+1
| | | | | PR: bin/73105 MFC after: 2 days
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-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
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-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
* Reflect changes in sendmail 8.13 source treegshapiro2004-08-011-4/+4
|
* Honor NOINET6 and disable IPv6 support in libmilter and sendmail if itgshapiro2004-06-011-1/+5
| | | | | | is set. MFC after: 4 days
* Don't check for the existance of src/crypto/ for building items thatmarkm2003-07-241-2/+1
| | | | | may contain crypto. The days of ITAR paranoia are over, and the simple macro tests that remain are sufficient.
* Remove MAINTAINER= lines from individual Makefiles in favor of thegshapiro2003-07-071-2/+0
| | | | MAINTAINER file (which already had entries for sendmail).
* CSTD=c89 due to mismatched declarations.obrien2003-06-021-0/+1
|
* Retire the useless NOSECURE knob.des2003-05-191-3/+2
| | | | Approved by: re (scottl)
* style.Makefile(5)obrien2003-04-041-1/+1
|
* No need for the OPENSSL_NO_KRB5 switch anymore.markm2003-01-311-1/+0
| | | | Fixed by: nectar
* iAdjust for OpenSSL 0.9.7.markm2003-01-281-0/+1
|
* Update build infrastructure for sendmail 8.12.gshapiro2002-02-171-17/+27
| | | | | 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).
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-141-0/+1
|
OpenPOWER on IntegriCloud