README 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. $OpenBSD: README,v 1.7 2014/07/11 16:17:37 ajacoutot Exp $
  2. +-----------------------------------------------------------------------
  3. | Running ${FULLPKGNAME} on OpenBSD
  4. +-----------------------------------------------------------------------
  5. Post-installation steps
  6. =======================
  7. 1. Add the following to /etc/inetd.conf:
  8. support stream tcp nowait _gnats ${TRUEPREFIX}/libexec/gnats/gnatsd gnatsd
  9. inetd(8) must be reloaded (or started). To enable it at boot, the
  10. following line needs to be added to rc.conf.local(8):
  11. inetd_flags=
  12. 2. Edit the config files in ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm
  13. (see the GNATS info documentation and online HTML documentation)
  14. to your liking, then run (as root):
  15. su -m _gnats -c '${TRUEPREFIX}/libexec/gnats/mkcat --directory=${TRUEPREFIX}/share/gnats/gnats-db'
  16. 3. As root, do
  17. crontab -e -u _gnats
  18. and add the following entry:
  19. 0,10,20,30,40,50 * * * * ${TRUEPREFIX}/libexec/gnats/queue-pr --run
  20. 4. Add the following lines to /etc/mail/aliases and run 'newaliases':
  21. # GNATS support
  22. gnats-admin: root
  23. bugs: "|${TRUEPREFIX}/libexec/gnats/queue-pr -q"
  24. monkey-gnats: bugs
  25. where 'monkey' is replaced with the configured value of GNATS_SITE in
  26. ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/config.
  27. 5. If you want to run gnatsweb, add
  28. 127.0.0.1:view:
  29. to ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access. You may
  30. increase privileges for all users of gnatsweb by changing 'view' to
  31. 'edit', or for individual users by adding rules to
  32. ${TRUEPREFIX}/share/gnats/gnats-db/gnats-adm/gnatsd.access.
  33. References
  34. ==========
  35. Additional documentation at http://sunsite.ualberta.ca/Documentation/Gnu/gnats-3.113/