|
2 | 2 | <package version="2.1" xmlns="http://pear.php.net/dtd/package-2.1" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.1 http://pear.php.net/dtd/package-2.1.xsd">
|
3 | 3 | <name>PEAR2_Cache_SHM</name>
|
4 | 4 | <channel>pear2.php.net</channel>
|
5 |
| - <summary>Wrapper for shared memory and locking functionality across different extensions.</summary> |
| 5 | + <summary>Wrapper for shared memory and locking functionality across different extensions. |
| 6 | +</summary> |
6 | 7 | <description>Allows you to share data across requests as long as the PHP process is running. One of APC or WinCache is required to accomplish this, with other extensions being potentially pluggable as adapters.</description>
|
7 | 8 | <lead>
|
8 | 9 | <name>Vasil Rangelov</name>
|
9 | 10 | <user>boen_robot</user>
|
10 | 11 |
|
11 | 12 | <active>yes</active>
|
12 | 13 | </lead>
|
13 |
| - <date>2014-11-02</date> |
14 |
| - <time>06:53:24</time> |
| 14 | + <date>2016-11-07</date> |
| 15 | + <time>02:54:44</time> |
15 | 16 | <version>
|
16 |
| - <release>0.1.3</release> |
| 17 | + <release>0.2.0</release> |
17 | 18 | <api>0.1.0</api>
|
18 | 19 | </version>
|
19 | 20 | <stability>
|
20 | 21 | <release>alpha</release>
|
21 | 22 | <api>alpha</api>
|
22 | 23 | </stability>
|
23 | 24 | <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL License 2.1</license>
|
24 |
| - <notes>* Wincache and APC now check their requirements in greater detail: |
25 |
| - - APC checks if it's enabled by the apc.enabled INI setting. |
26 |
| - - Wincache checks if the user cache is enabled by wincache.ucenabled INI setting. |
27 |
| - - Both check if the SAPI is CLI, and if so, whether that's allowed by the respective ini setting. |
28 |
| -* The PHAR stub also checks and reports the above. |
29 |
| -* SHM::getIterator() now returns ArrayObject instead of a normal array, in order to be compatible with how IteratorAggregate actually works. |
| 25 | + <notes>* __Added APCu adapter__ |
| 26 | +* Version requirements bumped to ones that reflect fully available functionality. More specifically: |
| 27 | + - APC 3.1.1 is now the required minimum (previously, 3.0.13), because it's the minimum for APCIterator. |
| 28 | + - APCu 5.0.0 is required, because of APCUIterator, though 4.0.0 would be sufficient for the rest. |
| 29 | + - PHP 5.3.9 is the minimum required PHP version, because it is the firt one in which a critical bug affecting this package is fixed. See [#43200](https://bugs.php.net/bug.php?id=43200) for details. |
30 | 30 | * Doc and CS fixes.</notes>
|
31 | 31 | <contents>
|
32 | 32 | <dir name="/">
|
|
49 | 49 | <dir name="Adapter">
|
50 | 50 | <file role="php" name="APC.php">
|
51 | 51 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 52 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 53 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
| 54 | + </file> |
| 55 | + <file role="php" name="APCu.php"> |
| 56 | + <tasks:replace type="package-info" to="version" from="GIT: $Id$"/> |
| 57 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 58 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
52 | 59 | </file>
|
53 | 60 | <file role="php" name="Placebo.php">
|
54 | 61 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 62 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 63 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
55 | 64 | </file>
|
56 | 65 | <file role="php" name="Wincache.php">
|
57 | 66 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 67 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 68 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
58 | 69 | </file>
|
59 | 70 | </dir>
|
60 | 71 | <file role="php" name="Exception.php">
|
61 | 72 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 73 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 74 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
62 | 75 | </file>
|
63 | 76 | <file role="php" name="InvalidArgumentException.php">
|
64 | 77 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 78 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 79 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
65 | 80 | </file>
|
66 | 81 | </dir>
|
67 | 82 | <file role="php" name="SHM.php">
|
68 | 83 | <tasks:replace type="package-info" to="version" from="GIT: $Id$"/>
|
| 84 | + <tasks:replace type="package-info" to="summary" from="~~summary~~"/> |
| 85 | + <tasks:replace type="package-info" to="description" from="~~description~~"/> |
69 | 86 | </file>
|
70 | 87 | </dir>
|
71 | 88 | </dir>
|
|
88 | 105 | <file role="test" name="SHM-factory.php"/>
|
89 | 106 | </dir>
|
90 | 107 | <file role="test" name="APC.phpt"/>
|
| 108 | + <file role="test" name="APCu.phpt"/> |
91 | 109 | <file role="test" name="Placebo.phpt"/>
|
92 | 110 | <file role="test" name="SHM-factory_CGI.phpt"/>
|
93 | 111 | <file role="test" name="SHM-factory_CLI.phpt"/>
|
|
115 | 133 | <package>
|
116 | 134 | <name>PEAR2_Autoload</name>
|
117 | 135 | <channel>pear2.php.net</channel>
|
118 |
| - <min>0.2.4</min> |
| 136 | + <min>0.3.0</min> |
119 | 137 | </package>
|
120 | 138 | <extension>
|
121 | 139 | <name>apc</name>
|
122 |
| - <min>3.0.13</min> |
| 140 | + <min>3.1.1</min> |
| 141 | + </extension> |
| 142 | + <extension> |
| 143 | + <name>apcu</name> |
| 144 | + <min>5.0.0</min> |
123 | 145 | </extension>
|
124 | 146 | <extension>
|
125 | 147 | <name>wincache</name>
|
|
134 | 156 | <install name="docs/phpdoc.dist.xml" as="phpdoc.dist.xml"/>
|
135 | 157 | <install name="src/PEAR2/Cache/SHM.php" as="PEAR2/Cache/SHM.php"/>
|
136 | 158 | <install name="src/PEAR2/Cache/SHM/Adapter/APC.php" as="PEAR2/Cache/SHM/Adapter/APC.php"/>
|
| 159 | + <install name="src/PEAR2/Cache/SHM/Adapter/APCu.php" as="PEAR2/Cache/SHM/Adapter/APCu.php"/> |
137 | 160 | <install name="src/PEAR2/Cache/SHM/Adapter/Placebo.php" as="PEAR2/Cache/SHM/Adapter/Placebo.php"/>
|
138 | 161 | <install name="src/PEAR2/Cache/SHM/Adapter/Wincache.php" as="PEAR2/Cache/SHM/Adapter/Wincache.php"/>
|
139 | 162 | <install name="src/PEAR2/Cache/SHM/Exception.php" as="PEAR2/Cache/SHM/Exception.php"/>
|
140 | 163 | <install name="src/PEAR2/Cache/SHM/InvalidArgumentException.php" as="PEAR2/Cache/SHM/InvalidArgumentException.php"/>
|
141 | 164 | <install name="tests/bootstrap.php" as="bootstrap.php"/>
|
142 | 165 | <install name="tests/PHPT/APC.phpt" as="PHPT/APC.phpt"/>
|
| 166 | + <install name="tests/PHPT/APCu.phpt" as="PHPT/APCu.phpt"/> |
143 | 167 | <install name="tests/PHPT/Common/testAddingTtlValue_part1.phpt" as="PHPT/Common/testAddingTtlValue_part1.phpt"/>
|
144 | 168 | <install name="tests/PHPT/Common/testAddingTtlValue_part2.phpt" as="PHPT/Common/testAddingTtlValue_part2.phpt"/>
|
145 | 169 | <install name="tests/PHPT/Common/testAddingTtlValue_part3.phpt" as="PHPT/Common/testAddingTtlValue_part3.phpt"/>
|
|
0 commit comments