summaryrefslogtreecommitdiff
path: root/ext/phar/package.xml
blob: 6b9f3a90363165541a1d2e39f4759000abb8ca81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.7.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" 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.0 http://pear.php.net/dtd/package-2.0.xsd">
 <name>phar</name>
 <channel>pecl.php.net</channel>
 <summary>allows running of complete applications out of .phar files (like Java .jar files)</summary>
 <description>This is the extension version of PEAR&apos;s PHP_Archive package. Support for
zlib, bz2 and crc32 is achieved without any dependency other than the external
zlib or bz2 extension.

.phar files can be read using the phar stream, or with the Phar class.  If the SPL extension
is available, a Phar object can be used as an array to iterate over a phar&apos;s contents
or to read files directly from the phar.

Phar archives can be created using the streams API or with the Phar class, if
the phar.readonly ini variable is set to false.

Full support for MD5 and SHA1 signatures is possible. Signatures can be required 
if the ini variable phar.require_hash is set to true. When PECL extension hash is
avaiable then SHA-256 and SHA-512 signatures are supported as well.</description>
 <lead>
  <name>Greg Beaver</name>
  <user>cellog</user>
  <email>cellog@php.net</email>
  <active>yes</active>
 </lead>
 <lead>
  <name>Marcus Boerger</name>
  <user>helly</user>
  <email>helly@php.net</email>
  <active>yes</active>
 </lead>
 <date>2007-11-22</date>
 <time>22:37:06</time>
 <version>
  <release>1.2.3</release>
  <api>1.1.0</api>
 </version>
 <stability>
  <release>stable</release>
  <api>stable</api>
 </stability>
 <license uri="http://www.php.net/license">PHP License</license>
 <notes>

 * fix creation of Phar object with relative path:
   $a = new Phar(&apos;blah.phar&apos;);
 * fix creation and read of Phar objects on Windows, manage
   windows path separators (on windows only)
 * fix Bug #12492: filenew incorrectly creates file path [urkle]
 * fix Bug #12493: extract throws an error and won&apos;t open the file [urkle]

 </notes>
 <contents>
  <dir baseinstalldir="/" name="/">
   <dir name="phar">
    <file name="clicommand.inc" role="src" />
    <file name="directorygraphiterator.inc" role="src" />
    <file name="directorytreeiterator.inc" role="src" />
    <file name="invertedregexiterator.inc" role="src" />
    <file name="phar.inc" role="src" />
    <file name="phar.php" role="src" />
    <file name="pharcommand.inc" role="src" />
   </dir> <!-- /phar -->
   <dir name="tests">
    <file name="001.phpt" role="test" />
    <file name="002.phpt" role="test" />
    <file name="003.phpt" role="test" />
    <file name="003a.phpt" role="test" />
    <file name="004.phpt" role="test" />
    <file name="005.phpt" role="test" />
    <file name="006.phpt" role="test" />
    <file name="007.phpt" role="test" />
    <file name="008.phpt" role="test" />
    <file name="009.phpt" role="test" />
    <file name="010.phpt" role="test" />
    <file name="011.phpt" role="test" />
    <file name="012.phpt" role="test" />
    <file name="013.phpt" role="test" />
    <file name="014.phpt" role="test" />
    <file name="015.phpt" role="test" />
    <file name="015b.phpt" role="test" />
    <file name="016.phpt" role="test" />
    <file name="016b.phpt" role="test" />
    <file name="017.phpt" role="test" />
    <file name="018.phpt" role="test" />
    <file name="019.phpt" role="test" />
    <file name="019b.phpt" role="test" />
    <file name="019c.phpt" role="test" />
    <file name="020.phpt" role="test" />
    <file name="021.phpt" role="test" />
    <file name="022.phpt" role="test" />
    <file name="023.phpt" role="test" />
    <file name="024.phpt" role="test" />
    <file name="025.phpt" role="test" />
    <file name="026.phpt" role="test" />
    <file name="027.phpt" role="test" />
    <file name="028.phpt" role="test" />
    <file name="029.phpt" role="test" />
    <file name="030.phpt" role="test" />
    <file name="031.phpt" role="test" />
    <file name="032.phpt" role="test" />
    <file name="033.phpt" role="test" />
    <file name="033a.phpt" role="test" />
    <file name="create_new_and_modify.phpt" role="test" />
    <file name="create_new_phar.phpt" role="test" />
    <file name="create_new_phar_b.phpt" role="test" />
    <file name="create_new_phar_c.phpt" role="test" />
    <file name="create_path_error.phpt" role="test" />
    <file name="delete_in_phar.phpt" role="test" />
    <file name="delete_in_phar_b.phpt" role="test" />
    <file name="delete_in_phar_confirm.phpt" role="test" />
    <file name="extracted.inc" role="test" />
    <file name="extracted_001.phpt" role="test" />
    <file name="ini_set.phpt" role="test" />
    <file name="ini_set_off.phpt" role="test" />
    <file name="metadata_read.phpt" role="test" />
    <file name="metadata_write.phpt" role="test" />
    <file name="metadata_write_commit.phpt" role="test" />
    <file name="open_for_write_existing.phpt" role="test" />
    <file name="open_for_write_existing_b.phpt" role="test" />
    <file name="open_for_write_existing_c.phpt" role="test" />
    <file name="open_for_write_newfile.phpt" role="test" />
    <file name="open_for_write_newfile_b.phpt" role="test" />
    <file name="open_for_write_newfile_c.phpt" role="test" />
    <file name="phar_begin_setstub_commit.phpt" role="test" />
    <file name="phar_commitwrite.phpt" role="test" />
    <file name="phar_create_in_cwd.phpt" role="test" />
    <file name="phar_ctx_001.phpt" role="test" />
    <file name="phar_get_suppoted_signatures_001.phpt" role="test" />
    <file name="phar_get_suppoted_signatures_002.phpt" role="test" />
    <file name="phar_metadata_read.phpt" role="test" />
    <file name="phar_metadata_write.phpt" role="test" />
    <file name="phar_offset_get_error.phpt" role="test" />
    <file name="phar_oo_001.phpt" role="test" />
    <file name="phar_oo_002.phpt" role="test" />
    <file name="phar_oo_003.phpt" role="test" />
    <file name="phar_oo_004.phpt" role="test" />
    <file name="phar_oo_005.phpt" role="test" />
    <file name="phar_oo_006.phpt" role="test" />
    <file name="phar_oo_007.phpt" role="test" />
    <file name="phar_oo_008.phpt" role="test" />
    <file name="phar_oo_009.phpt" role="test" />
    <file name="phar_oo_010.phpt" role="test" />
    <file name="phar_oo_011.phpt" role="test" />
    <file name="phar_oo_011b.phpt" role="test" />
    <file name="phar_oo_012.phpt" role="test" />
    <file name="phar_oo_012b.phpt" role="test" />
    <file name="phar_oo_012_confirm.phpt" role="test" />
    <file name="phar_oo_compressallbz2.phpt" role="test" />
    <file name="phar_oo_compressallgz.phpt" role="test" />
    <file name="phar_oo_compressed_001.phpt" role="test" />
    <file name="phar_oo_compressed_001b.phpt" role="test" />
    <file name="phar_oo_compressed_002.phpt" role="test" />
    <file name="phar_oo_compressed_002b.phpt" role="test" />
    <file name="phar_oo_test.inc" role="test" />
    <file name="phar_oo_uncompressall.phpt" role="test" />
    <file name="phar_setalias.phpt" role="test" />
    <file name="phar_setalias2.phpt" role="test" />
    <file name="phar_setsignaturealgo1.phpt" role="test" />
    <file name="phar_setsignaturealgo2.phpt" role="test" />
    <file name="phar_stub.phpt" role="test" />
    <file name="phar_stub_error.phpt" role="test" />
    <file name="phar_stub_write.phpt" role="test" />
    <file name="phar_stub_write_file.phpt" role="test" />
    <file name="phar_test.inc" role="test" />
    <file name="refcount1.phpt" role="test" />
    <file name="refcount1_5_2.phpt" role="test" />
    <file name="rename.phpt" role="test" />
   </dir> <!-- /tests -->
   <file name="build_precommand.php" role="php" />
   <file name="config.m4" role="src" />
   <file name="config.w32" role="src" />
   <file name="CREDITS" role="doc" />
   <file name="gdbhelp" role="data" />
   <file name="LICENSE" role="doc" />
   <file name="Makefile.frag" role="src" />
   <file name="phar.c" role="src" />
   <file name="phar.phar" role="script" />
   <file name="phar_internal.h" role="src" />
   <file name="phar_object.c" role="src" />
   <file name="phar_path_check.c" role="src" />
   <file name="phar_path_check.re" role="src" />
   <file name="php_phar.h" role="src" />
   <file name="TODO" role="doc" />
  </dir> <!-- / -->
 </contents>
 <dependencies>
  <required>
   <php>
    <min>5.2.0</min>
   </php>
   <pearinstaller>
    <min>1.4.3</min>
   </pearinstaller>
  </required>
  <optional>
   <package>
    <name>bz2</name>
    <channel>pecl.php.net</channel>
    <providesextension>bz2</providesextension>
   </package>
   <package>
    <name>hash</name>
    <channel>pecl.php.net</channel>
    <providesextension>hash</providesextension>
   </package>
   <extension>
    <name>spl</name>
   </extension>
   <extension>
    <name>zlib</name>
   </extension>
  </optional>
 </dependencies>
 <providesextension>phar</providesextension>
 <extsrcrelease />
 <changelog>
  <release>
   <version>
    <release>1.2.3</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-11-22</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>

 * fix creation of Phar object with relative path:
   $a = new Phar(&apos;blah.phar&apos;);
 * fix creation and read of Phar objects on Windows, manage
   windows path separators (on windows only)
 * fix Bug #12492: filenew incorrectly creates file path [urkle]
 * fix Bug #12493: extract throws an error and won&apos;t open the file [urkle]

   </notes>
  </release>
  <release>
   <version>
    <release>1.2.2</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-10-03</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>* fix to work with PHP 5.3
