[95752] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Sat Jul 21 02:01:32 PDT 2012
Revision: 95752
https://trac.macports.org/changeset/95752
Author: ryandesign at macports.org
Date: 2012-07-21 02:01:31 -0700 (Sat, 21 Jul 2012)
Log Message:
-----------
php-xcache: update to 2.0.1; make it a zend extension because that's what the developer recommends; rename the ini file so it loads first because the developer says that's required
Modified Paths:
--------------
trunk/dports/php/php-xcache/Portfile
trunk/dports/php/php-xcache/files/patch-xcache.ini.diff
trunk/dports/php/php5-xcache/Portfile
trunk/dports/php/php5-xcache/files/patch-xcache.ini.diff
Modified: trunk/dports/php/php-xcache/Portfile
===================================================================
--- trunk/dports/php/php-xcache/Portfile 2012-07-21 08:38:56 UTC (rev 95751)
+++ trunk/dports/php/php-xcache/Portfile 2012-07-21 09:01:31 UTC (rev 95752)
@@ -5,15 +5,18 @@
PortGroup php 1.1
name php-xcache
-version 2.0.0
-revision 1
+version 2.0.1
categories-append www
platforms darwin
maintainers ryandesign openmaintainer
license BSD
php.branches 5.3 5.4
+php.extensions.zend xcache
+# xcache must load first
+php.extension_ini 000${php.extension_ini}
+
homepage http://xcache.lighttpd.net/
master_sites ${homepage}pub/Releases/${version}/
use_bzip2 yes
@@ -22,8 +25,8 @@
long_description ${name} is a ${description}.
-checksums rmd160 85c9b41af9a83d6beecd87849ca2fb539572b3f0 \
- sha256 ca26b0772d8b88223f281f5099a3b7d9f4b6597a87ae857301271c1fd5a3f64a
+checksums rmd160 7a405ae488ada8bdea5e7dd7e6c9243012c0ce2a \
+ sha256 b6e350f3b327b11e033da44f8b5f464b173e2256b5acc792a1179d29cb499289
if {${name} != ${subport}} {
conflicts ${php}-APC ${php}-eaccelerator
Modified: trunk/dports/php/php-xcache/files/patch-xcache.ini.diff
===================================================================
--- trunk/dports/php/php-xcache/files/patch-xcache.ini.diff 2012-07-21 08:38:56 UTC (rev 95751)
+++ trunk/dports/php/php-xcache/files/patch-xcache.ini.diff 2012-07-21 09:01:31 UTC (rev 95752)
@@ -1,16 +1,18 @@
---- xcache.ini.orig 2009-07-05 23:04:02.000000000 -0500
-+++ xcache.ini 2010-06-02 20:00:16.000000000 -0500
-@@ -1,14 +1,3 @@
+--- xcache.ini.orig 2012-06-26 05:11:30.000000000 -0500
++++ xcache.ini 2012-07-21 03:50:25.000000000 -0500
+@@ -1,16 +1,4 @@
+ ;; this is an example, it won't work unless properly configured into php.ini
-[xcache-common]
--;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
+-;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=*
+-;; using extension=xcache.so is not recommended
+-
+-;; non-windows example
+-;; update xxx accordingly
-zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
--; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
--;; For windows users, replace xcache.so with php_xcache.dll
+-;; windows example:
-zend_extension_ts = c:/php/extensions/php_xcache.dll
--;; or install as extension, make sure your extension_dir setting is correct
--; extension = xcache.so
--;; or win32:
--; extension = php_xcache.dll
+-;; for newer PHP, _ts is removed, use the following line instead
+-zend_extension = c:/php/extensions/php_xcache.dll
-
[xcache.admin]
xcache.admin.enable_auth = On
Modified: trunk/dports/php/php5-xcache/Portfile
===================================================================
--- trunk/dports/php/php5-xcache/Portfile 2012-07-21 08:38:56 UTC (rev 95751)
+++ trunk/dports/php/php5-xcache/Portfile 2012-07-21 09:01:31 UTC (rev 95752)
@@ -4,12 +4,16 @@
PortSystem 1.0
PortGroup php5extension 1.0
-php5extension.setup xcache 2.0.0
+php5extension.setup xcache 2.0.1
+php5extension.type zend
categories-append www
platforms darwin
maintainers ryandesign openmaintainer
license BSD
+# xcache must load first
+php5extension.ini 000${php5extension.ini}
+
homepage http://xcache.lighttpd.net/
master_sites ${homepage}pub/Releases/${version}/
use_bzip2 yes
@@ -19,8 +23,8 @@
long_description ${name} is a ${description}.
-checksums rmd160 85c9b41af9a83d6beecd87849ca2fb539572b3f0 \
- sha256 ca26b0772d8b88223f281f5099a3b7d9f4b6597a87ae857301271c1fd5a3f64a
+checksums rmd160 7a405ae488ada8bdea5e7dd7e6c9243012c0ce2a \
+ sha256 b6e350f3b327b11e033da44f8b5f464b173e2256b5acc792a1179d29cb499289
patchfiles patch-xcache.ini.diff
Modified: trunk/dports/php/php5-xcache/files/patch-xcache.ini.diff
===================================================================
--- trunk/dports/php/php5-xcache/files/patch-xcache.ini.diff 2012-07-21 08:38:56 UTC (rev 95751)
+++ trunk/dports/php/php5-xcache/files/patch-xcache.ini.diff 2012-07-21 09:01:31 UTC (rev 95752)
@@ -1,16 +1,18 @@
---- xcache.ini.orig 2009-07-05 23:04:02.000000000 -0500
-+++ xcache.ini 2010-06-02 20:00:16.000000000 -0500
-@@ -1,14 +1,3 @@
+--- xcache.ini.orig 2012-06-26 05:11:30.000000000 -0500
++++ xcache.ini 2012-07-21 03:50:25.000000000 -0500
+@@ -1,16 +1,4 @@
+ ;; this is an example, it won't work unless properly configured into php.ini
-[xcache-common]
--;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
+-;; WARNING: zend_extension* = *xcache* MUST be the first(above) of all zend_extension*=*
+-;; using extension=xcache.so is not recommended
+-
+-;; non-windows example
+-;; update xxx accordingly
-zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
--; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
--;; For windows users, replace xcache.so with php_xcache.dll
+-;; windows example:
-zend_extension_ts = c:/php/extensions/php_xcache.dll
--;; or install as extension, make sure your extension_dir setting is correct
--; extension = xcache.so
--;; or win32:
--; extension = php_xcache.dll
+-;; for newer PHP, _ts is removed, use the following line instead
+-zend_extension = c:/php/extensions/php_xcache.dll
-
[xcache.admin]
xcache.admin.enable_auth = On
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120721/aa2e2b54/attachment.html>
More information about the macports-changes
mailing list