Subject: CVS commit: pkgsrc/sysutils/ups-nut
From: Luke Mewburn
Date: 2002-12-31 23:47:07
Message id: 20021231224707.DCF99B42C@cvs.netbsd.org

Log Message:
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))

Files:
RevisionActionfile
1.26modifypkgsrc/sysutils/ups-nut/Makefile
1.17modifypkgsrc/sysutils/ups-nut/distinfo
1.5addpkgsrc/sysutils/ups-nut/patches/patch-af
1.7addpkgsrc/sysutils/ups-nut/patches/patch-ag