1<?xml version="1.0" encoding="UTF-8"?> 2<package packagerversion="1.9.4" 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"> 3 <name>File_Archive</name> 4 <channel>pear.php.net</channel> 5 <summary>File_Archive will let you manipulate easily the tar, gz, tgz, bz2, tbz, zip, ar (or deb) files</summary> 6 <description>This library is strongly object oriented. It makes it very easy to use, writing simple code, yet the library is very powerfull. 7It lets you easily read or generate tar, gz, tgz, bz2, tbz, zip, ar (or deb) archives to files, memory, mail or standard output. 8See http://poocl.la-grotte.org for a tutorial</description> 9 <lead> 10 <name>Vincent Lascaux</name> 11 <user>vincentlascaux</user> 12 <email>vincent.lascaux@centraliens.net</email> 13 <active>no</active> 14 </lead> 15 <lead> 16 <name>Charles Brunet</name> 17 <user>cbrunet</user> 18 <email>charles.fmj@gmail.com</email> 19 <active>yes</active> 20 </lead> 21 <developer> 22 <name>Pablo Fischer</name> 23 <user>pfischer</user> 24 <email>pablo@pablo.com.mx</email> 25 <active>yes</active> 26 </developer> 27 <date>2012-04-13</date> 28 <time>02:47:55</time> 29 <version> 30 <release>1.5.5</release> 31 <api>1.5.4</api> 32 </version> 33 <stability> 34 <release>stable</release> 35 <api>stable</api> 36 </stability> 37 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 38 <notes> 39QA release 40Made bzip2 extension optional 41Bug #19108 upgrade PHPUnit require statements (for PEAR QA Team) 42Bug #17257 Corruupted zip file 43Bug #17046 AddDirectory.php calls parent constructor incorrectly 44Bug #14596 data read during tar import includes slashes 45 46Bug #14557 bz2 is optional, not required 47 48Request #6631 Host some tutorials on pearweb 49 </notes> 50 <contents> 51 <dir baseinstalldir="/" name="/"> 52 <file baseinstalldir="File" md5sum="90670def2d1a76adc20bf1f90280dd4a" name="doc/readme.txt" role="doc" /> 53 <file baseinstalldir="/" md5sum="55f6ef70eaf3c9705e25405c5338abbb" name="File/Archive.php" role="php" /> 54 <file baseinstalldir="/" md5sum="bdcde4c7726745ba30c25dc42d972ac3" name="File/Archive/Predicate.php" role="php" /> 55 <file baseinstalldir="/" md5sum="d6255269437e7fe26b05d1a3c4a1cb58" name="File/Archive/Reader.php" role="php" /> 56 <file baseinstalldir="/" md5sum="acb7a661fbd673415a1908f0e30191c2" name="File/Archive/Writer.php" role="php" /> 57 <file baseinstalldir="/" md5sum="e53e60b66f4f233b39f5bed675dbb3bd" name="File/Archive/Predicate/And.php" role="php" /> 58 <file baseinstalldir="/" md5sum="5c3b30ebc03f26f5204bb7f4f1424cfc" name="File/Archive/Predicate/Current.php" role="php" /> 59 <file baseinstalldir="/" md5sum="2158881e2c9504ecae3f9f294b195abb" name="File/Archive/Predicate/Custom.php" role="php" /> 60 <file baseinstalldir="/" md5sum="0ec7452436f85875a49f23a82f57bf0e" name="File/Archive/Predicate/Duplicate.php" role="php" /> 61 <file baseinstalldir="/" md5sum="054bbb6d16f0fab8d272965fab270d90" name="File/Archive/Predicate/Ereg.php" role="php" /> 62 <file baseinstalldir="/" md5sum="a19015ca4f5b960c2aa2e41058d201e3" name="File/Archive/Predicate/Eregi.php" role="php" /> 63 <file baseinstalldir="/" md5sum="5b8e616f0b5fde84cef29e7ac200c298" name="File/Archive/Predicate/Extension.php" role="php" /> 64 <file baseinstalldir="/" md5sum="4eec04f57220652f30b4c20dc335829e" name="File/Archive/Predicate/False.php" role="php" /> 65 <file baseinstalldir="/" md5sum="5f693dab16d8a51b411cd8493f864bd5" name="File/Archive/Predicate/Index.php" role="php" /> 66 <file baseinstalldir="/" md5sum="9ff530eed70350f23e1182ff13af79fd" name="File/Archive/Predicate/MaxDepth.php" role="php" /> 67 <file baseinstalldir="/" md5sum="68e52cdf5ca3bda550ceaa217f545661" name="File/Archive/Predicate/MIME.php" role="php" /> 68 <file baseinstalldir="/" md5sum="427212a57c5d9662d15a304c02ef5bd2" name="File/Archive/Predicate/MinSize.php" role="php" /> 69 <file baseinstalldir="/" md5sum="3cf1fc992b022a2f52682abcb6525663" name="File/Archive/Predicate/MinTime.php" role="php" /> 70 <file baseinstalldir="/" md5sum="ed66f2be6f46d52b6b82e057618b7f52" name="File/Archive/Predicate/Not.php" role="php" /> 71 <file baseinstalldir="/" md5sum="caedce84473765ccc1d2a661dfaf1431" name="File/Archive/Predicate/Or.php" role="php" /> 72 <file baseinstalldir="/" md5sum="da13cbed9f63dcd94ddb2503ad545fac" name="File/Archive/Predicate/Preg.php" role="php" /> 73 <file baseinstalldir="/" md5sum="0348f52563052ff121aec6f956968069" name="File/Archive/Predicate/True.php" role="php" /> 74 <file baseinstalldir="/" md5sum="75028689bc1b65e67cc0fd21330eac8a" name="File/Archive/Reader/Ar.php" role="php" /> 75 <file baseinstalldir="/" md5sum="8dcd2d3b85f53893833eb6c85657828d" name="File/Archive/Reader/Archive.php" role="php" /> 76 <file baseinstalldir="/" md5sum="78813156678f1d48ce19ee10c4575328" name="File/Archive/Reader/Bzip2.php" role="php" /> 77 <file baseinstalldir="/" md5sum="96eb627158ce91eba46f73202f2e86eb" name="File/Archive/Reader/Cab.php" role="php" /> 78 <file baseinstalldir="/" md5sum="5e7fb61f4a91717f262ca4465b1322a6" name="File/Archive/Reader/Cache.php" role="php" /> 79 <file baseinstalldir="/" md5sum="46c1aa1c4104c59d5873e293317b8fc5" name="File/Archive/Reader/ChangeName.php" role="php" /> 80 <file baseinstalldir="/" md5sum="3736d7f01db76754719984a0b8cbc7ba" name="File/Archive/Reader/Concat.php" role="php" /> 81 <file baseinstalldir="/" md5sum="3a9b5ee3d9e55a6d3cd0e205046dfcf5" name="File/Archive/Reader/Directory.php" role="php" /> 82 <file baseinstalldir="/" md5sum="919b29a3bc1790d0c79579515edab1f4" name="File/Archive/Reader/File.php" role="php" /> 83 <file baseinstalldir="/" md5sum="51b4a7bfadc5456ff2cdb7e21fa374a9" name="File/Archive/Reader/Filter.php" role="php" /> 84 <file baseinstalldir="/" md5sum="280b69d100feda315b67ba052d16cf84" name="File/Archive/Reader/Gzip.php" role="php" /> 85 <file baseinstalldir="/" md5sum="1457f2ab383f09fb3e18da4fc11a6e9b" name="File/Archive/Reader/Memory.php" role="php" /> 86 <file baseinstalldir="/" md5sum="df4d95184b6a497ec4fc9180de62b370" name="File/Archive/Reader/MimeList.php" role="php" /> 87 <file baseinstalldir="/" md5sum="683fd443626432cd9fb3407f3b411051" name="File/Archive/Reader/Multi.php" role="php" /> 88 <file baseinstalldir="/" md5sum="44dc7ee3cb815a80e910035b77a0ebc2" name="File/Archive/Reader/Rar.php" role="php" /> 89 <file baseinstalldir="/" md5sum="a0a253846a66bdfe8f83ce5ec4d80e74" name="File/Archive/Reader/Relay.php" role="php" /> 90 <file baseinstalldir="/" md5sum="42f42a34d2201665c71119e91fccd27f" name="File/Archive/Reader/Select.php" role="php" /> 91 <file baseinstalldir="/" md5sum="c87455455e6439a6e9de0e32d24273c3" name="File/Archive/Reader/Tar.php" role="php" /> 92 <file baseinstalldir="/" md5sum="5fc33721667797b7e45873a601639cfa" name="File/Archive/Reader/Uncompress.php" role="php" /> 93 <file baseinstalldir="/" md5sum="c77ff601fc892ad5cfc43a5f913153e0" name="File/Archive/Reader/Zip.php" role="php" /> 94 <file baseinstalldir="/" md5sum="21236acab9d7eca2290be231bc8badff" name="File/Archive/Reader/ChangeName/AddDirectory.php" role="php" /> 95 <file baseinstalldir="/" md5sum="ac4385da08f16028ebe75fa4d9394fad" name="File/Archive/Reader/ChangeName/Callback.php" role="php" /> 96 <file baseinstalldir="/" md5sum="bb77857a5ade3f469ec6a2a334d4b7f6" name="File/Archive/Reader/ChangeName/Directory.php" role="php" /> 97 <file baseinstalldir="/" md5sum="f0b063b1c6efbf764786cf71c0c25e06" name="File/Archive/Writer/AddBaseName.php" role="php" /> 98 <file baseinstalldir="/" md5sum="f0a9cbd96e0ef6bb98565f2aaf705140" name="File/Archive/Writer/Ar.php" role="php" /> 99 <file baseinstalldir="/" md5sum="78d326562520a5a85ccf26ddbae148e1" name="File/Archive/Writer/Archive.php" role="php" /> 100 <file baseinstalldir="/" md5sum="320d4f2c90c09da45f6290c14cc22f2f" name="File/Archive/Writer/Bzip2.php" role="php" /> 101 <file baseinstalldir="/" md5sum="f9d5e3e94c049834f41b0a4b03f90c22" name="File/Archive/Writer/Files.php" role="php" /> 102 <file baseinstalldir="/" md5sum="b6662ee4f8ae147bb1baa2faaaadb7cc" name="File/Archive/Writer/Gzip.php" role="php" /> 103 <file baseinstalldir="/" md5sum="98001ab844fb100fd68e48272a55ab3e" name="File/Archive/Writer/Mail.php" role="php" /> 104 <file baseinstalldir="/" md5sum="93f4b1e8a931d294af078f27ce60743a" name="File/Archive/Writer/Memory.php" role="php" /> 105 <file baseinstalldir="/" md5sum="3479cc3476491da1ce4163e934705a64" name="File/Archive/Writer/MemoryArchive.php" role="php" /> 106 <file baseinstalldir="/" md5sum="f047971ee1a485d585b87d225063e990" name="File/Archive/Writer/Multi.php" role="php" /> 107 <file baseinstalldir="/" md5sum="d784ce359e249ad5f68d2ad900387eb1" name="File/Archive/Writer/Output.php" role="php" /> 108 <file baseinstalldir="/" md5sum="1fae3d4efdd805d15a71974fb56f39c7" name="File/Archive/Writer/Tar.php" role="php" /> 109 <file baseinstalldir="/" md5sum="f7df9af8983a3ad3e7d298abc1859d38" name="File/Archive/Writer/UniqueAppender.php" role="php" /> 110 <file baseinstalldir="/" md5sum="8ee88959a5247b14e877d9efd7a40fda" name="File/Archive/Writer/Zip.php" role="php" /> 111 <file baseinstalldir="/" md5sum="6966a614fd5c6ff4a5301300509e578e" name="tests/AllTests.php" role="test" /> 112 <file baseinstalldir="/" md5sum="f0ece41272980a6e756c0bf722201728" name="tests/FileArchiveTest.php" role="test" /> 113 <file baseinstalldir="/" md5sum="a60455e01765e9d97f8cd42268f2a05d" name="README" role="data" /> 114 </dir> 115 </contents> 116 <dependencies> 117 <required> 118 <php> 119 <min>4.3.3</min> 120 </php> 121 <pearinstaller> 122 <min>1.4.0b1</min> 123 </pearinstaller> 124 <package> 125 <name>MIME_Type</name> 126 <channel>pear.php.net</channel> 127 </package> 128 <extension> 129 <name>pcre</name> 130 </extension> 131 <extension> 132 <name>zlib</name> 133 </extension> 134 </required> 135 <optional> 136 <package> 137 <name>Mail_Mime</name> 138 <channel>pear.php.net</channel> 139 </package> 140 <package> 141 <name>Mail</name> 142 <channel>pear.php.net</channel> 143 </package> 144 <package> 145 <name>Cache_Lite</name> 146 <channel>pear.php.net</channel> 147 <min>1.5.0</min> 148 </package> 149 <extension> 150 <name>bz2</name> 151 </extension> 152 </optional> 153 </dependencies> 154 <phprelease /> 155 <changelog> 156 <release> 157 <version> 158 <release>0.1.0</release> 159 <api>0.1.0</api> 160 </version> 161 <stability> 162 <release>alpha</release> 163 <api>alpha</api> 164 </stability> 165 <date>2005-02-20</date> 166 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 167 <notes> 168First release 169 </notes> 170 </release> 171 <release> 172 <version> 173 <release>0.2.0</release> 174 <api>0.2.0</api> 175 </version> 176 <stability> 177 <release>beta</release> 178 <api>beta</api> 179 </stability> 180 <date>2005-02-24</date> 181 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 182 <notes> 183+ Add a MIME predicate 184+ Change the toArchive function to detect the compression format using the extension of the file 185 (Warning: this is not backward compatible since the order of the arguments have changed) 186 </notes> 187 </release> 188 <release> 189 <version> 190 <release>0.3.0</release> 191 <api>0.3.0</api> 192 </version> 193 <stability> 194 <release>beta</release> 195 <api>beta</api> 196 </stability> 197 <date>2005-04-08</date> 198 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 199 <notes> 200+ Bug 3894 201+ The File_Archive::read function does no longer take the optional source parameter 202 A File_Archive::readSource function has been created that takes the source parameter 203+ The mail parameter in File_Archive::toMail is now mandatory, but giving a null variable will 204 result in using Mail::factory("mail") 205+ The File_Archive::toMemory function does no longer take a variable argument 206 A File_Archive::toVariable function has been created for that 207 </notes> 208 </release> 209 <release> 210 <version> 211 <release>1.0.0</release> 212 <api>1.0.0</api> 213 </version> 214 <stability> 215 <release>stable</release> 216 <api>stable</api> 217 </stability> 218 <date>2005-04-17</date> 219 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 220 <notes> 221+ Bug 4159 (PHP4 compatibility) 222+ Bug 4165 (Better USTAR handling in tar files) 223+ The package now use temporary files to reduce the amount of memory used 224 when reading or writing large archives. The following indicates the current 225 memory usage of the different reader / writers 226 - Tar writer: constant memory usage 227 - GZip writer: constant memory usage, temporary file 228 - BZ2 writer: constant memory usage, temporary file 229 - ZIP writer: size of the largest file written to the archive 230 231 - Tar reader: constant memory usage 232 - GZip reader: constant memory usage, temporary file 233 - BZ2 reader: constant memory usage, temporary file 234 - ZIP reader: size of the largest file read from the archive 235 236 The temporary files are created in the current directory. Their name start with 237 far, their extension is tmp. They are automatically deleted when the reader / writer 238 is closed. 239 </notes> 240 </release> 241 <release> 242 <version> 243 <release>1.0.1</release> 244 <api>1.0.1</api> 245 </version> 246 <stability> 247 <release>stable</release> 248 <api>stable</api> 249 </stability> 250 <date>2005-04-21</date> 251 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 252 <notes> 253+ Bug 4192 (<? instead of <?php in some source files) 254+ Functions File_Archive::isKnownExtension and File_Archive:;readArchive 255 added. They allow to specify the type of an archive. This is usefull is the extension 256 of the file doesn't reflect its real type. 257 </notes> 258 </release> 259 <release> 260 <version> 261 <release>1.2.0</release> 262 <api>1.2.0</api> 263 </version> 264 <stability> 265 <release>stable</release> 266 <api>stable</api> 267 </stability> 268 <date>2005-05-26</date> 269 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 270 <notes> 271+ Add an ar (or deb) reader / writer 272+ Add a getFileList() on any reader to quickly retrieve file list 273+ File_Archive::readArchive properly handles tgz and tbz extensions 274+ Better error handling 275+ Various bug fixes 276 </notes> 277 </release> 278 <release> 279 <version> 280 <release>1.3.0</release> 281 <api>1.3.0</api> 282 </version> 283 <stability> 284 <release>stable</release> 285 <api>stable</api> 286 </stability> 287 <date>2005-05-30</date> 288 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 289 <notes> 290+ Add some functions to allow archive modification 291 - File_Archive::appender creates a writer to append files to an existing archive 292 - File_Archive::remove and File_Archive::removeDuplicates removes some files from 293 an existing archive 294 295 These functions allow to modify archives or even nested archives 296 See http://poocl.la-grotte.org for more detailed examples 297 </notes> 298 </release> 299 <release> 300 <version> 301 <release>1.4.0</release> 302 <api>1.4.0</api> 303 </version> 304 <stability> 305 <release>stable</release> 306 <api>stable</api> 307 </stability> 308 <date>2005-06-06</date> 309 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 310 <notes> 311+ Add the possibility to use Cache_Lite to cache intermediary output of Zip compression 312+ Add get and setOption method to change the default behavior of readers and writers 313 Available options are 314 - zipCompressionLevel: default compression level of zip archives (default is 9) 315 - gzCompressionLevel: default compression level of gz archives (default is 9) 316 - tmpDirectory: directory where temporary files will be stored (default is '.') 317 - cache: instance of Cache_Lite that may be used by any writer to cache data 318 for future use. Currently used by Zip writer (default is null: no cache) 319 - appendRemoveDuplicates: specify if the appenders should remove the old files 320 from an archive to avoid creating duplicates (default is false, which is faster) 321+ Add the possibility to use wildcards in read function 322 File_Archive::read('dir/*.txt') will read all txt files from directory dir 323 File_Archive::read('archive.zip/*.txt') will read all txt files from the zip archive 324 Note: The wildcards can only be used after the last '/' 325+ All the File_Archive functions that take a reader or a writer as an argument can now take 326 a string or an array. For readers, strings are interpreted using File_Archive::read function 327 and array using File_Archive::readMulti. For writers, strings are interpreted using File_Archive::appender 328 function and array by creating a multi writer. 329 </notes> 330 </release> 331 <release> 332 <version> 333 <release>1.4.1</release> 334 <api>1.4.1</api> 335 </version> 336 <stability> 337 <release>stable</release> 338 <api>stable</api> 339 </stability> 340 <date>2005-06-08</date> 341 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 342 <notes> 343Bug #4548 344 </notes> 345 </release> 346 <release> 347 <version> 348 <release>1.5.0</release> 349 <api>1.5.0</api> 350 </version> 351 <stability> 352 <release>stable</release> 353 <api>stable</api> 354 </stability> 355 <date>2005-07-15</date> 356 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 357 <notes> 358+ Improved zip reader (File_Archive_Zip_Reader implements more options of the PKZip standard) 359 360+ Some change in the Cache_File use: 361 - The fileNameProtection is forced to false when setting the cache option 362 - Add a File_Archive_cleanCache function 363 To remove the cached compressed version of the files that are no longer present on the system, call 364 $cache->clean(false, 'callback_File_Archive_cleanCache'); 365 where $cache is the Cache_Lite object passed to File_Archive. 366 367+ Introduce 'blockSize' option that indicates the size of the blocs copied from a reader to a writer when 368 extracting a file. The default has been set to 64kB but is subject to change in future releases 369 370+ File_Archive::cache to cache a reader if you read it several times in the same script 371 372+ 'cacheCondition' option. With this option, you can specify you want to cache all the http 373 transfer for example. Caching an http transfer ensure that the file won't be downloaded several times 374 375+ File_Archive::readUploadedFile creates a reader on an uploaded file 376 </notes> 377 </release> 378 <release> 379 <version> 380 <release>1.5.1</release> 381 <api>1.5.1</api> 382 </version> 383 <stability> 384 <release>stable</release> 385 <api>stable</api> 386 </stability> 387 <date>2005-07-26</date> 388 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 389 <notes> 390Bug #4916 391 </notes> 392 </release> 393 <release> 394 <version> 395 <release>1.5.2</release> 396 <api>1.5.2</api> 397 </version> 398 <stability> 399 <release>stable</release> 400 <api>stable</api> 401 </stability> 402 <date>2005-07-27</date> 403 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 404 <notes> 405Bug #4921, #4925 406 </notes> 407 </release> 408 <release> 409 <version> 410 <release>1.5.3</release> 411 <api>1.5.3</api> 412 </version> 413 <stability> 414 <release>stable</release> 415 <api>stable</api> 416 </stability> 417 <date>2005-08-16</date> 418 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 419 <notes> 420Bug #4953 (absolute windows path) 421Bug #5095 (date of files when creating a zip archive) 422Fix a bug when using File_Archive::appender on non existing archives 423 </notes> 424 </release> 425 <release> 426 <version> 427 <release>1.5.5</release> 428 <api>1.5.4</api> 429 </version> 430 <stability> 431 <release>stable</release> 432 <api>stable</api> 433 </stability> 434 <date>2012-04-13</date> 435 <license uri="http://www.gnu.org/copyleft/lesser.html">LGPL</license> 436 <notes> 437QA release 438Made bzip2 extension optional 439Bug #19108 upgrade PHPUnit require statements (for PEAR QA Team) 440Bug #17257 Corruupted zip file 441Bug #17046 AddDirectory.php calls parent constructor incorrectly 442Bug #14596 data read during tar import includes slashes 443 444Bug #14557 bz2 is optional, not required 445 446Request #6631 Host some tutorials on pearweb 447 </notes> 448 </release> 449 </changelog> 450</package> 451