Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2010 04:40:51 -0400
From:      Stephen Morton <tungolcraeft@gmail.com>
To:        khsing.cn@gmail.com
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: moinmoin-1.9.2_3
Message-ID:  <FEEC8B8C-9EE4-4B1A-B629-F07265079AFD@gmail.com>

next in thread | raw e-mail | index | archive | help
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=3DSTANDALONE MOINDEST=3D/usr/local/www/wiki instance

Set MOINTYPE=3D(CGI|FCGI|WSGI|STANDALONE) to define
type of installation. Default is CGI.
Use MOINDEST=3D/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.=20

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@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Any other information you'd like, just ask.=20=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FEEC8B8C-9EE4-4B1A-B629-F07265079AFD>