a7359bc2e8
many standard Haskell libraries by either function name, or by approximate type signature. There are still a lot of things left to improve for this port: - Privilege dropping when running the server as root (difficult, because this should be better done in hs-warp). To be worked on with upstream. - Add an rc.d script for the server. - Remove unneded files after running "hoogle data ...". To be worked on with upstream. - Integrate with our own hs-packages (so you can search in installed libraries only). - Add usable documentation. To be done with upstream (currently, there's only some Wiki page). - Use our ftp(1) instead of wget(1). (IIRC, the hoogle API contains some functions which pass options verbatim to wget(1), so this may be difficult to get right). ok (with a hint about MODULES and WANTLIB) jasper@
21 lines
779 B
Plaintext
21 lines
779 B
Plaintext
$OpenBSD: README,v 1.1.1.1 2011/12/06 21:03:43 kili Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
To fetch and initially create the default hoogle database set
|
|
(currently all haskell packages from the haskell platform), you may
|
|
want to run the following command:
|
|
|
|
su -s /bin/sh _hoogle -c 'hoogle data default'
|
|
|
|
You can refetch files and rebuild the hoogle databases by running
|
|
the following command from a cron job or /etc/weekly.local:
|
|
|
|
su -s /bin/sh _hoogle -c 'hoogle data -r default'
|
|
|
|
If you want the complete set of databases for all packages available
|
|
at hackage.haskell.org, replace "default" by "all" in the commands
|
|
above.
|