cvs: pearweb /public_html go-pear.phar
| From: | Greg Beaver | Date: | Wed, 30 Nov 2005 18:47:17 +0000 |
| Subject: | cvs: pearweb /public_html go-pear.phar | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-36622@lists.php.net to get a copy of this message | ||
cellog Wed Nov 30 13:47:17 2005 EDT
Modified files:
/pearweb/public_html go-pear.phar
Log:
use PHP_Archive 0.7.0-based go-pear.phar. This is FAST and small
http://cvs.php.net/diff.php/pearweb/public_html/go-pear.phar?r1=1.13&r2=1.14&ty=u Index: pearweb/public_html/go-pear.phar diff -u pearweb/public_html/go-pear.phar:1.13 pearweb/public_html/go-pear.phar:1.14 --- pearweb/public_html/go-pear.phar:1.13 Mon Nov 28 01:29:57 2005 +++ pearweb/public_html/go-pear.phar Wed Nov 30 13:47:11 2005 @@ -27,19 +27,23 @@ * @author Davey Shafik <davey@synapticmedia.net> * @author Greg Beaver <cellog@php.net> * @link http://www.synapticmedia.net Synaptic Media - * @version Id: Archive.php,v 1.19 2005/07/24 15:42:20 cellog Exp $ + * @version Id: Archive.php,v 1.21 2005/11/30 06:41:32 cellog Exp $ * @package PHP_Archive * @category PHP */ class PHP_Archive { - private $_manifest; + /** + * Whether this archive is compressed with zlib + * + * @var bool + */ private $_compressed; /** * @var string Real path to the .phar archive */ - protected $pharName = null; + private $_archiveName = null; /** * Current file name in the phar * @var string @@ -64,8 +68,50 @@ */ protected $position = 0; - private static $_pharMapping; - private $_fileStart; + /** + * Map actual realpath of phars to meta-data about the phar + * + * Data is indexed by the alias that is used by internal files. In other + * words, if a file is included via: + * <code> + * require_once 'phar://PEAR.phar/PEAR/Installer.php'; + * </code> + * then the alias is "PEAR.phar" + * + * Information stored is the actual file name, a boolean indicating whether + * this .phar is compressed with zlib, and the precise offset of internal files + * within the .phar, used with the {@link $_manifest} to load actual file contents + * @var array + */ + private static $_pharMapping = array(); + /** + * File listing for the .phar + * + * The manifest is indexed per phar. + * + * Files within the .phar are indexed by their relative path within the + * .phar. Each file has this information in its internal array + * + * - 0 = uncompressed file size + * - 1 = timestamp of when file was added to phar + * - 2 = offset of file within phar relative to internal file's start + * - 3 = compressed file size (actual size in the phar) + * @var array + */ + private static $_manifest = array(); + /** + * Absolute offset of internal files within the .phar, indexed by absolute + * path to the .phar + * + * @var array + */ + private static $_fileStart = array(); + /** + * file name of the phar + * + * @var string + */ + private $_basename; /** * Map a full real file path to an alias used to refer to the .phar @@ -131,14 +177,14 @@ protected function selectFile($path, $allowdirs = true) { $std = self::processFile($path); - if (isset($this->_manifest[$path])) { + if (isset(self::$_manifest[$this->_archiveName][$path])) { $this->_setCurrentFile($path); return true; } if (!$allowdirs) { - return 'Error: "' . $path . '" is not a file in phar "' . $this->basename . '"'; + return 'Error: "' . $path . '" is not a file in phar "' . $this->_basename . '"'; } - foreach ($this->_manifest as $file => $info) { + foreach (self::$_manifest[$this->_archiveName] as $file => $info) { if (empty($std) || //$std is a directory strncmp($std.'/', $path, strlen($std)+1) == 0) { @@ -146,7 +192,7 @@ return true; } } - return 'Error: "' . $path . '" not found in phar "' . $this->basename . '"'; + return 'Error: "' . $path . '" not found in phar "' . $this->_basename . '"'; } private function _setCurrentFile($path) @@ -155,15 +201,15 @@ 2 => 0100444, // file mode, readable by all, writeable by none 4 => 0, // uid 5 => 0, // gid - 7 => $this->_manifest[$path][0], // size - 9 => $this->_manifest[$path][1], // creation time + 7 => self::$_manifest[$this->_archiveName][$path][0], // size + 9 => self::$_manifest[$this->_archiveName][$path][1], // creation time ); $this->currentFilename = $path; // actual file length in file includes 8-byte header - $this->internalFileLength = $this->_manifest[$path][3] - 8; + $this->internalFileLength = self::$_manifest[$this->_archiveName][$path][3] - 8; // seek to offset of file header within the .phar if (is_resource(@$this->fp)) { - fseek($this->fp, $this->_fileStart + $this->_manifest[$path][2]); + fseek($this->fp, self::$_fileStart[$this->_archiveName] + self::$_manifest[$this->_archiveName][$path][2]); } } @@ -175,10 +221,10 @@ */ public function extractFile($path) { - $this->fp = @fopen($this->archiveName, "rb"); + $this->fp = @fopen($this->_archiveName, "rb"); $stat = fstat($this->fp); if (!$this->fp) { - return array('Error: cannot open phar "' . $this->archiveName . '"'); + return array('Error: cannot open phar "' . $this->_archiveName . '"'); } if (($e = $this->selectFile($path, false)) === true) { $temp = unpack("Vcrc32/Visize", fread($this->fp, 8)); @@ -197,7 +243,7 @@ if ($this->_compressed) { $data = gzinflate($data); } - if (!isset($this->_manifest[$path]['ok'])) { + if (!isset(self::$_manifest[$this->_archiveName][$path]['ok'])) { if ($temp['isize'] != $this->currentStat[7]) { return array("Not valid internal .phar file (size error {$size} != " . $this->currentStat[7] . ")"); @@ -205,7 +251,7 @@ if ($temp['crc32'] != crc32($data)) { return array("Not valid internal .phar file (checksum error)"); } - $this->_manifest[$path]['ok'] = true; + self::$_manifest[$this->_archiveName][$path]['ok'] = true; } return $data; } else { @@ -240,27 +286,60 @@ $info['path'] = substr($info['path'], 1); } if (isset(self::$_pharMapping[$info['host']])) { - $this->basename = $info['host']; - $this->archiveName = self::$_pharMapping[$info['host']][0]; + $this->_basename = $info['host']; + $this->_archiveName = self::$_pharMapping[$info['host']][0]; $this->_compressed = self::$_pharMapping[$info['host']][1]; } else { // no such phar has been included, or last opened phar is requested $pharinfo = end(self::$_pharMapping); - $this->basename = key(self::$_pharMapping); - $this->archiveName = $pharinfo[0]; + $this->_basename = key(self::$_pharMapping); + $this->_archiveName = $pharinfo[0]; $this->_compressed = $pharinfo[1]; } - $fp = fopen($this->archiveName, 'rb'); - // seek to __HALT_COMPILER_OFFSET__ - fseek($fp, self::$_pharMapping[$this->basename][2]); - $manifest_length = unpack('Vlen', fread($fp, 4)); - $this->_manifest = unserialize(fread($fp, $manifest_length['len'])); - $this->_fileStart = ftell($fp); - fclose($fp); + if (!isset(self::$_manifest[$this->_archiveName])) { + $fp = fopen($this->_archiveName, 'rb'); + // seek to __HALT_COMPILER_OFFSET__ + fseek($fp, self::$_pharMapping[$this->_basename][2]); + $manifest_length = unpack('Vlen', fread($fp, 4)); + self::$_manifest[$this->_archiveName] = + $this->_unserializeManifest(fread($fp, $manifest_length['len'])); + self::$_fileStart[$this->_archiveName] = ftell($fp); + fclose($fp); + } $file = $info['path']; return $file; } + + /** + * Enter description here... + * + * @param unknown_type $manifest + * @return unknown + */ + private function _unserializeManifest($manifest) + { + // retrieve the number of files in the manifest + $info = unpack('V', substr($manifest, 0, 4)); + $manifest = substr($manifest, 4); + $ret = array(); + for ($i = 0; $i < $info[1]; $i++) { + // length of the file name + $len = unpack('V', substr($manifest, 0, 4)); + // file name + $savepath = substr($manifest, 4, $len[1]); + $manifest = substr($manifest, $len[1] + 4); + // retrieve manifest data: + // 0 = uncompressed file size + // 1 = timestamp of when file was added to phar + // 2 = offset of file within phar relative to internal file's start + // 3 = compressed file size (actual size in the phar) + $ret[$savepath] = array_values(unpack('Va/Vb/Vc/Vd', substr($manifest, 0, 16))); + $manifest = substr($manifest, 16); + } + return $ret; + } + /** * Open the requested file - PHP streams API * @@ -390,7 +469,7 @@ { $std = $file ? self::processFile($file) : $this->currentFilename; if ($file) { - if (isset($this->_manifest[$file])) { + if (isset(self::$_manifest[$this->_archiveName][$file])) { $this->_setCurrentFile($file); $isdir = false; } else { @@ -437,7 +516,7 @@ $path = !empty($info['path']) ? $info['host'] . $info['path'] : $info['host'] . '/'; $path = $this->initializeStream('phar://' . $path); - if (isset($this->_manifest[$path])) { + if (isset(self::$_manifest[$this->_archiveName][$path])) { trigger_error('Error: "' . $path . '" is a file, and cannot be opened with opendir', E_USER_ERROR); return false; @@ -446,13 +525,13 @@ trigger_error('Error: Unknown phar in "' . $file . '"', E_USER_ERROR); return false; } - $this->fp = @fopen($this->archiveName, "rb"); + $this->fp = @fopen($this->_archiveName, "rb"); if (!$this->fp) { - trigger_error('Error: cannot open phar "' . $this->archiveName . '"'); + trigger_error('Error: cannot open phar "' . $this->_archiveName . '"'); return false; } $this->_dirFiles = array(); - foreach ($this->_manifest as $file => $info) { + foreach (self::$_manifest[$this->_archiveName] as $file => $info) { if ($path == '/') { if (strpos($file, '/')) { $this->_dirFiles[array_shift($a = explode('/', $file))] = true; @@ -535,7 +614,16 @@ } ?> <?php __HALT_COMPILER(); ?> -T+Î +++l+¨+:+c+++ ì99¥çy¹ZÜ?OÉýódÆ =ª/_òó4;aruäðì=;ëâh29??\³¤>Lë?êq_ÑxÏ/ÙE¾atÁ²¼fe2OÒ³ÅlÃìau0.¶Éxr²|VÇÀ´néæ«$ªkÂVE-e¢ÁÇ¢0°ì<aó8ck`&Q-¨L×ëdÆu²º9{²©Oóòý'ÍÄ}·ÏÀñ¿ây¿5þÍÇTáç#ö:.Q4FgìpüàkÓóÉÁÃÉáWìÁáÑÁ£ìlÆ~öGÁîܾuûVüß&-c$EÅi\ä÷*ËÉOϼÄj£Gøýí[df Û¼|ú¯çÿyvüúÉËã'¯_¿zöÓO^ÿø2±¯Tbr÷îí[wÙÓ2¡ª`ðöçùº(ªJC¤äj~ Ò_ácâ3ðª'£©åìÎËä,Å_8îÐk9yÙÕ0n¾«J>:FR?jÏa§oßzwûõ ` >6Õp¡@¬ñw1fìb6#Ø¡uzÞ~kUªO¸¶@@ -2147,13 +2235,13 @@ ÑÍ3O5}Ó0{ÑR~Pjysg¦»æªdS£ 1äB×n,©±µ-ÃÔÀ8Î{s;8ei°ÊËèT\çsJ£ñ¢0#}Þ¯9Ú:/Ò"M'c¤êó ¯dnòåwAè£ °E²Kùø>|¾üËùlNýì}+Æ; ´YS¼¬í'AòÞ²âÕ 3¬ùa$j.z¿ü"L¨ý*^ßÂÈ©Ý,v¾µ£Àèa0â0Y°mwX|ÆvÈþ¹ð¹3ÐØrî°·,:±©Ìôr[j1*âØÒ nM_{msà^°íUisb¨TÿÖ/¼|fk Ì¢¿¨¼\¯¿ýà®ÓH{ܹðËq{}åòóS¡zjeÉÉx}89z£ª·×VÖÄ*óîe`í2fªº¥ü:ÐK9<¿ÂÖ½W¼ã.îÉõä;4÷+¦þïÀ6eËYÜðª×ð²Õ¬ÃwÉ·4¶+¿\¾â±¤jª~¯)PÈ¿z-ùrËþ¾év¿ÞÞ¾/9Ó¾¨°?7>qMëà¾H5L?&;÷ÓÊhQoýpвÁ -x2ÌÜÇçݰ:û¾åar û.|ÿتg1RE¨>¹¿@gÞ-®dÌiÜÎýëî¸ÊL2x,àËrrrq>~{=Á» È ¹ -9ÌDÌ^óé¿y¨AËB-u¼îtá;Íð¦ky¤ë¹YVδÊC-U)7T±e¬baÈÑÜT;¦j×",Þ}ûc'¡±H$h)Å/ÜÊkÞ²&w,¡Û(zÄÚ,ãºýhw:uÎ"·Ü0aLsEoIü¡ú¹ÎY¸ÇWAËzýäZ"É=fêÆ³èÕUÞ¦¤)´HrþbsêaóÕmYï4Àȱûøe¶Ù5ò@n;뮾´A Ü=Û&Á(¡2Lq [ò¢Eq«¤É+ÅÂCèó£]·[éí¼-R£^ÙuÀ¢¯S³QÜë÷GfõNqÌ9áÝ:åíNgWµCl±8Û·Õ-Ö¬áóáAòp&T¦ÂuÓ=&Ö~棦lW©Ç+-(Æ,äm/ðºàùøåáW·&Õ§¨zÂWHÚ.^£,¾ø@¿AØeØeºÓ¢¥¦ïa*>A$Æ4Fc3,ûõ5º¤¿¼¯MïB¦B#[c®°ßL$¤¹J%²cd$¢© Ô{Uz5L¥Ð&f~¯I:.¿¦FШۣS)±Ì pÁwrÔDì¡é¸¼N.Á"à"ôÓIKkÂA½5ªëeußM¸}<[Yï¬Bêb?~nʬd{Â~¦Q ÿ±fì¦%oài,\5ü*[±Üxî%DÖä§]íoHL-ñ4ÇU{ -A ÑÁs8ßé쯻8дµ`BåòÏuS^¢ø^¢+cãÏ:q¦¹6Ø@'Ì¢á6ÄÝê-VèøÑAÄy]%>yRÀÁ; 4výÉ]ê\ÏfQù`O{Zæóÿ5:ÜGûCé|åBÐEáVNÐÍðTTè¤ï¬Ç03(¹Å<è"«`èÄ&QEEÞ0££RKÍ·ØCûÐ)ÓªòS2kmRÌOCF9˰bs¿.®¢&¡}sø3øUµgðÁ1Õ¢ù¯ÇÛýz¶yQe ׿pÛ¸Ó¥y¢éþ¸(´Z,y·[SÙáÓãÈHíô,¹\¤gÇèf?uN\Ó×ú'º=¡ckÝéÆRÞÒ%9°×NDq+JвR*qúÆ|Óßsá³ZtRµ}àÀ¥êët!â3ÇÚäRÌæCJoÞÏG\óMfgE6Sr:ñ¢hhÁëÉ8:X ÷IçvðER¬wõã0i³Ü\tbe7Y\)4'fLĹâ»7¢ù4®0à1LØLʵ'`G¾ ÔÜþ»;å'í\5rN¤¬]ÿÒý]mÏúàì»Rd;)O×,²}væËTãq1J÷xIoÄ"&2>¦lmlÁ6Ä]æÑÑlÁ$¯·0l1$NpºKWÍ -1¿pwÀë{ðÛo}ânª½çø&ï±÷»niíÍ05¡ÆQkÙYyK¤ïä~,Ý5ÈmøcÈycµÙwF7ÉÒûV££$sØ;5ÿ·+À¢¸ZñKC ئÇRòýÚMÄ®dÄzØeC¹Ò6yykÒ,ìqÔ6Ýe²Ö9èºâ,eƨ±ÜfRRýk,û.wsr~ãιüPƲÑ9¡vèã%uÕ!W5ÿ}wúôÉáùê/¯+x2ÌÜÇçݰ:û¾åar û.|ÿتg1RE¨>¹¿@gÞ+,àóòåäülüæj<·A&srÝæÓ_x¨AËÂ+I O^ÖÀ¢HhÅÈ+-Ìä& +óêÚ³Õ]Þ¤%´HrþlóÕýæ²ÞicçñÚl7³ä=Ûv9ÖS}aADÜ>ÙÁ*¡ÖKu [òªEq«¤)+å¿CèÓ£]·[éͼ-r£_ÙqÀ2®s³ÑÜëwÈ£°z§øÌ%áí:åíNg×µC>±8Û.7Õ-ÖìÑóáAòp&T¦ÃõÐL<¦Ö~ᣧlש»(Æ,äm/ðºàùøíá;¯hhM®OÑõ¯P´]$¼&Y>}ö:´Ëp5iZÖÕ0,-ôn)¦ËEbMc5æ1ÃVïX_cJú;ÌûªX`è]ÈThãr+\c&Ò\¥Õqéd,b¨ Õ×§tkJ£MÊüNuM5k¡¨ÛO§RbAjáï`ÔTì¡pÜ*^çJhFpúñÀÒF´eP_Õý²¾ïnÎê]T(}]ÌÇÏMH±Åº!¶§ì7d]ø/{ánjYò¦(ÆÆUã¯2±Êµç~ ²¦<ízMþcaj;8®ÚTÐHJÈãùNg_¼ß妩=jtàè@(gÜËMy¹vxàf¬e?ëÂ]æÚpí*E¶îVû +$ÒRñ<=#,QQ½å2´¤ zÆ="/àáÒ®g¤}4G¯Öfú;ÍìÙ¥©` D\Öi±ë¨äã'Ãh#O +:xïJ¡$]g? XµÁOfAÉëmµÛ/~¼®4¾Òp,³ôe·sÖ~wÙnÁÐ e¬|#p ?ãÁïÜ7`äB<p«7>5·ªÌb7Ll*ÌDÉx<±»gRÃò QÀYâæ$H¬PæuIC ðYStÜâJpé3</ÃñÚÇc©æ FqèÛYØ{X¨8?ÁR88q¯á8 Þ~)BÔãF }9¢"Äʺïl cý2M|)¬a4üòS×n]¨[uT£rLÿ"\ìB6åU`ea¿Èӷ̰ý¥2ÅM¬Rl¾°17DâY[w©#ðø42s¯tÞ}ÿæ´{yUî;Óï.?v»í^¿÷¾Û¾,º²*>U*YyZ jµ·Ê+¯±QÎCq-Ø/C-q¼åýråÅRÙå×Dç¶ 6 ÒöAj DäжNÎü6aÙN5x×öÈ¥-º0KfI]¼Óø|÷YsUÌF ý 6hÀfY}IfNÀ°ñ<±H)9CP/¬ZhC2rÔº}¸Ö"z8!pVPü`í!9Hü²`dUÒtiØb÷S·;Æã*bt$Èx }'LfäjVøÈ>]ÝE¨s³b«MS'³ß+E×ã*0?H?Ì4êBü°9Ç"ê~B9GU ;Ö7¤VkQ{å¢MTù:ýPÚxõ¾âQÀ|î©ý÷E*ª¬hÊø÷;WZêÛól¯«Ðz¯rWB»ÚL]X[Îéâ%{é«ò"D®_?S;bæëUf4Nd(Î$gÒÒkÓ§¬Å®®ñ¸ïÓäïl×?8A¼xA¯æX#,VþlÂÂ^Û¤RN]ó5U.èyøµcxÛéµÏ>¼ïýÚ¿l_öNñ+µÊb}+@@ -2507,17 +2595,21 @@ 7+ò>Á4² >©Þ¬øáÈöI3Eó"!ÚùÈI(O/ÃùÈW;¾efÒCt¨vaÁÜI_`³ þ-gWýD¦£¥[aüËò:QIkM ޼¡MyÅû*ÊB]_SlÃK×òTËpa£j=T«_eÌÁfíË ¹ª~dKÈ#²Í7»Î fýq4°Bôy8õ¯-ÖC´ê!î 5«±eo6E5@ý]><²Gàtm´P©Já]Ik)¤V-º·%ëÔï+òÃ%ÃÜ' -l,åz=ãpÙ`i¯Q²@ò=| zqà\ÖkÙ ¥vÙ¼Öݺ¾im®¬b<éìÛ®{(= ³ß2ã|Z+ÇLxaÊxü7aÀ>x Ï Ër ¶á?$KºÄ¿K ]+mòE¶ØÔáK:'AÒë;YÏè2J$@§6ˤ+kuùÉ÷E4Åá¹YÑX-soÞ~CúÜg9C#!|]elFx./à±^¦¾²Uÿ ¤ZÆ{}Æÿx¾ÿÞpß]9-gñ÷Üø5PË$JK½À¬}OÖâÁP|: Zûáýt~:%2K¥âéh´^¯ Ø0jdV=ê2v:g7QÊ<ßca¤X"\á¿37oAÃfò¥NóD°4ÔÜE,ºVܯª¬ë>Á`RàD\&nw 4Á\²N|>üÕJx>W"¸æ?ráÁ"Jnc±à~s÷_xF;¨òT-£±±`ß -ûÀ¾qhm1ðÔ ±TM=újp0?]Õ*ø¤õ8Ã>Ý®jVQ l¾¦¡>Ç?¿²Î©7e:¤ÓÏ&ÃÉCÆFl|8<N0Í9;ù³NÆNøéaócô2*"ýÐzÂ÷Ónú͹ c>ÁI£Ï?+È÷ Q/ZAÄ=ÞU@fd"~MýDÌ"$æÄK-çªI·Úð²Ð¸Ã|\S=ÇÙààhk|³gù¸JuLÖܹbÓ\·ZÙ£þ-d3|7ÐS©)f÷Øýû5EYu :k%t1ª1Gy_àÐc 1&¸c¶%W`§æ@Þ¶?Ķ䯱eh¶ú,cÙ7+?wíúÚév´±¤¨õyypUÍðDdÜæC&!ÆçoÇWu#Rv!Í3cØPíWYèçg²EüL^3½ý|»c¤¿tÌüÅfuäÚW޵ϰ!ÄÅpÜQâïpØ´mcH0(dlIÚ"ß®C±®ùÇö)ßq*ðe]ÿaýÅOç¯{-:pqsõÒ§ô»i¸·yÙ(®®Ú6Übò`ÙU«µ½ÖÓ.ZÏtNÃ÷y䯳ð'Ñí9!Æ0(Û2§µÙÄ';ò -3ÙXØ6n[ôW: ys©hªó4Pm01ÖìM)i·«V»4 qLWÂjgvwÖQC&»>fGÝ6RÆOa5ì#qó(¬=øñÑ2¢mn\dþòAO̰4#>eò±!ñ=Çâ-)æÈ~K¢ïdÞj[H`Oì!^H©`£á½SfP~:Ï<¶D<®!ÅKô¤-4_'¾Âh/î³BÝ#hºzòÙ'Oö£}ËÀR}~¶\¸±Ll: ¹DÆ-î¢VT²Û¹ÿs¸M¼Ò.Ù¥´ äø8JCl_Uùø®²k/·?¡ì4÷ÊêNæsßõuãò»¬ôŵÍêhÇØµC²6R÷¶È£Vb%7~Ñ5X=rfrÅ¢g[í0AÐ 1&98>ܰ%Çéà´J ÒÅÆàL¿§,ëÞåD$DXS!bèdÅlä¢Ùت:>íiû-Ægf²·ÎBòPêæbÏæács'#¬Ï%|,W»kµ%í+µ«Hå¾c|ÁýúD°yìþ£tÝ*-Yí±ºûe$º3tnm\Ø4¸>ÆenlÒÞì¸Ér('¤-UM^l.з-ÅÕr·¥pànKuBrÍd³^§¥1D½%Ð$3ËÔ©¿eKèo©®fïð"Êæ4¢eKt^x>§±s]|M±zl¶P±*é¯aPlcûÚClÂeçͺy¥)éhDH.^lÛ̲¾sæ[6µ¼ùXüÞ6ÖìUA¾ÓXK²Ì nï&¿_¿ïÜè«XuéöhqÄ}©>Û¾-½ÃÃ;*;¹H; tÚ-Krb¢ú¯Ó¥Âfìõí}e}¯è®öêÓºhKÌ´C´ÔØllúÿïè¾0}z;ÅåÂYÔÑ+îô{Ù¥ë%º*ñWà5üªù`¥¦7öì.<NÄb¶B_ÖuF¿t/^}Ѿ_tû½·r¿3ÂÓ$á²Å[fh@vÑZ$ÝlÆåäªwE·úÁìáÁ½u\çëã/&º¹O®X÷r<xtõû[ÈwåwÁâñÁøZs²{×`µ_§ùíW6ôµ[îÔks0o[ Gú/ó¯%0êl}i¦kþI Ñúêíõ¶óy{ç{V[Zâ^ý -vë¬íoNd0iñø/õ¨Ö»LÃwd1`A¯',ÜðzÎ]êð´±v+l,åz=ãpÙ`i¯Q²@ò=| zqà\ÖkÙ ¥vÙ¼Öݺ¾im®¬b<éìÛ®{(= ³ß2ã|Z+ÇLxaÊxü7aÀ>x Ï Ër ¶á?$KºÄ¿K ]+mòE¶ØÔáK:'AÒë;YÏè2J$@§6ˤ+kuùÉ÷E4Åá¹YÑX-soÞ~CúÜg9C#!|]elFx./à±^¦¾²Uÿ ¤ZÆ{}Æÿx¾ÿÞç^^ +:+%;`<ôØÃìå«Óã7ïNÆìbîK&£eâ +6õÁðëòúßÂULE)¶ß²hÊÔ\ÝÀwE(Rs®pÿÈý_ 5O¢ålN£WQx½ïÞJ\3O§QD+?±ÎOÇDf®T<V«UëBÌ*ýɰ¯>©>c§Sv-ç{,K+üqæFñ0hÒL¾ÒÓIr¶5w®÷Cæ«2«âºËâ@p#8¢I#Ã(f0l_±ÏnúÆ\x0ÆX,x¢ÆÜýÀgÑê|©æQÏØ±ï}`ß¹´6KxjÈÂ?+ÆFÓÛ®jüÒÅzanV5+)6_ÓHÑ+%ãÁ.` dåËòà¸å£]ñ@¥È¡)369Oz1³Êg.}9¨+Ýæ2FÌT/àXV^g«óÈúc:MÈý?Òïôúöü1z9ÂÙÇúj-X;æðZRrbH6BIØAÜ÷¥ÃUqN4ÎUnµá¥¡p;ù¤2¦|ÓÁ/ÁÑVøfϲ?/pꬹsÅÆnµ²KG ü+tØá!ë=ÞûæQmôÖ,ÖÙd:ÃÔRÒ0- R¹+«¨!k¸ÆSÐm-¿ýVÃn1²x<#5$:ztHæ/thÕí±ñ%3¥5Ùï9¯mÉ4GöCX}Ì)¥Tsâï±Ç/z!¥µ÷N @ùé4/$âp ^-Ðy²µ^<VY@r¿¼ÑÊ_`°ØËtsép +{¿Ë5ôb«z¢YÔLÕ$¤!où²Û +owÄ=ÿÆâ5+òPw»IÍkü·.¬ScÝ3¿ôÉñÒC!áÁ`Ù;;5{P,4@¶)D?óCJÂÊEµ)ìeìåÅÅ{Φ÷:±,rÁÓ¢´UMX*,f9îÂ(UQf" W@\Eue6ãÅÉ)£-ꩨ`o¢¡¥h* 4ùPYs¢0ÒuÙBdüËÌÌ_zôj.ÒßT}þÿÛ¹¢Æ@çhÅ",Íè2guíTËQòÇ»ÁLÊF¦«ÄWíÅ]ˣź«'/~9|Ê´íZI80÷³Å*ebÝ)LÝ ¢x4np +ÝÎý¯ä,ÃMâvÉ.¥!wÄÇÑ2Ä^[Oî!»ö2ûSÊ.I}¯¬îád:õ]_wY_¤u:®lÚýG;ÞÇ#R¥´ZÍyÅü°·(¹©5·®Á*`è3äær;N1ÉyÄIôéÍ9NG Ô2"mìbNô{ʲé]FDBD5r!NZyG.ê]¸²ãÓÖ¸ `|f*{ã,th9!¥Ö36a>6HÂê\Áçbi¾RfÒ¾R»*Ô+I3ª"(¼2 XßMhZ«ùvKáÀíj![¹äÉz½NÍczC IgªSKÐߺJ¾Ã[3Ì©EËè<÷|NbçªøbùØl b)-8Ò_× Â ØË!ÆöØ1LÏuóJK;RãÁ¿Ø´E}gÌ7ljq7²±ø½i¬Ù«.|§±niÜÞu~¿~;ܺ+)±ëSíýÚãûR~¶y[4{û[*[H[ tZR=l´w~<¹ÐF#ÆÁ¨?z¼w6Ûº* :Ý4»Ûò§©3ÓWá,7or}ßÚ=*¼tJu89fÓzïð!5rØzò0`§*sE¶r5ìÊË7Q(z¯¹rçã +wHíj;»ZWHUöÖ®j¨4Vfc<®æ=ÅJò0:Ö®sL×Óû¹Ë¼îüíçxÅuL®}P»»98{y6@Zð{òóÉù»Ó·ol[ÕB{òESA'}]¨ k%^äôu-ïÍW#ónYÚ×L¦¯¹&t]J´w²ÉãlæNëUÔïsº}ëÿFà1ûKß%Ú3j±½äGîã Í6÷÷¹¸¶s£{V¬ÍѲ¬ÅÅ Þ±ídUsh-:íÒÇ<+APß%Ú°RIßÇúJJ Ø£«/¯³oÊ,iTÒ-úÃ.õÃHÿıËFklµu¡sANLTÿUà`\`À¡Rx㮽¯¬/AÝÕ^}Ym¶j{îMÿÿÝçÆÓ¢oÃBg«¢X8KZ2zë.ç¬æXdh«Ä_×ðCªæ-Þh¸wб»ð8³É}YÛüÒ¾üe|õugü^~ÝîïvÞËÝÖ+Ñúêìt6óy{ç{Vg[Zâ^ý +vã¬ÍoF¤7jðøÿÕ¨Ö;_Èb$À>ßïY¸%2à%ô»Ôáicí c Rå,øFr8A>"mg5ÑÂç8¤6Àß³_^OÈáË`BËà|I°ûñññøøïäèÉäÉçã/§ß¤äP¿#üO,)©\W,ÉÃxFy¨¥²ñ/Éhø|tä?ÆVã?ª¦È`hlâ(ñÔ;-äfq´¨ø¹hÑ_×aF§ ¢õÒ¥ud(ô3FÕÛ#½ÞÚËËèÏÆÇ<:ú_¿`ø¤ÂT|üæþ~ùyÞUÄ3¬[ÀÿÀ7øãRÁ?¤ÝÏ*(ùzÌà·ÃiFó⿯ãY#UñögI<r¤3«§`X2ÿ¶×ïóv¢cü;,À²ÏV{ÓM ª/z¾CuÒHXÐâ¹PÜ7¯zWÀh'8Æó2:ÏÐ0øÆð+h` j¶ôãF@àÒï½·' °TÎ:°xÐYïÈ1ð+Z4{ÍÞöTúlMûJËpNz¢y_%ÿ2Z¬3.É$óÃgYõ¼O<2RÞ'è Ð-ø Ð\ûâ©}ÝÕ Fz¥VxE5ÊÂ<§EO?Çû¶ß ¶Âi7ÓaëDPe즢ØÒÆ2dª$ÄTsx,ÎBzMû ϵÁy xjÔõñëô+ãó1õêås.-Öq¿»pHÄ®9ØD©(~¦ÞH"WêaÓ¦BëÚ¹åÔÂßy²á´s(Fcø$:r;¢ôO~ÿ4¨º<2©Cù¹´G
http://cvs.php.net/diff.php/pearweb/public_html/go-pear.phar?r1=1.13&r2=1.14&ty=u Index: pearweb/public_html/go-pear.phar diff -u pearweb/public_html/go-pear.phar:1.13 pearweb/public_html/go-pear.phar:1.14 --- pearweb/public_html/go-pear.phar:1.13 Mon Nov 28 01:29:57 2005 +++ pearweb/public_html/go-pear.phar Wed Nov 30 13:47:11 2005 @@ -27,19 +27,23 @@ * @author Davey Shafik <davey@synapticmedia.net> * @author Greg Beaver <cellog@php.net> * @link http://www.synapticmedia.net Synaptic Media - * @version Id: Archive.php,v 1.19 2005/07/24 15:42:20 cellog Exp $ + * @version Id: Archive.php,v 1.21 2005/11/30 06:41:32 cellog Exp $ * @package PHP_Archive * @category PHP */ class PHP_Archive { - private $_manifest; + /** + * Whether this archive is compressed with zlib + * + * @var bool + */ private $_compressed; /** * @var string Real path to the .phar archive */ - protected $pharName = null; + private $_archiveName = null; /** * Current file name in the phar * @var string @@ -64,8 +68,50 @@ */ protected $position = 0; - private static $_pharMapping; - private $_fileStart; + /** + * Map actual realpath of phars to meta-data about the phar + * + * Data is indexed by the alias that is used by internal files. In other + * words, if a file is included via: + * <code> + * require_once 'phar://PEAR.phar/PEAR/Installer.php'; + * </code> + * then the alias is "PEAR.phar" + * + * Information stored is the actual file name, a boolean indicating whether + * this .phar is compressed with zlib, and the precise offset of internal files + * within the .phar, used with the {@link $_manifest} to load actual file contents + * @var array + */ + private static $_pharMapping = array(); + /** + * File listing for the .phar + * + * The manifest is indexed per phar. + * + * Files within the .phar are indexed by their relative path within the + * .phar. Each file has this information in its internal array + * + * - 0 = uncompressed file size + * - 1 = timestamp of when file was added to phar + * - 2 = offset of file within phar relative to internal file's start + * - 3 = compressed file size (actual size in the phar) + * @var array + */ + private static $_manifest = array(); + /** + * Absolute offset of internal files within the .phar, indexed by absolute + * path to the .phar + * + * @var array + */ + private static $_fileStart = array(); + /** + * file name of the phar + * + * @var string + */ + private $_basename; /** * Map a full real file path to an alias used to refer to the .phar @@ -131,14 +177,14 @@ protected function selectFile($path, $allowdirs = true) { $std = self::processFile($path); - if (isset($this->_manifest[$path])) { + if (isset(self::$_manifest[$this->_archiveName][$path])) { $this->_setCurrentFile($path); return true; } if (!$allowdirs) { - return 'Error: "' . $path . '" is not a file in phar "' . $this->basename . '"'; + return 'Error: "' . $path . '" is not a file in phar "' . $this->_basename . '"'; } - foreach ($this->_manifest as $file => $info) { + foreach (self::$_manifest[$this->_archiveName] as $file => $info) { if (empty($std) || //$std is a directory strncmp($std.'/', $path, strlen($std)+1) == 0) { @@ -146,7 +192,7 @@ return true; } } - return 'Error: "' . $path . '" not found in phar "' . $this->basename . '"'; + return 'Error: "' . $path . '" not found in phar "' . $this->_basename . '"'; } private function _setCurrentFile($path) @@ -155,15 +201,15 @@ 2 => 0100444, // file mode, readable by all, writeable by none 4 => 0, // uid 5 => 0, // gid - 7 => $this->_manifest[$path][0], // size - 9 => $this->_manifest[$path][1], // creation time + 7 => self::$_manifest[$this->_archiveName][$path][0], // size + 9 => self::$_manifest[$this->_archiveName][$path][1], // creation time ); $this->currentFilename = $path; // actual file length in file includes 8-byte header - $this->internalFileLength = $this->_manifest[$path][3] - 8; + $this->internalFileLength = self::$_manifest[$this->_archiveName][$path][3] - 8; // seek to offset of file header within the .phar if (is_resource(@$this->fp)) { - fseek($this->fp, $this->_fileStart + $this->_manifest[$path][2]); + fseek($this->fp, self::$_fileStart[$this->_archiveName] + self::$_manifest[$this->_archiveName][$path][2]); } } @@ -175,10 +221,10 @@ */ public function extractFile($path) { - $this->fp = @fopen($this->archiveName, "rb"); + $this->fp = @fopen($this->_archiveName, "rb"); $stat = fstat($this->fp); if (!$this->fp) { - return array('Error: cannot open phar "' . $this->archiveName . '"'); + return array('Error: cannot open phar "' . $this->_archiveName . '"'); } if (($e = $this->selectFile($path, false)) === true) { $temp = unpack("Vcrc32/Visize", fread($this->fp, 8)); @@ -197,7 +243,7 @@ if ($this->_compressed) { $data = gzinflate($data); } - if (!isset($this->_manifest[$path]['ok'])) { + if (!isset(self::$_manifest[$this->_archiveName][$path]['ok'])) { if ($temp['isize'] != $this->currentStat[7]) { return array("Not valid internal .phar file (size error {$size} != " . $this->currentStat[7] . ")"); @@ -205,7 +251,7 @@ if ($temp['crc32'] != crc32($data)) { return array("Not valid internal .phar file (checksum error)"); } - $this->_manifest[$path]['ok'] = true; + self::$_manifest[$this->_archiveName][$path]['ok'] = true; } return $data; } else { @@ -240,27 +286,60 @@ $info['path'] = substr($info['path'], 1); } if (isset(self::$_pharMapping[$info['host']])) { - $this->basename = $info['host']; - $this->archiveName = self::$_pharMapping[$info['host']][0]; + $this->_basename = $info['host']; + $this->_archiveName = self::$_pharMapping[$info['host']][0]; $this->_compressed = self::$_pharMapping[$info['host']][1]; } else { // no such phar has been included, or last opened phar is requested $pharinfo = end(self::$_pharMapping); - $this->basename = key(self::$_pharMapping); - $this->archiveName = $pharinfo[0]; + $this->_basename = key(self::$_pharMapping); + $this->_archiveName = $pharinfo[0]; $this->_compressed = $pharinfo[1]; } - $fp = fopen($this->archiveName, 'rb'); - // seek to __HALT_COMPILER_OFFSET__ - fseek($fp, self::$_pharMapping[$this->basename][2]); - $manifest_length = unpack('Vlen', fread($fp, 4)); - $this->_manifest = unserialize(fread($fp, $manifest_length['len'])); - $this->_fileStart = ftell($fp); - fclose($fp); + if (!isset(self::$_manifest[$this->_archiveName])) { + $fp = fopen($this->_archiveName, 'rb'); + // seek to __HALT_COMPILER_OFFSET__ + fseek($fp, self::$_pharMapping[$this->_basename][2]); + $manifest_length = unpack('Vlen', fread($fp, 4)); + self::$_manifest[$this->_archiveName] = + $this->_unserializeManifest(fread($fp, $manifest_length['len'])); + self::$_fileStart[$this->_archiveName] = ftell($fp); + fclose($fp); + } $file = $info['path']; return $file; } + + /** + * Enter description here... + * + * @param unknown_type $manifest + * @return unknown + */ + private function _unserializeManifest($manifest) + { + // retrieve the number of files in the manifest + $info = unpack('V', substr($manifest, 0, 4)); + $manifest = substr($manifest, 4); + $ret = array(); + for ($i = 0; $i < $info[1]; $i++) { + // length of the file name + $len = unpack('V', substr($manifest, 0, 4)); + // file name + $savepath = substr($manifest, 4, $len[1]); + $manifest = substr($manifest, $len[1] + 4); + // retrieve manifest data: + // 0 = uncompressed file size + // 1 = timestamp of when file was added to phar + // 2 = offset of file within phar relative to internal file's start + // 3 = compressed file size (actual size in the phar) + $ret[$savepath] = array_values(unpack('Va/Vb/Vc/Vd', substr($manifest, 0, 16))); + $manifest = substr($manifest, 16); + } + return $ret; + } + /** * Open the requested file - PHP streams API * @@ -390,7 +469,7 @@ { $std = $file ? self::processFile($file) : $this->currentFilename; if ($file) { - if (isset($this->_manifest[$file])) { + if (isset(self::$_manifest[$this->_archiveName][$file])) { $this->_setCurrentFile($file); $isdir = false; } else { @@ -437,7 +516,7 @@ $path = !empty($info['path']) ? $info['host'] . $info['path'] : $info['host'] . '/'; $path = $this->initializeStream('phar://' . $path); - if (isset($this->_manifest[$path])) { + if (isset(self::$_manifest[$this->_archiveName][$path])) { trigger_error('Error: "' . $path . '" is a file, and cannot be opened with opendir', E_USER_ERROR); return false; @@ -446,13 +525,13 @@ trigger_error('Error: Unknown phar in "' . $file . '"', E_USER_ERROR); return false; } - $this->fp = @fopen($this->archiveName, "rb"); + $this->fp = @fopen($this->_archiveName, "rb"); if (!$this->fp) { - trigger_error('Error: cannot open phar "' . $this->archiveName . '"'); + trigger_error('Error: cannot open phar "' . $this->_archiveName . '"'); return false; } $this->_dirFiles = array(); - foreach ($this->_manifest as $file => $info) { + foreach (self::$_manifest[$this->_archiveName] as $file => $info) { if ($path == '/') { if (strpos($file, '/')) { $this->_dirFiles[array_shift($a = explode('/', $file))] = true; @@ -535,7 +614,16 @@ } ?> <?php __HALT_COMPILER(); ?> -T+Î +++l+¨+:+c+++ ì99¥çy¹ZÜ?OÉýódÆ =ª/_òó4;aruäðì=;ëâh29??\³¤>Lë?êq_ÑxÏ/ÙE¾atÁ²¼fe2OÒ³ÅlÃìau0.¶Éxr²|VÇÀ´néæ«$ªkÂVE-e¢ÁÇ¢0°ì<aó8ck`&Q-¨L×ëdÆu²º9{²©Oóòý'ÍÄ}·ÏÀñ¿ây¿5þÍÇTáç#ö:.Q4FgìpüàkÓóÉÁÃÉáWìÁáÑÁ£ìlÆ~öGÁîܾuûVüß&-c$EÅi\ä÷*ËÉOϼÄj£Gøýí[df Û¼|ú¯çÿyvüúÉËã'¯_¿zöÓO^ÿø2±¯Tbr÷îí[wÙÓ2¡ª`ðöçùº(ªJC¤äj~ Ò_ácâ3ðª'£©åìÎËä,Å_8îÐk9yÙÕ0n¾«J>:FR?jÏa§oßzwûõ ` >6Õp¡@¬ñw1fìb6#Ø¡uzÞ~kUªO¸¶@@ -2147,13 +2235,13 @@ ÑÍ3O5}Ó0{ÑR~Pjysg¦»æªdS£ 1äB×n,©±µ-ÃÔÀ8Î{s;8ei°ÊËèT\çsJ£ñ¢0#}Þ¯9Ú:/Ò"M'c¤êó ¯dnòåwAè£ °E²Kùø>|¾üËùlNýì}+Æ; ´YS¼¬í'AòÞ²âÕ 3¬ùa$j.z¿ü"L¨ý*^ßÂÈ©Ý,v¾µ£Àèa0â0Y°mwX|ÆvÈþ¹ð¹3ÐØrî°·,:±©Ìôr[j1*âØÒ nM_{msà^°íUisb¨TÿÖ/¼|fk Ì¢¿¨¼\¯¿ýà®ÓH{ܹðËq{}åòóS¡zjeÉÉx}89z£ª·×VÖÄ*óîe`í2fªº¥ü:ÐK9<¿ÂÖ½W¼ã.îÉõä;4÷+¦þïÀ6eËYÜðª×ð²Õ¬ÃwÉ·4¶+¿\¾â±¤jª~¯)PÈ¿z-ùrËþ¾év¿ÞÞ¾/9Ó¾¨°?7>qMëà¾H5L?&;÷ÓÊhQoýpвÁ -x2ÌÜÇçݰ:û¾åar û.|ÿتg1RE¨>¹¿@gÞ-®dÌiÜÎýëî¸ÊL2x,àËrrrq>~{=Á» È ¹ -9ÌDÌ^óé¿y¨AËB-u¼îtá;Íð¦ky¤ë¹YVδÊC-U)7T±e¬baÈÑÜT;¦j×",Þ}ûc'¡±H$h)Å/ÜÊkÞ²&w,¡Û(zÄÚ,ãºýhw:uÎ"·Ü0aLsEoIü¡ú¹ÎY¸ÇWAËzýäZ"É=fêÆ³èÕUÞ¦¤)´HrþbsêaóÕmYï4Àȱûøe¶Ù5ò@n;뮾´A Ü=Û&Á(¡2Lq [ò¢Eq«¤É+ÅÂCèó£]·[éí¼-R£^ÙuÀ¢¯S³QÜë÷GfõNqÌ9áÝ:åíNgWµCl±8Û·Õ-Ö¬áóáAòp&T¦ÂuÓ=&Ö~棦lW©Ç+-(Æ,äm/ðºàùøåáW·&Õ§¨zÂWHÚ.^£,¾ø@¿AØeØeºÓ¢¥¦ïa*>A$Æ4Fc3,ûõ5º¤¿¼¯MïB¦B#[c®°ßL$¤¹J%²cd$¢© Ô{Uz5L¥Ð&f~¯I:.¿¦FШۣS)±Ì pÁwrÔDì¡é¸¼N.Á"à"ôÓIKkÂA½5ªëeußM¸}<[Yï¬Bêb?~nʬd{Â~¦Q ÿ±fì¦%oài,\5ü*[±Üxî%DÖä§]íoHL-ñ4ÇU{ -A ÑÁs8ßé쯻8дµ`BåòÏuS^¢ø^¢+cãÏ:q¦¹6Ø@'Ì¢á6ÄÝê-VèøÑAÄy]%>yRÀÁ; 4výÉ]ê\ÏfQù`O{Zæóÿ5:ÜGûCé|åBÐEáVNÐÍðTTè¤ï¬Ç03(¹Å<è"«`èÄ&QEEÞ0££RKÍ·ØCûÐ)ÓªòS2kmRÌOCF9˰bs¿.®¢&¡}sø3øUµgðÁ1Õ¢ù¯ÇÛýz¶yQe ׿pÛ¸Ó¥y¢éþ¸(´Z,y·[SÙáÓãÈHíô,¹\¤gÇèf?uN\Ó×ú'º=¡ckÝéÆRÞÒ%9°×NDq+JвR*qúÆ|Óßsá³ZtRµ}àÀ¥êët!â3ÇÚäRÌæCJoÞÏG\óMfgE6Sr:ñ¢hhÁëÉ8:X ÷IçvðER¬wõã0i³Ü\tbe7Y\)4'fLĹâ»7¢ù4®0à1LØLʵ'`G¾ ÔÜþ»;å'í\5rN¤¬]ÿÒý]mÏúàì»Rd;)O×,²}væËTãq1J÷xIoÄ"&2>¦lmlÁ6Ä]æÑÑlÁ$¯·0l1$NpºKWÍ -1¿pwÀë{ðÛo}ânª½çø&ï±÷»niíÍ05¡ÆQkÙYyK¤ïä~,Ý5ÈmøcÈycµÙwF7ÉÒûV££$sØ;5ÿ·+À¢¸ZñKC ئÇRòýÚMÄ®dÄzØeC¹Ò6yykÒ,ìqÔ6Ýe²Ö9èºâ,eƨ±ÜfRRýk,û.wsr~ãιüPƲÑ9¡vèã%uÕ!W5ÿ}wúôÉáùê/¯+x2ÌÜÇçݰ:û¾åar û.|ÿتg1RE¨>¹¿@gÞ+,àóòåäülüæj<·A&srÝæÓ_x¨AËÂ+I O^ÖÀ¢HhÅÈ+-Ìä& +óêÚ³Õ]Þ¤%´HrþlóÕýæ²ÞicçñÚl7³ä=Ûv9ÖS}aADÜ>ÙÁ*¡ÖKu [òªEq«¤)+å¿CèÓ£]·[éͼ-r£_ÙqÀ2®s³ÑÜëwÈ£°z§øÌ%áí:åíNg×µC>±8Û.7Õ-ÖìÑóáAòp&T¦ÃõÐL<¦Ö~ᣧlש»(Æ,äm/ðºàùøíá;¯hhM®OÑõ¯P´]$¼&Y>}ö:´Ëp5iZÖÕ0,-ôn)¦ËEbMc5æ1ÃVïX_cJú;ÌûªX`è]ÈThãr+\c&Ò\¥Õqéd,b¨ Õ×§tkJ£MÊüNuM5k¡¨ÛO§RbAjáï`ÔTì¡pÜ*^çJhFpúñÀÒF´eP_Õý²¾ïnÎê]T(}]ÌÇÏMH±Åº!¶§ì7d]ø/{ánjYò¦(ÆÆUã¯2±Êµç~ ²¦<ízMþcaj;8®ÚTÐHJÈãùNg_¼ß妩=jtàè@(gÜËMy¹vxàf¬e?ëÂ]æÚpí*E¶îVû +$ÒRñ<=#,QQ½å2´¤ zÆ="/àáÒ®g¤}4G¯Öfú;ÍìÙ¥©` D\Öi±ë¨äã'Ãh#O +:xïJ¡$]g? XµÁOfAÉëmµÛ/~¼®4¾Òp,³ôe·sÖ~wÙnÁÐ e¬|#p ?ãÁïÜ7`äB<p«7>5·ªÌb7Ll*ÌDÉx<±»gRÃò QÀYâæ$H¬PæuIC ðYStÜâJpé3</ÃñÚÇc©æ FqèÛYØ{X¨8?ÁR88q¯á8 Þ~)BÔãF }9¢"Äʺïl cý2M|)¬a4üòS×n]¨[uT£rLÿ"\ìB6åU`ea¿Èӷ̰ý¥2ÅM¬Rl¾°17DâY[w©#ðø42s¯tÞ}ÿæ´{yUî;Óï.?v»í^¿÷¾Û¾,º²*>U*YyZ jµ·Ê+¯±QÎCq-Ø/C-q¼åýråÅRÙå×Dç¶ 6 ÒöAj DäжNÎü6aÙN5x×öÈ¥-º0KfI]¼Óø|÷YsUÌF ý 6hÀfY}IfNÀ°ñ<±H)9CP/¬ZhC2rÔº}¸Ö"z8!pVPü`í!9Hü²`dUÒtiØb÷S·;Æã*bt$Èx }'LfäjVøÈ>]ÝE¨s³b«MS'³ß+E×ã*0?H?Ì4êBü°9Ç"ê~B9GU ;Ö7¤VkQ{å¢MTù:ýPÚxõ¾âQÀ|î©ý÷E*ª¬hÊø÷;WZêÛól¯«Ðz¯rWB»ÚL]X[Îéâ%{é«ò"D®_?S;bæëUf4Nd(Î$gÒÒkÓ§¬Å®®ñ¸ïÓäïl×?8A¼xA¯æX#,VþlÂÂ^Û¤RN]ó5U.èyøµcxÛéµÏ>¼ïýÚ¿l_öNñ+µÊb}+@@ -2507,17 +2595,21 @@ 7+ò>Á4² >©Þ¬øáÈöI3Eó"!ÚùÈI(O/ÃùÈW;¾efÒCt¨vaÁÜI_`³ þ-gWýD¦£¥[aüËò:QIkM ޼¡MyÅû*ÊB]_SlÃK×òTËpa£j=T«_eÌÁfíË ¹ª~dKÈ#²Í7»Î fýq4°Bôy8õ¯-ÖC´ê!î 5«±eo6E5@ý]><²Gàtm´P©Já]Ik)¤V-º·%ëÔï+òÃ%ÃÜ' -l,åz=ãpÙ`i¯Q²@ò=| zqà\ÖkÙ ¥vÙ¼Öݺ¾im®¬b<éìÛ®{(= ³ß2ã|Z+ÇLxaÊxü7aÀ>x Ï Ër ¶á?$KºÄ¿K ]+mòE¶ØÔáK:'AÒë;YÏè2J$@§6ˤ+kuùÉ÷E4Åá¹YÑX-soÞ~CúÜg9C#!|]elFx./à±^¦¾²Uÿ ¤ZÆ{}Æÿx¾ÿÞpß]9-gñ÷Üø5PË$JK½À¬}OÖâÁP|: Zûáýt~:%2K¥âéh´^¯ Ø0jdV=ê2v:g7QÊ<ßca¤X"\á¿37oAÃfò¥NóD°4ÔÜE,ºVܯª¬ë>Á`RàD\&nw 4Á\²N|>üÕJx>W"¸æ?ráÁ"Jnc±à~s÷_xF;¨òT-£±±`ß -ûÀ¾qhm1ðÔ ±TM=újp0?]Õ*ø¤õ8Ã>Ý®jVQ l¾¦¡>Ç?¿²Î©7e:¤ÓÏ&ÃÉCÆFl|8<N0Í9;ù³NÆNøéaócô2*"ýÐzÂ÷Ónú͹ c>ÁI£Ï?+È÷ Q/ZAÄ=ÞU@fd"~MýDÌ"$æÄK-çªI·Úð²Ð¸Ã|\S=ÇÙààhk|³gù¸JuLÖܹbÓ\·ZÙ£þ-d3|7ÐS©)f÷Øýû5EYu :k%t1ª1Gy_àÐc 1&¸c¶%W`§æ@Þ¶?Ķ䯱eh¶ú,cÙ7+?wíúÚév´±¤¨õyypUÍðDdÜæC&!ÆçoÇWu#Rv!Í3cØPíWYèçg²EüL^3½ý|»c¤¿tÌüÅfuäÚW޵ϰ!ÄÅpÜQâïpØ´mcH0(dlIÚ"ß®C±®ùÇö)ßq*ðe]ÿaýÅOç¯{-:pqsõÒ§ô»i¸·yÙ(®®Ú6Übò`ÙU«µ½ÖÓ.ZÏtNÃ÷y䯳ð'Ñí9!Æ0(Û2§µÙÄ';ò -3ÙXØ6n[ôW: ys©hªó4Pm01ÖìM)i·«V»4 qLWÂjgvwÖQC&»>fGÝ6RÆOa5ì#qó(¬=øñÑ2¢mn\dþòAO̰4#>eò±!ñ=Çâ-)æÈ~K¢ïdÞj[H`Oì!^H©`£á½SfP~:Ï<¶D<®!ÅKô¤-4_'¾Âh/î³BÝ#hºzòÙ'Oö£}ËÀR}~¶\¸±Ll: ¹DÆ-î¢VT²Û¹ÿs¸M¼Ò.Ù¥´ äø8JCl_Uùø®²k/·?¡ì4÷ÊêNæsßõuãò»¬ôŵÍêhÇØµC²6R÷¶È£Vb%7~Ñ5X=rfrÅ¢g[í0AÐ 1&98>ܰ%Çéà´J ÒÅÆàL¿§,ëÞåD$DXS!bèdÅlä¢Ùت:>íiû-Ægf²·ÎBòPêæbÏæács'#¬Ï%|,W»kµ%í+µ«Hå¾c|ÁýúD°yìþ£tÝ*-Yí±ºûe$º3tnm\Ø4¸>ÆenlÒÞì¸Ér('¤-UM^l.з-ÅÕr·¥pànKuBrÍd³^§¥1D½%Ð$3ËÔ©¿eKèo©®fïð"Êæ4¢eKt^x>§±s]|M±zl¶P±*é¯aPlcûÚClÂeçͺy¥)éhDH.^lÛ̲¾sæ[6µ¼ùXüÞ6ÖìUA¾ÓXK²Ì nï&¿_¿ïÜè«XuéöhqÄ}©>Û¾-½ÃÃ;*;¹H; tÚ-Krb¢ú¯Ó¥Âfìõí}e}¯è®öêÓºhKÌ´C´ÔØllúÿïè¾0}z;ÅåÂYÔÑ+îô{Ù¥ë%º*ñWà5üªù`¥¦7öì.<NÄb¶B_ÖuF¿t/^}Ѿ_tû½·r¿3ÂÓ$á²Å[fh@vÑZ$ÝlÆåäªwE·úÁìáÁ½u\çëã/&º¹O®X÷r<xtõû[ÈwåwÁâñÁøZs²{×`µ_§ùíW6ôµ[îÔks0o[ Gú/ó¯%0êl}i¦kþI Ñúêíõ¶óy{ç{V[Zâ^ý -vë¬íoNd0iñø/õ¨Ö»LÃwd1`A¯',ÜðzÎ]êð´±v+l,åz=ãpÙ`i¯Q²@ò=| zqà\ÖkÙ ¥vÙ¼Öݺ¾im®¬b<éìÛ®{(= ³ß2ã|Z+ÇLxaÊxü7aÀ>x Ï Ër ¶á?$KºÄ¿K ]+mòE¶ØÔáK:'AÒë;YÏè2J$@§6ˤ+kuùÉ÷E4Åá¹YÑX-soÞ~CúÜg9C#!|]elFx./à±^¦¾²Uÿ ¤ZÆ{}Æÿx¾ÿÞç^^ +:+%;`<ôØÃìå«Óã7ïNÆìbîK&£eâ +6õÁðëòúßÂULE)¶ß²hÊÔ\ÝÀwE(Rs®pÿÈý_ 5O¢ålN£WQx½ïÞJ\3O§QD+?±ÎOÇDf®T<V«UëBÌ*ýɰ¯>©>c§Sv-ç{,K+üqæFñ0hÒL¾ÒÓIr¶5w®÷Cæ«2«âºËâ@p#8¢I#Ã(f0l_±ÏnúÆ\x0ÆX,x¢ÆÜýÀgÑê|©æQÏØ±ï}`ß¹´6KxjÈÂ?+ÆFÓÛ®jüÒÅzanV5+)6_ÓHÑ+%ãÁ.` dåËòà¸å£]ñ@¥È¡)369Oz1³Êg.}9¨+Ýæ2FÌT/àXV^g«óÈúc:MÈý?Òïôúöü1z9ÂÙÇúj-X;æðZRrbH6BIØAÜ÷¥ÃUqN4ÎUnµá¥¡p;ù¤2¦|ÓÁ/ÁÑVøfϲ?/pꬹsÅÆnµ²KG ü+tØá!ë=ÞûæQmôÖ,ÖÙd:ÃÔRÒ0- R¹+«¨!k¸ÆSÐm-¿ýVÃn1²x<#5$:ztHæ/thÕí±ñ%3¥5Ùï9¯mÉ4GöCX}Ì)¥Tsâï±Ç/z!¥µ÷N @ùé4/$âp ^-Ðy²µ^<VY@r¿¼ÑÊ_`°ØËtsép +{¿Ë5ôb«z¢YÔLÕ$¤!où²Û +owÄ=ÿÆâ5+òPw»IÍkü·.¬ScÝ3¿ôÉñÒC!áÁ`Ù;;5{P,4@¶)D?óCJÂÊEµ)ìeìåÅÅ{Φ÷:±,rÁÓ¢´UMX*,f9îÂ(UQf" W@\Eue6ãÅÉ)£-ꩨ`o¢¡¥h* 4ùPYs¢0ÒuÙBdüËÌÌ_zôj.ÒßT}þÿÛ¹¢Æ@çhÅ",Íè2guíTËQòÇ»ÁLÊF¦«ÄWíÅ]ˣź«'/~9|Ê´íZI80÷³Å*ebÝ)LÝ ¢x4np +ÝÎý¯ä,ÃMâvÉ.¥!wÄÇÑ2Ä^[Oî!»ö2ûSÊ.I}¯¬îád:õ]_wY_¤u:®lÚýG;ÞÇ#R¥´ZÍyÅü°·(¹©5·®Á*`è3äær;N1ÉyÄIôéÍ9NG Ô2"mìbNô{ʲé]FDBD5r!NZyG.ê]¸²ãÓÖ¸ `|f*{ã,th9!¥Ö36a>6HÂê\Áçbi¾RfÒ¾R»*Ô+I3ª"(¼2 XßMhZ«ùvKáÀíj![¹äÉz½NÍczC IgªSKÐߺJ¾Ã[3Ì©EËè<÷|NbçªøbùØl b)-8Ò_× Â ØË!ÆöØ1LÏuóJK;RãÁ¿Ø´E}gÌ7ljq7²±ø½i¬Ù«.|§±niÜÞu~¿~;ܺ+)±ëSíýÚãûR~¶y[4{û[*[H[ tZR=l´w~<¹ÐF#ÆÁ¨?z¼w6Ûº* :Ý4»Ûò§©3ÓWá,7or}ßÚ=*¼tJu89fÓzïð!5rØzò0`§*sE¶r5ìÊË7Q(z¯¹rçã +wHíj;»ZWHUöÖ®j¨4Vfc<®æ=ÅJò0:Ö®sL×Óû¹Ë¼îüíçxÅuL®}P»»98{y6@Zð{òóÉù»Ó·ol[ÕB{òESA'}]¨ k%^äôu-ïÍW#ónYÚ×L¦¯¹&t]J´w²ÉãlæNëUÔïsº}ëÿFà1ûKß%Ú3j±½äGîã Í6÷÷¹¸¶s£{V¬ÍѲ¬ÅÅ Þ±ídUsh-:íÒÇ<+APß%Ú°RIßÇúJJ Ø£«/¯³oÊ,iTÒ-úÃ.õÃHÿıËFklµu¡sANLTÿUà`\`À¡Rx㮽¯¬/AÝÕ^}Ym¶j{îMÿÿÝçÆÓ¢oÃBg«¢X8KZ2zë.ç¬æXdh«Ä_×ðCªæ-Þh¸wб»ð8³É}YÛüÒ¾üe|õugü^~ÝîïvÞËÝÖ+Ñúêìt6óy{ç{Vg[Zâ^ý +vã¬ÍoF¤7jðøÿÕ¨Ö;_Èb$À>ßïY¸%2à%ô»Ôáicí c Rå,øFr8A>"mg5ÑÂç8¤6Àß³_^OÈáË`BËà|I°ûñññøøïäèÉäÉçã/§ß¤äP¿#üO,)©\W,ÉÃxFy¨¥²ñ/Éhø|tä?ÆVã?ª¦È`hlâ(ñÔ;-äfq´¨ø¹hÑ_×aF§ ¢õÒ¥ud(ô3FÕÛ#½ÞÚËËèÏÆÇ<:ú_¿`ø¤ÂT|üæþ~ùyÞUÄ3¬[ÀÿÀ7øãRÁ?¤ÝÏ*(ùzÌà·ÃiFó⿯ãY#UñögI<r¤3«§`X2ÿ¶×ïóv¢cü;,À²ÏV{ÓM ª/z¾CuÒHXÐâ¹PÜ7¯zWÀh'8Æó2:ÏÐ0øÆð+h` j¶ôãF@àÒï½·' °TÎ:°xÐYïÈ1ð+Z4{ÍÞöTúlMûJËpNz¢y_%ÿ2Z¬3.É$óÃgYõ¼O<2RÞ'è Ð-ø Ð\ûâ©}ÝÕ Fz¥VxE5ÊÂ<§EO?Çû¶ß ¶Âi7ÓaëDPe즢ØÒÆ2dª$ÄTsx,ÎBzMû ϵÁy xjÔõñëô+ãó1õêås.-Öq¿»pHÄ®9ØD©(~¦ÞH"WêaÓ¦BëÚ¹åÔÂßy²á´s(Fcø$:r;¢ôO~ÿ4¨º<2©Cù¹´G