Installing Gophernicus on OpenBSD
Published:
Installing Gophernicus on OpenBSD was actually rather simple. It is packaged so a simple:
doas pkg_add gophernicus
will install the necessary files. According to the pkg-readme the preferred way to run it is through inetd so that’s what I set up. The exact line I added to /etc/inetd.conf was:
gopher stream tcp nowait _gophernicus /usr/local/libexec/in.gophernicus in.gophernicus -h irl.xyz
In the example, the hostname is in double quotes but the quotes ended up appearing in gophermap outputs so I removed them and testing with lynx everything is working now.
The gopher root is /var/gopher
and appears to be created when you
install the package. An example gophermap can be found there too.