Imported Upstream version 2.6.3

This commit is contained in:
Arnaud Quette 2012-01-24 11:22:33 +01:00
parent 45043b58d0
commit fad6ced6f6
255 changed files with 11081 additions and 4629 deletions

453
ChangeLog
View file

@ -1,5 +1,458 @@
2012-01-04 Arnaud Quette <arnaud.quette@free.fr>
* [r3371] docs/website/news.txt: Update 2.6.3 release date
2012-01-03 Arnaud Quette <arnaud.quette@free.fr>
* [r3370] NEWS, UPGRADING, configure.in, docs/website/news.txt:
Final update for 2.6.3 release
2012-01-03 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3369] docs/config-notes.txt: Add a note about file names with
space characters in the documentation.
2012-01-03 Arnaud Quette <arnaud.quette@free.fr>
* [r3368] drivers/dummy-ups.c: Add a comment for further processing
2012-01-03 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3367] tools/nut-scanner/nut-scanner.c: Fix nut scanner SNMP v3
help message.
* [r3366] docs/man/nut-scanner.txt: Fix nut scanner SNMP v3
documentation.
2011-12-17 Arnaud Quette <arnaud.quette@free.fr>
* [r3364] drivers/blazer_usb.c: Actually apply the langid_fix
value, when calling usb_get_string (reported by Charles Lepple)
* [r3363] data/driver.list.in, docs/man/blazer.txt,
drivers/blazer_usb.c: Try to fix language ID support for USB
units from LDLC, Dynamix and no names in blazer_usb (reworked
patch, from Brian R. Smith and Aurélien Grenotton)
2011-12-16 Arnaud Quette <arnaud.quette@free.fr>
* [r3362] scripts/HP-UX: Add the generated HP-UX packaging script
(.psf) to the list of Subversion ignored files
* [r3361] drivers/eaton-mib.c, drivers/snmp-ups.c: Fix newer Eaton
ePDU OIDs declaration ordering, so that it better supports the
various models (switched or advanced monitored)
2011-12-15 Arnaud Quette <arnaud.quette@free.fr>
* [r3360] clients/upsclient.c, drivers/belkinunv.c,
drivers/etapro.c, drivers/gamatronic.c, drivers/isbmex.c,
drivers/libshut.c, drivers/metasys.c, drivers/mge-shut.c,
drivers/microdowell.c, drivers/nut-libfreeipmi.c,
drivers/rhino.c, drivers/solis.c: Fix set but not used variables
[-Wunused-but-set-variable] (including patch from Regid Ichira)
2011-12-13 Arnaud Quette <arnaud.quette@free.fr>
* [r3359] Makefile.am, configure.in, docs/man,
docs/man/Makefile.am, docs/man/nutscan_init.txt,
docs/man/nutscan_scan_avahi.txt, docs/man/nutscan_scan_ipmi.txt,
docs/man/nutscan_scan_nut.txt, docs/man/nutscan_scan_snmp.txt,
docs/man/nutscan_scan_usb.txt,
docs/man/nutscan_scan_xml_http.txt, drivers/nut-libfreeipmi.c,
m4/nut_check_libfreeipmi.m4, m4/nut_check_libltdl.m4,
tools/nut-scanner/Makefile.am, tools/nut-scanner/nut-scan.h,
tools/nut-scanner/nut-scanner.c,
tools/nut-scanner/nutscan-init.c,
tools/nut-scanner/nutscan-init.h, tools/nut-scanner/scan_avahi.c,
tools/nut-scanner/scan_ipmi.c, tools/nut-scanner/scan_nut.c,
tools/nut-scanner/scan_snmp.c, tools/nut-scanner/scan_usb.c,
tools/nut-scanner/scan_xml_http.c: Merge nut-scanner_dlopen
branch, at revision 3358. This brings weak runtime dependencies
to nut-scanner, allowing to compile with all options and to run
according to the available dependencies. It also adds IPMI scan
* [r3358] compile: Update compile script, as per the latest version
available in Automake (1.11)
2011-12-05 Arnaud Quette <arnaud.quette@free.fr>
* [r3341] data/driver.list.in, docs/man/snmp-ups.txt,
drivers/Makefile.am, drivers/cyberpower-mib.c,
drivers/cyberpower-mib.h, drivers/snmp-ups.c: Add Cyber Power
Systems with SNMP RMCARD (100, 201, 202 and 301) to the list of
snmp-ups supported models (patch from Eric Schultz)
* [r3340] drivers/snmp-ups.c: Remove the Eaton Marlin hook, for
base outlet index, since it has been fixed by a new firmware
revision
2011-11-29 Arnaud Quette <arnaud.quette@free.fr>
* [r3338] tools/nut-snmpinfo.py: Fix indentation and use open()
instead of file(), to better support Python 3 (Alioth bug
#313446, patch from Bohdan Popovych)
2011-11-25 Arnaud Quette <arnaud.quette@free.fr>
* [r3335] drivers/nut-ipmi.h: Fix wrong prototype declaration, that
was causing a compilation warning (implicit declaration of
function nut_ipmi_get_sensors_status)
2011-11-24 Prachi Gandhi <prachi-guest@alioth.debian.org>
* [r3328] Makefile.am, configure.in, scripts/Makefile.am,
scripts/Solaris: Reverted changes made for Solaris packaging
files(revision 3326), added files in NUT_packaging branch
* [r3326] Makefile.am, configure.in, scripts/Makefile.am,
scripts/Solaris, scripts/Solaris/Makefile.am,
scripts/Solaris/makelocal.sh, scripts/Solaris/pkginfo.in,
scripts/Solaris/prototype: Solaris NUT package files added
2011-11-15 Arnaud Quette <arnaud.quette@free.fr>
* [r3321] drivers/blazer_usb.c, drivers/usb-common.h: Revert commit
r2993 and r2994. This enables again inclusion of buggy USB Device
and Vendor IDs, supported by blazer_usb, in udev rules file
(Reported by Stanislav Brabec, from Suse)
* [r3320] tools/Makefile.am: Add missing comment
2011-11-12 Arnaud Quette <arnaud.quette@free.fr>
* [r3318] drivers/mge-mib.c: Add upsmgBatteryLowCondition OID to
the status mapping (reported by Kiss Gabor (Bitman))
2011-11-11 Praveen Kumar <praveenkumar-guest@alioth.debian.org>
* [r3317] scripts/HP-UX/makedepot.sh: script file to create package
(depot) for HP-UX
2011-11-08 Arnaud Quette <arnaud.quette@free.fr>
* [r3316] docs/website/web-layout.conf: Complete search keywords
* [r3315] docs/website/web-layout.conf: Final fix for the
displaying of the legend, to work on all browsers, while still
being conforming to W3C validation
2011-11-07 Arnaud Quette <arnaud.quette@free.fr>
* [r3314] docs/website/web-layout.conf: Fix displaying of the
legend
2011-11-05 Michal Soltys <msoltyspl-guest@alioth.debian.org>
* [r3313] docs/cables.txt, docs/man/apcsmart.txt: apcsmart.txt:
minor documentation update
Broken diagram link and 940-0024E cable mention (reported by
Jonathan
Laventhol).
2011-11-05 Arnaud Quette <arnaud.quette@free.fr>
* [r3312] conf/upsd.conf.sample, server/upsd.c: Don't fail to start
if at least one of the listening interface is available. This is
needed on systems where either IPv4 or IPv6 is disabled, and no
explicit LISTEN directive has been specified (Reported by Pavel
Zubkou, Debian bug #598741)
2011-11-02 Praveen Kumar <praveenkumar-guest@alioth.debian.org>
* [r3310] configure.in, scripts/HP-UX/nut.psf.in: Adding packaging
script for HPUX
2011-10-31 Arnaud Quette <arnaud.quette@free.fr>
* [r3308] docs/download.txt, docs/website/news.txt: Publish update
jNut 0.2, along with the new jNutWebAPI (contributed by Emilien
Kia, from Eaton)
2011-10-28 Emilien Kia <emilienkia-guest@alioth.debian.org>
* [r3306] scripts/java/README, scripts/java/jNutWebAPI,
scripts/java/jNutWebAPI/README, scripts/java/jNutWebAPI/pom.xml,
scripts/java/jNutWebAPI/src, scripts/java/jNutWebAPI/src/main,
scripts/java/jNutWebAPI/src/main/java,
scripts/java/jNutWebAPI/src/main/java/org,
scripts/java/jNutWebAPI/src/main/java/org/networkupstools,
scripts/java/jNutWebAPI/src/main/java/org/networkupstools/jnutwebapi,
scripts/java/jNutWebAPI/src/main/java/org/networkupstools/jnutwebapi/NutRestProvider.java,
scripts/java/jNutWebAPI/src/main/java/org/networkupstools/jnutwebapi/RestWSApplication.java,
scripts/java/jNutWebAPI/src/main/java/org/networkupstools/jnutwebapi/ScannerProvider.java,
scripts/java/jNutWebAPI/src/main/resources,
scripts/java/jNutWebAPI/src/main/webapp,
scripts/java/jNutWebAPI/src/main/webapp/WEB-INF,
scripts/java/jNutWebAPI/src/main/webapp/WEB-INF/web.xml,
scripts/java/jNutWebAPI/src/test,
scripts/java/jNutWebAPI/src/test/java,
scripts/java/jNutWebAPI/src/test/java/org,
scripts/java/jNutWebAPI/src/test/java/org/networkupstools,
scripts/java/jNutWebAPI/src/test/java/org/networkupstools/jnutwebapi:
Initial commit of jNutWebAPI.
* [r3305] scripts/java/jNut,
scripts/java/jNut/src/main/java/org/networkupstools/jnut/Scanner.java:
Fix a little bug with function namming (get instead of set).
2011-10-27 Arnaud Quette <arnaud.quette@free.fr>
* [r3304] docs/maintainer-guide.txt: Create a basic NUT maintainer
guide, to start tracking and improving maintenance workflow
* [r3303] drivers/bcmxcp_usb.c: Handle disconnection issues and
reconnection mechanism (bug reported by Rich Wrenn)
2011-10-25 Emilien Kia <emilienkia-guest@alioth.debian.org>
* [r3302]
scripts/java/jNut/src/test/java/org/networkupstools/jnut/ClientTest.java:
Add licence information.
* [r3301] scripts/java/jNut/README, scripts/java/jNut/pom.xml,
scripts/java/jNut/src/main/java/org/networkupstools/jnut/Scanner.java,
scripts/java/jNut/src/test/java/org/networkupstools/jnut/ScannerTest.java:
Add nut-scanner.
2011-10-25 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3300] tools/nut-scanner/scan_snmp.c: Add sanity checks
* [r3299] tools/nut-scanner/scan_avahi.c: Remove unused variable
2011-10-25 Michal Soltys <msoltyspl-guest@alioth.debian.org>
* [r3298] drivers/apcsmart.c: drivers/apcsmart.c: minor correction
Assigning 0 directly was wrong (actually, a leftover from earlier
version of the code that was removed) - ser_set_speed() prepares
the
port initially, we only adjust certain options.
2011-10-24 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3297] docs/man/nut-scanner.txt,
tools/nut-scanner/nut-scanner.c: Forgot to document "-q" option
(thanks to Emilien Kia for reporting this)
2011-10-21 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3296] tools/nut-scanner/nut-scanner.c: Trivial layout
consistency
* [r3295] docs/man/nut-scanner.txt: Update man page with -V and -a
option
* [r3294] tools/nut-scanner/nut-scanner.c: Add an option to display
available bus (usefull for wrapper).
* [r3293] tools/nut-scanner/nut-scanner.c: return -1 on bad command
line option
2011-10-19 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3292] tools/nut-scanner/nutscan-ip.c: Fix crash on 32bits
systems
* [r3291] tools/nut-scanner/nut-scanner.c: Add a switch to display
NUT version.
2011-10-19 Charles Lepple <clepple+nut@gmail.com>
* [r3290] docs/FAQ.txt: Add FAQ entry for LISTEN directive
2011-10-18 Arnaud Quette <arnaud.quette@free.fr>
* [r3289] drivers/eaton-mib.c: Fix outlets reported current, which
were off by 100 in aphel_genesisII MIB, and bump MIB version to
0.46 (patch from Sven Nilsson)
2011-10-14 Arnaud Quette <arnaud.quette@free.fr>
* [r3288] docs/Makefile.am, docs/images/nut-logo.png,
docs/images/nut.svg, docs/website/Makefile.am,
docs/website/css/web-layout.css, docs/website/faviconut.ico,
docs/website/faviconut.png, docs/website/web-layout.conf: Add the
new NUT logo (contributed by Luc Descotils, from Eaton)
* [r3287] docs/website/web-layout.conf: Fix another W3C validator
error (there is no attribute "language" anymore for <script> in
XHTML 1.1)
* [r3286] data/driver.list.in: Remove redundant entry, that
probably causes a W3C validator error (end tag for "tr" which is
not finished)
* [r3285] tools/Makefile.am: Only generate static and JSON HCL if
we can import json, simplejson and lxml Python modules
* [r3284] docs/Makefile.am: Remove the user manual dependency on
static HCL, which broke Buildbot
* [r3283] configure.in, docs/Makefile.am, docs/download.txt,
docs/website/Makefile.am: Automate generation of the version
release information, in the Download section. This is a rewritten
version of commit 3272, this time using Asciidoc mechanism
instead of Autoconf
* [r3282] Makefile.am, docs/Makefile.am, tools/Makefile.am,
tools/nut-hclinfo.py: Add static HCL as a user manual dependency,
along with the needed build rules
2011-10-14 Charles Lepple <clepple+nut@gmail.com>
* [r3281] include/Makefile.am: nut_version.h: grab Git revision, if
any
2011-10-13 Arnaud Quette <arnaud.quette@free.fr>
* [r3280] docs/configure.txt: Add missing --with-avahi
documentation
* [r3279] docs/Makefile.am, docs/developer-guide.txt,
tools/nut-scanner, tools/nut-scanner/README,
tools/nut-scanner/nut-scan.h: Add a 'NUT device discovery'
chapter to the developer guide, to document libnutscan
* [r3278] configure.in: Enable Avahi automatic support, upon
detection
* [r3277] docs/man, docs/man/Makefile.am, docs/man/index.txt,
docs/man/nutscan.txt: Add an overview manpage for libnutscan
* [r3276] configure.in, docs/Makefile.am, docs/download.txt,
docs/download.txt.in: Revert commit 3272, which breaks
distribution check, while waiting for a suitable solution
2011-10-13 Charles Lepple <clepple+nut@gmail.com>
* [r3275] docs/man/nut-scanner.txt: nut-scanner.txt: spelling and
style edits
2011-10-13 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3274] docs/man/nut-scanner.txt: Add examples to nut-scanner man
page
2011-10-12 Arnaud Quette <arnaud.quette@free.fr>
* [r3273] docs: Mark download.txt as Subversion ignored, since it
is now generated automatically (no functional changes)
2011-10-11 Arnaud Quette <arnaud.quette@free.fr>
* [r3272] configure.in, docs/Makefile.am, docs/download.txt,
docs/download.txt.in: Automate generation of the stable release
information, in the Download section
2011-10-10 Arnaud Quette <arnaud.quette@free.fr>
* [r3271] drivers/nut-libfreeipmi.c,
tools/nut-scanner/scan_avahi.c: Replace <time.h> inclusion by
"timehead.h", as per NUT coding standard (Reported by Prachi
Gandhi, from Eaton)
2011-10-10 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3270] docs/man/nut-scanner.txt,
tools/nut-scanner/nut-scanner.c: Add CIDR option manual
2011-10-10 Arnaud Quette <arnaud.quette@free.fr>
* [r3269] scripts/upower/95-upower-hid.rules: Update upower script
with Powercom entry
* [r3268] docs/website/projects.txt: Advertise more the official
Windows port, with regard to WinNUT
* [r3267] Makefile.am: Force ChangeLog regeneration upon make dist,
in case it has already been generated previously
2011-10-06 Charles Lepple <clepple+nut@gmail.com>
* [r3266] docs/support.txt: Reduce recommended debug level from 5
to 2 in Support page.
2011-10-05 Arnaud Quette <arnaud.quette@free.fr>
* [r3265] data/driver.list.in, drivers/powercom-hid.c: Add Powercom
BNT-xxxAP (productID 0004) to the list of usbhid-ups supported
models (reported by Virus, on Ubuntu Launchpad)
2011-09-30 Arnaud Quette <arnaud.quette@free.fr>
* [r3264] data/driver.list.in: Add Belkin F6S600auUSB to the list
of blazer_usb supported models (reported by Simon Dwyer)
2011-09-26 Arnaud Quette <arnaud.quette@free.fr>
* [r3260] conf/upsd.conf.sample: Complete LISTEN information, with
regard to IP v4 or v6 disabled kernel (reported by Pavel Zubkou,
Debian bug #598741)
* [r3259] clients/Makefile.am: Fix forgotten update of libupsclient
version information (bump from 1:0:0 to 2:0:1)
* [r3258] docs/man/bcmxcp.txt, docs/man/blazer.txt,
docs/man/dummy-ups.txt: Fix spelling and typo errors (patch from
Laurent Bigonville, Debian)
* [r3257] tools/nut-scanner/scan_xml_http.c: Fix remaining
compilation errors on FreeBSD, due to missing <netinet/in.h>
header inclusion
2011-09-26 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3256] tools/nut-scanner/nutscan-ip.c: Remove AI_NUMERICSERV
since it's useless and produces compile error on some systems.
* [r3255] tools/nut-scanner/nutscan-ip.h: Try to fix FreeBSD build
2011-09-23 Arnaud Quette <arnaud.quette@free.fr>
* [r3254] docs/config-notes.txt: Add a note on nut-scanner
availability
* [r3253] docs: Mark some forgotten generated HTML files as
Subversion ignored files (no functional changes)
* [r3252] docs/Makefile.am, docs/developer-guide.txt,
docs/new-clients.txt, lib/README: Complete lib/README and convert
it to Asciidoc, as 'Appendix B: NUT libraries complementary
information'
* [r3251] configure.in, docs/macros.txt, docs/man/Makefile.am,
docs/website/Makefile.am, drivers/Makefile.am,
m4/nut_check_libfreeipmi.m4, m4/nut_check_libwrap.m4,
m4/nut_report_feature.m4, tools/nut-scanner/Makefile.am,
tools/nut-scanner/nut-scan.h, tools/nut-scanner/nut-scanner.c,
tools/nut-scanner/scan_avahi.c, tools/nut-scanner/scan_ipmi.c,
tools/nut-scanner/scan_snmp.c, tools/nut-scanner/scan_usb.c:
Rework the whole HAVE_<FEATURE> versus WITH_<FEATURE> logic,
which is not suitable anymore since nut-scanner. Previously, we
only defined an automake variable (AM_CONDITIONAL) that allowed
to compile coherent set of features (a specific driver, for
example). With nut-scanner, we also need a pre-processor macro
(AC_DEFINE) to manage code activation inside of a feature. The
NUT_REPORT_FEATURE macro has been modified to handle all this
logic
2011-09-23 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3250] tools/nut-scanner/nutscan-ip.c,
tools/nut-scanner/nutscan-ip.h, tools/nut-scanner/scan_snmp.c,
tools/nut-scanner/scan_xml_http.c: Replace calls to inet_*
functions by equivalent getaddrinfo and getnameinfo for
portability
2011-09-22 Frederic Bohe <fbohe-guest@alioth.debian.org>
* [r3249] tools/nut-scanner/nut-scanner.c: Move a pthread variable
to a #ifdef HAVE_PTHREAD section.
2011-09-20 Arnaud Quette <arnaud.quette@free.fr>
* [r3248] server/Makefile.am, server/ctype.h, server/netcmds.h,
server/netget.c, server/netget.h, server/netinstcmd.c,
server/netinstcmd.h, server/netlist.c, server/netlist.h,
server/netmisc.c, server/netmisc.h, server/netset.c,
server/netset.h, server/netuser.c, server/netuser.h,
server/nut_ctype.h, server/ssl.c, server/ssl.h, server/upsd.c,
server/upsd.h: Rename upsd internal client structure and header
from ctype_t to nut_ctype_t. This avoids namespace conflict on
Aix, and is more suitable in general
2011-09-18 Arnaud Quette <arnaud.quette@free.fr>
* [r3247] docs/man/nutupsdrv.txt: Add the missing '-q' option
(closes Alioth patch #301145)
* [r3246] tools/nut-scanner/Makefile.am: Distribute the needed
headers for libnutscan
* [r3245] configure.in, lib, lib/Makefile.am, lib/libnutscan.pc.in:
Add pkg-config support for libnutscan
* [r3244] common/Makefile.am: Remove extraneous space
2011-09-17 Arnaud Quette <arnaud.quette@free.fr>
* [r3243] docs/developer-guide.txt, docs/man/dummy-ups.txt:
Complete device simulation and recording information
* [r3242] docs/man/index.txt: Add nut-scanner and libnutscan
entries to the manual pages index
* [r3241] docs/man: Mark some more generated HTML files as a
Subversion ignored files (no functional changes)
2011-09-15 Arnaud Quette <arnaud.quette@free.fr>
* [r3239] docs/download.txt: Add the missing SHA-256 sum on the
Download page / section (need to be generated after the
distribution package)
* [r3238] drivers/nut-ipmipsu.c, drivers/nut-libfreeipmi.c: Don't
override PSU absence with the power failure flag
* [r3237] NEWS, UPGRADING, configure.in, docs/download.txt,