Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 02:29:18 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135090: [NEW PORT]www/e107:A content management system written in PHP
Message-ID:  <200905310229.n4V2TIlW021815@www.freebsd.org>
Resent-Message-ID: <200905310230.n4V2U14a038719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135090
>Category:       ports
>Synopsis:       [NEW PORT]www/e107:A content management system written in PHP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 31 02:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Fri Apr 10 16:36:28 HKT 2009     root@fb8.wenjing.com:/usr/obj/usr/src/sys/wen1  i386
>Description:
e107 is a content management system written in PHP and using the
popular open source MySQL database system for content storage.
It's completely free, totally customisable and in constant development.

WWW: http://www.e107.org/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	e107
#	e107/files
#	e107/files/pkg-message.in
#	e107/Makefile
#	e107/distinfo
#	e107/pkg-descr
#
echo c - e107
mkdir -p e107 > /dev/null 2>&1
echo c - e107/files
mkdir -p e107/files > /dev/null 2>&1
echo x - e107/files/pkg-message.in
sed 's/^X//' >e107/files/pkg-message.in << 'ca4fd239db665a9e44126ee5d3e43bb9'
XPOST-INSTALL CONFIGURATION FOR e107
X=====================================
X
X1) Create a user and a database for e107 to store all
X   its tables in (or choose an existing database).
X
X2) Add the following to your Apache configuration, and
X   restart the server:
X
X   ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later.
X   Alias /e107 %%PREFIX%%/%%E107DIR%%/
X   AcceptPathInfo On
X   <Directory %%PREFIX%%/%%E107DIR%%>
X      AllowOverride None
X      Order Allow,Deny
X      Allow from all 
X   </Directory>
X
X3) Visit your e107 site with a browser (i.e.,
X   http://your.server.com/e107/), and you should
X   be taken to the install.php script, which will lead
X   you through creating a config.php file and then
X   setting up e107, creating an admin account, etc.
X
XFor more information, see the INSTALL DOCUMENTATION:
X
X   http://wiki.e107.org/?title=HOWTO:Install_e107
X   http://wiki.e107.org/?title=HOWTO:Install_troubleshoot
X
XEnjoying it !
X
X=========================================================
ca4fd239db665a9e44126ee5d3e43bb9
echo x - e107/Makefile
sed 's/^X//' >e107/Makefile << 'd24210b0ae7e22d2850531b432fcf8e9'
X# New ports collection makefile for:	e107
X# Date created:				31 May, 2009
X# Whom:					Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	e107
XPORTVERSION=	0.7.15
XCATEGORIES=	www
XMASTER_SITES=	SF
XDISTNAME=	${PORTNAME}_v${PORTVERSION}_full
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	A content management system written in PHP
X
XUSE_PHP=	mysql xml
XWRKSRC=		${WRKDIR}/e107
X
X.include <bsd.port.pre.mk>
X
XNO_BUILD=	yes
XPLIST=		${WRKDIR}/plist
XSUB_FILES=	pkg-message
XSUB_LIST=	E107DIR=${E107DIR}
XE107DIR=	www/e107
X
Xpost-extract:
X	@cd ${WRKDIR} && ${MKDIR} ${WRKSRC}
X	@cd ${WRKDIR} && ${MV} *.php ${WRKSRC}
X	@cd ${WRKDIR} && ${MV} e107_* ${WRKSRC}
X	@cd ${WRKDIR} && ${MV} e107.htaccess ${WRKSRC}
X	@cd ${WRKDIR} && ${MV} favicon.ico ${WRKSRC}
X	@cd ${WRKDIR} && ${MV} robots.txt ${WRKSRC}
X
Xpre-install:
X	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${E107DIR}#g" >${PLIST}
X	@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
X
Xdo-install:
X	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
X	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
X	@${CHMOD} -R 755 ${WWWDIR}
X
X	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
X		>> ${TMPPLIST}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
d24210b0ae7e22d2850531b432fcf8e9
echo x - e107/distinfo
sed 's/^X//' >e107/distinfo << '40bb8eac84408c17d26a0e30ebb8abae'
XMD5 (e107_v0.7.15_full.tar.gz) = 0a6ab0f1753ac827588614b654334642
XSHA256 (e107_v0.7.15_full.tar.gz) = 0abb0cccc2adbb18aa9336e77ccb312095322d1111a78f96105627d8fb30d54a
XSIZE (e107_v0.7.15_full.tar.gz) = 3219604
40bb8eac84408c17d26a0e30ebb8abae
echo x - e107/pkg-descr
sed 's/^X//' >e107/pkg-descr << 'cbbb52c689f8bb5023156a924d20c1a5'
Xe107 is a content management system written in PHP and using the
Xpopular open source MySQL database system for content storage.
XIt's completely free, totally customisable and in constant development.
X
XWWW: http://www.e107.org/
cbbb52c689f8bb5023156a924d20c1a5
exit



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



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