Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

6
devel/php-xcache/DESCR Normal file
View File

@@ -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.

14
devel/php-xcache/MESSAGE Normal file
View File

@@ -0,0 +1,14 @@
===========================================================================
$NetBSD: MESSAGE,v 1.2 2015/03/21 21:35:07 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_PKG_PREFIX}-xcache
===========================================================================

50
devel/php-xcache/Makefile Normal file
View File

@@ -0,0 +1,50 @@
# $NetBSD: Makefile,v 1.2 2015/03/21 21:35:07 rodent Exp $
MODNAME= xcache
PECL_VERSION= 3.2.0
PKGREVISION= 1
CATEGORIES= devel www
MASTER_SITES= http://xcache.lighttpd.net/pub/Releases/${PECL_VERSION}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= vs@nifelheim.info
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_PKG_PREFIX}-xcache
CONF_FILES= ${EGDIR}/xcache.ini ${PKG_SYSCONFDIR}/xcache.ini
XCACHE_DIR= share/${PHP_PKG_PREFIX}-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
PLIST_SUBST= PHP_PKG_PREFIX=${PHP_PKG_PREFIX}
MESSAGE_SUBST= PHP_PKG_PREFIX=${PHP_PKG_PREFIX}
.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"

59
devel/php-xcache/PLIST Normal file
View File

@@ -0,0 +1,59 @@
@comment $NetBSD: PLIST,v 1.2 2015/03/21 21:35:07 rodent Exp $
share/examples/${PHP_PKG_PREFIX}-xcache/xcache.ini
share/${PHP_PKG_PREFIX}-xcache/cacher/cacher.css
share/${PHP_PKG_PREFIX}-xcache/cacher/common.php
share/${PHP_PKG_PREFIX}-xcache/cacher/config.default.php
share/${PHP_PKG_PREFIX}-xcache/cacher/config.example.php
share/${PHP_PKG_PREFIX}-xcache/cacher/edit.php
share/${PHP_PKG_PREFIX}-xcache/cacher/edit.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/index.php
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/en.php
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/en.po
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/zh-simplified.php
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/zh-simplified.po
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/zh-traditional.php
share/${PHP_PKG_PREFIX}-xcache/cacher/lang/zh-traditional.po
share/${PHP_PKG_PREFIX}-xcache/cacher/listentries.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/mkpassword.php
share/${PHP_PKG_PREFIX}-xcache/cacher/sub/entrylist.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/sub/moduleinfo.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/sub/summary.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/sub/testcoredump.tpl.php
share/${PHP_PKG_PREFIX}-xcache/cacher/summary.tpl.php
share/${PHP_PKG_PREFIX}-xcache/common/common.css
share/${PHP_PKG_PREFIX}-xcache/common/common.php
share/${PHP_PKG_PREFIX}-xcache/common/footer.tpl.php
share/${PHP_PKG_PREFIX}-xcache/common/header.tpl.php
share/${PHP_PKG_PREFIX}-xcache/common/lang/en.php
share/${PHP_PKG_PREFIX}-xcache/common/lang/en.po
share/${PHP_PKG_PREFIX}-xcache/common/lang/zh-simplified.php
share/${PHP_PKG_PREFIX}-xcache/common/lang/zh-simplified.po
share/${PHP_PKG_PREFIX}-xcache/common/lang/zh-traditional.php
share/${PHP_PKG_PREFIX}-xcache/common/lang/zh-traditional.po
share/${PHP_PKG_PREFIX}-xcache/common/tablesort.js
share/${PHP_PKG_PREFIX}-xcache/common/xcache.png
share/${PHP_PKG_PREFIX}-xcache/config.default.php
share/${PHP_PKG_PREFIX}-xcache/config.example.php
share/${PHP_PKG_PREFIX}-xcache/coverager/common.php
share/${PHP_PKG_PREFIX}-xcache/coverager/config.default.php
share/${PHP_PKG_PREFIX}-xcache/coverager/config.example.php
share/${PHP_PKG_PREFIX}-xcache/coverager/coverager.css
share/${PHP_PKG_PREFIX}-xcache/coverager/coverager.tpl.php
share/${PHP_PKG_PREFIX}-xcache/coverager/index.php
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/en.php
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/en.po
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/zh-simplified.php
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/zh-simplified.po
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/zh-traditional.php
share/${PHP_PKG_PREFIX}-xcache/coverager/lang/zh-traditional.po
share/${PHP_PKG_PREFIX}-xcache/diagnosis/diagnosis.css
share/${PHP_PKG_PREFIX}-xcache/diagnosis/diagnosis.tpl.php
share/${PHP_PKG_PREFIX}-xcache/diagnosis/index.php
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/en.php
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/en.po
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/zh-simplified.php
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/zh-simplified.po
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/zh-traditional.php
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/zh-traditional.po
share/${PHP_PKG_PREFIX}-xcache/diagnosis/lang/zh-tranditional.php
share/${PHP_PKG_PREFIX}-xcache/index.php

View File

@@ -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

View File

@@ -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