ports/143211: New port: <www>/<tokyopromenade> <a content management system>

QingFeng qingfeng at me.com
Mon Jan 25 13:00:14 UTC 2010


>Number:         143211
>Category:       ports
>Synopsis:       New port: <www>/<tokyopromenade> <a content management system>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 25 13:00:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     QingFeng
>Release:        FreeBSD 7.2-RELEASE-p4
>Organization:
80s
>Environment:
FreeBSD 80s 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #3: Fri Oct  9 11:44:21 CST 2009     root at 80s:/usr/obj/usr/src/sys/BOYPARK  i386
>Description:

>How-To-Repeat:

>Fix:
# 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 at me.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tokyopromenade
XPORTVERSION=	0.9.18
XCATEGORIES=	databases www
XMASTER_SITES=	http://1978th.net/tokyopromenade/
X
XMAINTAINER=	qingfeng at 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
XCONFIGURE_ARGS+=	--enable-fcgi
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.18.tar.gz) = 92d140f6a4cb2f210ca9b010b98c5aef
XSHA256 (tokyopromenade-0.9.18.tar.gz) = ea01f79302f1c8cf4105d8436615a8bdff9c02877578880f7f17520af7c80395
XSIZE (tokyopromenade-0.9.18.tar.gz) = 122009
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/promenade.fcgi
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 at dirrmtry %%DATADIR%%/misc
X at dirrmtry %%DATADIR%%/doc
X at dirrmtry %%DATADIR%%/lab
X at 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.fcgi .
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
X7) Run fastcgi Script
X
X   /usr/local/bin/spawn-fcgi -a 127.0.0.1 -d /path/to/the/base/directory -f /path/to/the/base/directory/promenade.fcgi -p 8889
X
XWhen all steps above are finished, access the CGI script with a Web browser.
202c224e71e5f2ed888aa05464bf638d
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list