* fix Bug #12124: Phar object cannot be iterated over
* remove unused variables
* fix jit file open sprintf calls</notes>
  </release>
  <release>
   <version>
    <release>1.2.1</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-08-29</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>* improve speed of uncompressed phars used readonly by 2x [Greg]
* improve speed of phars with signatures 2x [Greg]
* add Phar::setAlias() [Greg]
* fix too many open file handles issue [Greg]
* fix rename [Greg]
* add Phar::getAlias() [Marcus]
* Made -a optional in pack subcommand of phar.phar [Marcus]
* Fix issue with apache module and extracted archives [Marcus]
* Send all error messages to stderr in phar.phar [Marcus]
* Added new subcommands add and delete to phar.phar [Marcus]
* Made Phar::loadPhar() and Phar::mapPhar() ignore extracted archives [Marcus]
* Fix issue with compressed entries and uncompressing entries [Marcus]
* Verify stubs before writing [Marcus]
* Always use longest stub end to avoid issues with length field [Marcus]</notes>
  </release>
  <release>
   <version>
    <release>1.2.0</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-05-18</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>* add PharFileInfo::hasMetadata(), PharFileInfo::delMetadata() [Marcus]
* add Phar::hasMetadata(), Phar::delMetadata() [Marcus]
* fix Phar::CanWrite() [Marcus]
* add preliminary phar command (phar.php) [Marcus] 
* add phar command (phar.phar) [Marcus]
* list all available compression methods using Phar::getSupportedCompression() [Marcus]
* remove RINIT [Marcus]</notes>
  </release>
  <release>
   <version>
    <release>1.1.0</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-04-12</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>* implement ability connect a phar file &apos;phar://whatever&apos; to a directory. That way all
  access to that phar archive are directed to the extracted directory. This
  allows to have the installed files and the archieve keep the same includes.
  [Marcus]
* implement SHA-2 (256, 512) support [Marcus]
* implement setSignatureAlgorithm() and Phar::MD5 Phar::SHA1 Phar::SHA256 Phar::SHA512 Phar::PGP to
  choose the kind of signature to use (PGP falls back to SHA1) [Greg]</notes>
  </release>
  <release>
   <version>
    <release>1.0.1</release>
    <api>1.0.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-03-28</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>* Fix return value of unlink() and rename() when used for phar archievs. [Marcus]</notes>
  </release>
  <release>
   <version>
    <release>1.0.0</release>
    <api>1.0.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-03-26</date>
   <license uri="http://www.php.net/license">PHP License</license>
   <notes>*BACKWARDS COMPATIBILITY BREAK*
Rename Phar-&gt;begin/isFlushingToPhar/commit to startBuffering/isBuffering/stopBuffering
Note that isBuffering() returns the opposite value to isFlushingToPhar()</notes>
  </release>
 </changelog>
</package>