Baptiste Daroussin
b37b09244c
Replace usage of fparselen(3) by a getline(3)
...
This allow to remove the dependency on libutil
2017-12-14 08:57:37 +00:00
Pedro F. Giffuni
1de7b4b805
various: general adoption of SPDX licensing ID tags.
...
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
No functional change intended.
2017-11-27 15:37:16 +00:00
Bryan Drewery
ea825d0274
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
Rodney W. Grimes
ce9f2d31b3
Convert absolute links to relative links.
...
Style.Makefile(9) has been ignored to produce minimal diffs.
Approved by: grehan (mentor)
MFC after: 1 week
2017-03-07 05:10:38 +00:00
Enji Cooper
64a0982bee
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
...
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
2017-03-04 11:38:03 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
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
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Baptiste Daroussin
c6db8143ed
Convert usr.sbin to LIBADD
...
Reduce overlinking
2014-11-25 16:57:27 +00:00
Simon J. Gerraty
9268022b74
Merge from head@274682
2014-11-19 01:07:58 +00:00
Baptiste Daroussin
24ed0a5759
Allow mailwrapper to use mailer.conf from localbase (respecting LOCALBASE env var if set)
...
Phabric: https://reviews.freebsd.org/D412
Reviewed by: bdrewery
MFC after: 2 weeks
Relnotes: yes
2014-08-26 22:20:02 +00:00
Simon J. Gerraty
ee7b0571c2
Merge head from 7/28
2014-08-19 06:50:54 +00:00
Baptiste Daroussin
01c2b8ac0d
use .Mt to mark up email addresses consistently (part2)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:57:27 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Mark Murray
4f6fbcd5db
Create the /bin/rmail symlink (which mailers such as postfix
...
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.
2010-10-12 21:01:26 +00:00
Xin LI
ded7840825
Sync with OpenBSD:
...
- 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
2010-03-30 21:54:25 +00:00
Ed Schouten
71ccf09269
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
Ruslan Ermilov
bc84aa4ba3
Markup fixes.
2006-09-29 17:57:04 +00:00
Xin LI
49fe7301af
Update NetBSD and OpenBSD SCM tags to match the reality. Note that
...
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.
2006-08-07 10:29:18 +00:00
Xin LI
7e87aff9d5
Merge all applicable NetBSD and OpenBSD improvements over this manpage
...
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.
2006-08-07 10:22:08 +00:00
Xin LI
8fe1b8c03e
Cleanups for mailwrapper(8):
...
- 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)
2006-06-06 05:01:12 +00:00
Ruslan Ermilov
e1fe3dba5c
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
Ruslan Ermilov
a5d15979f2
Replaced afterinstall: with FILES.
2004-10-18 17:20:29 +00:00
Ruslan Ermilov
07bfccd71e
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
Johan Karlsson
ef271e5858
Do not install SYMLINKS if both NO_MAILWRAPPER and
...
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
2004-01-17 23:58:23 +00:00
Philippe Charnier
54ede02d10
add FBSDID
2003-07-06 12:44:11 +00:00
Ruslan Ermilov
ace5be682d
mdoc(7) police: Scheduled sweep.
2003-02-24 22:53:26 +00:00
Gregory Neil Shapiro
26085e0d27
Give more information to users replacing sendmail regarding periodic's
...
submit mail queue check.
PR: docs/38924
2003-02-08 21:39:58 +00:00
Ruslan Ermilov
d2893b161b
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
Peter Wemm
2632dac829
If NO_MAILWRAPPER is set, and sendmail is still enabled, then install
...
a direct symlink to sendmail.
2002-07-24 22:17:22 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Alfred Perlstein
d89167b4ea
de-__P()
2002-07-11 18:31:16 +00:00
Gregory Neil Shapiro
5bcd1d05cf
Add the missing hoststat and purgestat commands. These are normally
...
symlinks to the sendmail binary but in FreeBSD's case, they are
symlinks to mailwrapper.
Submitted by: tisco
MFC after: 4 days
2002-04-05 04:25:14 +00:00
Dima Dorfman
8c37834db2
Don't free memory that was never allocated. This fixes a core dump in
...
the case where both the config file and the default MTA don't exist.
PR: 29521
Submitted by: marius@alchemy.franken.de
2001-08-09 06:20:18 +00:00
David E. O'Brien
90e655ea4e
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
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Paul Richards
57b6c4a55a
You can't free a string and then use it as the error message to
...
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.
2001-06-04 04:22:57 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Ben Smithurst
76a06f8483
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
Tim Vanderhoek
0e61e4dd08
Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
...
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.
2000-06-04 01:20:58 +00:00
Philippe Charnier
39e80db3db
Do not add progname in err() strings, it will be printed twice
2000-05-28 15:02:26 +00:00
Sheldon Hearn
fd4f9bafc3
Replace the inappropriate use of .Nx (netBSD) with a more generalized
...
.Ux (UNIX) as is appropriate in the context used.
PR: 17954
Submitted by: Brian Handy <handy@physics.montana.edu>
2000-04-14 09:57:56 +00:00
Sheldon Hearn
f2e366a105
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00