Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2009 10:30:03 GMT
From:      Qing Feng <qingfeng@me.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/137728: New port: www/tokyopromenade: a content management system
Message-ID:  <200910281030.n9SAU3Cf078818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/137728; it has been noted by GNATS.

From: Qing Feng <qingfeng@me.com>
To: bug-followup@FreeBSD.org, qingfeng@me.com
Cc: wen heping <wenheping@gmail.com>
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 <qingfeng@me.com>
 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 <bsd.port.mk>
 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)--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910281030.n9SAU3Cf078818>