Date: Wed, 21 Jul 2010 16:12:40 +0800 From: khsing <khsing.cn@gmail.com> To: Stephen Morton <tungolcraeft@gmail.com> Cc: ports@freebsd.org Subject: Re: FreeBSD Port: moinmoin-1.9.2_3 Message-ID: <AANLkTikTcrw2e6M9bJe2SHQso-5OXEvnvbPOhx-VjCUS@mail.gmail.com> In-Reply-To: <FEEC8B8C-9EE4-4B1A-B629-F07265079AFD@gmail.com> References: <FEEC8B8C-9EE4-4B1A-B629-F07265079AFD@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, this is a problem. a standalone server should start with $MOINDEST/server/moin server standalone I will modify Makefile to fit this changes. Thanks On Wed, Jun 30, 2010 at 4:40 PM, Stephen Morton <tungolcraeft@gmail.com> wr= ote: > The current version of the moinmoin port seems to be pretty broken when i= t 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 dire= ctory > *** Error code 71 > > and the instructions for package install specify a different file that do= esn't exist: ${MOINDIR}/server/moin.py > > I suspected that wikiserver.py is the proper file, and I copied it over f= rom 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 ov= er as well, although I can't seem to make the server respect all the option= s I set. In particular, I could get it to change port and to drop root priv= ileges, but it wouldn't bind to something besides localhost. I don't know w= hat =C2=A0was 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 t= he 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 meta= port, uname -a > FreeBSD [hostname removed] 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21= 15:02:08 UTC 2009 =C2=A0 =C2=A0 root@mason.cse.buffalo.edu:/usr/obj/usr/sr= c/sys/GENERIC =C2=A0amd64 > > Any other information you'd like, just ask. --=20 A man live in jail and want to break. http://blog.khsing.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikTcrw2e6M9bJe2SHQso-5OXEvnvbPOhx-VjCUS>