UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / doc / techlogs / 2004 / RN-3.10.13
blob75456924acfe32c4a98064e7206b13aa5ba721e6
2           Release Notes for Apcupsd 3.10.13
5 Release 3.10.13 20Apr04
6 - Added code to support net snmp configured with --enable-net-snmp
7   based on patch sent by Sander Siemonsma.
8 - Build smtp on Unix systems.
9 - Update to most current smtp and make it easier to configure
10   for apcupsd or Bacula
11 - Start implementing native Win32 version.
12 - Rename cmd -> ups_event and cmd_msg -> event_msg
13 - Add user supplied code to make apcaccess read the conf file and
14   self configure to proper port. Thanks to Martin Flack for this
15   patch.
16 - Start simplifying the Copyright and making the dates current.
17 - Rework the net driver. It was really in poor shape.
18 - Replace sprintf with asnprint. Replace strcpy with astrncpy
19 - Apply a fix supplied by Jim Pick where syslog releases the
20   usb port and then re-attaches it to /dev/log.
21 - I finally took a careful look at the old master/slave networking
22   code as well as ran it here, and it was sadly broken. Hopefully
23   this commit fixes the problems.    
24 - Fix a few string functions using the new routines.
25 - Added asys.c imported from Bacula, which contains a number of 
26   simple system routines such as astrncpy(), ...
28 Release 3.10.12 04Mar04:
29 - Apply patch from Adam that fixes OpenBSD and FreeBSD pthreads 
30   library bugs.
31 - William King has made a number of commits to bring the cgi
32   html up to current xhtml standards -- many thanks.
33 - Add poll time to SNMP driver, and correct header file prototyping.
34 - Make usb driver sleep for 1 second then retry up to 10 times
35   if the device cannot be opened. There are two such loops so in
36   the event of failure, it will occur 20 seconds later. This
37   allows time for the hotplug program to initialize the USB devices
38   after a boot.
39 - Thanks to Joseph Sacco, we have Yellow dog support -- and he
40   has tested and validated it!
41 - Integrated Joseph Sacco's yellowdog patch -- some done by hand.
42 - Fix a Makefile find that removes zero length files, which fails                 
43   on some systems.
44 - Web site update.
45 - Turned on strict prototype checking.
46 - Changed start level from 20 to 60 to ensure that DNS is started. 
47   Reported by David Walser.
48 - Remove some unused code in the snmp directory.
49 - Cleanup some compile errors in the snmp directory.
50 - Cleanup crap generated by doc book for web manual
51 - Move install.xml to install.kml and implement simpler html directives in
52   docbook.  Modify Makefile to convert html back into docbook.
53 - Change references to serial port in apctest to device (USB included).
54 - Minor updates to the documentation from user input.
56 Release 3.10.11 26Jan04:
57 - Correct apccontrol script to remove extra ;; that I inadvertantly
58   left the last release -- apparently that prevented proper shutdown.
59 - Updates to manual as requested by Adam and other users.
60 - Fix localtime_r in configure.in as reported with patch by Adam.
61 - Fixed bad html in multimoncss.c reported by an anonymous user.
62 - Added new Mandrake apcupsd.spec.in submitted by David Walser.
63 - Revert to using the old master/slave networking code bu default.
65 Release 3.10.10
66 - This version has an additional fix to the USB driver based on
67   work by Adam Kropelin -- it limits the rate at which apcupsd will
68   poll the UPS for the volatile data, which in turn reduces the possiblity
69   of flooding the kernel with control messages (hide-core.c: control
70   queue full ...".
71 - I added a new "offbattery" event that is only executed if the 
72   "onbattery" event was executed. This should allow users to easily
73   control what messages they get and by using the ONBATTERYDELAY the
74   time on batteries before the onbattery event is notified. The code
75   is untested, so any feedback would be appreciated.
77 Release 3.10.9
78 31Dec03
79 - Bartlomiej Krol found an unexpected interaction between the 6 second
80   "debounce" code and the new ONBATTERY delay time that caused the
81   USB and apcsmart drivers to sleep for a long time.
82 28Dec03
83 - Added upsBaiscOntrolConverveBattery change to smtp requested by
84   Kastus Shchuka (kastus@list.sourceforge.net) 
85 - Move wall in killpower of apccontrol to after killpower to avoid 
86   errors stopping script.
87 - Install apctest along with apcupsd.
88 19Dec03
89 - Added patch by Adam Kropelin that ignores invalid samples. This 
90   eliminates the need for the wait, and seems to calm the system. Apparently, 
91   even though apcupsd did not use the bad samples, it would break from the
92   wait loop, and request an update, which gave even more bad samples. With
93   Adam's patch the samples are simply dropped and we continue waiting (if 
94   appropriate).  Thanks Adam.
95 18Dec03
96 - Add Slackware updated patch submitted by Andrei Mamontov
97 - Corrected the missing library dependencies in src/Makefile.in
98   Thanks to Reg. Clemens for pushing me a bit on this.
99 24Nov03
100 - Added a ONBATTERYDELAY to the conf file. This is the time in
101   seconds that apcupsd will wait after detecting a power failure
102   until it sets the onbattery state.  If you do not want to be
103   annoyed by short power outages (usually less than 10 seconds),
104   set the ONBATTERYDELAY appropriately and comment out the
105   powerout) "echo ...|wall" statement.
106 - I finally got the no driver configured error. It turns out that the
107   Makefile detection of changes is all botched up. Since I don't understand
108   how the author expected it to work, I used the sledgehammer approach and
109   do a "make clean" on every ./configure.
110 - Replaced apcnet.c with Howard Wilkinson's new master/slave code. If
111   anyone *really* needs the old driver, it is in src/apcnet.c.old
112 - Upgraded to Cygwin 1.5.5
114 Items to note:  !!!!!
115 - The default NIS port has changed from 7000 to 3551. Port 3551 has been
116   officially assigned to apcupsd by IANA.