-*- text -*-

INNAdmin Installation Procedure
M.C. Widerkrantz <mc@hack.org>
2004-05-25

* Requirements

  - An existing INN installation using INN 2.4.1-mc1 or later with my
    patches for ACLs. See here:

      http://hack.org/mc/hacks.html

  - Berkeley DB > v3.

    BDB is, for example, in the FreeBSD packages as db41, so do
    something like

      # pkg_add -r db41

  - The BerkeleyDB.pm module.

    Find it at CPAN and install it.

* News::INNAdmin and naf.cgi

Edit the Makefile target directories.

Do

  # make install

Edit innadmin.conf to suite your INN installation. If there is no
"acl" directory under ~news/db, be sure to create it.

* HTTP server

Install or configure an HTTP server. I use thttpd, so I installed it
with

  # pkg_add -r thttpd

Edit the configuration file of thttpd. I use something like:

  dir=/home/news/www
  user=news
  cgipat=**.cgi
  logfile=/home/news/log/thttpd.log
  pidfile=/home/news/run/thttpd.pid

If you go for a chrooted HTTP server, you will need to create a
standalone, chrooted Perl installation. You will probably have to
recompile Perl and possibly make it include all the modules it needs
statically or move them into the chrooted environment.
