pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/php-xcache Import php55-xcache-3.2.0 as devel/ph...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d1ae83fbc3a
branches:  trunk
changeset: 648437:6d1ae83fbc3a
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sat Mar 14 18:52:29 2015 +0000

description:
Import php55-xcache-3.2.0 as devel/php-xcache.

XCache is a fast, stable PHP opcode cacher that has been proven and is now
running on production servers under high load. It is tested (on Linux) and
supported on all of the PHP release branches, such as PHP 5.1 to PHP 5.6.
ThreadSafe/Windows is also perfectly supported. XCache overcomes many of the
problems found with other opcachers such as being able to run with new PHP
versions.

diffstat:

 devel/php-xcache/DESCR      |   6 ++++
 devel/php-xcache/MESSAGE    |  14 ++++++++++
 devel/php-xcache/Makefile   |  47 +++++++++++++++++++++++++++++++++++
 devel/php-xcache/PLIST      |  60 +++++++++++++++++++++++++++++++++++++++++++++
 devel/php-xcache/distinfo   |   5 +++
 devel/php-xcache/options.mk |  38 ++++++++++++++++++++++++++++
 6 files changed, 170 insertions(+), 0 deletions(-)

diffs (194 lines):

diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/DESCR    Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,6 @@
+XCache is a fast, stable PHP opcode cacher that has been proven and is now
+running on production servers under high load. It is tested (on Linux) and
+supported on all of the PHP release branches, such as PHP 5.1 to PHP 5.6.
+ThreadSafe/Windows is also perfectly supported. XCache overcomes many of the
+problems found with other opcachers such as being able to run with new PHP
+versions.
diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/MESSAGE  Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,14 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2015/03/14 18:52:30 rodent Exp $
+
+  For details on configuring XCache, see:
+  http://xcache.lighttpd.net/wiki/InstallingAsPhpExtension
+
+  For details on configuring the admin pages, see:
+  http://xcache.lighttpd.net/wiki/InstallAdministration
+
+  The web-interface files have been installed in:
+
+      ${PREFIX}/share/php-xcache
+
+===========================================================================
diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/Makefile Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1 2015/03/14 18:52:30 rodent Exp $
+
+MODNAME=       xcache
+PECL_VERSION=  3.2.0
+CATEGORIES=    devel www
+MASTER_SITES=  http://xcache.lighttpd.net/pub/Releases/${PECL_VERSION}/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    vs%nifelheim.info@localhost
+HOMEPAGE=      http://xcache.lighttpd.net/
+COMMENT=       Fast and stable PHP opcode cacher
+LICENSE=       modified-bsd
+
+BUILD_DEPENDS+=        re2c>=0.13.0.4:../../devel/re2c
+
+USE_LANGUAGES=         c c++
+USE_TOOLS+=            gawk gm4 gsed pax
+CONFIGURE_ARGS+=       --enable-${MODNAME}
+USE_LIBTOOL=           yes
+
+EGDIR=         share/examples/php-xcache
+CONF_FILES=    ${EGDIR}/xcache.ini ${PKG_SYSCONFDIR}/xcache.ini
+
+XCACHE_DIR=            share/php-xcache
+INSTALLATION_DIRS+=    ${EGDIR} ${XCACHE_DIR}/cacher/lang
+INSTALLATION_DIRS+=    ${XCACHE_DIR}/cacher/sub ${XCACHE_DIR}/common/lang
+INSTALLATION_DIRS+=    ${XCACHE_DIR}/coverager/lang
+INSTALLATION_DIRS+=    ${XCACHE_DIR}/diagnosis/lang
+
+PLIST_SRC+=            PLIST
+
+.include "options.mk"
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/xcache.ini ${DESTDIR}${PREFIX}/${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/htdocs/*.php ${DESTDIR}${PREFIX}/${XCACHE_DIR}
+       for i in cacher common coverager diagnosis; do \
+               ${INSTALL_DATA} ${WRKSRC}/htdocs/$$i/*.* \
+                       ${DESTDIR}${PREFIX}/${XCACHE_DIR}/$$i; \
+               ${INSTALL_DATA} ${WRKSRC}/htdocs/$$i/lang/*.* \
+                       ${DESTDIR}${PREFIX}/${XCACHE_DIR}/$$i/lang; \
+       done
+       ${INSTALL_DATA} ${WRKSRC}/htdocs/cacher/sub/*.php \
+               ${DESTDIR}${PREFIX}/${XCACHE_DIR}/cacher/sub
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/PLIST    Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2015/03/14 18:52:30 rodent Exp $
+lib/php/20130620/xcache.so
+share/examples/php-xcache/xcache.ini
+share/php-xcache/cacher/cacher.css
+share/php-xcache/cacher/common.php
+share/php-xcache/cacher/config.default.php
+share/php-xcache/cacher/config.example.php
+share/php-xcache/cacher/edit.php
+share/php-xcache/cacher/edit.tpl.php
+share/php-xcache/cacher/index.php
+share/php-xcache/cacher/lang/en.php
+share/php-xcache/cacher/lang/en.po
+share/php-xcache/cacher/lang/zh-simplified.php
+share/php-xcache/cacher/lang/zh-simplified.po
+share/php-xcache/cacher/lang/zh-traditional.php
+share/php-xcache/cacher/lang/zh-traditional.po
+share/php-xcache/cacher/listentries.tpl.php
+share/php-xcache/cacher/mkpassword.php
+share/php-xcache/cacher/sub/entrylist.tpl.php
+share/php-xcache/cacher/sub/moduleinfo.tpl.php
+share/php-xcache/cacher/sub/summary.tpl.php
+share/php-xcache/cacher/sub/testcoredump.tpl.php
+share/php-xcache/cacher/summary.tpl.php
+share/php-xcache/common/common.css
+share/php-xcache/common/common.php
+share/php-xcache/common/footer.tpl.php
+share/php-xcache/common/header.tpl.php
+share/php-xcache/common/lang/en.php
+share/php-xcache/common/lang/en.po
+share/php-xcache/common/lang/zh-simplified.php
+share/php-xcache/common/lang/zh-simplified.po
+share/php-xcache/common/lang/zh-traditional.php
+share/php-xcache/common/lang/zh-traditional.po
+share/php-xcache/common/tablesort.js
+share/php-xcache/common/xcache.png
+share/php-xcache/config.default.php
+share/php-xcache/config.example.php
+share/php-xcache/coverager/common.php
+share/php-xcache/coverager/config.default.php
+share/php-xcache/coverager/config.example.php
+share/php-xcache/coverager/coverager.css
+share/php-xcache/coverager/coverager.tpl.php
+share/php-xcache/coverager/index.php
+share/php-xcache/coverager/lang/en.php
+share/php-xcache/coverager/lang/en.po
+share/php-xcache/coverager/lang/zh-simplified.php
+share/php-xcache/coverager/lang/zh-simplified.po
+share/php-xcache/coverager/lang/zh-traditional.php
+share/php-xcache/coverager/lang/zh-traditional.po
+share/php-xcache/diagnosis/diagnosis.css
+share/php-xcache/diagnosis/diagnosis.tpl.php
+share/php-xcache/diagnosis/index.php
+share/php-xcache/diagnosis/lang/en.php
+share/php-xcache/diagnosis/lang/en.po
+share/php-xcache/diagnosis/lang/zh-simplified.php
+share/php-xcache/diagnosis/lang/zh-simplified.po
+share/php-xcache/diagnosis/lang/zh-traditional.php
+share/php-xcache/diagnosis/lang/zh-traditional.po
+share/php-xcache/diagnosis/lang/zh-tranditional.php
+share/php-xcache/index.php
diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/distinfo Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/03/14 18:52:30 rodent Exp $
+
+SHA1 (php-xcache/xcache-3.2.0.tar.bz2) = 711f56b66d8da884214fa311a28e1d299bb73e05
+RMD160 (php-xcache/xcache-3.2.0.tar.bz2) = 1f5edb382b52d9e12bf1c6a9cb34870dcb8cb155
+Size (php-xcache/xcache-3.2.0.tar.bz2) = 148392 bytes
diff -r 0b74b45d8040 -r 6d1ae83fbc3a devel/php-xcache/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/php-xcache/options.mk       Sat Mar 14 18:52:29 2015 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: options.mk,v 1.1 2015/03/14 18:52:30 rodent Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.php-xcache
+
+PKG_SUPPORTED_OPTIONS= xcache-constant xcache-optimizer xcache-coverager
+PKG_SUPPORTED_OPTIONS+=        xcache-assembler xcache-disassembler xcache-encoder
+PKG_SUPPORTED_OPTIONS+=        xcache-decoder
+PKG_SUGGESTED_OPTIONS= xcache-constant xcache-optimizer xcache-coverager
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mxcache-constant)
+CONFIGURE_ARGS+=       --enable-xcache-constant
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-optimizer)
+CONFIGURE_ARGS+=       --enable-xcache-optimizer
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-coverager)
+CONFIGURE_ARGS+=       --enable-xcache-coverager
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-assembler)
+CONFIGURE_ARGS+=       --enable-xcache-assembler
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-disassembler)
+CONFIGURE_ARGS+=       --enable-xcache-disassembler
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-encoder)
+CONFIGURE_ARGS+=       --enable-xcache-encoder
+.endif
+
+.if !empty(PKG_OPTIONS:Mxcache-decoder)
+CONFIGURE_ARGS+=       --enable-xcache-decoder
+.endif



Home | Main Index | Thread Index | Old Index