summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mailwrapper
Commit message (Collapse)AuthorAgeFilesLines
* MFC r314659,r314676:ngie2017-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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 r314833rgrimes2017-05-281-7/+7
| | | | | | | | | | | | | | | | | | | | | Convert absolute links to relative links. Style.Makefile(9) has been ignored to produce minimal diffs. MFC r314837 The relative symlink fix causes downstream issues for EMC DELL Isilon so revert the relative symlink fix pending a better solution. Reported by: ngie MFC r315091 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found as it appears to break arm release builds. PR: 217705 Reported by: cyclaero@gmail.com Approved by: grehan (mentor)
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | 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-2/+1
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-5/+20
| |\
| * \ Merge head from 7/28sjg2014-08-191-1/+1
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-1/+1
| |\ \ \
| * | | | 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/+20
| | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | Reduce overlinking
* | | | Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE ↵bapt2014-08-262-5/+20
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | env var if set) Phabric: https://reviews.freebsd.org/D412 Reviewed by: bdrewery MFC after: 2 weeks Relnotes: yes
* | | use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
| |/ |/| | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
|/ | | | from the latter.
* Create the /bin/rmail symlink (which mailers such as postfixmarkm2010-10-121-0/+4
| | | | | | | | | and Exim can use). This is something I thought I committed MONTHS ago, but it appears that I fatfingered it and made a local commit. Pass the pointy hat, please.
* Sync with OpenBSD:delphij2010-03-302-6/+5
| | | | | | | | | - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD MFC after: 1 month
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-1/+0
|
* Markup fixes.ru2006-09-291-3/+1
|
* Update NetBSD and OpenBSD SCM tags to match the reality. Note thatdelphij2006-08-071-2/+2
| | | | | | NetBSD revisions 1.8 and 1.9 are not actually applied to our code base because we have solved the problem differently, therefore, these changes can be safely skipped.
* Merge all applicable NetBSD and OpenBSD improvements over this manpagedelphij2006-08-071-9/+11
| | | | | | | | | | till NetBSD mailwrapper.8,v 1.11 and OpenBSD mailwrapper.8,v 1.8: - Separate exit status out from diagnostics section. - Fix typos. Obtained from: NetBSD, OpenBSD MFC After: Along with mailwrapper(8) updates.
* Cleanups for mailwrapper(8):delphij2006-06-062-69/+42
| | | | | | | | | | | | | | | - K&R -> ANSI prototype [O] - Do not bother to do free right before exit() or execve() [O] - Remove some dead code in addarg() - Make additional parameters specified in mailer.conf(5) actually work and document the fact. [N] - Avoid using __progname but instead use getprogname() and setprogname() to provide more sensible messages. [O, N] - Update $OpenBSD$ and $NetBSD$ to reflect the fact that we have sync'ed with their code. - WARNS=6 Obtained from/Inspired by: OpenBSD [O], NetBSD [N] (partially)
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-4/+6
| | | | | | | | 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)
* Replaced afterinstall: with FILES.ru2004-10-181-3/+3
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Do not install SYMLINKS if both NO_MAILWRAPPER andjohan2004-01-171-0/+2
| | | | | | | | | | NO_SENDMAIL is defined. PR: 57058 Reported by: Henri Hennebert <hlh@cocoon.cercle.be> Melvyn Sopacua on current@ Submitted by: ru@ MFC after: 2 weeks
* add FBSDIDcharnier2003-07-061-1/+3
|
* mdoc(7) police: Scheduled sweep.ru2003-02-241-1/+1
|
* Give more information to users replacing sendmail regarding periodic'sgshapiro2003-02-081-0/+11
| | | | | | submit mail queue check. PR: docs/38924
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-1/+1
| | | | | | for a long time now. Approved by: bde
* If NO_MAILWRAPPER is set, and sendmail is still enabled, then installpeter2002-07-241-0/+8
| | | | a direct symlink to sendmail.
* The .Nm utilitycharnier2002-07-141-3/+5
|
* de-__P()alfred2002-07-111-4/+4
|
* Add the missing hoststat and purgestat commands. These are normallygshapiro2002-04-051-0/+2
| | | | | | | | symlinks to the sendmail binary but in FreeBSD's case, they are symlinks to mailwrapper. Submitted by: tisco MFC after: 4 days
* Don't free memory that was never allocated. This fixes a core dump indd2001-08-091-1/+0
| | | | | | | the case where both the config file and the default MTA don't exist. PR: 29521 Submitted by: marius@alchemy.franken.de
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-2/+2
| | | | | 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.
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* You can't free a string and then use it as the error message topaul2001-06-041-1/+2
| | | | | | | errx. Instead use warn to print the string, then cleanup and exit normally. This fixes a core dump if the executable to be run doesn't exist.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* remove trailing periods from SEE ALSO.ben2000-11-151-1/+1
|
* Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. Thishoek2000-06-041-4/+4
| | | | | | | lets unprivileged installworld: almost work first try and always work second. BINOWN isn't quite right for this, but it's not really worth creating a MAILOWN for this.
* Do not add progname in err() strings, it will be printed twicecharnier2000-05-282-10/+9
|
* Replace the inappropriate use of .Nx (netBSD) with a more generalizedsheldonh2000-04-141-1/+1
| | | | | | | .Ux (UNIX) as is appropriate in the context used. PR: 17954 Submitted by: Brian Handy <handy@physics.montana.edu>
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-4/+8
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Merge from OpenBSD:imp2000-01-102-9/+31
| | | | | | | | | | | | o Realloc memory leak fixed which won't matter but would trigger purify o Default to sendmail when no mailer.conf exists. Fixed bugs in OpenBSD version: o Add NULL termination in the right place. Also put back the err. free shouldn't touch errno. Pointed out by: theo de raadt (except the NULL bug :-)
* Fix mysterious sendmail coredump on systems where malloc.conf pointed toimp2000-01-101-2/+4
| | | | | | | | | a string containign 'J'. o Properly terminate argv list with a NULL entry. o Use warn() to report the exec failure because free could change errno and err would report the wrong reason. o Don't terminate string to err with ':' since this results in two colons.
* /etc -> /etc/mailache1999-12-311-2/+2
|
OpenPOWER on IntegriCloud