From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 28 10:30:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDCF1065676 for ; Wed, 28 Oct 2009 10:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC0B08FC1B for ; Wed, 28 Oct 2009 10:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n9SAU34H078823 for ; Wed, 28 Oct 2009 10:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9SAU3Cf078818; Wed, 28 Oct 2009 10:30:03 GMT (envelope-from gnats) Date: Wed, 28 Oct 2009 10:30:03 GMT Message-Id: <200910281030.n9SAU3Cf078818@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Qing Feng Cc: Subject: Re: ports/137728: New port: www/tokyopromenade: a content management system X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Qing Feng List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 10:30:04 -0000 The following reply was made to PR ports/137728; it has been noted by GNATS. From: Qing Feng To: bug-followup@FreeBSD.org, qingfeng@me.com Cc: wen heping Subject: Re: ports/137728: New port: www/tokyopromenade: a content management system Date: Wed, 28 Oct 2009 18:23:30 +0800 --Boundary_(ID_cCe7UqD1FpwfEaqPY/KYnA) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT add help msg. --Boundary_(ID_cCe7UqD1FpwfEaqPY/KYnA) Content-type: application/octet-stream; x-unix-mode=0644; name=tokyopromenade.shar Content-transfer-encoding: 7bit Content-disposition: attachment; filename=tokyopromenade.shar # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tokyopromenade # tokyopromenade/Makefile # tokyopromenade/distinfo # tokyopromenade/pkg-descr # tokyopromenade/pkg-plist # tokyopromenade/pkg-message # echo c - tokyopromenade mkdir -p tokyopromenade > /dev/null 2>&1 echo x - tokyopromenade/Makefile sed 's/^X//' >tokyopromenade/Makefile << 'a89bffde1d4b087c131e4014a32c6708' X# New ports collection makefile for: tokyopromenade X# Date created: 2009-08-13 X# Whom: Qing Feng X# X# $FreeBSD$ X# X XPORTNAME= tokyopromenade XPORTVERSION= 0.9.15 XCATEGORIES= databases www XMASTER_SITES= http://1978th.net/tokyopromenade/ X XMAINTAINER= qingfeng@me.com XCOMMENT= a content management system X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XBUILD_DEPENDS= tokyocabinet>=1.4.31:${PORTSDIR}/databases/tokyocabinet XLIB_DEPENDS= tokyocabinet:${PORTSDIR}/databases/tokyocabinet X XMAN1= prommgr.1 X X.if defined(WITH_LUA) XCONFIGURE_ARGS+= --enable-lua XCONFIGURE_ENV+= LDFLAGS="-L${LUA_LIBDIR}" XCFLAGS+= -I${LUA_INCDIR} XUSE_LUA= yes X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include a89bffde1d4b087c131e4014a32c6708 echo x - tokyopromenade/distinfo sed 's/^X//' >tokyopromenade/distinfo << '27850cecd79eaaa1fd2e12efe25496f4' XMD5 (tokyopromenade-0.9.15.tar.gz) = bffd0f5779dc0204b6710905c24ad70a XSHA256 (tokyopromenade-0.9.15.tar.gz) = a300b3b4f2ac61e3f26939df84e57825eb0566106d7719329c02c9e5d31ae5f7 XSIZE (tokyopromenade-0.9.15.tar.gz) = 120878 27850cecd79eaaa1fd2e12efe25496f4 echo x - tokyopromenade/pkg-descr sed 's/^X//' >tokyopromenade/pkg-descr << '234e9b8d8c97c1cf8ced31b73d3d6ea2' XTokyo Promenade: a content management system X XWWW: http://1978th.net/tokyopromenade/ 234e9b8d8c97c1cf8ced31b73d3d6ea2 echo x - tokyopromenade/pkg-plist sed 's/^X//' >tokyopromenade/pkg-plist << 'bf9a6e269f3623a9cbb9db008a01ce1b' Xbin/prommgr Xlibexec/promenade.cgi Xlibexec/promscrsample.lua Xlibexec/promscrcount.lua Xlibexec/promupdiff.sh Xlibexec/promupping.sh X%%DATADIR%%/doc/index.html X%%DATADIR%%/doc/spex.html X%%DATADIR%%/doc/common.css X%%DATADIR%%/misc/about.tpw X%%DATADIR%%/misc/banner.svg X%%DATADIR%%/misc/dup1.tpw X%%DATADIR%%/misc/dup2.tpw X%%DATADIR%%/misc/dup3.tpw X%%DATADIR%%/misc/dup4.tpw X%%DATADIR%%/misc/blog.tpw X%%DATADIR%%/misc/help-ja.tpw X%%DATADIR%%/misc/help-en.tpw X%%DATADIR%%/misc/tc.tpw X%%DATADIR%%/misc/front.tpw X%%DATADIR%%/ChangeLog X%%DATADIR%%/COPYING X%%DATADIR%%/THANKS X%%DATADIR%%/promenade.css X%%DATADIR%%/promenade.tmpl X%%DATADIR%%/passwd.txt X@dirrmtry %%DATADIR%%/misc X@dirrmtry %%DATADIR%%/doc X@dirrmtry %%DATADIR%%/lab X@dirrmtry %%DATADIR%% bf9a6e269f3623a9cbb9db008a01ce1b echo x - tokyopromenade/pkg-message sed 's/^X//' >tokyopromenade/pkg-message << '202c224e71e5f2ed888aa05464bf638d' XPOST-INSTALL CONFIGURATION FOR Tokyo Promenade X===================================== X X1) Install an arbitrary web server which supports the CGI mechanism. Then, create a directory where CGI scripts can be executed. We call it the base directory, which contains some files of Tokyo Promenade. X X mkdir -p /path/to/the/base/directory X cd /path/to/the/base/directory X X2) Copy the CGI script and some configuration files into the base directory. X X cp /usr/local/libexec/promenade.cgi . X cp /usr/local/share/tokyopromenade/promenade.* . X cp /usr/local/share/tokyopromenade/passwd.txt . X X3) Create the database file where articles are stored. X X prommgr create promenade.tct X X4) Import the help articles into the database. X X prommgr import promenade.tct /usr/local/share/tokyopromenade/misc/help-*.tpw X X5) Create a directory where uploaded files are stored. X X mkdir upload X X6) The CGI script should have permissions to read/write the database file, the upload directory and the password file. To achieve the purpose, one of the following is suggested. X X Change the owner: sudo chown -R www:nobody /path/to/the/base/directory X Forget the security: chmod -R 777 /path/to/the/base/directory X Run the web server by the same user of the owner of the base directory. X Change the user ID of the CGI script by using a feature of the web server like suExec. X XWhen all steps above are finished, access the CGI script with a Web browser. 202c224e71e5f2ed888aa05464bf638d exit --Boundary_(ID_cCe7UqD1FpwfEaqPY/KYnA) Content-type: text/plain; charset=US-ASCII; format=flowed Content-transfer-encoding: 7BIT --Boundary_(ID_cCe7UqD1FpwfEaqPY/KYnA)--