Imported Upstream version 2.6.1

This commit is contained in:
Arnaud Quette 2011-06-01 22:31:49 +02:00
parent 459aaf9392
commit a367d9bc54
178 changed files with 4651 additions and 3279 deletions

388
ChangeLog
View file

@ -1,3 +1,391 @@
2011-06-01 Arnaud Quette <arnaud.quette@free.fr>
* [r3023] docs/download.txt: Add the missing SHA-256 sum on the
Download page / section
* [r3022] NEWS, UPGRADING, configure.in, docs/download.txt,
docs/website/news.txt: Final update for 2.6.1 release
* [r3021] docs/configure.txt: Update '--with-all' option
documentation
* [r3020] configure.in: HAL deprecation (continued): HAL support is
not enabled anymore when using '--with-all' configure option
* [r3019] drivers/mge-hid.c: Add support for 'battery.runtime.low'
* [r3018] data/cmdvartab: Add the missing entry for
'ups.efficiency'
* [r3017] data/driver.list.in: Add Vivaldi EA200 LED to the list of
richcomm_usb supported models (reported by Sergey Talchuk)
* [r3016] drivers/mge-hid.c: Add 'ups.efficiency' data, supported
by Eaton 5 PX
2011-05-31 Arnaud Quette <arnaud.quette@free.fr>
* [r3015] docs/nut-names.txt: Documentation the new
'ups.efficiency' NUT variable
* [r3014] data/driver.list.in: Add Eaton 5 PX to the list of
usbhid-ups, mge-shut and newmge-shut supported models
* [r3013] scripts/upower/95-upower-hid.rules: Update UPower script
with Phoenixtec fix
* [r3012] tools/nut-usbinfo.pl: Do not overwrite manufacturer names
with empty values
* [r3011] drivers/liebert-hid.c: Fix USB VendorID 0x06da, which is
Phoenixtec, not Liebert
* [r3010] docs/download.txt: Update Subversion access information,
following Alioth update
* [r3009] docs/download.txt, docs/website/news.txt: Add the Windows
Beta package information
2011-05-27 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r3008] scripts/upower/95-upower-hid.rules: Update upower script
with Powerware entry
* [r3006] drivers/blazer.c: Don't log status read failures until
MAXTRIES subsequent failures. Occasional communication errors are
common for these devices and are not a concern.
2011-05-26 Arnaud Quette <arnaud.quette@free.fr>
* [r3005] drivers/bcmxcp.c, drivers/bcmxcp_ser.c: Improve bcmxcp
support for older PowerWare 9315 (patch from Chris Adams)
2011-05-25 Arnaud Quette <arnaud.quette@free.fr>
* [r3002] server/netinstcmd.c: Fix the missing 'extra value'
handling for instant commands
2011-05-24 msoltyspl-guest
* [r2997] drivers/apcsmart.c: apcmsart.c: fix
upsdrv_shutdown_advanced() - with 'continue' statement, sdcmd_*s
ignoring 'n' weren't called.
2011-05-20 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2994] drivers/blazer_usb.c: Don't use the USB_DEVICE()
declaration macro with non compliant identifiers, such as
blazer_usb' krauler subdriver (missing from previous commit)
2011-05-20 Arnaud Quette <arnaud.quette@free.fr>
* [r2993] drivers/blazer_usb.c, drivers/usb-common.h: Don't use the
USB_DEVICE() declaration macro with non compliant identifiers,
such as blazer_usb' krauler subdriver
2011-05-19 Arnaud Quette <arnaud.quette@free.fr>
* [r2991] server/netlist.c: State explicitely when device
description is not available, to avoid user confusion (reported
by Noel David Torres Taño, Debian bug #595773
* [r2990] docs/man/powercom.txt, drivers/powercom.c: Improve
formating and wording of the powercom documentation, manual page
and driver messages (patch from Keven L. Ates)
2011-05-13 Arnaud Quette <arnaud.quette@free.fr>
* [r2984] drivers/powercom.c, drivers/powercom.h: Improve PowerCom
BNT 1500A and BNT-other support, and bump driver version to 0.13
(patch from Keven L. Ates)
2011-04-30 Arnaud Quette <arnaud.quette@free.fr>
* [r2979] data/driver.list.in: Complete Informer Compact supported
VA ratings (reported by Dushan Tcholich)
2011-04-27 Arnaud Quette <arnaud.quette@free.fr>
* [r2978] docs/website/Makefile.am: Enable website quirks to
address Internet Explorer 6, which were missing since 2.6.0
publication
* [r2977] docs/website/web-layout.conf: Complete meta keywords, and
enable meta name and keywords on all pages
* [r2976] data/driver.list.in: Add Numeric 3000 SW to the list of
blazer_ser supported models (reported by Petr Kubánek)
2011-04-26 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2975] data/driver.list.in, drivers/blazer_usb.c: Add support
for GE EP series
[http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-April/006788.html]
2011-04-18 Arnaud Quette <arnaud.quette@free.fr>
* [r2973] drivers/libhid.c: Smarter solution for r2972 (pointed by
Arjen de Korte)
* [r2972] drivers/libhid.c: Trim extraneous end-of-line, in buggy
HID string tables, which results in upsc breaking the
communication pipe (Ubuntu bug #753661)
2011-04-15 Arnaud Quette <arnaud.quette@free.fr>
* [r2971] docs/stable-hcl.txt: Detail existing guidelines for
reporting new device entry
* [r2970] docs/features.txt: Refreshed graphic illustrations
credits
* [r2969] docs/images/advanced.png, docs/images/bigbox.png,
docs/images/bizarre.png, docs/images/simple.png: Refreshed
graphic illustrations (provided by Eaton)
2011-04-01 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2964] data/driver.list.in: Add Inform Sinus SS 210 to list of
supported devices
[http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-March/006767.html]
* [r2963] drivers/cps-hid.c: Clamp reported battery charge to 100%
(seems to report AbsoluteStateOfCharge instead of
RemainingCapacity)
[http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-March/006770.html]
2011-03-31 fbohe-guest
* [r2962] data/driver.list.in, drivers/mge-hid.c: Add Eaton
Powerware 9140 to the list of usbhid-ups supported models
2011-03-29 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2961] drivers/blazer.c, drivers/blazer_usb.c: Make the
terminating '\r' in the Q1 reply optional
2011-03-29 Arnaud Quette <arnaud.quette@free.fr>
* [r2960] lib/libupsclient-config.in, lib/libupsclient.pc.in: Fix
remaining references to LIBSSL_LDFLAGS, instead of LIBSSL_LIBS,
which cause unresolved symbol on libupsclient users (reported by
Fabrice Coutadeur on Ubuntu)
2011-03-23 fbohe-guest
* [r2957] INSTALL: Reverting previous commit (should not be in the
trunk)
* [r2956] INSTALL: Add information about installing Windows
2011-03-18 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2952] include/Makefile.am: The include/nut_stdint.h file is no
longer a generated one (part two)
* [r2951] include/Makefile.am: The include/nut_stdint.h file is no
longer a generated one
* [r2950] configure.in, include, include/nut_stdint.h,
m4/ax_create_stdint_h.m4: Clean up fixed width integer types.
All C99 capable systems have <inttypes.h>, which shall include
<stdint.h>.
* [r2947] drivers/solis.c: Fix typo in previous commit
* [r2945] drivers/solis.c: Fix compilation warning (no functional
change)
* [r2944] data/driver.list.in: Update driver list for SVEN Power
Pro+ series (recent models ship with a different USB to serial
implementation)
* [r2942] clients/upssched.c, configure.in, drivers/dstate.c,
server/upsd.c: The third argument to accept is an int on HPUX if
_XOPEN_SOURCE_EXTENDED is not defined (reverting previous commit)
* [r2941] configure.in: Quick check to see if defining '-munix=95'
on HPUX fixes a problem with the accept() call
2011-03-15 Chetan Agarwal <chetanagarwal-guest@alioth.debian.org>
* [r2936] drivers/rhino.c: Fix compilation error (no functional
change)
* [r2935] drivers/rhino.c: Fix missing comment closure from
previous commit (no functional change)
* [r2934] drivers/bcmxcp_usb.c, drivers/microdowell.c,
drivers/rhino.c, drivers/solis.c: Fix remaining C++ style
comments, to conform to the NUT coding rules (no functional
change)
on behalf of Prachi Gandhi (prachisgandhi@eaton.com)
2011-03-14 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2933] configure.in: Quick check to see if defining _REENTRANT
on HPUX fixes a compilation warning
2011-03-14 Arnaud Quette <arnaud.quette@free.fr>
* [r2932] data/driver.list.in: Add IPAR Mini Energy ME 800 to the
list of blazer_usb supported models
2011-03-06 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2930] drivers/apcsmart.c: Fix another compilation warning. Some
compilers (rightfully) claim that the value of 'n' may be used
without initialization. Until this is resolved, skip over this if
the value isn't set.
* [r2929] drivers/apcsmart.c: Fix compilation warning
* [r2928] drivers/apcsmart.h: Add additional Matrix models
[http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-March/005319.html]
* [r2927] drivers/apcsmart.c: Flush the input buffer before sending
a command [on behalf of Michal Soltys <soltys@ziu.info>]
* [r2926] drivers/apcsmart.c, drivers/apcsmart.h: protocol_verify()
only cares about explicitly specified commands
and variables [on behalf of Michal Soltys <soltys@ziu.info>]
* [r2925] drivers/apcsmart.c: Additional driver variables that can
be set to influence shutdown behavior [on behalf of Michal Soltys
<soltys@ziu.info>]
* [r2924] drivers/apcsmart.c: Update version and author info [on
behalf of Michal Soltys <soltys@ziu.info>]
* [r2923] drivers/apcsmart.c: Deal with more different shutdown
methods [on behalf of Michal Soltys <soltys@ziu.info>]
* [r2922] drivers/apcsmart.c: As 'b' can return different things
than firmware version on some old
models, prefer 'V' over 'b' [on behalf of Michal Soltys
<soltys@ziu.info>]
* [r2921] drivers/apcsmart.c: remove superfluous status_commit()
[on behalf of Michal Soltys <soltys@ziu.info>]
* [r2920] drivers/apcsmart.c, drivers/apcsmart.h: adjust ignored
chars and handle over/~over [on behalf of Michal Soltys
<soltys@ziu.info>]
* [r2919] drivers/apcsmart.c: cosmetics [on behalf of Michal Soltys
<soltys@ziu.info>]
* [r2918] drivers/apcsmart.c, drivers/apcsmart.h: remove APC_IGNORE
[on behalf of Michal Soltys <soltys@ziu.info>]
* [r2917] drivers/apcsmart.h: add compat hardware, add commands [on
behalf of Michal Soltys <soltys@ziu.info>]
* [r2916] drivers/apcsmart.h: comsetics - adjust tabs [on behalf of
Michal Soltys <soltys@ziu.info>]
2011-03-02 Charles Lepple <clepple+nut@gmail.com>
* [r2915] docs/FAQ.txt: Update Mac power-on FAQ
2011-03-01 Arnaud Quette <arnaud.quette@free.fr>
* [r2913] drivers/liebert-esp2.c: Improved Liebert ESP II support,
including UPS shutdown (poweroff), 1 and 3-phase input and output
variables, and most input / output / bypass / nominal variables,
along with a fix for the USB to serial cable (patch from Farkas
Levente and Spiros Ioannou)
* [r2912] data/driver.list.in: Add Eaton Powerware 9140, using the
serial interface, to the list of bcmxcp supported models
2011-02-25 Charles Lepple <clepple+nut@gmail.com>
* [r2910] docs/download.txt: Moved SHA-256 value into download
page, and reformatted a bit.
2011-02-24 Arnaud Quette <arnaud.quette@free.fr>
* [r2909] data/driver.list.in: Add several upscode2 supported
devices that were reported on the list:
http://lists.alioth.debian.org/pipermail/nut-upsdev/2011-February/005281.html
http://lists.alioth.debian.org/pipermail/nut-upsuser/2005-July/000031.html
2011-02-21 Arnaud Quette <arnaud.quette@free.fr>
* [r2906] data/driver.list.in, drivers/mge-hid.c: Add Eaton Ellipse
ECO (with Eco control support) to the list of usbhid-ups
supported models
* [r2905] drivers/eaton-mib.c: Add support for the first ambient
sensor (up to 8 sensors can be supported) on Eaton ePDU managed
* [r2904] clients/upsrw.c: Add the missing 'help' handler ('-h') to
the supported options
2011-02-20 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2903] docs/man/ups.conf.txt, drivers/dstate.c: Variables that
have an override.<variable> in ups.conf are now really immutable.
They can't be changed anymore (not even if they would have been
R/W otherwise). Rationale is, that if a user wants to override a
value, we should honor that request.
Added documentation accordingly (and corrected previous commit).
* [r2902] docs/man/ups.conf.txt, drivers/dstate.c, drivers/main.c:
Add 'ignorelb' flag to list of UPS fields in ups.conf to override
the LB condition reported by the UPS.
This allows all drivers that report battery.charge
(battery.runtime) to shutdown early by setting this flag and
battery.charge.low (battery.runtime.low) in ups.conf.
* [r2901] data/driver.list.in: Removing subdriver setting (cypress
is auto detected for this VID:PID combination, so there is no
need to specify this in usb.conf)
2011-02-19 Charles Lepple <clepple+nut@gmail.com>
* [r2900] data/driver.list.in: Add Mustek Yukai PowerMust 1000 USB
Reported by Noel David Torres Taño:
http://lists.alioth.debian.org/pipermail/nut-upsuser/2010-August/006163.html
Other models may be supported as well.
* http://www.mustek.com.tw/Yukai/html/prod_ups/PowerMust1000.html
* http://www.mustek.com.tw/Yukai/html/UPS.html
2011-02-17 Arnaud Quette <arnaud.quette@free.fr>
* [r2899] docs/download.txt: Preliminary support for source release
hash, using unsigned SHA256 sum
2011-02-15 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2898] common/parseconf.c: In PCONF_CTX_t, argsize is an array
of type size_t values, so instead of using sizeof(int *) we
really should use sizeof(size_t) for the size of individual
elements
2011-02-15 Charles Lepple <clepple+nut@gmail.com>
* [r2897] data/driver.list.in: Re-add some devices to
driver.list.in from r2516
These entries seem to have been dropped, potentially due to the
rename from
driver.list to driver.list.in, and the format change.
2011-02-11 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2893] drivers/libhid.c: Restore the nut-2.4.1 behavior for
reading reports from devices
2011-02-09 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2891] drivers/dummy-ups.c: Prefer 'snprintf' and 'snprintfcat'
over 'strncat' (the latter can overflow the destination buffer)
2011-02-09 fbohe-guest
* [r2888] drivers/dummy-ups.c: Fix a memory leak in dummy-ups
driver
2011-02-08 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2887] drivers/apc-hid.c: Add yet another way to shutdown the
APC CS-500
[http://lists.alioth.debian.org/pipermail/nut-upsuser/2011-January/006550.html]
2011-02-02 Arnaud Quette <arnaud.quette@free.fr>
* [r2884] drivers/mge-hid.c: Fix a wrong value mapping resolution,
and bump driver's HID data version to 1.20
* [r2883] docs/website/web-layout.conf: Unconditional inclusion of
Google Analytics code
* [r2882] docs/man/dummy-ups.txt, docs/man/metasys.txt,
drivers/apcsmart.c, drivers/dummy-ups.c, drivers/genericups.c,
drivers/metasys.c, drivers/snmp-ups.c: Fix some spelling errors
(base patch from Laurent Bigonville, from Debian)
2011-01-31 Charles Lepple <clepple+nut@gmail.com>
* [r2877] docs/documentation.txt, docs/download.txt: Update URL for
Trac.
2011-01-28 Arnaud Quette <arnaud.quette@free.fr>
* [r2874] configure.in: Add missing variables setting, to allow
AC_SUBST() propagation
2011-01-22 Arjen de Korte <adkorte-guest@alioth.debian.org>
* [r2850] drivers/apc-hid.c: Add mappings to APC HID subdriver
2011-01-17 Charles Lepple <clepple+nut@gmail.com>
* [r2836] scripts/Makefile.am: Include perl/Nut.pm in tarball.
* [r2835] COPYING, Makefile.am: Include LICENSE-GPL{2,3} in
tarball.
Made the text in COPYING agree with the filenames.
2011-01-14 Arnaud Quette <arnaud.quette@free.fr>
* [r2832] docs/download.txt, docs/website/news.txt: Missing website