Commit graph

14 commits

Author SHA1 Message Date
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
sborrill
f2bee2bc11 Update to 2.14.3:
3.14.3 -- 20 January 2008            (Maintenance Release)

NEW FEATURES

  * A HAL policy file is automatically installed on Linux systems to disable
    the hald-addon-hid-ups module which conflicts with apcupsd's control of
    USB UPSes. The file is automatically removed when apcupsd is
    uninstalled.

BUG FIXES

  * Add support for Nominal Power (aka Configured Active Power) reading.
    Credit to Lars Randers <lars@nstec.dk> for most of the code.

  * Add units to NOMINV, NOMOUTV, and NOMBATTV stats.

  * Eliminate "warning: deprecated conversion from string constant to
    'char*'" warnings emitted from gcc-4.2.1 (earlier versions with
    -Wwrite-strings). Contributed by Steve Yarmie <tribhuvanji@gmail.com>.

  * Fix killpower and eeprom settings bug on USB modules introduced when
    INPUT reports were prioritized over FEATURE reports.

  * Fix bugs that could cause NIS-net driver to get stuck waiting for
    comms to be restored instead of shutting down.


3.14.2 -- 15 September 2007          (Maintenance Release)

NEW FEATURES

  * Tray icon support on Vista. Vista does not allow background services
    to interact with the user's desktop, so winapcupsd's built-in tray
    icon did not work.

  * Tray icon is now a standalone application "apctray" which is capable of
    monitoring multiple Apcupsd instances via Apcupsd's NIS. Any Apcupsd
    running NIS can be monitored. By default the icon monitors a single
    apcupsd at 127.0.0.1:3551. See command line options below for adding
    additional monitors.

  * Tray icon can be installed individually (disable other packages in the
    installer) for users who want to use the icon only.

  * Apctray command line options:

       apctray.exe
          - No parameters: Start any instances listed in registry. If no
          instances in reg, start a default instance monitoring the local
          machine (127.0.0.1:3551).

       apctray.exe /host foo /port 3551 /add
          - Add a monitor for the given host and port.

       apctray.exe /host foo /port 3551 /del
          - Remove the given monitor.

       apctray.exe /del
          - Remove all monitors.

       apctray.exe /install
          - Configure apctray to start automatically.

       apctray.exe /remove
          - Do not start automatically.

       apctray.exe /kill
          - Shut down apctray

BUG FIXES

  * The win32 portions of winapcupsd have been almost entirely rewritten.
    The code is cleaner (mostly) and lots of unused baggage has been
    removed.

  * USB fix for BackUPS LCD series. This fix carries a risk of breaking
    other
    models, but test results are positive so far.

  * Fix linux-usb device detection bug when multiple hiddev nodes are
    present.  Fixes Fedora Bugzilla #245864:
    <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=245864>

  * Fix SNMP port selection when using SNMP driver

  * Add workaround for broken BackUPS Pro model that returns certain
    reports encoded in ASCII. Based on a patch from David Fries
    <David@Fries.net>.

  * apcsmart: Wait 20 seconds before declaring COMMLOST. This is necessary
    when using a smart serial cable on an UPS with an SNMP monitoring card
    installed. The SNMP card appears to disrupt serial comms for several
    seconds when interesting events are in progress.

  * Documentation updates: Fix up udev info for modern Linux distros.
    Update Windows section for apctray.

  * Don't leak unnecessary descriptors to child when execing apccontrol.

  * Fix bug with multi-threaded net_open() calls. net_open() was using
    a global buffer for the destination address. Yikes! Bug manifestied
    itself in apctray with multiple monitors occasionally (and
    timing-dependently) pointing to the wrong UPS.

  * Correct multimon.conf humidity monitoring.  Problem fixed by
    Patrick Frei.  Reference:
    https://bugzilla.novell.com/show_bug.cgi?id=199834

  * Fix race between attach_ups() and detach_ups() which could result
    in the UPSINFO structure being freed prematurely. Thanks to James
    Abbott <j.abbott@imperial.ac.uk> for running many tests to help me
    find this bug.

  * Remove dependency on libc++ (again). Must use gcc as linker when
    using libsupc++ since g++ automatically links against full libc++.
