Imported Upstream version 2.6.5

This commit is contained in:
Laurent Bigonville 2012-08-12 23:39:31 +02:00
parent fefe62b2bd
commit a1fa151fc7
201 changed files with 7974 additions and 709 deletions

315
ChangeLog
View file

@ -1,3 +1,318 @@
2012-08-08 Arnaud Quette <arnaud.quette@free.fr>
* [r3712] NEWS, UPGRADING, configure.in, docs/website/news.txt:
Final update for 2.6.5 release
* [r3711] drivers: Subversion ignored files completion
Mark oldmge-shut binary as Subversion ignored (no functional
changes)
* [r3710] docs/configure.txt, m4/nut_check_libltdl.m4: Complete
libltdl configuration options
Add configure options to add specific cflags
(--with-libltdl-includes) and libs (--with-libltdl-libs) for
libltdl. This serves at least to point at non standard location,
as on FreeBSD (reported by David Durieux)
2012-08-06 Arnaud Quette <arnaud.quette@free.fr>
* [r3708] docs/documentation.txt: Add a Wikipedia reference on
Solar controller
* [r3707] docs/Makefile.am, docs/images/eaton-logo.png,
docs/images/hostedby.png, docs/website/Makefile.am,
docs/website/css/web-layout.css, docs/website/web-layout.conf:
Free NUT from Eaton website hosting
NUT is no more hosted by Eaton. Arnaud Quette (NUT project
leader) has taken over NUT hosting on his own, to give NUT back
some independance. This effort is also part of a logic to stop
crediting Eaton for contributions from others (especially Arnaud
Quette, as an individual). The new hosting service is located, as
for Arnaud's blog (http://arnaud.quette.fr) on Gandi servers,
using PaaS. This will allow more flexibility and automation of
the release process
2012-08-06 Charles Lepple <clepple+nut@gmail.com>
* [r3704] configure.in, docs/man/Makefile.am,
docs/man/macosx-ups.txt, drivers/Makefile.am,
drivers/macosx-ups.c: macosx-ups: new OS X Power Sources
meta-driver
Mac OS X provides UPS status information in a format similar to
what is shown for laptop batteries. This driver will convert that
information into a format compatible with NUT.
2012-08-05 Charles Lepple <clepple+nut@gmail.com>
* [r3703] drivers/skel.c: Update comments in skel.c
Fixed a typo, and added fatalx() as an alternative to
fatal_with_errno()
* [r3702] docs/man/skel.txt: Update skeleton driver man page.
2012-08-03 Charles Lepple <clepple+nut@gmail.com>
* [r3701] docs/man/nutscan.txt, docs/man/nutscan_scan_avahi.txt:
nutscan documentation: editing
2012-07-31 Arnaud Quette <arnaud.quette@free.fr>
* [r3699] docs/images/simple.png: Remove extraneous text
* [r3698] data/driver.list.in: Add support for UNITEK Alpha650ipF
and Alpha650ipE
Add UNITEK Alpha650ipF and Alpha650ipE (USB ID 0x0f03:0x0001) to
the list of blazer_usb supported models (reported by Pascal
MIRALLES)
* [r3697] docs/website/projects.txt: Reference Buffalo NAS in
Related projects
Add a reference in the Related projects, on Buffalo TerraStation
(Business-class) NAS range, which uses NUT for power protection
2012-07-30 Arnaud Quette <arnaud.quette@free.fr>
* [r3696] docs/download.txt, docs/website/news.txt: First NUT
virtualization package (VMware ESXI 5.0)
Add the reference to the first NUT virtualization package. This
one is currently an external effort to add VMware NUT client for
ESXI 5.0. But this support will be part of NUT in the long run
2012-07-24 Charles Lepple <clepple+nut@gmail.com>
* [r3692] data/driver.list.in, docs/man/powercom.txt,
drivers/powercom-hid.c: Synchronize Powercom USB documentation
and code comments.
Apparently, there are at least two different models with the USB
VID:PID of 0d9f:0004. This update is based on the following
report by Gordon Longland:
http://lists.alioth.debian.org/pipermail/nut-upsuser/2012-July/007748.html
2012-07-23 Charles Lepple <clepple+nut@gmail.com>
* [r3689] docs/man/powercom.txt: powercom: Mention this driver is
serial only
2012-07-20 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3688] data/driver.list.in, drivers/Makefile.am: Switch mge-shut
to oldmge-shut and newmge-shut to mge-shut
* [r3687] docs/man/mge-shut.txt: Update mge-shut man page for
notification argument.
* [r3686] drivers/usbhid-ups.c: Add a "notification" parameter to
newmge-shut driver.
It is only here for compatibility with mge-shut driver. It is
ignored since we are always using SHUT_SYNC_OFF in libshut.c.
2012-07-19 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3683] docs/man/mge-shut.txt: Add a note in man page about
ondelay parameter unit discrepency between newmge-shut and
mge-shut driver.
mge-shut use a ten seconds unit for ondelay whereas newmge-shut
uses seconds.
* [r3682] drivers/usbhid-ups.c, drivers/usbhid-ups.h: Add a lowbatt
setting to newmge-shut in order to mimic mge-shut setting
2012-07-19 Emilien Kia <emilienkia-guest@alioth.debian.org>
* [r3681] server/Makefile.am, server/conf.c, server/netcmds.h,
server/netssl.c, server/netssl.h, server/ssl.c, server/ssl.h,
server/upsd.c: Replace server/ssl.[h|c] by server/netssl.[h|c] in
order to prepare nss branch merging.
2012-07-17 Arnaud Quette <arnaud.quette@free.fr>
* [r3678] drivers/apc-mib.c: APC SNMP MIB update and completion
Add available high precision values, new variables
(input.transfer.reason, battery.current.total and ups.test.date),
and move ambient.{temperature,humidity}.{high,low} to
ambient.1.*, since they relate to alarm threshold of external
probe 1 (patch from Hong-Gunn Chew)
* [r3677] docs/nut-names.txt: Clarify the use of multiple ambient
sensors
Multiple sensors can be exposed using the indexed notation.
'ambient.*', without index or using '0', relates to the embedded
sensor. For example: 'ambient.temperature' represent the embedded
sensor temperature. Other sensors (external, communication card,
...) can use indexes from '1' to 'n'. For example:
'ambient.1.temperature' for the first external sensor
temperature.
* [r3676] docs/nut-names.txt: NUT namespace completion
Add two new variables 'ups.test.date' and
'battery.current.total'. Also add a note on the 'ambient'
collection for supporting multiple sensors
2012-07-16 Arnaud Quette <arnaud.quette@free.fr>
* [r3675] drivers/nut-ipmipsu.c, drivers/nut-libfreeipmi.c,
m4/nut_check_libfreeipmi.m4, tools/nut-scanner/nut-scanner.c,
tools/nut-scanner/scan_ipmi.c: Support for FreeIPMI 1.1.x and
1.2.x
Prepare for supporting API changes in FreeIPMI 1.1.x and 1.2.x.
This is mostly related to SDR API simplifications. A 2nd
iteration will probably address code redundancy, whenever
possible
2012-07-10 Arnaud Quette <arnaud.quette@free.fr>
* [r3674] data/driver.list.in, drivers/eaton-mib.c,
drivers/eaton-mib.h, drivers/snmp-ups.c, drivers/snmp-ups.h: Add
support for Eaton ePDU Switched (Pulizzi)
Implement support for older Eaton / Powerware ePDU Switched.
These were once sold as Pulizzi, and have now been replaced by
newer model (Eaton Marlin implementation and others)
2012-07-09 Emilien Kia <emilienkia-guest@alioth.debian.org>
* [r3672] configure.in: Fix CppUnit detection.
Fix inconsistent test for CppUnit install (using pkg-config) to
really enable unit tests.
2012-07-05 Arnaud Quette <arnaud.quette@free.fr>
* [r3671] docs/man/nut-ipmipsu.txt: Fix an error on possible power
supplies status
2012-07-04 Arnaud Quette <arnaud.quette@free.fr>
* [r3670] clients/upssched.c: Fix upssched regression
Coverity branch merge r3555 introduced a regression: any
upssched.conf command that takes a second argument resulted in a
defective frame sent to the parent process. Thus, the command was
not executed (patch from Oliver Schonefeld)
* [r3669] Makefile.am, configure.in, tests, tests/Makefile.am: Add
basic infrastructure for unit tests
Merge eki-unittests branch, with some adjustments, to add a basic
initial infrastructure for unit tests, using CppUnit (v1.9.6+)
(from Emilien Kia, from Eaton)
2012-07-03 Arnaud Quette <arnaud.quette@free.fr>
* [r3668] scripts/systemd/nut-driver.service.in,
scripts/systemd/nutshutdown.in: Fix upsdrvctl call path
upsdrvctl is located in @driverexecdir@, not @SBINDIR@ (reported
by Michal Hlavinka, from Redhat)
2012-06-15 Arnaud Quette <arnaud.quette@free.fr>
* [r3666] configure.in: Adapt systemd installation directory #2
Complete commit r3665, by also adapting paths for service files
2012-06-14 Arnaud Quette <arnaud.quette@free.fr>
* [r3665] configure.in: Adapt systemd installation directory
Adapt systemd installation directory for the shutdown script, so
that it does not try to install it in the actual system
directory, but to the pointed build directory, including a sub
directory prefix
* [r3664] docs/new-clients.txt: Fix broken link to upscli_*(3) HTML
manual pages
2012-06-12 Arnaud Quette <arnaud.quette@free.fr>
* [r3662] docs/new-drivers.txt: Forgotten mention
upsdrv_info_t->name is also published as "driver.name" variable
* [r3661] docs/man/belkinunv.txt, drivers/belkinunv.c,
drivers/main.c, drivers/masterguard.c, drivers/metasys.c,
drivers/mge-utalk.c, drivers/microdowell.c,
drivers/nut-ipmipsu.c, drivers/safenet.c, drivers/tripplitesu.c,
drivers/usbhid-ups.c: Remove redundant driver.version.internal
publication
* [r3660] configure.in, docs/configure.txt,
docs/man/nut-scanner.txt: Add missing references to libltdl for
nut-scanner
nut-scanner requires libltdl (Libtool dlopen abstraction) since
NUT 2.6.3. Documentations have been completed, and nut-scanner
build status is now exposed in the build configuration summary
* [r3659] drivers/snmp-ups.c: Fix publication of
driver.version.data
Publish the MIB name and version in driver.version.data, rather
than merged into driver.version.internal
* [r3658] drivers/netxml-ups.c: Fix publication of
driver.version.data
netxml-ups subdriver version is to be tracked in
driver.version.data, not in driver.version.internal
* [r3657] docs/nut-names.txt: Add missing variable
driver.version.data
Add variable driver.version.data, to track version of the
internal data mapping, for generic drivers (reported by Luiz
Angelo Daros de Luca)
* [r3656] docs/nut-names.txt: Fix comment for
driver.version.internal
Drivers internal version are always tracked separately, and
stored in driver.version.internal
2012-06-11 Michal Soltys <msoltyspl-guest@alioth.debian.org>
* [r3655] drivers/apcsmart.c: apcsmart: tcsetattr/tcgetattr
addendum
This small patch moves the comparison sequence into separate
function. No functional changes.
Also minor retab! run on defines.
2012-06-11 Arnaud Quette <arnaud.quette@free.fr>
* [r3654] data/driver.list.in: Add support for REDi Blazer
Add REDi Blazer 400VA / 600VA / 800VA to the list of blazer_ser
supported models (reported by Marius Gavrilescu)
* [r3653] docs/nut-names.txt: Fix a typo error on power.minimum
description
power.minimum is really the minimum seen apparent power in VA
(reported by Luiz Angelo Daros de Luca)
2012-06-07 Arnaud Quette <arnaud.quette@free.fr>
* [r3652] data/driver.list.in, drivers/blazer_usb.c: Add support
for Online Zinto A
Add Online Zinto A (USB ID 0x06da:0x0601) to the list of
blazer_usb supported models (reported by Carsten Burkhardt)
2012-06-07 Charles Lepple <clepple+nut@gmail.com>
* [r3651] drivers/oneac.h: Remove unused constants to fix LLVM
compilation error.
2012-06-05 Arnaud Quette <arnaud.quette@free.fr>
* [r3650] docs/website/news.txt, docs/website/projects.txt: WMNut
updates
Update WMNut release (0.64) and hosting URL
2012-06-04 Arnaud Quette <arnaud.quette@free.fr>
* [r3647] docs/download.txt, docs/website/news.txt: Update Windows
package publications for 2.6.4-1
2012-05-31 Arnaud Quette <arnaud.quette@free.fr>
* [r3643] NEWS, UPGRADING, configure.in, docs/website/news.txt: