mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.9.3
PR: ports/81316 Submitted by: Marcus Grando <marcus@corp.grupos.com.br> Approved by: maintainer timeout (16 days)
This commit is contained in:
parent
ab7e87d228
commit
90c9e71129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136833
3 changed files with 29 additions and 13 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= eaccelerator
|
PORTNAME= eaccelerator
|
||||||
PORTVERSION= 0.9.2a
|
PORTVERSION= 0.9.3
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -17,13 +17,27 @@ COMMENT= An opcode cache for PHP with encoder and loader
|
||||||
USE_PHP= yes
|
USE_PHP= yes
|
||||||
USE_PHPIZE= yes
|
USE_PHPIZE= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
||||||
|
|
||||||
CONFIGURE_ARGS= --enable-eaccelerator=shared
|
CONFIGURE_ARGS= --enable-eaccelerator=shared
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if !exists(${LOCALBASE}/lib/php/${PHP_EXT_DIR}/session.so)
|
||||||
|
WITHOUT_PHP_SESSION= yes
|
||||||
|
CONFIGURE_ARGS+= --without-eaccelerator-sessions
|
||||||
|
.endif
|
||||||
|
|
||||||
|
pre-everything::
|
||||||
|
.if defined(WITHOUT_PHP_SESSION)
|
||||||
|
@${ECHO_MSG} "===>"
|
||||||
|
@${ECHO_MSG} "===> If you use ${PORTNAME} with php session, please"
|
||||||
|
@${ECHO_MSG} "===> press CTRL+C and install www/php${PHP_VER}-session"
|
||||||
|
@${ECHO_MSG} "===>"
|
||||||
|
@sleep 2
|
||||||
|
.endif
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
.endif
|
.endif
|
||||||
|
@ -48,4 +62,4 @@ do-install:
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (eaccelerator-0.9.2a.tar.gz) = e9059ebd49f14835534a1d96a97ababd
|
MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9
|
||||||
SIZE (eaccelerator-0.9.2a.tar.gz) = 115791
|
SIZE (eaccelerator-0.9.3.tar.gz) = 133120
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
You have installed the eaccelerator package.
|
Edit %%LOCALBASE%%/etc/php/extensions.ini and add:
|
||||||
|
|
||||||
Edit %%LOCALBASE%%/etc/php.ini and add:
|
extension=eaccelerator.so
|
||||||
|
|
||||||
[eaccelerator]
|
****************************************************
|
||||||
extension="eaccelerator.so"
|
*** This extension must be loaded after ***
|
||||||
|
*** extension=session.so ***
|
||||||
|
****************************************************
|
||||||
|
|
||||||
Then create the cache directory:
|
Then create the cache directory:
|
||||||
|
|
||||||
mkdir /tmp/eaccelerator
|
mkdir /tmp/eaccelerator
|
||||||
chown www /tmp/eaccelerator
|
chown www /tmp/eaccelerator
|
||||||
chmod 0700 /tmp/eaccelerator
|
chmod 0700 /tmp/eaccelerator
|
||||||
|
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue