Subject: CVS commit: pkgsrc/sysutils/apcupsd
From: Patrick Welche
Date: 2016-01-28 16:51:34
Message id: 20160128155135.05E0EFBB7@cvs.NetBSD.org

Log Message:
Update apcupsd to 3.14 branch revision r2365

3.14.14 was tagged but not released, 3.14.13 is the last release, hence
apcupsd-3.14.13r2365.

- Remove use of BSD USB driver; all platforms except Linux use generic-usb now
- i18n support removed

3.14.14 -- 30 May 2015

BUG FIXES

  * win32: Fix missing DLLs when installing only apctray

  * Fixes for socket error handling. Resolves apcaccess crash when connection
    fails as well as several other theoretical issues.

  * MODBUS/USB error handling (COMMLOST) improvements for faulty USB links

  * Fix hiddev binding when usbfs is mounted on /dev/bus/usb instead of
    /proc/bus/usb. This is necessary for switching between MODBUS/USB and
    USB/HID on Linux.

  * Update GPLv2 text and FSF address to match current versions from FSF.

  * Various fixes for potential issues suggested by Coverity Scan

3.14.13 -- 02 February 2015

NEW FEATURES

  * MODBUS USB support

    Previous releases supported MODBUS serial (RS232). This release adds
    support for MODBUS over USB. This protocol is preferable to the normal
    USB HID driver because it offers access to more UPS data readouts and
    controls. The only configuration file change needed versus MODBUS serial
    is to change UPSCABLE to usb and use an empty DEVICE setting. See the
    MODBUS section of the apcupsd manual for more details.

  * Support for Apple Notification Center on Mac OS X (replaces Growl)

  * Apple install packages and binaries are signed with an Apple Developer
    key for compatibility with Gate Keeper

  * Windows USB driver has been updated with additional USB identifiers to
    support future APC products.

BUG FIXES

  * Use launchd for startup on Mac OS X as the old Startup Items mechanism is
    no longer supported in 10.10 and above

  * Fix apcaccess on ARM systems where char is unsigned by default

  * Fix several potential issues identified by Coverity static analysis

  * Numerous other fixes and improvements all over the code, many of them
    submitted by users...Thank you!

MISC

  * Windows port now builds with the same configure and make system as the
    other targets, no need to maintain a special hardcoded Makefile.

  * Many cleanups to the Windows port codebase

  * Prebuilt binaries for Mac OS X no longer support PowerPC systems or
    Mac OS X 10.4 and older

3.14.12 -- 29 March 2014             (Maintenance Release)

NEW FEATURES

  * apcaccess and apcupsd status format updates to ease parsing by scripts

  * UPS name is included in subject line of emails in default scripts

  * Default event scripts pull SYSADMIN and APCUPSD_MAIL definitions from a
    common config file so they can easily be configured in one place

BUG FIXES

  * Fix issue with certain Back-UPS USB models repeatedly cycling power on/off
    after killpower is issued

  * Fix display of battery level during MODBUS calibration

  * Fix apctest EEPROM setting on various models

  * Close and reopen serial port during extended COMMLOST in apcsmart driver
    (helps recover connection when USB serial port dongles are reconnected)

  * Avoid probing non-APC USB devices as it can cause lockups

  * Fix issue with service failing to start on Windows during boot with USB UPS

  * Fix bogus lock file error when config file error forces early termination

  * Fix MODBUS NOMOUTV reading for voltages other than 120VAC

  * Fix LOADPCT (CI_LOAD) on MODBUS driver

  * Fix issue with net driver not reporting MODEL value

3.14.11 -- 31 January 2014           (Maintenance Release)

NEW FEATURES

  * MODBUS protocol support

    Over the summer, APC publicly released documentation[1] on a new UPS
    control and monitoring protocol, loosely referred to as MODBUS (after the
    historic industrial control protocol it is based on). The new protocol
    operates over RS232 serial lines as well as USB connections and is intended
    to supplement APC's proprietary Microlink protocol. Microlink is not going
    away, but APC has realized that third parties require access to UPS status
    and control information. Rather than publicly open Microlink, they have
    created another protocol to operate along side it.

    Many existing Microlink UPSes can be upgraded to support MODBUS via a
    firmware update. See [2]. Certain older models are not upgradeable. APC
    support will be your best contact for determining if your UPS supports a
    MODBUS upgrade the information linked below does not make it clear.

    For now, apcupsd supports MODBUS over RS232 serial only. It DOES NOT yet
    support MODBUS over USB. See the apcupsd manual[3] for information on
    setting up apcupsd.conf for MODBUS UPSes.

    [1] http://www.apc.com/whitepaper/?an=176
    [2] \ 
http://www.schneider-electric.us/support/index?page=content&country=ITB&lang=EN&id=FA164737
    [3] http://www.apcupsd.com/manual/manual.html

  * Windows USB driver is now digitally signed thanks to Jernej Simoncic
    <jernej's-sflist@eternallybored.org>

3.14.10 -- 13 September 2011         (Maintenance Release)

BUG FIXES

  * Fix missing status and spurrious incorrect status on newer BackUPS CS
    models using USB interface.

  * USB compatibility fixes for Mac OS X Lion

  * USB driver support for newer Microlink models on Mac OS X Lion and Windows

  * Ignore transitions to battery due to calibration (possible if user
    initiates calibration, then exits apctest and starts apcupsd before
    calibration completes.

  * Fix truncation of long UPS model names such as "Smart-UPS RT 5000 XL"

  * Fix MODEL vs. APCMODEL confusion. Remove APCMODEL and rename old MODEL
    aka 'mode' to DRIVER.

Files:
RevisionActionfile
1.80modifypkgsrc/sysutils/apcupsd/Makefile
1.17modifypkgsrc/sysutils/apcupsd/PLIST
1.21modifypkgsrc/sysutils/apcupsd/distinfo
1.8modifypkgsrc/sysutils/apcupsd/patches/patch-af
1.9modifypkgsrc/sysutils/apcupsd/patches/patch-aj
1.8modifypkgsrc/sysutils/apcupsd/patches/patch-an
1.5removepkgsrc/sysutils/apcupsd/patches/patch-al
1.3removepkgsrc/sysutils/apcupsd/patches/patch-am