patch-docs_INSTALL 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $OpenBSD: patch-docs_INSTALL,v 1.4 2015/07/18 21:05:38 ajacoutot Exp $
  2. --- docs/INSTALL.orig Sun Nov 30 06:29:12 2008
  3. +++ docs/INSTALL Sat Jul 18 23:03:36 2015
  4. @@ -14,8 +14,8 @@
  5. 1) Install the Hatchet directory
  6. - $ tar zxvf hatchet-0.9.2.tar.gz
  7. - $ sudo mv hatchet-0.9.2 /var/www/hatchet
  8. + # tar zxvf hatchet-0.9.2.tar.gz
  9. + # mv hatchet-0.9.2 ${PREFIX}/hatchet
  10. 2) Install the following Perl modules
  11. @@ -28,17 +28,17 @@
  12. 3) Install mod_perl (www/mod_perl) and enable the module
  13. - $ sudo mod_perl-enable
  14. + # mod_perl-enable
  15. 4) Add an entry in httpd.conf and restart httpd. Example:
  16. <VirtualHost _default_:80>
  17. - DocumentRoot /var/www/hatchet
  18. + DocumentRoot ${PREFIX}/hatchet
  19. PerlModule Apache::PerlRun
  20. <Location /cgi/>
  21. SetHandler perl-script
  22. PerlHandler Apache::PerlRun
  23. - PerlRequire /var/www/hatchet/cgi/startup.pl
  24. + PerlRequire ${PREFIX}/hatchet/cgi/startup.pl
  25. Options ExecCGI
  26. PerlSendHeader On
  27. allow from all
  28. @@ -47,14 +47,13 @@
  29. 5) Create the database
  30. - $ cd /var/www/hatchet/sbin/
  31. - $ sudo ./hatchet_mkdb
  32. + # cd ${PREFIX}/hatchet/sbin/
  33. + # ./hatchet_mkdb
  34. -6) Add the following lines in crontab. If done as a non-root user,
  35. - make sure to use sudo.
  36. +6) Add the following lines in root's crontab.
  37. - 14,29,44,59 * * * * sudo /var/www/hatchet/sbin/hatchet
  38. - 19,34,49,04 * * * * sudo /var/www/hatchet/sbin/hatchart
  39. + 14,29,44,59 * * * * ${PREFIX}/hatchet/sbin/hatchet
  40. + 19,34,49,04 * * * * ${PREFIX}/hatchet/sbin/hatchart
  41. 7) Voila! That should be everything. If I've forgotten something,
  42. or it's not working quite right for you, please email me at