Here is an update to XCache 3.1.0.

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/www/xcache/Makefile,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 Makefile
--- Makefile    12 Aug 2013 04:11:22 -0000      1.22
+++ Makefile    14 Feb 2014 15:48:42 -0000
@@ -4,8 +4,7 @@ SHARED_ONLY=    Yes
 
 COMMENT=       fast and stable PHP opcode cacher
 
-VERSION=       2.0.1
-REVISION=      0
+VERSION=       3.1.0
 DISTNAME=      xcache-${VERSION}
 CATEGORIES=    www
 MASTER_SITES=  http://xcache.lighttpd.net/pub/Releases/${VERSION}/
@@ -17,7 +16,7 @@ MAINTAINER=   Brad Smith <b...@comstyle.co
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-AUTOCONF_VERSION=      2.59
+AUTOCONF_VERSION=      2.65
 
 MODULES=               lang/php
 
@@ -37,9 +36,13 @@ DESTDIRNAME= INSTALL_ROOT
 
 NO_TEST=       Yes
 
-FLAVORS=       coverager
+FLAVORS=       constant coverager
 FLAVOR?=
 
+.if ${FLAVOR:Mconstant}
+CONFIGURE_ARGS+=       --enable-xcache-constant
+.endif
+
 .if ${FLAVOR:Mcoverager}
 CONFIGURE_ARGS+=       --enable-xcache-coverager
 .endif
@@ -53,15 +56,11 @@ post-extract:
 
 post-install:
        ${INSTALL_DATA_DIR} ${WRKINST}${WEBROOT}/xcache
