diff options
author | lukem <lukem@pkgsrc.org> | 2002-12-31 22:47:05 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2002-12-31 22:47:05 +0000 |
commit | c81681ad85ae55338152c65e96b9b0b7c3e7d8e3 (patch) | |
tree | 80515157499c92fbbc2a14bfb32a719ea39a25a3 /sysutils/ups-nut/Makefile | |
parent | 831fb6d83e7a2fd7f0d4183bf811ea8e25722b6c (diff) | |
download | pkgsrc-c81681ad85ae55338152c65e96b9b0b7c3e7d8e3.tar.gz |
Convert back to supporting INFO_RUNTIME instead of INFO_BATT_RUNTIME.
I *really* dislike how newapc changed from supporting INFO_RUNTIME
(runtime in minutes, which is what the UPS actually reports) to
INFO_BATT_RUNTIME (runtime in seconds, which is UPS result * 60),
because the latter is much less useful as a realistic guess (IMHO),
and because this broke my upslog format and ups monitoring stuff
that used '%VAR runtime'.
(Unfortunately, newapc is written in a way which precludes supporting
multiple results from the same 'UPS status code' (in this case
`j'), so we can't support both results at this time. I decided
that INFO_RUNTIME is more useful, because '81' (minutes) is easier
to "use" than '4860' (seconds))
Diffstat (limited to 'sysutils/ups-nut/Makefile')
-rw-r--r-- | sysutils/ups-nut/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/ups-nut/Makefile b/sysutils/ups-nut/Makefile index 5253b6e8e5a..5f7cb4822bb 100644 --- a/sysutils/ups-nut/Makefile +++ b/sysutils/ups-nut/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.25 2002/12/13 04:23:17 lukem Exp $ +# $NetBSD: Makefile,v 1.26 2002/12/31 22:47:05 lukem Exp $ # DISTNAME= nut-1.2.1 PKGNAME= ups-nut-1.2.1 +PKGREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.exploits.org/nut/release/1.2/ |