Dragonfly users, please test that is still builds !
pkgsrc change: as snmp support doesn't depend on net-snmp
anymore, remove snmp option and always build snmp support.
cgi option now depend on graphics/gd/
User-visible changes sinces 3.14.3:
2010-08-30 14:18 adk0212
* src/drivers/snmplite/: mge-mib.cpp, mge-oids.h, mibs.cpp:
Add support for MGE SNMP MIB. Contributed by Lars Täer
<taeuber@bbaw.de>
2010-07-30 18:04 adk0212
* src/drivers/snmplite/: apc-mib.cpp, apc-oids.h, mib.cpp, oids.h,
rfc1628-mib.cpp, rfc1628-oids.h, snmplite.cpp, snmplite.h:
Add support for RFC1628 SNMP MIB. Refactor APC MIB and create
MibStrategy struct for associating MIB/CI mapping with
corresponding processing function. RFC1628 strategy is coded per
the MIB but untested.
2010-01-10 10:29 adk0212
* include/defines.h, src/apctest.c, src/drivers/usb/usb.c:
Add apctest support for reading/setting self-test interval on USB.
Also show current setting in UPS status. Contributed by James
Belleau <jpbelleau@gmail.com>
2009-10-25 11:03 adk0212
* configure, autoconf/config.h.in, autoconf/configure.in,
autoconf/variables.mak.in, include/struct.h,
platforms/etc/apcupsd.conf.in, src/drivers/Makefile,
src/drivers/drivers.c, src/drivers/snmplite/Makefile,
src/drivers/snmplite/asn.cpp, src/drivers/snmplite/asn.h,
src/drivers/snmplite/mib.cpp, src/drivers/snmplite/snmp.cpp,
src/drivers/snmplite/snmp.h, src/drivers/snmplite/snmplite.cpp,
src/drivers/snmplite/snmplite.h, src/lib/apcconfig.c,
src/lib/apcstatus.c:
Add SNMP Lite driver which does not depend on net-snmp library.
This makes it more portable and eliminates need to move libsnmp.so
to /lib in order to do a killpower on systems where /usr is
unmounted.
2009-09-01 20:30 adk0212
* src/apctest.c:
Implement battery calibration in apctest for USB models. Thanks to
James Belleau <james@belleau.net> for the original implementation
which has been modified somewhat in this commit.
2009-05-02 10:30 adk0212
* src/action.c:
Change log level of UPS self-test messages to WARNING from ALERT.
Given that self-test messages are routine, they do not belong at
LOG_ALERT. Contributed by Dave Ewart <davee@ceu.ox.ac.uk>.
2009-04-25 10:58 adk0212
* src/lib/apcconfig.c:
Remove EVENTFILE, EVENTFILEMAX config directives. These were
replaced by the plural versions that are in use today (EVENTSFILE,
EVENTSFILEMAX) almost 10 years ago. It's time to kill the old
names. (h/t Trevor Roydhouse <trev@sentry.org>)
2009-03-02 17:48 adk0212
* doc/apcupsd.man, include/drivers.h, include/extern.h,
src/action.c, src/apctest.c, src/apcupsd.c, src/device.c,
src/options.c, src/drivers/drivers.c,
src/drivers/apcsmart/apcsmart.h, src/drivers/apcsmart/smart.c,
src/drivers/apcsmart/smartoper.c, src/drivers/usb/usb.c,
src/drivers/usb/usb.h, src/lib/apclock.c:
Add support for turning the UPS off completely. This complements
existing hibernate (aka killpower) functionality. Turn-off is
implemented for apcsmart and USB drivers, subject to support for
the relevant commands in the UPS itself. Contributed by Keith
Campbell <campbell@econnectix.com>.
2008-06-29 11:12 adk0212
* src/action.c:
Fix bug in LOWBATT glitch handling. We must examine LOWBATT for
changes every time thru the status loop, not just during the
OnBattery state. Otherwise we can miss the initial LOWBATT
assertion, which defeats the glitch rejection logic.
2008-05-06 20:16 skoona
* src/gapcmon/gapcmon.c:
Corrected the use of NOMPOWER and the calc of current usage amount
2008-05-04 11:13 adk0212
* src/drivers/usb/usb.c:
Add a heuristic to fix up incorrect NOMINV or NOMOUTV. Some UPSes
(RS 500) report decivolts instead of volts. Reported by Kirill S.
Bychkov <yason@linklevel.net>.
2008-01-27 12:00 adk0212
* include/struct.h, platforms/etc/apcupsd.conf.in,
platforms/mingw/apcupsd.conf.in, src/device.c,
src/drivers/net/net.c, src/drivers/snmp/drv_powernet.c,
src/lib/apcconfig.c:
Add POLLTIME directive to control UPS polling interval. NETTIME is
accepted as a synonym for compatibility with old config files.
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
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
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
the RCD_SCRIPTS rc.d script(s) to the PLIST.
This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.
This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)
These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)
I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.
Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
hard-coded etc/rc.d. These need to be fixed.
- maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.
. 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