Update to 0.9.4-rc1 release.
This commit is contained in:
parent
5abd8dcaa5
commit
ab9cbd28d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148877
3 changed files with 11 additions and 27 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= eaccelerator
|
||||
PORTVERSION= 0.9.3
|
||||
DISTVERSION= 0.9.4-rc1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -14,30 +14,16 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
|||
MAINTAINER= ale@FreeBSD.org
|
||||
COMMENT= An opcode cache for PHP with encoder and loader
|
||||
|
||||
USE_PHP= yes
|
||||
USE_PHP= session
|
||||
USE_PHPIZE= yes
|
||||
USE_PHP_BUILD= yes
|
||||
|
||||
CONFIGURE_ARGS= --enable-eaccelerator=shared
|
||||
|
||||
USE_BZIP2= yes
|
||||
SUB_FILES= 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)
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
@ -62,4 +48,4 @@ do-install:
|
|||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
MD5 (eaccelerator-0.9.3.tar.gz) = b17ddf953f18ee6df5c2c24ffccb37d9
|
||||
SIZE (eaccelerator-0.9.3.tar.gz) = 133120
|
||||
MD5 (eaccelerator-0.9.4-rc1.tar.bz2) = 5910ba3c3e9c8caa97600e950839f8b2
|
||||
SHA256 (eaccelerator-0.9.4-rc1.tar.bz2) = 4f20aa2197a0e484bea57a3f6183a172207a65003927c4ecea9449eb6af538ed
|
||||
SIZE (eaccelerator-0.9.4-rc1.tar.bz2) = 104703
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
*****************************************************************************
|
||||
|
||||
Edit %%LOCALBASE%%/etc/php/extensions.ini and add:
|
||||
You have installed the eaccelerator package.
|
||||
|
||||
extension=eaccelerator.so
|
||||
Edit %%LOCALBASE%%/etc/php.ini and add:
|
||||
|
||||
****************************************************
|
||||
*** This extension must be loaded after ***
|
||||
*** extension=session.so ***
|
||||
****************************************************
|
||||
zend_extension="%%PREFIX%%/lib/php/%%PHP_EXT_DIR%%/eaccelerator.so"
|
||||
|
||||
Then create the cache directory:
|
||||
|
||||
|
|
Loading…
Reference in a new issue