diff --git a/www/e107/Makefile b/www/e107/Makefile index 0102f6c43082..9b25fbb78f48 100644 --- a/www/e107/Makefile +++ b/www/e107/Makefile @@ -1,41 +1,42 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= e107 PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION} DISTNAME= ${PORTNAME}_${PORTVERSION}_full MAINTAINER= wen@FreeBSD.org COMMENT= Content management system written in PHP USES= cpe -USE_PHP= mysqli xml exif +USE_PHP= dom exif hash pdo_mysql session xml WRKSRC= ${WRKDIR}/e107 NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message SUB_LIST= E107DIR=${E107DIR} E107DIR= www/e107 USES= dos2unix shebangfix SHEBANG_FILES= cron.php e107_handlers/bounce_handler.php do-extract: @${MKDIR} ${WRKSRC} @${TAR} -yxf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${WRKSRC} pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${E107DIR}#g" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dir ${E107DIR}#g" >> ${PLIST} @${ECHO_CMD} -e '@owner\n@group' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} .include diff --git a/www/e107/files/pkg-message.in b/www/e107/files/pkg-message.in index f72a9454ad64..c75273a598b5 100644 --- a/www/e107/files/pkg-message.in +++ b/www/e107/files/pkg-message.in @@ -1,32 +1,42 @@ POST-INSTALL CONFIGURATION FOR e107 ===================================== 1) Create a user and a database for e107 to store all its tables in (or choose an existing database). 2) Add the following to your Apache configuration, and restart the server: - ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + For Apache versions earlier than 2.4: + Alias /e107 %%PREFIX%%/%%E107DIR%%/ AcceptPathInfo On AllowOverride None Order Allow,Deny - Allow from all + Allow from all + + + For Apache version 2.4.x or above: + + Alias /e107 %%PREFIX%%/%%E107DIR%%/ + AcceptPathInfo On + + AllowOverride None + Require all granted 3) Visit your e107 site with a browser (i.e., http://your.server.com/e107/), and you should be taken to the install.php script, which will lead you through creating a config.php file and then setting up e107, creating an admin account, etc. For more information, see the INSTALL DOCUMENTATION: http://wiki.e107.org/?title=HOWTO:Install_e107 http://wiki.e107.org/?title=HOWTO:Install_troubleshoot Enjoying it ! =========================================================