aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
Commit message (Collapse)AuthorAgeFilesLines
* Update Makefile.depend filesSimon J. Gerraty2024-10-141-0/+2
| | | | | | | After building packages we have a number of new and updated Makefile.depend files Reviewed by: stevek
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* usr.sbin: Remove ancient SCCS tags.Warner Losh2023-11-271-2/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-5/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* Remove $FreeBSD$: one-line bare tagWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-163-6/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-124-4/+4
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Stop linking to libl by specifying we do not need yywrapBaptiste Daroussin2019-09-102-2/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=352121
* Move apmd.conf to CONFS in usr.sbin/apmd which simplifies this nicely.Brad Davis2018-07-262-0/+56
| | | | | | | | Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D16431 Notes: svn path=/head/; revision=336743
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-274-0/+8
| | | | | | | | | | | | | | | | | 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=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* It seems <sys/types.h> is a new prerequisite for <bitstring.h> afterPeter Wemm2016-05-243-1/+3
| | | | | | | r300539. Attempt to fix the build for i386. Notes: svn path=/head/; revision=300557
* MFHGlen Barber2016-03-021-6/+0
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-6/+0
| | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | Create a package for apm(8).Glen Barber2016-01-211-0/+2
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294527
* META_MODE: Remove DEP_MACHINE from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288228
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.Bryan Drewery2015-09-251-2/+0
| | | | | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288226
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-191-8/+8
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * \ Merge from headSimon J. Gerraty2013-09-051-4/+4
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * \ \ Sync from headSimon J. Gerraty2012-11-041-3/+3
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-8/+8
| |_|/ |/| | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* | | Improve compatibility with recent flex from flex.sourceforge.net.Jung-uk Kim2013-05-031-4/+4
| |/ |/| | | | | Notes: svn path=/head/; revision=250227
* | mdoc: avoid nested displays. Fixes mandoc warnings.Joel Dahl2012-06-131-3/+3
|/ | | | Notes: svn path=/head/; revision=237015
* mdoc: correct .Bd/.Bl arguments.Joel Dahl2012-03-261-1/+1
| | | | | | | Reviewed by: brueffer Notes: svn path=/head/; revision=233522
* Don't generate input() since it's not used.Rebecca Cran2010-11-221-0/+1
| | | | Notes: svn path=/head/; revision=215676
* Remove extraneous Aq.Joel Dahl2010-11-071-1/+1
| | | | Notes: svn path=/head/; revision=214907
* mdoc: drop even more redundant .Pp callsUlrich Spörlein2010-10-191-2/+0
| | | | | | | | | No change in rendered output, less mandoc lint warnings. Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp Notes: svn path=/head/; revision=214054
* For consistency, cast result of getpid() to longKevin Lo2010-08-311-1/+1
| | | | Notes: svn path=/head/; revision=212048
* - Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)Ulrich Spörlein2010-05-193-23/+11
| | | | | | | | | | | | | | might be true on some systems [1] - Rewrite gotos to use return directly - Some spelling fixes - Reduce unneeded/non-standard Makefile settings Requested by: bde, imp [1] Explanation provided by: bde [1] Reviewed by: imp Notes: svn path=/head/; revision=208289
* Sync apmd(8) with DragonflyBSD, bringing WARNS to 3Ulrich Spörlein2010-05-146-40/+68
| | | | | | | Reviewed by: ed (partial, long time ago) Notes: svn path=/head/; revision=208075
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* getopt(3) returns -1, not EOF when out of args.Kevin Lo2007-02-052-2/+2
| | | | Notes: svn path=/head/; revision=166509
* POWERSTATECHANGE was misspelled.Matthew N. Dodd2005-03-241-1/+1
| | | | Notes: svn path=/head/; revision=144043
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Fixed formatting in the AUTHORS section.Ruslan Ermilov2005-01-181-0/+1
| | | | Notes: svn path=/head/; revision=140443
* Sort sections.Ruslan Ermilov2005-01-181-11/+11
| | | | Notes: svn path=/head/; revision=140442
* Eliminated double whitespace.Ruslan Ermilov2004-07-031-1/+1
| | | | Notes: svn path=/head/; revision=131531
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-7/+14
| | | | Notes: svn path=/head/; revision=131500
* Mark APM manpages as i386-only.Ruslan Ermilov2004-01-212-1/+2
| | | | Notes: svn path=/head/; revision=124786
* Use separate events for resume from standby and suspend in the apm(4)Nate Lawson2003-12-301-3/+7
| | | | | | | | | case so that if devices need different initialization, we can key off this in the rc scripts (currently unused). Also update the man page which is a 100% duplicate of the rc scripts. Notes: svn path=/head/; revision=124003
* - Set close on exec flag for device file descriptors.Matthew N. Dodd2003-06-221-0/+11
| | | | | | | | | | - Reset signal handlers in event_cmd_exec_act(). PR: i386/35182 Submitted by: Daniel O'Connor <darius@dons.net.au> Notes: svn path=/head/; revision=116668
* - Don't ignore SIGTERM.Matthew N. Dodd2003-06-222-4/+20
| | | | | | | | | | | - Add a command line switch to trigger POWERSTATECHANGE actions on un-reported power state changes. PR: i386/32251 Submitted by: Walter C. Pelissero <walter@pelissero.org> Notes: svn path=/head/; revision=116666
* o BATTTIME and BATTPERCENT are 'int' not 'str'.Maxim Konovalov2003-06-161-1/+1
| | | | | | | | | PR: bin/48793 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> MFC after: 2 week Notes: svn path=/head/; revision=116442