2011-06-02 09:41:36 -04:00
|
|
|
$OpenBSD: README,v 1.4 2011/06/02 13:41:36 ajacoutot Exp $
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2011-06-02 09:41:36 -04:00
|
|
|
+-----------------------------------------------------------------------
|
|
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
|
|
+-----------------------------------------------------------------------
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2011-06-02 09:41:36 -04:00
|
|
|
Post-installation steps
|
|
|
|
=======================
|
2001-01-12 12:14:51 -05:00
|
|
|
1. Add the following to /etc/services:
|
|
|
|
|
|
|
|
support 1529/tcp # GNATS
|
|
|
|
|
|
|
|
2. Add the following to /etc/inetd.conf and HUP inetd:
|
|
|
|
|
2010-11-09 16:33:24 -05:00
|
|
|
support stream tcp nowait _gnats ${TRUEPREFIX}/libexec/gnats/gnatsd gnatsd
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2010-11-09 16:33:24 -05:00
|
|
|
3. Edit the config files in ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm
|
2010-11-23 13:14:19 -05:00
|
|
|
(see the GNATS info documentation and online HTML documentation)
|
2001-01-12 12:14:51 -05:00
|
|
|
to your liking, then run (as root):
|
|
|
|
|
2010-11-09 16:33:24 -05:00
|
|
|
su -m _gnats -c '${TRUEPREFIX}/libexec/gnats/mkcat --directory=${TRUEPREFIX}/share/gnats/gnats-db'
|
2001-01-12 12:14:51 -05:00
|
|
|
|
|
|
|
4. As root, do
|
|
|
|
|
2003-08-29 18:40:16 -04:00
|
|
|
crontab -e -u _gnats
|
2001-01-12 12:14:51 -05:00
|
|
|
|
|
|
|
and add the following entry:
|
|
|
|
|
2010-11-09 16:33:24 -05:00
|
|
|
0,10,20,30,40,50 * * * * ${TRUEPREFIX}/libexec/gnats/queue-pr --run
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2003-08-29 18:40:16 -04:00
|
|
|
5. Add the following lines to /etc/mail/aliases and run 'newaliases':
|
2001-01-12 12:14:51 -05:00
|
|
|
|
|
|
|
# GNATS support
|
|
|
|
gnats-admin: root
|
2010-11-09 16:33:24 -05:00
|
|
|
bugs: "|${TRUEPREFIX}/libexec/gnats/queue-pr -q"
|
2001-01-12 12:14:51 -05:00
|
|
|
monkey-gnats: bugs
|
|
|
|
|
|
|
|
where 'monkey' is replaced with the configured value of GNATS_SITE in
|
2010-11-09 16:33:24 -05:00
|
|
|
${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/config.
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2004-10-31 12:22:40 -05:00
|
|
|
6. If you want to run gnatsweb, add
|
2001-01-12 12:14:51 -05:00
|
|
|
|
|
|
|
127.0.0.1:view:
|
|
|
|
|
2010-11-09 16:33:24 -05:00
|
|
|
to ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access. You may
|
2005-10-01 10:49:11 -04:00
|
|
|
increase privileges for all users of gnatsweb by changing 'view' to
|
2001-01-12 12:14:51 -05:00
|
|
|
'edit', or for individual users by adding rules to
|
2010-11-09 16:33:24 -05:00
|
|
|
${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access.
|
2001-01-12 12:14:51 -05:00
|
|
|
|
2011-06-02 09:41:36 -04:00
|
|
|
References
|
|
|
|
==========
|
2010-11-23 13:14:19 -05:00
|
|
|
Additional documentation at http://sunsite.ualberta.ca/Documentation/Gnu/gnats-3.113/
|