UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / doc / techlogs / 3.8.2 / kes10Apr01
blob48d9ed2b4707f545a9f3b4e2bd4df19199a1fe17
1              Technical notes on version 3.8.2Beta6
2                         10 April 2001
3                         Kern Sibbald
5 General:
6 - I've added a good number of new ./configure command line
7   options that permit fairly detailed preconfiguration of
8   apcupsd.conf
9 - I've integrated (by hand) the new Debian code.
10 - Changed the release name to apcupsd-3.8.2Beta6 to avoid
11   conflicts with packagers who use -nn at the end.
12 - NOTE! The default location (if it exists) for putting the
13   apcupsd.events and apcupsd.status files is /var/log
14   rather than /etc/apcupsd (see kes09Apr01 for details).
16 Changes submitted this submission:
17 - Added dependencies to the lib subdirectory.  This
18   was causing incorrect makes when header files changed.
19 - I added the following variables to the ./configure
20   command line.  Type ./configure --help to see the full list
22   --with-distname=NAME    Specify DISTNAME
23   --with-nologin=DIR      Specify nologin file directory (default /etc)
24   --with-pid-dir=DIR      Specify PIDDIR directory
25   --with-log-dir=DIR      Specify EVENTS and STATUS directory
26   --with-lock-dir=DIR     Specify serial port lock directory
27   --with-serial-dev=DEV   Specify serial port device
28   --with-nis-port=PORT    Specify NIS (CGI) port
29   --with-net-port=PORT    Specify Master/slave port
30   --with-upstype=TYPE     Specify the UPS type
31   --with-upscable=CABLE   Specify the UPS cable
33   See notes in kes09Apr01 for more details.
34   The output from ./configure now includes all the ablve items.
36 - We have been having a good number of shared memory problems,
37   mostly due to old zombie apcupsds.  I've made the code try
38   1000 different keys before giving up.  Note, if it does use
39   a different key, apcaccess will not function as it has
40   no way of knowing the new key.
41 - cgi/upsfetch.c now uses configure NISPORT
42 - cgi/upsfetch.c now retrieves the last self test date (if available).
43 - cgi/upsstats.c the self test date is now displayed (if available)
44 - Added a lot of stuff to the Debian directory.  Note, the
45   apcupsd make files for proper building and installation are
46   in <src>/distributions/debian, and all the package information
47   is in the debian subdirectory packageinfo.  There is also a lot
48   of stuff in the debian subdirectory examples.
49 - Eliminated all the apcupsd.conf files the were contained in
50   the distributions directory.
51 - Made a generic apcupsd.conf.in that is modified according to the
52   ./configure parameters to build <src>/etc/apcupsd.conf.  This
53   allows pretty good pre-configuration of the apcupsd.conf