Bryan Drewery
ea825d0274
DIRDEPS_BUILD: Update dependencies.
...
Sponsored by: Dell EMC Isilon
2017-10-31 00:07:04 +00:00
Glen Barber
396953934d
Create a package for apm(8).
...
Sponsored by: The FreeBSD Foundation
2016-01-21 18:41:55 +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
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
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
Ed Schouten
6f344d60d5
Mark global functions and/or variables in apm(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:30 +00:00
Warner Losh
25faff346c
MFtbemd:
...
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
Ulrich Spörlein
e7b5f4d907
Garbage collect unused variable, missed in r200840
...
Found by: clang static analyzer
2010-05-19 08:52:59 +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
a13f319046
apm(8) is no longer linked to zzz(8), catch up.
...
(Fixes "zzz" clash in the whatis(1) database.)
2009-12-22 14:21:08 +00:00
Jung-uk Kim
71f99e637a
Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c and
...
install apm(8) and apm_bios.h on amd64.
2009-09-27 14:00:16 +00:00
Will Andrews
b3d2f94ea7
Make apm(8) understand AC Line state 2 as "backup power".
...
Submitted by: liamfoy@sepulcrum.org
2005-05-30 18:44:43 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
59a3c79da6
Sort sections.
2005-01-18 20:02:45 +00:00
Maxim Konovalov
74d8001c64
o Remove duplicate includes.
...
PR: bin/75712
Submitted by: brueffer
Obtained from: Dragonfly BSD
2005-01-01 22:07:06 +00:00
Ruslan Ermilov
07bfccd71e
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
Warner Losh
6084486fd6
Fix to not use 255, but instead use APM_UNKNOWN.
...
Compare things correctly against -1 or 0
Don't print any capabilities if unknown is returned from the kernel.
Reviewed/Submitted by: njl, Liam Foy
2004-06-30 21:00:07 +00:00
Maxime Henrion
55388cdd92
Remove a duplicated printf().
...
Submitted by: Niki Denev <nike_d@cytexbg.com>
2004-06-30 19:56:23 +00:00
Maxime Henrion
e15b31bb41
Tabs were accidentally lost in the last commit.
...
Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
2004-06-16 19:14:21 +00:00
Maxime Henrion
f47320845a
Factor out some duplicated code and fix some style(9) issues.
...
Submitted by: Liam J. Foy <liamfoy@sepulcrum.org>
2004-06-14 16:53:20 +00:00
Nate Lawson
a607c5e4cb
Check for >= 255 since sign extension from byte to u_int sometimes makes
...
the value for "unknown" 0xffffffff. The underlying kernel drivers should
be updated to only return 255 but the ABI is used by too many userland
utilities.
Also, make this WARNS 6 compatible.
2004-05-27 19:23:27 +00:00
Ruslan Ermilov
1fdc189947
Mark APM manpages as i386-only.
2004-01-21 13:38:17 +00:00
Nate Lawson
744543b92e
Remove the zzz files since they have been moved to src/usr.sbin/zzz
2003-07-14 16:32:45 +00:00
Nate Lawson
d1d7c86132
Change zzz to be a shell script that checks for APM or ACPI support and
...
suspends the system appropriately.
Submitted by: Mark Santcroos <marks@ripe.net>
2003-07-14 03:58:05 +00:00
Robert Watson
bc8aff4484
If mktime() or timegm() return -1, print out the resume timer value as
...
"unknown", rather than a conversion of -1 to a date/timestamp.
2003-07-13 20:06:41 +00:00
Ruslan Ermilov
f062eac425
Assorted mdoc(7) fixes.
...
Approved by: re (blanket)
2003-05-22 11:52:23 +00:00
Anton Berezin
711ccd049d
The -t flag in the retired apmconf.8 is the same as "-h false" in the
...
apm.8. Since the -t flag in the apm.8 is something different entirely,
the reference to -t was quite confusing. Fix that.
2003-05-01 14:19:00 +00:00
Maxim Konovalov
936690ebe4
Fix a typo: "Managment" -> "Management".
...
PR: bin/47343
Submitted by: Jeremy C. Reed <reed@reedmedia.net>
MFC after: 4 days
2003-04-24 09:16:01 +00:00
David E. O'Brien
052238b16c
style.Makefile(5)
2003-04-04 17:49:21 +00:00
Ruslan Ermilov
facc67676f
mdoc(7) police: Deal with self-xrefs.
2002-12-24 13:41:48 +00:00
Philippe Charnier
4cdb6a340b
Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter inside
...
err().
2002-10-15 16:28:21 +00:00
Warner Losh
ca551bcd21
Remove extra args to printf
...
use Capabilities rather than Capacities.
Submitted by: kkenn
2002-08-25 06:15:50 +00:00
Maxim Sobolev
c7daa47b0e
Don't dump all information about apm when only asked to enable/disable apm
...
functions (-e and -h switches). This should make apm(8) self-consistent, as
for example -d enable|disable doesn't dump such info.
MFC after: 5 days
2002-07-26 13:43:47 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Giorgos Keramidas
ae47752bd6
Minor grammar fix:
...
s/will be resume/will be resumed/
2002-03-08 12:48:05 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +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
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Ralf S. Engelschall
179e2bf1be
Add missing "delta" argument to description headline of "apm" -r option
...
to be consistent with descriptions of other options which take arguments.
2000-11-12 15:40:41 +00:00
Hajimu UMEMOTO
8ad6d022ca
Add output of per battery information to apm(1).
...
New ioctl APMIO_GETPWSTATUS is introduced.
Reviewed by: -mobile and -current folks (no objection)
2000-08-13 17:05:27 +00:00
Hajimu UMEMOTO
7e3809fd50
If caller have privilege to r/w access to /dev/apm, show the
...
info about resume timer and resume on ring indicator, again.
Reviewed by: imp
2000-08-04 20:57:31 +00:00
Nick Sayer
a19fdb8f27
apm -d also needs a writable file descriptor.
2000-07-23 04:49:43 +00:00