Smart UPS Tools quick notes and info

- Compiling the base programs should be a matter of checking config.h, 
  then make, su, and make install.  To do the cgi programs, do make cgi
  then make install-cgi.  Be sure you have gd installed for those (see below)..

- If you plan to run programs that link to the upsfetch libraries, do
  "make install-misc" to put the object file and headers in place.

- There is now a mailing list for announcements and support.  Send 
  "subscribe ups" to majordomo@lists.exploits.org to join, and mail
  messages for the list to ups@lists.exploits.org.

- These programs need a new name since they now go beyond the APC Smart-UPS
  models.  Send suggestions to the mailing list.

- Version 0.40.0 represents a complete recoding of the server software. 
  There is no longer one big upsd process that does everything.  Rather,
  there are now programs that support a specific model and a common upsd
  that gives them a unified connection to the network.

  Once it's been compiled and installed, this is how you start everything,
  assuming a Smart-UPS model on ttyS1.  Change things to suit your
  configuration given this example...

  /usr/local/ups/bin/smartups /dev/ttyS1
  /usr/local/ups/bin/upsd /var/state/ups/smartups-ttyS1

  After that's running, you can do /usr/local/ups/bin/upsc localhost to
  see everything that's been detected.

- gd is no longer included to save on space.  To use the CGI programs that
  draw nifty GIFs for you, it has to be installed separately.

  Find it at:
  http://www.boutell.com/gd/http/gd1.3.tar.gz
  ftp://ftp.boutell.com/pub/boutell/gd/gd1.3.tar.gz

  Get it, compile it, then manually copy some files around since there is
  no "install" target in the Makefile.  I put libgd.a in /usr/local/lib 
  and all of the .h files in /usr/local/include.  Assuming /usr/local/lib
  is one of the directories where your compiler looks for libs, everything
  should work fine.  This also assumes your compiler looks in
  /usr/local/include for header files.  If not, some hacking is required.

  You should only have to do this once.  This change makes the .tar.gz files
  70-80K smaller and cuts down on unnecessary download time.

- There are a lot of TODOs scattered throughout the source, but nothing
  critical has been purposely omitted.  If I've missed something that was
  present in 0.34, let me know.

- The versions are supposed to work like this...

  Everything is currently 0.x since planned features are lacking.  Once
  all of them are coded and stable, it will become 1.0.

  "-pre" versions are potentially broken, but are used to make sure things
  work after making major changes.

- Additional documentation can be found in the docs subdirectory.

- To compile the CGI programs, do "make cgi".  They are not compiled
  by default to remove the annoying compile failures when gd does not exist.

- Be sure to create /var/state/ups or whatever directory has been used as
  STATEPATH in config.h.  It needs to be writable by the uid/gid that's 
  defined in that file - usually nobody/nogroup.
