summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2016-07-26 09:26:06 +0000
committerjdolecek <jdolecek@pkgsrc.org>2016-07-26 09:26:06 +0000
commita94b61e47edbbd5857f0e85ed36acfef490b22b3 (patch)
treef4e10dca9ed297d9c4944aacebd9599226594cda
parent753a7d44202230472a4f66f1f7b602df5294e041 (diff)
downloadpkgsrc-a94b61e47edbbd5857f0e85ed36acfef490b22b3.tar.gz
Add php-apcu_bc 1.0.3 - module provides a backwards APC compatible API using APCu
-rw-r--r--www/php-apcu_bc/DESCR18
-rw-r--r--www/php-apcu_bc/Makefile16
-rw-r--r--www/php-apcu_bc/distinfo8
3 files changed, 42 insertions, 0 deletions
diff --git a/www/php-apcu_bc/DESCR b/www/php-apcu_bc/DESCR
new file mode 100644
index 00000000000..53320c01674
--- /dev/null
+++ b/www/php-apcu_bc/DESCR
@@ -0,0 +1,18 @@
+APCu is userland caching: APC stripped of opcode caching in preparation for
+the deployment of Zend Optimizer+ as the primary solution to opcode caching
+in future versions of PHP.
+
+APCu has a revised and simplified codebase, by the time the PECL release is
+available, every part of APCu being used will have received review and where
+necessary or appropriate, changes.
+
+Simplifying and documenting the API of APCu completely removes the barrier to
+maintenance and development of APCu in the future, and additionally allows us
+to make optimizations not possible previously because of APC's inherent
+complexity.
+
+APCu only supports userland caching (and dumping) of variables, providing an
+upgrade path for the future. When O+ takes over, many will be tempted to use
+3rd party solutions to userland caching, possibly even distributed solutions;
+this would be a grave error. The tried and tested APC codebase provides far
+superior support for local storage of PHP variables.
diff --git a/www/php-apcu_bc/Makefile b/www/php-apcu_bc/Makefile
new file mode 100644
index 00000000000..c2e98e1fa1e
--- /dev/null
+++ b/www/php-apcu_bc/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2016/07/26 09:26:06 jdolecek Exp $
+
+MODNAME= apcu_bc
+PKGMODNAME= apc
+PECL_VERSION= 1.0.3
+CATEGORIES+= sysutils
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= APCu Backwards Compatibility Module
+LICENSE= php
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+
+.include "../../lang/php/ext.mk"
+.include "../../www/php-apcu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/php-apcu_bc/distinfo b/www/php-apcu_bc/distinfo
new file mode 100644
index 00000000000..19c65a4d93a
--- /dev/null
+++ b/www/php-apcu_bc/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2016/07/26 09:26:06 jdolecek Exp $
+
+SHA1 (php-apcu_bc/apcu_bc-1.0.3.tgz) = 531cde11877a39f804fac2d290a44c7f615b72a8
+RMD160 (php-apcu_bc/apcu_bc-1.0.3.tgz) = b2634b225fdc5c50901f991f21b6e7eb4a73c3b7
+SHA512 (php-apcu_bc/apcu_bc-1.0.3.tgz) = b1faf811316bbba25354b9b28d5c13c69ae93913b90eb36d1904ef4d9ca35000e1d83f8204ab4500813cb8858feccebb262523f42b3116b85c59c6a796affe67
+Size (php-apcu_bc/apcu_bc-1.0.3.tgz) = 7245 bytes
+SHA1 (patch-.._package.xml) = 2012bc96eaa53679b457b7230fb10634aca2bb6a
+SHA1 (patch-config.m4) = 8bbec8aff40c4d19fa46166dae1507316bf6e3bb