pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www php apcu 5.x (and php apcu_bc) is only compatible ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/85caff082496
branches: trunk
changeset: 351011:85caff082496
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Thu Aug 11 22:54:16 2016 +0000
description:
php apcu 5.x (and php apcu_bc) is only compatible with 7.x; adjust PHP_VERSIONS_ACCEPTED accordingly
add php-apcu4 (as copy what we used to have as php-apcu before upgrade to 5.1.5), and mark with PHP_VERSIONS_ACCEPTED 55 56
diffstat:
www/Makefile | 3 ++-
www/php-apcu/DESCR | 3 +++
www/php-apcu/Makefile | 4 +++-
www/php-apcu4/DESCR | 20 ++++++++++++++++++++
www/php-apcu4/Makefile | 26 ++++++++++++++++++++++++++
www/php-apcu4/PLIST.extras | 2 ++
www/php-apcu4/distinfo | 8 ++++++++
www/php-apcu_bc/Makefile | 4 +++-
8 files changed, 67 insertions(+), 3 deletions(-)
diffs (135 lines):
diff -r 3d8d7e069118 -r 85caff082496 www/Makefile
--- a/www/Makefile Thu Aug 11 22:48:00 2016 +0000
+++ b/www/Makefile Thu Aug 11 22:54:16 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1185 2016/08/07 18:02:18 nils Exp $
+# $NetBSD: Makefile,v 1.1186 2016/08/11 22:54:16 jdolecek Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -546,6 +546,7 @@
SUBDIR+= pear-HTTP_Request
SUBDIR+= pear-HTTP_Request2
SUBDIR+= php-apcu
+SUBDIR+= php-apcu4
SUBDIR+= php-apcu_bc
SUBDIR+= php-basercms
SUBDIR+= php-concrete5
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu/DESCR
--- a/www/php-apcu/DESCR Thu Aug 11 22:48:00 2016 +0000
+++ b/www/php-apcu/DESCR Thu Aug 11 22:54:16 2016 +0000
@@ -16,3 +16,6 @@
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.
+
+This package supports PHP 7.x and later. Install php-apcu4 if you are using
+PHP 5.x.
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu/Makefile
--- a/www/php-apcu/Makefile Thu Aug 11 22:48:00 2016 +0000
+++ b/www/php-apcu/Makefile Thu Aug 11 22:54:16 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/07/26 09:22:40 jdolecek Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/11 22:54:16 jdolecek Exp $
MODNAME= apcu
PECL_VERSION= 5.1.5
@@ -8,6 +8,8 @@
COMMENT= APCu - APC User Cache
LICENSE= php
+PHP_VERSIONS_ACCEPTED= 70 71
+
CONFIGURE_ARGS+= --enable-${MODNAME}
PLIST_SRC+= ${.CURDIR}/PLIST.extras
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu4/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/DESCR Thu Aug 11 22:54:16 2016 +0000
@@ -0,0 +1,20 @@
+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.
+
+This package supports PHP 5.x. Use php-apcu if you are using PHP 7.x
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu4/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/Makefile Thu Aug 11 22:54:16 2016 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2016/08/11 22:54:16 jdolecek Exp $
+
+MODNAME= apcu
+PECL_VERSION= 4.0.7
+CATEGORIES+= sysutils
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+COMMENT= APCu - APC User Cache
+LICENSE= php
+
+PHP_VERSIONS_ACCEPTED= 55 56
+
+CONFIGURE_ARGS+= --enable-${MODNAME}
+
+PLIST_SRC+= ${.CURDIR}/PLIST.extras
+PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
+
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+INSTALLATION_DIRS= ${DOCDIR}
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu4/PLIST.extras
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/PLIST.extras Thu Aug 11 22:54:16 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.extras,v 1.1 2016/08/11 22:54:16 jdolecek Exp $
+share/doc/${PKGBASE}/INSTALL
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu4/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/distinfo Thu Aug 11 22:54:16 2016 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2016/08/11 22:54:16 jdolecek Exp $
+
+SHA1 (php-apcu/apcu-4.0.7.tgz) = 84d68cbafea61df1ff864c7a3e8d2302a2879347
+RMD160 (php-apcu/apcu-4.0.7.tgz) = 9b5f01dbefff164cd519ced448b62620e6770df8
+SHA512 (php-apcu/apcu-4.0.7.tgz) = 50db51358c9268cc5fdd0d48fb444be9e9356f1690bc1ae021a9618c8819ce8873bf4502fe87a10467ffda2ef38267ccca2af55152b064400c69a8da92b7e98b
+Size (php-apcu/apcu-4.0.7.tgz) = 118670 bytes
+SHA1 (patch-.._package.xml) = 8a30b47ce2276448e98462bda3d8fc145637ea03
+SHA1 (patch-config.m4) = 4a5e49577068b0d5c610148f560e565e3dcfc50a
diff -r 3d8d7e069118 -r 85caff082496 www/php-apcu_bc/Makefile
--- a/www/php-apcu_bc/Makefile Thu Aug 11 22:48:00 2016 +0000
+++ b/www/php-apcu_bc/Makefile Thu Aug 11 22:54:16 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2016/07/26 09:26:06 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2016/08/11 22:54:16 jdolecek Exp $
MODNAME= apcu_bc
PKGMODNAME= apc
@@ -9,6 +9,8 @@
COMMENT= APCu Backwards Compatibility Module
LICENSE= php
+PHP_VERSIONS_ACCEPTED= 70 71
+
CONFIGURE_ARGS+= --enable-${MODNAME}
.include "../../lang/php/ext.mk"
Home |
Main Index |
Thread Index |
Old Index