-       ${INSTALL_DATA_DIR} ${WRKINST}${WEBROOT}/xcache/admin
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/php-${MODPHP_VERSION}
-       cd ${WRKSRC}/admin && ${INSTALL_DATA} * 
${WRKINST}${WEBROOT}/xcache/admin
+       cd ${WRKSRC}/htdocs && cp -R * ${WRKINST}${WEBROOT}/xcache
+       chown -R ${SHAREOWN}:${SHAREGRP} ${WRKINST}${WEBROOT}/xcache/*
+       chmod -R ${SHAREMODE} ${WRKINST}${WEBROOT}/xcache/*
        ${INSTALL_DATA} ${WRKSRC}/xcache.ini \
                ${PREFIX}/share/examples/php-${MODPHP_VERSION}
-
-.if ${FLAVOR:Mcoverager}
-       ${INSTALL_DATA_DIR} ${WRKINST}${WEBROOT}/xcache/coverager
-       cd ${WRKSRC}/coverager && ${INSTALL_DATA} * 
${WRKINST}${WEBROOT}/xcache/coverager
-.endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/www/xcache/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo    11 Sep 2012 23:41:43 -0000      1.7
+++ distinfo    21 Nov 2013 04:50:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (xcache-2.0.1.tar.gz) = mi2S9t8GtTdMgkw35lZapC6yEoRJKWQeUUaisdmQ/nQ=
-SIZE (xcache-2.0.1.tar.gz) = 134833
+SHA256 (xcache-3.1.0.tar.gz) = Qt3vuXMGkymDy2P5oDJkzkQYJ+ctPRMi1d26IEV/AsM=
+SIZE (xcache-3.1.0.tar.gz) = 171379
Index: patches/patch-xcache_ini
===================================================================
RCS file: patches/patch-xcache_ini
diff -N patches/patch-xcache_ini
--- patches/patch-xcache_ini    11 Sep 2012 23:41:43 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-xcache_ini,v 1.2 2012/09/11 23:41:43 sthen Exp $
---- xcache.ini.orig    Tue Jun 26 06:11:30 2012
-+++ xcache.ini Sat Sep  8 14:36:11 2012
-@@ -5,11 +5,11 @@
- 
- ;; non-windows example
- ;; update xxx accordingly
--zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
-+;zend_extension = 
/usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
- ;; windows example:
--zend_extension_ts = c:/php/extensions/php_xcache.dll
-+;zend_extension_ts = c:/php/extensions/php_xcache.dll
- ;; for newer PHP, _ts is removed, use the following line instead
--zend_extension = c:/php/extensions/php_xcache.dll
-+;zend_extension = c:/php/extensions/php_xcache.dll
- 
- [xcache.admin]
- xcache.admin.enable_auth = On
Index: pkg/DESCR
===================================================================
RCS file: /home/cvs/ports/www/xcache/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   23 Jul 2007 18:57:07 -0000      1.1.1.1
+++ pkg/DESCR   14 Feb 2014 15:55:07 -0000
@@ -2,4 +2,5 @@ XCache is a fast, stable PHP opcode cach
 now running on production servers under high load.
 
 Flavors:
+     constant - Support for handling of compile time constants
     coverager - Support for code coverage dumper
Index: pkg/PFRAG.coverager
===================================================================
RCS file: /home/cvs/ports/www/xcache/pkg/PFRAG.coverager,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 PFRAG.coverager
--- pkg/PFRAG.coverager 23 Jul 2007 18:57:07 -0000      1.1.1.1
+++ pkg/PFRAG.coverager 4 Oct 2013 06:41:58 -0000
@@ -1,11 +1,15 @@
 @comment $OpenBSD: PFRAG.coverager,v 1.1.1.1 2007/07/23 18:57:07 robert Exp $
 xcache/coverager/
-xcache/coverager/common-en.lang.php
-xcache/coverager/common-zh-simplified-gb2312.lang.php
-xcache/coverager/common-zh-simplified-utf-8.lang.php
 xcache/coverager/common.php
-xcache/coverager/config.php.example
+xcache/coverager/config.default.php
+xcache/coverager/config.example.php
 xcache/coverager/coverager.css
-xcache/coverager/coverager.php
 xcache/coverager/coverager.tpl.php
 xcache/coverager/index.php
+xcache/coverager/lang/
+xcache/coverager/lang/en.php
+xcache/coverager/lang/en.po
+xcache/coverager/lang/zh-simplified.php
+xcache/coverager/lang/zh-simplified.po
+xcache/coverager/lang/zh-traditional.php
+xcache/coverager/lang/zh-traditional.po
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/www/xcache/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 PLIST
--- pkg/PLIST   11 Sep 2012 23:41:43 -0000      1.6
+++ pkg/PLIST   4 Oct 2013 06:56:52 -0000
@@ -4,25 +4,55 @@ share/examples/php-${MODPHP_VERSION}/xca
 @sample ${SYSCONFDIR}/php-${MODPHP_VERSION}.sample/xcache.ini
 @cwd ${WEBROOT}
 xcache/
-xcache/admin/
-xcache/admin/common-en.lang.php
-xcache/admin/common-zh-simplified-utf-8.lang.php
-xcache/admin/common-zh-traditional-utf-8.lang.php
-xcache/admin/common.php
-xcache/admin/config.default.php
-xcache/admin/config.example.php
-xcache/admin/edit.php
-xcache/admin/edit.tpl.php
-xcache/admin/footer.tpl.php
-xcache/admin/header.tpl.php
-xcache/admin/help-en.lang.php
-xcache/admin/help-zh-simplified-utf-8.lang.php
-xcache/admin/help-zh-traditional-utf-8.lang.php
-xcache/admin/help.php
-xcache/admin/index.php
-xcache/admin/mkpassword.php
-xcache/admin/tablesort.js
-xcache/admin/xcache.css
-xcache/admin/xcache.php
-xcache/admin/xcache.tpl.php
+xcache/cacher/
+xcache/cacher/cacher.css
+xcache/cacher/common.php
+xcache/cacher/config.default.php
+xcache/cacher/config.example.php
+xcache/cacher/edit.php
+xcache/cacher/edit.tpl.php
+xcache/cacher/index.php
+xcache/cacher/lang/
+xcache/cacher/lang/en.php
+xcache/cacher/lang/en.po
+xcache/cacher/lang/zh-simplified.php
+xcache/cacher/lang/zh-simplified.po
+xcache/cacher/lang/zh-traditional.php
+xcache/cacher/lang/zh-traditional.po
+xcache/cacher/listentries.tpl.php
+xcache/cacher/mkpassword.php
+xcache/cacher/sub/
+xcache/cacher/sub/entrylist.tpl.php
+xcache/cacher/sub/moduleinfo.tpl.php
+xcache/cacher/sub/summary.tpl.php
+xcache/cacher/sub/testcoredump.tpl.php
+xcache/cacher/summary.tpl.php
+xcache/common/
+xcache/common/common.css
+xcache/common/common.php
+xcache/common/footer.tpl.php
+xcache/common/header.tpl.php
+xcache/common/lang/
+xcache/common/lang/en.php
+xcache/common/lang/en.po
+xcache/common/lang/zh-simplified.php
+xcache/common/lang/zh-simplified.po
+xcache/common/lang/zh-traditional.php
+xcache/common/lang/zh-traditional.po
+xcache/common/tablesort.js
+xcache/common/xcache.png
+xcache/config.default.php
+xcache/config.example.php
+xcache/diagnosis/
+xcache/diagnosis/diagnosis.css
+xcache/diagnosis/diagnosis.tpl.php
+xcache/diagnosis/index.php
+xcache/diagnosis/lang/
+xcache/diagnosis/lang/en.php
+xcache/diagnosis/lang/en.po
+xcache/diagnosis/lang/zh-simplified.php
+xcache/diagnosis/lang/zh-simplified.po
+xcache/diagnosis/lang/zh-traditional.php
+xcache/diagnosis/lang/zh-traditional.po
+xcache/index.php
 %%coverager%%

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to