Commit Graph

51 Commits

Author SHA1 Message Date
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
Baptiste Daroussin
f2164ae0fa Revert r286148 2015-08-01 10:40:17 +00:00
Baptiste Daroussin
f4e060d0f7 Handle +:*:: the same way we handle +::: when checking group file
The first is what the documentation recommands for NIS client
2015-08-01 08:39:55 +00:00
Baptiste Daroussin
e622418c5b Use strtoumax instead of strtoul 2015-08-01 08:35:20 +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
Dag-Erling Smørgrav
cc13f05d04 Clean up, reindent, add a special case for NIS / LDAP line
MFC after:	1 week
2014-12-14 16:17:48 +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
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
David E. O'Brien
d9a447559b Sync with HEAD. 2013-02-08 16:10:16 +00:00
Eitan Adler
c7cdc97f53 This wasn't supposed to be in there - I committed the wrong patch.
Approved by: cperciva (implicit)
2012-11-15 15:21:58 +00:00
Eitan Adler
ce643be1ab Add support for a -q flag. While here make the custom argument parsing
use getopt instead of hacking on it more.  This change also fixes the
method of silencing the compiler warning about gfn being used
uninitialized.

Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:16:50 +00:00
Eitan Adler
c71c7ce71a Be declarative about if an error has occured.
Fixes overflow on very large group files with lots of errors. This is
unlikely to occur in practice.

Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:24 +00:00
Eitan Adler
93b4da8a2a Fix error code if file isn't readable.
Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:06 +00:00
Eitan Adler
2ad87454e2 Check the range of the gid
Approved by:	cperciva
MFC after:	1 week
2012-11-15 15:06:03 +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
Ulrich Spörlein
f76b319989 Reencode files to UTF-8. Drop CP1252 em-dash. 2011-12-30 00:59:08 +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
Colin Percival
a2c16fbcd0 Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on
certain corrupt files.

Submitted by:	liamfoy@dragonflybsd.org
Reported by:	Nikolay Kalev, via freebsd-current
MFC after:	3 days
2005-08-25 17:01:06 +00:00
Ollivier Robert
6553069018 The check for invalid characters introduced in 1.9 incorrectly
flags NIS entries as invalid.

MFC6 candidate

Submitted by:	Bob Willcox <bob@immure.com>
PR:		bin/82325 (but I used the patch from Bob).
2005-08-04 12:44:36 +00:00
Ruslan Ermilov
9d73fabda7 Markup fixes.
Approved by:	re (blanket)
2005-06-14 12:26:36 +00:00
Ollivier Robert
41b27a91a9 - Add further functionality to check for invalid characters
- Remove keyword 'continue' for more indepth error reporting
  on each line
- WARNS 6 Clean

Submitted by:	Liam J. Foy <liamfoy@dragonflybsd.org>
MFC after:	    1 week
2005-05-26 10:57:03 +00:00
Ruslan Ermilov
59a3c79da6 Sort sections. 2005-01-18 20:02:45 +00:00
Ruslan Ermilov
a866e17077 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
Dag-Erling Smørgrav
09e0653941 I don't normally use my middle name, so remove it from attributions in
man pages (though not from copyright notices).  While I'm here, add email
addresses where appropriate.
2004-01-25 11:39:42 +00:00
Peter Pentchev
f02cd7c7d0 Warn if there is no newline at the end of the group file.
PR:		51256
Submitted by:	Brian D Gallaway <bdg730@makserver0.usask.ca>
Reviewed by:	tjr, -audit
Approved by:	tjr
2003-06-06 07:10:39 +00:00
David E. O'Brien
b728350ee6 Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +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
Ruslan Ermilov
a4c37c816b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
Matt Jacob
9c7ef644aa Use correct type of argument to fgetln.
MFC after:	1 week
2001-07-03 21:40:34 +00:00
Dag-Erling Smørgrav
0afcb0871d Constify, staticize and add a missing include; add WARNS?=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
MFC after:	2 weeks
2001-06-24 12:38:28 +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
Ruslan Ermilov
b82f5db0ac Spell the des's name correctly. 2000-11-14 13:19:26 +00:00
Philippe Charnier
7f69f4fdb0 match prototype 2000-05-28 14:57:49 +00:00
Ruslan Ermilov
9e77ff8964 A little more cosmetics. 2000-03-24 08:36:39 +00:00
Ruslan Ermilov
0d01211b3a Remove redundant SRCS. 2000-03-23 16:41:45 +00:00
Ruslan Ermilov
a1bcd53e5d A bit of cleanup. 2000-03-23 16:40:42 +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
Philippe Charnier
934748224f add missing .El. 1999-10-17 15:46:58 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Dag-Erling Smørgrav
cf1414e15e Inserted missing .Bl in the FILES section.
Unknowingly pointed out by: Snob Art Genre <benedict@echonyc.com>
1998-07-14 07:55:27 +00:00
Dag-Erling Smørgrav
8422d3119c Add a FILES section which references /etc/group
Suggested by:	Masafumi NAKANE <max@wide.ad.jp>
1998-05-31 17:24:25 +00:00
Dag-Erling Smørgrav
068f8619d0 Typo police. '#ifndef lint' around CVS id. Don't use __progname in usage().
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1998-05-27 14:04:38 +00:00