330449 |
05-Mar-2018 |
eadler |
MFC r326276:
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. |
319119 |
29-May-2017 |
ngie |
MFC r314659,r314676:
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 |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302206 |
26-Jun-2016 |
asomers |
Skip lastcomm and sa tests on unsupported architectures
usr.bin/lastcom/tests/Makefile usr.sbin/sa/tests/Makefile Set allow_architectures appropriately. These tests depend on golden files that must be generated for each architecture, and haven't yet been generated for all of them.
PR: 210566 PR: 204154 Reviewed by: ngie Approved by: re (gjb) MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D6960
|
299094 |
04-May-2016 |
ngie |
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed after r298107
Summary of changes:
- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)
Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info.
MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
296587 |
09-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Connect MK_TESTS.
Sponsored by: EMC / Isilon Storage Division
|
289172 |
12-Oct-2015 |
ngie |
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
|
284345 |
13-Jun-2015 |
sjg |
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
|
277860 |
28-Jan-2015 |
dim |
Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:
usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual] key.data = (void*)&VERSION_KEY; ^ usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const qualifier [-Werror,-Wcast-qual] key.data = (void*)&VERSION_KEY; ^
Replace the VERSION_KEY define with a writable char array, so no const qualifier needs to be dropped anymore.
Submitted by: rdivacky
|
267668 |
20-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part2)
PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
|
265420 |
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
263226 |
16-Mar-2014 |
jmmv |
Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately.
To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
|
228681 |
18-Dec-2011 |
dim |
In usr.sbin/sa/db.c, avoid warnings about assigning two const char arrays to non-const void pointers, by casting away const explicitly.
MFC after: 1 week
|
208028 |
13-May-2010 |
uqs |
mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run Reviewed by: ru
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
201227 |
29-Dec-2009 |
ed |
ANSIfy almost all applications that use WARNS=6.
I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
|
176433 |
21-Feb-2008 |
grog |
Ensure that the -s flag truncates the accounting data.
This problem has only been reported on the amd64 platform.
PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks
|
173711 |
17-Nov-2007 |
jb |
Fix a compiler warning by using a printf format matching the variable type.
|
169863 |
22-May-2007 |
dds |
Set .PATH before referring to the corresponding sources.
|
169857 |
22-May-2007 |
dds |
Increase precision of time values in the process accounting structure, while maintaining backward compatibility with legacy file and record formats.
|
169670 |
18-May-2007 |
dds |
Add -U and -P options that allow the specification of the per-user and per-process summary file location. These make the program more flexible, and also make it possible to write sane regression tests.
|
168456 |
07-Apr-2007 |
dds |
Fix the output of percentage figures, which mistakenly were the corresponding ratios.
PR: bin/111329 MFC after: 10 days
|
141851 |
13-Feb-2005 |
ru |
Expand contractions.
|
141638 |
10-Feb-2005 |
delphij |
Full modernize cleanup: - De-__P() - constify where appropriate - ANSI functions instead of K&R
Pointed out by: stefanf
|
141603 |
10-Feb-2005 |
delphij |
Code cleanup: - Prefer modern declaration of functions - WARNS?= 4 -> 6
|
140442 |
18-Jan-2005 |
ru |
Sort sections.
|
140368 |
17-Jan-2005 |
ru |
Added the EXIT STATUS section where appropriate.
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
124830 |
22-Jan-2004 |
grehan |
Userland signed char fixes for PPC build. Problems were using a char return for getopt() and comparing to -1, ditto with fgetc() and EOF, and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> Reviewed by: obrien, bde (a while back) Tested lightly on: ppc, i386, make universe
|
114601 |
03-May-2003 |
obrien |
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
|
113091 |
04-Apr-2003 |
obrien |
style.Makefile(5)
|
100107 |
15-Jul-2002 |
des |
Get rid of %qd, and unbreak Alpha build.
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
99829 |
11-Jul-2002 |
alfred |
WARNS=4, de-__P()
|
90878 |
19-Feb-2002 |
imp |
Fixed divots that I created when I moved prototypes of group_from_gid and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone Pointy hat to: imp
|
81687 |
15-Aug-2001 |
ru |
mdoc(7) police: utilize the new .Ex macro.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
72091 |
06-Feb-2001 |
asmodai |
Fix typo: seperate -> separate.
Seperate does not exist in the english language.
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
67642 |
26-Oct-2000 |
gallatin |
fix unaligned access errors by copying untyped data to properly aligned locals PR: alpha/13912 obtained from: NetBSD tested by: Marcin Gryszkalis <dagoon@rs.math.uni.lodz.pl>
|
61089 |
30-May-2000 |
ghelmer |
Adjust the width of the first column in output from "sa -m" to match the max length of user names.
PR: bin/10905 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
|
56783 |
29-Jan-2000 |
chris |
Grammar fix: ``Different than'' should really be ``different from''.
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49455 |
06-Aug-1999 |
bde |
Fixed printf format errors. One of them fixes the garbage output for sa -km reported in the PR.
PR: 4582
|
47416 |
22-May-1999 |
jmz |
Initialize exit code so that the program exits with code 0 on success.
PR: bin/10904 Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
|
34809 |
23-Mar-1998 |
charnier |
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
|
30425 |
15-Oct-1997 |
charnier |
Add usage().
|
22997 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21880 |
20-Jan-1997 |
wosch |
Sort cross references.
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
18718 |
05-Oct-1996 |
wosch |
delete doubled words, e.g.: "the the" -> "the"
|
15082 |
07-Apr-1996 |
mpp |
Correct some man page cross references and file location references.
|
13558 |
22-Jan-1996 |
mpp |
Fix the -t option so that its output matches what the man page says it prints. Also silence a few "cc -Wall" warnings.
|
8857 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
3128 |
26-Sep-1994 |
dg |
Local changes - manual page extension, and minor man page changes
|
3126 |
26-Sep-1994 |
dg |
This commit was generated by cvs2svn to compensate for changes in r3125, which included commits to RCS files with non-trunk default branches.
|