Subject: CVS commit: pkgsrc/sysutils/ups-nut
To: None <pkgsrc-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: pkgsrc-changes
Date: 01/01/2003 00:47:07
Module Name:	pkgsrc
Committed By:	lukem
Date:		Tue Dec 31 22:47:07 UTC 2002

Modified Files:
	pkgsrc/sysutils/ups-nut: Makefile distinfo
Added Files:
	pkgsrc/sysutils/ups-nut/patches: patch-af patch-ag

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))


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 pkgsrc/sysutils/ups-nut/Makefile
cvs rdiff -r1.16 -r1.17 pkgsrc/sysutils/ups-nut/distinfo
cvs rdiff -r0 -r1.5 pkgsrc/sysutils/ups-nut/patches/patch-af
cvs rdiff -r0 -r1.7 pkgsrc/sysutils/ups-nut/patches/patch-ag

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.