summaryrefslogtreecommitdiff
path: root/libexec/bootpd/tools
AgeCommit message (Collapse)Author
2025-01-26bootptest: Fix a typo in a source code commentGordon Bergling
- s/tralier/trailer/ MFC after: 3 days
2023-08-16Remove $FreeBSD$: one-line bare tagWarner Losh
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16Remove $FreeBSD$: one-line nroff patternWarner Losh
Remove /^\.\\"\s*\$FreeBSD\$$\n/
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-08-16Remove $FreeBSD$: one-line .c comment patternWarner Losh
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
2023-08-16Remove $FreeBSD$: two-line .h patternWarner Losh
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
2023-04-18Update/fix Makefile.depend for userlandSimon J. Gerraty
2023-04-18bootpd: Use C89 function definitions.John Baldwin
Trim a few duplicate (but incomplete) function prototypes as well. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39520
2022-09-15bootptest: Fix a typo in a source code commentGordon Bergling
- s/avaible/available/ MFC after: 3 days
2021-09-30bootp: remove the USE_BFUNCS knobKyle Evans
We'd likely be better served by converting these to the equivalent mem* calls, but just kill the knob for now. The b* macros being defined get in the way of _FORTIFY_SOURCE. Reviewed by: imp, markj Differential Revision: https://reviews.freebsd.org/D32235
2019-07-19Chain Makefile.inc's so default are inherited as expected.Brooks Davis
Remove unneeded or duplicate variables. No functional change. Obtained from: CheriBSD MFC after: 1 week Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=350143
2017-11-27libexec: adoption of SPDX licensing ID tags.Pedro F. Giffuni
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. Notes: svn path=/head/; revision=326274
2017-10-31DIRDEPS_BUILD: Update dependencies.Bryan Drewery
Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
2017-03-26Emply contemporary function prototypes in bootpd, rather than relying onRobert Watson
locally defined K&R prototypes in .c files; use appropriate casts for pointer types now that types for arguments are available at compile time. This ensures that compilers with multiple incompatible calling conventions can select the correct calling convention for external functions. Sponsored by: DARPA, AFRL MFC after: 1 week Notes: svn path=/head/; revision=315987
2016-04-12bootpd(8): De-register and minor cleanups.Pedro F. Giffuni
For bootptest(8) also remuve an unused variable and replace 0 with a NULL for a pointer. Notes: svn path=/head/; revision=297865
2015-06-13Add META_MODE support.Simon J. Gerraty
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 Notes: svn path=/head/; revision=284345
2015-06-08dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=284172
2014-08-19Merge head from 7/28Simon J. Gerraty
Notes: svn path=/projects/bmake/; revision=270164
2014-06-20use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin
PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
2014-05-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=266219
2014-05-10Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265802
2014-04-28Merge headSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=265044
2014-03-13Re-format the license to conform to our BSD license template as muchChristian Brueffer
as possible. This does not change the wording in any way. Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. While the clause itself mentions Lawrence Berkeley Laboratory, UCB is the sole copyright holder of this file. Reviewed by: imp, emaste, eadler MFC after: 2 weeks Notes: svn path=/head/; revision=263121
2013-03-11Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=248169
2013-02-16Updated dependenciesSimon J. Gerraty
Notes: svn path=/projects/bmake/; revision=246868
2012-08-22Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar
Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
2012-01-07Spelling fixes for libexec/Ulrich Spörlein
Notes: svn path=/head/; revision=229780
2011-12-16In libexec/bootpd/tools/bootptest/print-bootp.c, use the correct printfDimitry Andric
length modifier for the difference between two pointers. MFC after: 1 week Notes: svn path=/head/; revision=228584
2010-01-02Make WARNS=6 the default for libexec/.Ed Schouten
Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
2005-01-18Sort sections.Ruslan Ermilov
Notes: svn path=/head/; revision=140414
2003-02-05Add FBSDID. udp/bootps -> bootps/udp. Use err(3).Philippe Charnier
Notes: svn path=/head/; revision=110395
2002-07-06The .Nm utilityPhilippe Charnier
Notes: svn path=/head/; revision=99500
2002-05-28Assume __STDC__, remove non-__STDC__ code. ↵Alfred Perlstein
Remove private __P. Notes: svn path=/head/; revision=97419
2001-09-29Avoid a few compiler warnings (printf codes, missing includes etc).Ian Dowse
PR: bin/30864 Obtained from: Dan Lukes <dan@obluda.cz> MFC after: 1 week Notes: svn path=/head/; revision=84125
2001-03-26- Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov
- MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
2001-03-20Set the default manual section for libexec/ to 8.Ruslan Ermilov
Notes: svn path=/head/; revision=74529
2001-01-16man(7) -> mdoc(7).Ruslan Ermilov
Notes: svn path=/head/; revision=71112
1999-08-28Add $FreeBSD$ lines to man pages that are missing them to make itMike Pritchard
easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=50533
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
Notes: svn path=/head/; revision=50476
1999-04-25More egcs warning fixes:Warner Losh
o main returns int not void o use return 0 at end of main when needed o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). Reviewed by: obrien and chuckr Notes: svn path=/head/; revision=46078
1997-12-24Use snprintf rather than printf out of paranoiaWarner Losh
Obtained from: OpenBSD Notes: svn path=/head/; revision=31971
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
Notes: svn path=/head/; revision=22989
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
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. Notes: svn path=/head/; revision=21673
1996-12-10Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadGarrett Wollman
do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. Notes: svn path=/head/; revision=20287
1996-09-22add forgotten $Id$Wolfram Schneider
Notes: svn path=/head/; revision=18471
1996-01-23Import bootpd-2.4.3 from ftp.mc.comPaul Traina
Notes: svn path=/cvs2svn/branches/MC/; revision=13572
1995-09-28Fix SRCS (.c's were .o's) so that `make depend' works.Bruce Evans
Notes: svn path=/head/; revision=11050
1995-05-30Remove trailing whitespace.Rodney W. Grimes
Notes: svn path=/head/; revision=8870