2008-04-28 08:28:05 +00:00
bouyer
26b576f47a Properly handle config files in $PREFIX/etc. Not sure how this worked with
the previous version of the package ...
Pointed out by Bernd Ernesti.
2007-06-19 22:22:55 +00:00
bouyer
564268b946 Use a more up-to-date config file as example
Add rc.d keywords to the startup script
both suggested by Bernd Ernesti.
2007-06-15 21:15:38 +00:00
bouyer
1b21dcb0fb Update to 3.14.1, based on patches sent in PR pkg/35594 and pkg/36246.
As a side effect this should make apcupsd build on netbsd-4 and current.

pkgsrc changes: cgi and snmp are now enabled by default.
Relevant changes since 3.12.4:
Unreliable MASTER/SLAVE networking mode is removed
PowerChute Network Shutdown driver (protocol available in the AP9617 family
    of smart slot modules)
New configuration directives to set paths at runtime
2007-06-15 19:05:56 +00:00
joerg
2601a85544 Allow this to build on DragonFly. Complete untested, feedback is welcome.
If it is provided, it might be worth to fix the distribution name :-)
2007-03-07 20:47:05 +00:00
bouyer
93b483ae63 Update to 3.12.4.
Summary of changes since 3.8.6:
* Support for USB UPSe (not enabled in pkgsrc)
* new networking driver (net) that uses the NIS interface rather than the
  older master/slave networking
* The apctest program has been enhanced to do EEPROM programming in a much
  more interactive way than the prior versions.
* Added a ONBATTERYDELAY config, time to switch to onbattery state after
  a power failure. New event "offbattery", which is the same as mainsback but
  only sent if we got to state onbattery
* new snmp driver, with trap support.
* Battery disconnect and reconnect events
2006-11-15 21:46:24 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
bouyer
abacd14103 Update to 3.8.6
Changelog: Fixed root exploit of slave machines
If you use the network features of apcupsd, you probably want to upgrade.
2003-03-27 20:01:22 +00:00
bouyer
9d1c4a507a Update to 3.8.5. Summary of changes since 3.6.2:
. New network interface to publish to clients the UPS status
. New master/server network code that is more fault tolerant
. Internationalization
. Use GNU getopt
. Logging on syslog
. Events logged in a file like APC's PowerChute
. Sync code removed: now only async processes are used
. Updated documentation (HTTP version)
. Bug fixes and enhancements: too many to tell them all
. no more powersc script, is has been remplaced with apccontrol
. In master/slave configurations, all masters and slaves
  must be updated at the same time. Version 3.8.0 is not
  compatible with versions prior to 3.8.0-pre4.
. Support for the Back-UPS Office series of UPSes
. Fixed dumb UPSes working with the Custom Simple cable.
. Correction of a buffer overflow on certain newer UPSes.
. More fault tolerant on startup in master/slave configuration.
. Additional STATUS variables (number of times on battery,
  amount of time on batteries, time/date of last transfer to
  batteries, apcupsd start time/date).
. apctest program for testing serial ports.
. Automatic notification of certain events by email.
. Detects Self Test and reports it as such rather than a
  Power Failure.
. For SmartUPSes, apcupsd does a much better job of adapting
  to the actual features of the UPS and is more efficient.
. Add Battery Runtime Calibration to apctest
. UPSNAME now sets upsname if given. Otherwise, apcupsd attempts to get name
  from UPS, if not found, uses hostname, finally "default".
. Added Ambient Temperature and Humidity to multimon (Carl Erhorn)

A number of the configuration statements have changed since versions 3.6.2.
You should either take the new apcupsd.conf file and modify it, or update your
existing file. In general, we recommend starting with the new file.

If you have used a prior version of apcupsd, the CONTROL script file
(/sbin/powersc) has now been replaced by $SYSCONFDIR/apcupsd/apccontrol.
Consequently, the CONTROL configuration statement is obsolete. The following
configuration statements have been replaced by scripts called from
SYSCONDFIR/apcupsd/apccontrol, and thus are obsolete:
BATTCMD, LIMITCMN, LOADCMD, PWRCMD, REBOOTCMD, REMOTECMD, RETCMD, and TIMECMD.
If you use the master/slave networking code, please be aware that the
2002-12-01 22:32:25 +00:00
dillo
2582709f2a get rid of autoconf build dependency by patching configure 2002-10-02 22:20:49 +00:00
wiz
6091608d9e Remove @INTLLIBS@ from source side of Makefile rules.
It made make(1) wonder how to create targets like
-L/usr/tmp/pkgsrc/sysutils/apcupsd/work.i386/.buildlink/lib
Fixes bulk build problem.
2002-01-03 14:31:09 +00:00
agc
027c166bf7 Move to sha1 digests, and add distfile sizes. 2001-04-19 11:28:57 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00