From owner-freebsd-ports@FreeBSD.ORG Wed Jun 30 09:11:45 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3F75106564A for ; Wed, 30 Jun 2010 09:11:45 +0000 (UTC) (envelope-from tungolcraeft@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 681A28FC0A for ; Wed, 30 Jun 2010 09:11:45 +0000 (UTC) Received: by vws13 with SMTP id 13so912563vws.13 for ; Wed, 30 Jun 2010 02:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:cc:to :mime-version:x-mailer; bh=Su5ZxYxOtD4kgTtUf6OGAnGbF+fZFexxvBmwb6WMNFo=; b=vIy+3AV8MQFEpT1wS7pOhwv5QpHUXM4pgGQSCNemsVisnuVYTS961PA8t27uxGFDw/ dXqUGeo/mBpMmXa6C9CIuuTwHQNj2cA1gWnY6gRdtYRYruQf55HQNS40CAOJSC1e5KYM m7xjcoqBRIEsIwx4DjYcyeFej6vNOeyjxJuJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version:x-mailer; b=tk6UKtHcBG8pq1vKEk7vjSCK724Q32Iod4WLu8V4jYLKa6eQV+gEkC3V/pzuh0JVkr v7eciNYqD2wo47M/Pnlje9k1onzAUiIKX/jMl+XFGhi2HFbSABwKrNZL775bXkjEywiZ tdDhPfh7i2mBg235TPsl07wos2eczJ/WsrpxM= Received: by 10.229.225.72 with SMTP id ir8mr4780117qcb.73.1277887255497; Wed, 30 Jun 2010 01:40:55 -0700 (PDT) Received: from saturnine.tardis (173-9-7-10-New-England.hfc.comcastbusiness.net [173.9.7.10]) by mx.google.com with ESMTPS id e16sm34245610qcg.47.2010.06.30.01.40.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Jun 2010 01:40:54 -0700 (PDT) From: Stephen Morton Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Jun 2010 04:40:51 -0400 Message-Id: To: khsing.cn@gmail.com Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Cc: ports@FreeBSD.org Subject: FreeBSD Port: moinmoin-1.9.2_3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 09:11:45 -0000 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=