FreeBSD Port: moinmoin-1.9.2_3

Stephen Morton tungolcraeft at gmail.com
Wed Jun 30 09:11:45 UTC 2010


The current version of the moinmoin port seems to be pretty broken when it comes to running it as a standalone thing. 'make instance' tries to copy a file that doesn't exist:

sudo make MOINTYPE=STANDALONE MOINDEST=/usr/local/www/wiki instance

Set MOINTYPE=(CGI|FCGI|WSGI|STANDALONE) to define
type of installation. Default is CGI.
Use MOINDEST=/path to modify installation destination.
Default value for MOINDEST is /usr/local/www/wiki.

To get correct permissions, please set CGIUSER, CGIGROUP
per default it is set to www:www.

Creating a new wiki instance in /usr/local/www/wiki.
install: /usr/local/share/moin/server/wikiserver.py: No such file or directory
*** Error code 71

and the instructions for package install specify a different file that doesn't exist: ${MOINDIR}/server/moin.py

I suspected that wikiserver.py is the proper file, and I copied it over from the initial tarball and got everything to run, but then I run into the problem of config. The file server/wikiserverconfig.py should get copied over as well, although I can't seem to make the server respect all the options I set. In particular, I could get it to change port and to drop root privileges, but it wouldn't bind to something besides localhost. I don't know what  was going on there. 

Additionally, dropping root privileges seemed to happen at the wrong time, because if I told it to run on port 80 and drop off of root, it seems to drop root before it binds to the port, and so fails to do so. I'm getting the same behavior out of running straight from the tarball though, so that's probably something I'm doing wrong.

Anyway, thought I'd let you know. I'm running python from the python metaport, uname -a
FreeBSD [hostname removed] 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Any other information you'd like, just ask. 


More information about the freebsd-ports mailing list