$OpenBSD: README,v 1.7 2014/07/11 16:17:37 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Post-installation steps
=======================
1. Add the following to /etc/inetd.conf:

support         stream  tcp     nowait  _gnats	${TRUEPREFIX}/libexec/gnats/gnatsd	gnatsd

inetd(8) must be reloaded (or started). To enable it at boot, the
following line needs to be added to rc.conf.local(8):
inetd_flags=

2. Edit the config files in ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm
   (see the GNATS info documentation and online HTML documentation)
   to your liking, then run (as root):

	su -m _gnats -c '${TRUEPREFIX}/libexec/gnats/mkcat --directory=${TRUEPREFIX}/share/gnats/gnats-db'

3. As root, do

	crontab -e -u _gnats

   and add the following entry:

0,10,20,30,40,50 * * * * ${TRUEPREFIX}/libexec/gnats/queue-pr --run

4. Add the following lines to /etc/mail/aliases and run 'newaliases':

# GNATS support
gnats-admin: root
bugs:   "|${TRUEPREFIX}/libexec/gnats/queue-pr -q"
monkey-gnats: bugs

   where 'monkey' is replaced with the configured value of GNATS_SITE in
   ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/config.

5. If you want to run gnatsweb, add

127.0.0.1:view:

to ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access. You may
increase privileges for all users of gnatsweb by changing 'view' to
'edit', or for individual users by adding rules to
${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access.

References
==========
Additional documentation at  http://sunsite.ualberta.ca/Documentation/Gnu/gnats-3.113/
