Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 01:30:29 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413408 - in head/www/e107: . files
Message-ID:  <201604160130.u3G1UT4x065579@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Sat Apr 16 01:30:28 2016
New Revision: 413408
URL: https://svnweb.freebsd.org/changeset/ports/413408

Log:
  - Update USE_PHP(add hash, dom and session, replace mysqli with pdo_mysql)
  - Improve pkg-message(Add the configure for apache-2.4)

Modified:
  head/www/e107/Makefile
  head/www/e107/files/pkg-message.in

Modified: head/www/e107/Makefile
==============================================================================
--- head/www/e107/Makefile	Sat Apr 16 01:28:21 2016	(r413407)
+++ head/www/e107/Makefile	Sat Apr 16 01:30:28 2016	(r413408)
@@ -3,6 +3,7 @@
 
 PORTNAME=	e107
 PORTVERSION=	2.1.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20v${PORTVERSION}
 DISTNAME=	${PORTNAME}_${PORTVERSION}_full
@@ -12,7 +13,7 @@ COMMENT=	Content management system writt
 
 USES=		cpe
 
-USE_PHP=	mysqli xml exif
+USE_PHP=	dom exif hash pdo_mysql session xml
 WRKSRC=		${WRKDIR}/e107
 
 NO_BUILD=	yes

Modified: head/www/e107/files/pkg-message.in
==============================================================================
--- head/www/e107/files/pkg-message.in	Sat Apr 16 01:28:21 2016	(r413407)
+++ head/www/e107/files/pkg-message.in	Sat Apr 16 01:30:28 2016	(r413408)
@@ -7,13 +7,23 @@ POST-INSTALL CONFIGURATION FOR e107
 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
    <Directory %%PREFIX%%/%%E107DIR%%>
       AllowOverride None
       Order Allow,Deny
-      Allow from all 
+      Allow from all
+   </Directory>
+
+   For Apache version 2.4.x or above:
+
+   Alias /e107 %%PREFIX%%/%%E107DIR%%/
+   AcceptPathInfo On
+   <Directory %%PREFIX%%/%%E107DIR%%/>
+      AllowOverride None
+      Require all granted
    </Directory>
 
 3) Visit your e107 site with a browser (i.e.,



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