From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 31 02:30:02 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 0FF181065673 for ; Sun, 31 May 2009 02:30:02 +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 DE8A48FC12 for ; Sun, 31 May 2009 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4V2U1hp038723 for ; Sun, 31 May 2009 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4V2U14a038719; Sun, 31 May 2009 02:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 31 May 2009 02:30:01 GMT Resent-Message-Id: <200905310230.n4V2U14a038719@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08CC91065674 for ; Sun, 31 May 2009 02:29:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EA69B8FC12 for ; Sun, 31 May 2009 02:29:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4V2TI1k021816 for ; Sun, 31 May 2009 02:29:18 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4V2TIlW021815; Sun, 31 May 2009 02:29:18 GMT (envelope-from nobody) Message-Id: <200905310229.n4V2TIlW021815@www.freebsd.org> Date: Sun, 31 May 2009 02:29:18 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/135090: [NEW PORT]www/e107:A content management system written in PHP X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 02:30:02 -0000 >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 X AllowOverride None X Order Allow,Deny X Allow from all X 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 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 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 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: