Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/eaccelerator/Makefile,v retrieving revision 1.30 diff -u -r1.30 Makefile --- Makefile 15 Mar 2006 06:38:12 -0000 1.30 +++ Makefile 11 Apr 2006 16:50:16 -0000 @@ -6,7 +6,7 @@ # PORTNAME= eaccelerator -DISTVERSION= 0.9.5-beta1 +DISTVERSION= 0.9.5-beta2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,7 +18,7 @@ USE_PHPIZE= yes USE_PHP_BUILD= yes -CONFIGURE_ARGS= --enable-eaccelerator=shared +CONFIGURE_ARGS= --enable-eaccelerator=shared --with-eaccelerator-sessions USE_BZIP2= yes SUB_FILES= pkg-message @@ -29,10 +29,10 @@ .include .if ${PHP_VER} == 5 -CONFIGURE_ARGS+=--without-eaccelerator-encoder -PLIST_SUB+= ENCODER="@comment " +CONFIGURE_ARGS+= --without-eaccelerator-encoder +PLIST_SUB+= ENCODER="@comment " .else -PLIST_SUB+= ENCODER="" +PLIST_SUB+= ENCODER="" post-build: @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g; s|0777|0755|g" \ @@ -41,21 +41,21 @@ do-install: @${MKDIR} ${PREFIX}/lib/php/${PHP_EXT_DIR} - @${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ + ${INSTALL_DATA} ${WRKSRC}/modules/${PORTNAME}.so \ ${PREFIX}/lib/php/${PHP_EXT_DIR} .if ${PHP_VER} == 4 - @${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/encoder ${PREFIX}/bin .endif - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.php ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_password.php ${EXAMPLESDIR} + +post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif - -post-install: + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ini ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/control.php ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/dasm.php ${EXAMPLESDIR} @${CAT} ${PKGMESSAGE} .include Index: distinfo =================================================================== RCS file: /home/pcvs/ports/www/eaccelerator/distinfo,v retrieving revision 1.24 diff -u -r1.24 distinfo --- distinfo 15 Mar 2006 06:38:12 -0000 1.24 +++ distinfo 11 Apr 2006 16:50:16 -0000 @@ -1,3 +1,3 @@ -MD5 (eaccelerator-0.9.5-beta1.tar.bz2) = 29f68a5975c1a09dbd72c9e8ddd534a7 -SHA256 (eaccelerator-0.9.5-beta1.tar.bz2) = f55781080ca48ba6d907c8101cf188987844a86d776c95b4f12dff2842d3f9d2 -SIZE (eaccelerator-0.9.5-beta1.tar.bz2) = 109878 +MD5 (eaccelerator-0.9.5-beta2.tar.bz2) = 2516b680ce372765d24e7b64003f1e64 +SHA256 (eaccelerator-0.9.5-beta2.tar.bz2) = b04234714fa8ff9753ccbcafeb499718af8c064c18a5b245fa2f60e98eeae8a2 +SIZE (eaccelerator-0.9.5-beta2.tar.bz2) = 113387 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/eaccelerator/pkg-plist,v retrieving revision 1.7 diff -u -r1.7 pkg-plist --- pkg-plist 2 Feb 2006 09:06:14 -0000 1.7 +++ pkg-plist 11 Apr 2006 16:50:16 -0000 @@ -1,7 +1,7 @@ %%ENCODER%%bin/encoder lib/php/%%PHP_EXT_DIR%%/eaccelerator.so @dirrmtry lib/php/%%PHP_EXT_DIR%% +%%EXAMPLESDIR%%/control.php +%%EXAMPLESDIR%%/dasm.php %%EXAMPLESDIR%%/eaccelerator.ini -%%EXAMPLESDIR%%/eaccelerator.php -%%EXAMPLESDIR%%/eaccelerator_password.php @dirrm %%EXAMPLESDIR%% Index: files/patch-ea_restore.c =================================================================== RCS file: files/patch-ea_restore.c diff -N files/patch-ea_restore.c --- files/patch-ea_restore.c 19 Mar 2006 17:46:58 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,17 +0,0 @@ ---- ea_restore.c.orig Sun Mar 19 18:42:48 2006 -+++ ea_restore.c Sun Mar 19 18:45:26 2006 -@@ -718,12 +718,13 @@ - void restore_class_parent(char *parent, int len, - zend_class_entry * to TSRMLS_DC) - { -- DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); - #ifdef ZEND_ENGINE_2 - zend_class_entry** parent_ptr = NULL; -+ DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); - if (zend_lookup_class(parent, len, &parent_ptr TSRMLS_CC) != SUCCESS) - #else - char *name_lc = estrndup(parent, len); -+ DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); - zend_str_tolower(name_lc, len); - if (zend_hash_find(CG(class_table), (void *) name_lc, len + 1, (void **) &to->parent) != SUCCESS) - #endif