From ae24d24e30d157bfb5d8c7a9d57d8fe80d763758 Mon Sep 17 00:00:00 2001 From: Ferenc Kovacs Date: Tue, 10 Feb 2015 10:37:44 +0100 Subject: add php7 compatible pear installer built from their stable branch --- pear/install-pear-nozlib.phar | 705 ++++++++++++++++++------------------------ 1 file changed, 309 insertions(+), 396 deletions(-) (limited to 'pear') diff --git a/pear/install-pear-nozlib.phar b/pear/install-pear-nozlib.phar index 0cab736063..f018d863ed 100644 --- a/pear/install-pear-nozlib.phar +++ b/pear/install-pear-nozlib.phar @@ -1234,11 +1234,9 @@ if (extension_loaded('phar')) {if (isset($_SERVER) && isset($_SERVER['REQUEST_UR require_once 'phar://install-pear-nozlib.phar/index.php'; -__HALT_COMPILER();Finstall-pear-nozlib.pharArchive/Tar.php>T>ugmArchive_Tar-1.3.13.tarT~mConsole/Getopt.php4T4l1mConsole_Getopt-1.3.1.tarTTTΞm index.php&T&m OS/Guess.php)T)]mPEAR-1.9.5.tarTxw*mPEAR.phpT2mPEAR/ChannelFile.phpTo|mPEAR/ChannelFile/Parser.php T &K}8mPEAR/Command.php1T16)mPEAR/Command/Common.phpZ TZ k˾7mPEAR/Command/Install.phpT?DmPEAR/Command/Install.xml~!T~!2VmPEAR/Common.phpeTen;+mPEAR/Config.php -T -6mPEAR/Dependency2.phpTmFmPEAR/DependencyDB.php_T_~3mPEAR/Downloader.phpTJmPEAR/Downloader/Package.phpy*Ty*mPEAR/ErrorStack.phphThlzmPEAR/Frontend.php3T3\mPEAR/Frontend/CLI.phpdTdZ mPEAR/Installer.phpvTvuamPEAR/Installer/Role.phpvTv\mPEAR/Installer/Role/Common.phplTlmPEAR/Installer/Role/Data.php&T&mPEAR/Installer/Role/Data.xmlTfszmPEAR/Installer/Role/Doc.php$T$4DmPEAR/Installer/Role/Doc.xmlTh&P*mPEAR/Installer/Role/Php.php$T$_mPEAR/Installer/Role/Php.xmlTzqmPEAR/Installer/Role/Script.php*T*xxmPEAR/Installer/Role/Script.xmlT@vmPEAR/Installer/Role/Test.php&T&M.mPEAR/Installer/Role/Test.xmlTB] mPEAR/PackageFile.php>T>b7m!PEAR/PackageFile/Generator/v1.phpKTKy|m!PEAR/PackageFile/Generator/v2.php6T6VemPEAR/PackageFile/Parser/v1.php@T@amPEAR/PackageFile/Parser/v2.php T ɥsmPEAR/PackageFile/v1.php4T4cFymPEAR/PackageFile/v2.phpDTDAUm!PEAR/PackageFile/v2/Validator.phpQPTQPCmPEAR/Registry.php,T,lm PEAR/REST.phpETE0A!mPEAR/REST/10.phpTfymPEAR/Start.php:9T:90o?mPEAR/Start/CLI.phpUSTUSoFfmPEAR/Task/Common.phpT65mPEAR/Task/Postinstallscript.phpb8Tb8}Qm"PEAR/Task/Postinstallscript/rw.phpT@ʵmPEAR/Task/Replace.phpT3mPEAR/Task/Replace/rw.phpGTGz80mPEAR/Task/Unixeol.phpT]mPEAR/Task/Unixeol/rw.phpWTW&mPEAR/Task/Windowseol.phpTTmPEAR/Task/Windowseol/rw.phplTlJLmPEAR/Validate.phpFVTFV0mPEAR/Validator/PECL.phpuTufmPEAR/XMLParser.phpT -0/m PEAR5.php?T?xmStructures/Graph.phpTr *m,Structures/Graph/Manipulator/AcyclicTest.phpT1sm2Structures/Graph/Manipulator/TopologicalSorter.phpTEmStructures/Graph/Node.phpr+Tr+D_mStructures_Graph-1.0.4.tar,T,fm -System.phpQTQ m XML/Util.phpvTvfmXML_Util-1.2.3.tarTO}!mVT>ugmArchive_Tar-1.3.13.tarVT~mConsole/Getopt.php4VT4l1mConsole_Getopt-1.3.1.tarTVTTΞm index.php&VT&R8am OS/Guess.php)VT)]mPEAR-1.9.5.tarVTnb6dmPEAR.phpVT2mPEAR/ChannelFile.phpVTFiYmPEAR/ChannelFile/Parser.php VT &K}8mPEAR/Command.php1VT1KjtmPEAR/Command/Common.phpZ VTZ k˾7mPEAR/Command/Install.phpVTVT>b7m!PEAR/PackageFile/Generator/v1.phpJVTJ9R]m!PEAR/PackageFile/Generator/v2.php4VT4@;mPEAR/PackageFile/Parser/v1.php@VT@amPEAR/PackageFile/Parser/v2.php VT ɥsmPEAR/PackageFile/v1.php1VT1dgmPEAR/PackageFile/v2.php>VT> m!PEAR/PackageFile/v2/Validator.phpPVTPRrmPEAR/Registry.php)VT)Um PEAR/REST.phpEVTE0A!mPEAR/REST/10.phpVT>oNmPEAR/Start.php:9VT:90o?mPEAR/Start/CLI.phpUSVTUSoFfmPEAR/Task/Common.phpVT65mPEAR/Task/Postinstallscript.phpb8VTb8}Qm"PEAR/Task/Postinstallscript/rw.phpVT@ʵmPEAR/Task/Replace.phpVT3mPEAR/Task/Replace/rw.phpGVTGz80mPEAR/Task/Unixeol.phpVT]mPEAR/Task/Unixeol/rw.phpWVTW&mPEAR/Task/Windowseol.phpVTTmPEAR/Task/Windowseol/rw.phplVTlJLmPEAR/Validate.phpFVVTFV0mPEAR/Validator/PECL.phpuVTufmPEAR/XMLParser.phpVT +0/m PEAR5.php?VT?xmStructures/Graph.phpVTr *m,Structures/Graph/Manipulator/AcyclicTest.phpVT1sm2Structures/Graph/Manipulator/TopologicalSorter.phpVTEmStructures/Graph/Node.phpr+VTr+D_mStructures_Graph-1.0.4.tar,VT,fm +System.phpQVTQ m XML/Util.phpvVTvfmXML_Util-1.2.3.tarVTO}!mgetRegistry('default'); } @@ -8557,7 +8555,7 @@ class OS_Guess * indent-tabs-mode: nil * c-basic-offset: 4 * End: - */package.xml0000644000076500000240000014160512461216534012371 0ustar tyraelstaff + */package.xml0000644000076500000240000014127412466347403012400 0ustar tyraelstaff PEAR pear.php.net @@ -8646,8 +8644,8 @@ class OS_Guess mj@php.net no - 2015-01-25 - + 2015-02-10 + 1.9.5 1.9.5 @@ -8690,7 +8688,7 @@ Bug fixes in 1.9.5.dev1: - + @@ -8701,11 +8699,11 @@ Bug fixes in 1.9.5.dev1: - + - + @@ -8713,27 +8711,27 @@ Bug fixes in 1.9.5.dev1: - + - + - + - + - + - + @@ -8781,10 +8779,10 @@ Bug fixes in 1.9.5.dev1: - + - + @@ -8793,22 +8791,22 @@ Bug fixes in 1.9.5.dev1: - + - + - + - + - + - + @@ -8844,31 +8842,31 @@ Bug fixes in 1.9.5.dev1: - + - + - + - + - + - + - + - + - + @@ -8877,26 +8875,26 @@ Bug fixes in 1.9.5.dev1: - - + + - + - + - + - + @@ -8944,7 +8942,7 @@ Bug fixes in 1.9.5.dev1: - + @@ -8963,7 +8961,7 @@ Bug fixes in 1.9.5.dev1: - + @@ -8973,14 +8971,7 @@ Bug fixes in 1.9.5.dev1: - 4.4.0 - 5.0 - 5.1.0 - 5.1.1 - 5.1.2 - 5.1.3 - 5.1.4 - 5.1.5 + 5.4.0 1.4.3 @@ -9555,7 +9546,7 @@ Bug fixes in 1.9.5.dev1: -PEAR-1.9.5/OS/Guess.php0000644000076500000240000002455612461216534013600 0ustar tyraelstaffsetPackagefile($file, $archive); return $ret; } -}PEAR-1.9.5/PEAR/Command/Auth.xml0000644000076500000240000000231412461216534015174 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Auth.xml0000644000076500000240000000231412466347403015201 0ustar tyraelstaff Connects and authenticates to remote server [Deprecated in favor of channel-login] doLogin @@ -9988,7 +9979,7 @@ Logs out from the remote server. This command does not actually connect to the remote server, it only deletes the stored username and password from your user configuration. -PEAR-1.9.5/PEAR/Command/Auth.php0000644000076500000240000000506112461216534015165 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Auth.php0000644000076500000240000000506112466347403015172 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Build.xml0000644000076500000240000000040412466347403015335 0ustar tyraelstaff Build an Extension From C Source doBuild @@ -10077,7 +10068,7 @@ password from your user configuration.', [package.xml] Builds one or more extensions contained in a package. -PEAR-1.9.5/PEAR/Command/Build.php0000644000076500000240000000437512461216534015332 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Build.php0000644000076500000240000000437412466347403015336 0ustar tyraelstaffui); + $builder = new PEAR_Builder($this->ui); $this->debug = $this->config->get('verbose'); $err = $builder->build($params[0], array(&$this, 'buildCallback')); if (PEAR::isError($err)) { @@ -10161,7 +10152,7 @@ Builds one or more extensions contained in a package.' $this->ui->outputData(rtrim($data), 'build'); } } -}PEAR-1.9.5/PEAR/Command/Channels.xml0000644000076500000240000001017212461216534016027 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Channels.xml0000644000076500000240000001017212466347403016034 0ustar tyraelstaff List Available Channels doList @@ -10283,7 +10274,7 @@ the default channel is used. This command does not actually connect to the remote server, it only deletes the stored username and password from your user configuration. -PEAR-1.9.5/PEAR/Command/Channels.php0000644000076500000240000010131612461216534016017 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Channels.php0000644000076500000240000010131612466347403016024 0ustar tyraelstaffconfig->store(); return true; } -}PEAR-1.9.5/PEAR/Command/Common.php0000644000076500000240000002006512461216534015515 0ustar tyraelstaff$func($command, $options, $params); } -}PEAR-1.9.5/PEAR/Command/Config.xml0000644000076500000240000000646612461216534015514 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Config.xml0000644000076500000240000000646612466347403015521 0ustar tyraelstaff Show All Settings doConfigShow @@ -11528,7 +11519,7 @@ PEAR installation (using the --remoteconfig option of install, upgrade, and uninstall). -PEAR-1.9.5/PEAR/Command/Config.php0000644000076500000240000003607712461216534015504 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Config.php0000644000076500000240000003607612466347403015510 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Install.xml0000644000076500000240000002057612466347403015720 0ustar tyraelstaff Install Package doInstall @@ -12216,7 +12207,7 @@ package if needed. Run post-installation scripts in package <package>, if any exist. -PEAR-1.9.5/PEAR/Command/Install.php0000644000076500000240000014400312461216534015672 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Install.php0000644000076500000240000014400012466347403015674 0ustar tyraelstaff, if any exist. if (!class_exists('PEAR_Downloader')) { require_once 'PEAR/Downloader.php'; } - $a = &new PEAR_Downloader($ui, $options, $config); + $a = new PEAR_Downloader($ui, $options, $config); return $a; } @@ -12558,7 +12549,7 @@ Run post-installation scripts in package , if any exist. if (!class_exists('PEAR_Installer')) { require_once 'PEAR/Installer.php'; } - $a = &new PEAR_Installer($ui); + $a = new PEAR_Installer($ui); return $a; } @@ -13361,7 +13352,7 @@ Run post-installation scripts in package , if any exist. $dest .= DIRECTORY_SEPARATOR . $pkgname; $orig = $pkgname . '-' . $pkgversion; - $tar = &new Archive_Tar($pkgfile->getArchiveFile()); + $tar = new Archive_Tar($pkgfile->getArchiveFile()); if (!$tar->extractModify($dest, $orig)) { return $this->raiseError('unable to unpack ' . $pkgfile->getArchiveFile()); } @@ -13491,7 +13482,7 @@ Run post-installation scripts in package , if any exist. return $ret; } } -PEAR-1.9.5/PEAR/Command/Mirror.xml0000644000076500000240000000115112461216534015543 0ustar tyraelstaff +PEAR-1.9.5/PEAR/Command/Mirror.xml0000644000076500000240000000115112466347403015550 0ustar tyraelstaff Downloads each available package from the default channel doDownloadAll @@ -13508,7 +13499,7 @@ Requests a list of available packages from the default channel ({config default_ and downloads them to current working directory. Note: only packages within preferred_state ({config preferred_state}) will be downloaded -PEAR-1.9.5/PEAR/Command/Mirror.php0000644000076500000240000001070412461216534015536 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Mirror.php0000644000076500000240000001070412466347403015543 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Package.xml0000644000076500000240000001606612466347403015644 0ustar tyraelstaff Build Package doPackage @@ -13882,7 +13873,7 @@ This is not the most intelligent conversion, and should only be used for automated conversion or learning the format. -PEAR-1.9.5/PEAR/Command/Package.php0000644000076500000240000011644512461216534015630 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Package.php0000644000076500000240000011644012466347403015630 0ustar tyraelstaffui = $this->ui; $a->setLogger($common); @@ -14256,7 +14247,7 @@ used for automated conversion or learning the format. $info = $obj->fromPackageFile($params[0], PEAR_VALIDATE_NORMAL); } else { $archive = $info->getArchiveFile(); - $tar = &new Archive_Tar($archive); + $tar = new Archive_Tar($archive); $tar->extract(dirname($info->getPackageFile())); $info->setPackageFile(dirname($info->getPackageFile()) . DIRECTORY_SEPARATOR . $info->getPackage() . '-' . $info->getVersion() . DIRECTORY_SEPARATOR . @@ -14915,7 +14906,7 @@ used for automated conversion or learning the format. if (!class_exists('PEAR_Installer')) { require_once 'PEAR/Installer.php'; } - $a = &new PEAR_Installer($ui); + $a = new PEAR_Installer($ui); return $a; } @@ -14932,7 +14923,7 @@ used for automated conversion or learning the format. } if (class_exists('PEAR_Command_Packaging')) { - $a = &new PEAR_Command_Packaging($ui, $config); + $a = new PEAR_Command_Packaging($ui, $config); } else { $a = null; } @@ -15006,7 +14997,7 @@ used for automated conversion or learning the format. return true; } } -PEAR-1.9.5/PEAR/Command/Pickle.xml0000644000076500000240000000223312461216534015502 0ustar tyraelstaff +PEAR-1.9.5/PEAR/Command/Pickle.xml0000644000076500000240000000223312466347403015507 0ustar tyraelstaff Build PECL Package doPackage @@ -15041,7 +15032,7 @@ uses any of these features, you are best off using PEAR_PackageFileManager to generate both package.xml. -PEAR-1.9.5/PEAR/Command/Pickle.php0000644000076500000240000003707712461216534015507 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Pickle.php0000644000076500000240000003707512466347403015512 0ustar tyraelstaffui = $this->ui; $a->setLogger($common); @@ -15461,7 +15452,7 @@ generate both package.xml. $gen = &$pf->getDefaultGenerator(); $gen->toPackageFile('.'); } -}PEAR-1.9.5/PEAR/Command/Registry.xml0000644000076500000240000000337612461216534016114 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Registry.xml0000644000076500000240000000337612466347403016121 0ustar tyraelstaff List Installed Packages In The Default Channel doList @@ -15518,7 +15509,7 @@ Displays information about a package. The package argument may be a local package file, an URL to a package file, or the name of an installed package. -PEAR-1.9.5/PEAR/Command/Registry.php0000644000076500000240000013233512461216534016101 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Registry.php0000644000076500000240000013233312466347403016104 0ustar tyraelstaffconfig, $this->_debug); + $pkg = new PEAR_PackageFile($this->config, $this->_debug); PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $info = &$pkg->fromAnyFile($params[0], PEAR_VALIDATE_NORMAL); PEAR::staticPopErrorHandling(); @@ -15955,7 +15946,7 @@ installed package.' require_once 'PEAR/PackageFile.php'; } - $pkg = &new PEAR_PackageFile($this->config, $this->_debug); + $pkg = new PEAR_PackageFile($this->config, $this->_debug); PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); $obj = &$pkg->fromAnyFile($params[0], PEAR_VALIDATE_NORMAL); PEAR::staticPopErrorHandling(); @@ -16662,7 +16653,7 @@ installed package.' $data['raw'] = $obj->getArray(); // no validation needed $this->ui->outputData($data, 'package-info'); } -}PEAR-1.9.5/PEAR/Command/Remote.xml0000644000076500000240000000635712461216534015541 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Remote.xml0000644000076500000240000000635712466347403015546 0ustar tyraelstaff Information About Remote Packages doRemoteInfo @@ -16770,7 +16761,7 @@ Clear the XML-RPC/REST cache. See also the cache_ttl configuration parameter. -PEAR-1.9.5/PEAR/Command/Remote.php0000644000076500000240000007250712461216534015530 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Remote.php0000644000076500000240000007250612466347403015534 0ustar tyraelstaffui, $options, $this->config); + $a = new PEAR_Downloader($this->ui, $options, $this->config); return $a; } @@ -17579,7 +17570,7 @@ parameter. $this->ui->outputData(rtrim($output), $command); return $num; } -}PEAR-1.9.5/PEAR/Command/Test.xml0000644000076500000240000000315112461216534015212 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Command/Test.xml0000644000076500000240000000315112466347403015217 0ustar tyraelstaff Run Regression Tests doRunTests @@ -17632,7 +17623,7 @@ If none is found, all .phpt tests will be tried instead. [testfile|dir ...] Run regression tests with PHP's regression testing script (run-tests.php). -PEAR-1.9.5/PEAR/Command/Test.php0000644000076500000240000002723012461216534015205 0ustar tyraelstaffPEAR-1.9.5/PEAR/Command/Test.php0000644000076500000240000002736112466347403015217 0ustar tyraelstaffraiseError('Some tests failed'); } -}PEAR-1.9.5/PEAR/Downloader/Package.php0000644000076500000240000022456612461216534016354 0ustar tyraelstaffsetExplicitState($s); } - $obj = &new PEAR_Downloader_Package($params[$i]->getDownloader()); + $obj = new PEAR_Downloader_Package($params[$i]->getDownloader()); PEAR::pushErrorHandling(PEAR_ERROR_RETURN); if (PEAR::isError($dir = $dl->getDownloadDir())) { PEAR::popErrorHandling(); @@ -19370,10 +19364,9 @@ class PEAR_Downloader_Package continue; } - $j = &$obj; - if (!PEAR_Downloader_Package::willDownload($j, - array_merge($params, $newparams)) && !$param->isInstalled($j)) { - $newparams[] = &$j; + if (!PEAR_Downloader_Package::willDownload($obj, + array_merge($params, $newparams)) && !$param->isInstalled($obj)) { + $newparams[] = $obj; } } } @@ -19407,7 +19400,7 @@ class PEAR_Downloader_Package // convert the dependencies into PEAR_Downloader_Package objects for the next time around $params[$i]->_downloadDeps = array(); foreach ($newdeps as $dep) { - $obj = &new PEAR_Downloader_Package($params[$i]->getDownloader()); + $obj = new PEAR_Downloader_Package($params[$i]->getDownloader()); if ($s = $params[$i]->explicitState()) { $obj->setExplicitState($s); } @@ -19429,8 +19422,7 @@ class PEAR_Downloader_Package } } - $j = &$obj; - $newparams[] = &$j; + $newparams[] = $obj; } } @@ -19471,7 +19463,7 @@ class PEAR_Downloader_Package */ function &getPackagefileObject(&$c, $d) { - $a = &new PEAR_PackageFile($c, $d); + $a = new PEAR_PackageFile($c, $d); return $a; } @@ -19546,7 +19538,7 @@ class PEAR_Downloader_Package if ($this->_rawpackagefile) { require_once 'Archive/Tar.php'; - $tar = &new Archive_Tar($file); + $tar = new Archive_Tar($file); $packagexml = $tar->extractInString('package2.xml'); if (!$packagexml) { $packagexml = $tar->extractInString('package.xml'); @@ -19955,7 +19947,7 @@ class PEAR_Downloader_Package return $info; } -}PEAR-1.9.5/PEAR/Frontend/CLI.php0000644000076500000240000006214212461216534015077 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Cfg.xml0000644000076500000240000000064512461216534016257 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Cfg.xml0000644000076500000240000000064512466347403016264 0ustar tyraelstaff php extsrc extbin @@ -20892,7 +20884,7 @@ class PEAR_Installer_Role_Common -PEAR-1.9.5/PEAR/Installer/Role/Cfg.php0000644000076500000240000000762612461216534016254 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Cfg.php0000644000076500000240000000762612466347403016261 0ustar tyraelstaff +}PEAR-1.9.5/PEAR/Installer/Role/Data.xml0000644000076500000240000000062212466347403016431 0ustar tyraelstaff php extsrc extbin @@ -21011,7 +21003,7 @@ class PEAR_Installer_Role_Cfg extends PEAR_Installer_Role_Common -PEAR-1.9.5/PEAR/Installer/Role/Data.php0000644000076500000240000000144612461216534016420 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Data.php0000644000076500000240000000144612466347403016425 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Doc.xml0000644000076500000240000000062112461216534016257 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Doc.xml0000644000076500000240000000062112466347403016264 0ustar tyraelstaff php extsrc extbin @@ -21052,7 +21044,7 @@ class PEAR_Installer_Role_Data extends PEAR_Installer_Role_Common {} -PEAR-1.9.5/PEAR/Installer/Role/Doc.php0000644000076500000240000000144412461216534016252 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Doc.php0000644000076500000240000000144412466347403016257 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Ext.xml0000644000076500000240000000050212461216534016310 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Ext.xml0000644000076500000240000000050212466347403016315 0ustar tyraelstaff extbin zendextbin 1 @@ -21090,7 +21082,7 @@ class PEAR_Installer_Role_Doc extends PEAR_Installer_Role_Common {} 1 -PEAR-1.9.5/PEAR/Installer/Role/Ext.php0000644000076500000240000000144412461216534016305 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Ext.php0000644000076500000240000000144412466347403016312 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Php.xml0000644000076500000240000000065512461216534016310 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Php.xml0000644000076500000240000000065512466347403016315 0ustar tyraelstaff php extsrc extbin @@ -21131,7 +21123,7 @@ class PEAR_Installer_Role_Ext extends PEAR_Installer_Role_Common {} -PEAR-1.9.5/PEAR/Installer/Role/Php.php0000644000076500000240000000144412461216534016274 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Php.php0000644000076500000240000000144412466347403016301 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Script.xml0000644000076500000240000000066012461216534017021 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Script.xml0000644000076500000240000000066012466347403017026 0ustar tyraelstaff php extsrc extbin @@ -21172,7 +21164,7 @@ class PEAR_Installer_Role_Php extends PEAR_Installer_Role_Common {} 1 -PEAR-1.9.5/PEAR/Installer/Role/Script.php0000644000076500000240000000145212461216534017010 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Script.php0000644000076500000240000000145212466347403017015 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Src.xml0000644000076500000240000000044212461216534016302 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Src.xml0000644000076500000240000000044212466347403016307 0ustar tyraelstaff extsrc zendextsrc 1 @@ -21210,7 +21202,7 @@ class PEAR_Installer_Role_Script extends PEAR_Installer_Role_Common {} -PEAR-1.9.5/PEAR/Installer/Role/Src.php0000644000076500000240000000161112461216534016270 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Src.php0000644000076500000240000000161112466347403016275 0ustar tyraelstaffsource_files++; } } -?>PEAR-1.9.5/PEAR/Installer/Role/Test.xml0000644000076500000240000000062212461216534016472 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Test.xml0000644000076500000240000000062212466347403016477 0ustar tyraelstaff php extsrc extbin @@ -21257,7 +21249,7 @@ class PEAR_Installer_Role_Src extends PEAR_Installer_Role_Common -PEAR-1.9.5/PEAR/Installer/Role/Test.php0000644000076500000240000000144612461216534016466 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Test.php0000644000076500000240000000144612466347403016473 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Www.xml0000644000076500000240000000064412461216534016343 0ustar tyraelstaff +?>PEAR-1.9.5/PEAR/Installer/Role/Www.xml0000644000076500000240000000064412466347403016350 0ustar tyraelstaff php extsrc extbin @@ -21298,7 +21290,7 @@ class PEAR_Installer_Role_Test extends PEAR_Installer_Role_Common {} -PEAR-1.9.5/PEAR/Installer/Role/Www.php0000644000076500000240000000144012461216534016325 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role/Www.php0000644000076500000240000000144012466347403016332 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role.php0000644000076500000240000001740712461216534015553 0ustar tyraelstaffPEAR-1.9.5/PEAR/Installer/Role.php0000644000076500000240000001740712466347403015560 0ustar tyraelstafftoPackageFile($where, PEAR_VALIDATE_PACKAGING, 'package.xml', true); if ($packagexml) { - $tar =& new Archive_Tar($dest_package, $compress); + $tar = new Archive_Tar($dest_package, $compress); $tar->setErrorHandling(PEAR_ERROR_RETURN); // XXX Don't print errors // ----- Creates with the package.xml file $ok = $tar->createModify(array($packagexml), '', $where); @@ -22883,7 +22875,7 @@ class PEAR_PackageFile_Generator_v1 return $ret; } } -?>PEAR-1.9.5/PEAR/PackageFile/Generator/v2.php0000644000076500000240000010130712461216534017316 0ustar tyraelstaffPEAR-1.9.5/PEAR/PackageFile/Generator/v2.php0000644000076500000240000010130512466347403017321 0ustar tyraelstaff_packagefile->getTasksNs() . ':', '-'), array('', '_'), $tag); $task = "PEAR_Task_$tag"; - $task = &new $task($this->_packagefile->_config, + $task = new $task($this->_packagefile->_config, $this->_packagefile->_logger, PEAR_TASK_PACKAGE); $task->init($raw, $atts, null); @@ -23154,7 +23146,7 @@ http://pear.php.net/dtd/package-2.0.xsd', $name = $pf1 !== null ? 'package2.xml' : 'package.xml'; $packagexml = $this->toPackageFile($where, PEAR_VALIDATE_PACKAGING, $name); if ($packagexml) { - $tar =& new Archive_Tar($dest_package, $compress); + $tar = new Archive_Tar($dest_package, $compress); $tar->setErrorHandling(PEAR_ERROR_RETURN); // XXX Don't print errors // ----- Creates with the package.xml file $ok = $tar->createModify(array($packagexml), '', $where); @@ -23776,7 +23768,7 @@ http://pear.php.net/dtd/package-2.0.xsd', return $tag; } } -PEAR-1.9.5/PEAR/PackageFile/Parser/v1.php0000644000076500000240000004024112461216534016622 0ustar tyraelstaffPEAR-1.9.5/PEAR/PackageFile/Parser/v2.php0000644000076500000240000000614212461216534016625 0ustar tyraelstaffPEAR-1.9.5/PEAR/PackageFile/Parser/v2.php0000644000076500000240000000614212466347403016632 0ustar tyraelstaffsetPackagefile($file, $archive); return $ret; } -}PEAR-1.9.5/PEAR/PackageFile/v2/rw.php0000644000076500000240000017313512461216534016030 0ustar tyraelstaff $maintainer) { - if ($maintainer['user'] == $handle) { + if (is_array($maintainer) && $maintainer['user'] == $handle) { $found = $i; break 2; } @@ -25949,7 +25941,7 @@ class PEAR_PackageFile_v2_rw extends PEAR_PackageFile_v2 { unset($this->_packageInfo['changelog']); } -}PEAR-1.9.5/PEAR/PackageFile/v2/Validator.php0000644000076500000240000025012112461216534017314 0ustar tyraelstaff_pf->_config); + $pkg = new PEAR_PackageFile($this->_pf->_config); foreach ($info as $package) { if (!file_exists($dir_prefix . DIRECTORY_SEPARATOR . $package)) { $this->_fileNotFound($dir_prefix . DIRECTORY_SEPARATOR . $package); @@ -28103,7 +28096,7 @@ class PEAR_PackageFile_v2_Validator return $providesret; } } -PEAR-1.9.5/PEAR/PackageFile/v1.php0000644000076500000240000014370512461216534015377 0ustar tyraelstaff_stack = &new PEAR_ErrorStack('PEAR_PackageFile_v1'); + $this->_stack = new PEAR_ErrorStack('PEAR_PackageFile_v1'); $this->_stack->setErrorMessageTemplate($this->_getErrorMessage()); $this->_isValid = 0; } @@ -29413,7 +29406,7 @@ class PEAR_PackageFile_v1 if (!class_exists('PEAR_PackageFile_Generator_v1')) { require_once 'PEAR/PackageFile/Generator/v1.php'; } - $a = &new PEAR_PackageFile_Generator_v1($this); + $a = new PEAR_PackageFile_Generator_v1($this); return $a; } @@ -29436,7 +29429,7 @@ class PEAR_PackageFile_v1 if (!class_exists('Archive_Tar')) { require_once 'Archive/Tar.php'; } - $tar = &new Archive_Tar($this->_archiveFile); + $tar = new Archive_Tar($this->_archiveFile); $tar->pushErrorHandling(PEAR_ERROR_RETURN); if ($file != 'package.xml' && $file != 'package2.xml') { $file = $this->getPackage() . '-' . $this->getVersion() . '/' . $file; @@ -29715,7 +29708,7 @@ class PEAR_PackageFile_v1 // }}} } ?> -PEAR-1.9.5/PEAR/PackageFile/v2.php0000644000076500000240000021004012461216534015363 0ustar tyraelstaff $raw) { $task = $this->getTask($tag); - $task = &new $task($this->_config, $common, PEAR_TASK_INSTALL); + $task = new $task($this->_config, $common, PEAR_TASK_INSTALL); if ($task->isScript()) { $ret[] = $filelist[$name]['installed_as']; } @@ -30327,7 +30320,7 @@ class PEAR_PackageFile_v2 $atts = $filelist[$name]; foreach ($tasks as $tag => $raw) { $taskname = $this->getTask($tag); - $task = &new $taskname($this->_config, $common, PEAR_TASK_INSTALL); + $task = new $taskname($this->_config, $common, PEAR_TASK_INSTALL); if (!$task->isScript()) { continue; // scripts are only handled after installation } @@ -31571,7 +31564,7 @@ class PEAR_PackageFile_v2 return implode('', file($file)); } } else { // tgz - $tar = &new Archive_Tar($this->_archiveFile); + $tar = new Archive_Tar($this->_archiveFile); $tar->pushErrorHandling(PEAR_ERROR_RETURN); if ($file != 'package.xml' && $file != 'package2.xml') { $file = $this->getPackage() . '-' . $this->getVersion() . '/' . $file; @@ -31610,7 +31603,7 @@ class PEAR_PackageFile_v2 if (!class_exists('PEAR_PackageFile_Generator_v2')) { require_once 'PEAR/PackageFile/Generator/v2.php'; } - $a = &new PEAR_PackageFile_Generator_v2($this); + $a = new PEAR_PackageFile_Generator_v2($this); return $a; } @@ -31764,7 +31757,7 @@ class PEAR_PackageFile_v2 } } ?> -PEAR-1.9.5/PEAR/REST/10.php0000644000076500000240000007765112461216534013721 0ustar tyraelstaff_rest = &new PEAR_REST($config, $options); + $this->_rest = new PEAR_REST($config, $options); } /** @@ -32634,7 +32627,7 @@ class PEAR_REST_10 return 1; } } -}PEAR-1.9.5/PEAR/REST/11.php0000644000076500000240000002600112461216534013701 0ustar tyraelstaff_rest = &new PEAR_REST($config, $options); + $this->_rest = new PEAR_REST($config, $options); } function listAll($base, $dostable, $basic = true, $searchpackage = false, $searchsummary = false, $channel = false) @@ -32974,7 +32967,7 @@ class PEAR_REST_11 return array_slice($states, $i + 1); } } -?>PEAR-1.9.5/PEAR/REST/13.php0000644000076500000240000002647112461216534013716 0ustar tyraelstaffPEAR-1.9.5/PEAR/REST/13.php0000644000076500000240000002647112466347403013723 0ustar tyraelstaff_returnDownloadURL($base, $package, $release, $info, $found, $skippedphp, $channel); } -}PEAR-1.9.5/PEAR/Task/Postinstallscript/rw.php0000644000076500000240000001323612461216534020004 0ustar tyraelstaff - read/write version * @@ -33440,7 +33433,7 @@ class PEAR_Task_Postinstallscript_rw extends PEAR_Task_Postinstallscript ); } } -?>PEAR-1.9.5/PEAR/Task/Replace/rw.php0000644000076500000240000000304212461216534015610 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Replace/rw.php0000644000076500000240000000304212466347403015615 0ustar tyraelstaff - read/write version * @@ -33500,7 +33493,7 @@ class PEAR_Task_Replace_rw extends PEAR_Task_Replace return $this->_params; } } -?>PEAR-1.9.5/PEAR/Task/Unixeol/rw.php0000644000076500000240000000246212461216534015665 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Unixeol/rw.php0000644000076500000240000000246212466347403015672 0ustar tyraelstaff - read/write version * @@ -33555,7 +33548,7 @@ class PEAR_Task_Unixeol_rw extends PEAR_Task_Unixeol return ''; } } -?>PEAR-1.9.5/PEAR/Task/Windowseol/rw.php0000644000076500000240000000250712461216534016374 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Windowseol/rw.php0000644000076500000240000000250712466347403016401 0ustar tyraelstaff - read/write version * @@ -33610,7 +33603,7 @@ class PEAR_Task_Windowseol_rw extends PEAR_Task_Windowseol return ''; } } -?>PEAR-1.9.5/PEAR/Task/Common.php0000644000076500000240000001365712461216534015052 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Common.php0000644000076500000240000001365712466347403015057 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Postinstallscript.php0000644000076500000240000003403012461216534017347 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Postinstallscript.php0000644000076500000240000003403012466347403017354 0ustar tyraelstaff * @@ -34133,7 +34126,7 @@ class PEAR_Task_Postinstallscript extends PEAR_Task_Common { } } -?>PEAR-1.9.5/PEAR/Task/Replace.php0000644000076500000240000001515212461216534015165 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Replace.php0000644000076500000240000001515212466347403015172 0ustar tyraelstaff * @@ -34308,7 +34301,7 @@ class PEAR_Task_Replace extends PEAR_Task_Common return $contents; } } -?>PEAR-1.9.5/PEAR/Task/Unixeol.php0000644000076500000240000000426112461216534015234 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Unixeol.php0000644000076500000240000000426112466347403015241 0ustar tyraelstaff * @@ -34384,7 +34377,7 @@ class PEAR_Task_Unixeol extends PEAR_Task_Common return preg_replace("/\r\n|\n\r|\r|\n/", "\n", $contents); } } -?>PEAR-1.9.5/PEAR/Task/Windowseol.php0000644000076500000240000000425212461216534015743 0ustar tyraelstaffPEAR-1.9.5/PEAR/Task/Windowseol.php0000644000076500000240000000425212466347403015750 0ustar tyraelstaff * @@ -34460,7 +34453,7 @@ class PEAR_Task_Windowseol extends PEAR_Task_Common return preg_replace("/\r\n|\n\r|\r|\n/", "\r\n", $contents); } } -?>PEAR-1.9.5/PEAR/Validator/PECL.php0000644000076500000240000000412012461216534015351 0ustar tyraelstaffPEAR-1.9.5/PEAR/Validator/PECL.php0000644000076500000240000000412012466347403015356 0ustar tyraelstaffPEAR-1.9.5/PEAR/Autoloader.php0000644000076500000240000001456212461216534015013 0ustar tyraelstaffPEAR-1.9.5/PEAR/Autoloader.php0000644000076500000240000001456112466347403015017 0ustar tyraelstaff -PEAR-1.9.5/PEAR/Builder.php0000644000076500000240000004060612461216534014300 0ustar tyraelstaffgetPackageFile(); } else { - $pf = &new PEAR_PackageFile($this->config, $this->debug); + $pf = new PEAR_PackageFile($this->config, $this->debug); $pkg = &$pf->fromPackageFile($descfile, PEAR_VALIDATE_NORMAL); if (PEAR::isError($pkg)) { return $pkg; @@ -35021,7 +35014,7 @@ class PEAR_Builder extends PEAR_Common $this->addTempFile($dir); } } else { - $pf = &new PEAR_PackageFile($this->config); + $pf = new PEAR_PackageFile($this->config); $pkg = &$pf->fromPackageFile($descfile, PEAR_VALIDATE_NORMAL); if (PEAR::isError($pkg)) { return $pkg; @@ -35229,7 +35222,7 @@ class PEAR_Builder extends PEAR_Common return PEAR_Common::log($level, $msg); } } -PEAR-1.9.5/PEAR/ChannelFile.php0000644000076500000240000014326712461216534015071 0ustar tyraelstaff_stack = &new PEAR_ErrorStack('PEAR_ChannelFile'); + $this->_stack = new PEAR_ErrorStack('PEAR_ChannelFile'); $this->_stack->setErrorMessageTemplate($this->_getErrorMessage()); $this->_isValid = false; } @@ -36732,7 +36725,7 @@ class PEAR_ChannelFile if (isset($this->_channelInfo['validatepackage'])) { if ($package == $this->_channelInfo['validatepackage']) { // channel validation packages are always validated by PEAR_Validate - $val = &new PEAR_Validate; + $val = new PEAR_Validate; return $val; } @@ -36744,7 +36737,7 @@ class PEAR_ChannelFile $this->_channelInfo['validatepackage']['_content']) . '.php'; $vclass = str_replace('.', '_', $this->_channelInfo['validatepackage']['_content']); - $val = &new $vclass; + $val = new $vclass; } else { $a = false; return $a; @@ -36752,10 +36745,10 @@ class PEAR_ChannelFile } else { $vclass = str_replace('.', '_', $this->_channelInfo['validatepackage']['_content']); - $val = &new $vclass; + $val = new $vclass; } } else { - $val = &new PEAR_Validate; + $val = new PEAR_Validate; } return $val; @@ -36787,7 +36780,7 @@ class PEAR_ChannelFile return time(); } -}PEAR-1.9.5/PEAR/Command.php0000644000076500000240000003055312461216534014270 0ustar tyraelstaffconfig); + $packagefile = new PEAR_PackageFile($this->config); $pf = &$packagefile->fromTgzFile($file, PEAR_VALIDATE_NORMAL); return $this->_postProcessChecks($pf); } @@ -37710,7 +37703,7 @@ class PEAR_Common extends PEAR */ function infoFromDescriptionFile($descfile) { - $packagefile = &new PEAR_PackageFile($this->config); + $packagefile = new PEAR_PackageFile($this->config); $pf = &$packagefile->fromPackageFile($descfile, PEAR_VALIDATE_NORMAL); return $this->_postProcessChecks($pf); } @@ -37729,7 +37722,7 @@ class PEAR_Common extends PEAR */ function infoFromString($data) { - $packagefile = &new PEAR_PackageFile($this->config); + $packagefile = new PEAR_PackageFile($this->config); $pf = &$packagefile->fromXmlString($data, PEAR_VALIDATE_NORMAL, false); return $this->_postProcessChecks($pf); } @@ -37773,7 +37766,7 @@ class PEAR_Common extends PEAR function infoFromAny($info) { if (is_string($info) && file_exists($info)) { - $packagefile = &new PEAR_PackageFile($this->config); + $packagefile = new PEAR_PackageFile($this->config); $pf = &$packagefile->fromAnyFile($info, PEAR_VALIDATE_NORMAL); if (PEAR::isError($pf)) { $errs = $pf->getUserinfo(); @@ -37806,7 +37799,7 @@ class PEAR_Common extends PEAR function xmlFromInfo($pkginfo) { $config = &PEAR_Config::singleton(); - $packagefile = &new PEAR_PackageFile($config); + $packagefile = new PEAR_PackageFile($config); $pf = &$packagefile->fromArray($pkginfo); $gen = &$pf->getDefaultGenerator(); return $gen->toXml(PEAR_VALIDATE_PACKAGING); @@ -37828,7 +37821,7 @@ class PEAR_Common extends PEAR function validatePackageInfo($info, &$errors, &$warnings, $dir_prefix = '') { $config = &PEAR_Config::singleton(); - $packagefile = &new PEAR_PackageFile($config); + $packagefile = new PEAR_PackageFile($config); PEAR::staticPushErrorHandling(PEAR_ERROR_RETURN); if (strpos($info, 'fromXmlString($info, PEAR_VALIDATE_NORMAL, ''); @@ -38036,7 +38029,7 @@ class PEAR_Common extends PEAR } require_once 'PEAR/Config.php'; -require_once 'PEAR/PackageFile.php';PEAR-1.9.5/PEAR/Config.php0000644000076500000240000020462112461216534014116 0ustar tyraelstaffconfiguration['default'][$key] = $info['default']; } - $this->_registry['default'] = &new PEAR_Registry($this->configuration['default']['php_dir']); + $this->_registry['default'] = new PEAR_Registry($this->configuration['default']['php_dir']); $this->_registry['default']->setConfig($this, false); $this->_regInitialized['default'] = false; //$GLOBALS['_PEAR_Config_instance'] = &$this; @@ -38732,7 +38725,7 @@ class PEAR_Config extends PEAR return $GLOBALS['_PEAR_Config_instance']; } - $t_conf = &new PEAR_Config($user_file, $system_file, false, $strict); + $t_conf = new PEAR_Config($user_file, $system_file, false, $strict); if ($t_conf->_errorsFound > 0) { return $t_conf->lastError; } @@ -38792,7 +38785,7 @@ class PEAR_Config extends PEAR $this->configuration[$layer] = $data; $this->_setupChannels(); if (!$this->_noRegistry && ($phpdir = $this->get('php_dir', $layer, 'pear.php.net'))) { - $this->_registry[$layer] = &new PEAR_Registry($phpdir); + $this->_registry[$layer] = new PEAR_Registry($phpdir); $this->_registry[$layer]->setConfig($this, false); $this->_regInitialized[$layer] = false; } else { @@ -38821,7 +38814,7 @@ class PEAR_Config extends PEAR return PEAR::raiseError('PEAR_RemoteInstaller must be installed to use remote config'); } - $this->_ftp = &new PEAR_FTP; + $this->_ftp = new PEAR_FTP; $this->_ftp->pushErrorHandling(PEAR_ERROR_RETURN); $e = $this->_ftp->init($path); if (PEAR::isError($e)) { @@ -38949,7 +38942,7 @@ class PEAR_Config extends PEAR $this->_setupChannels(); if (!$this->_noRegistry && ($phpdir = $this->get('php_dir', $layer, 'pear.php.net'))) { - $this->_registry[$layer] = &new PEAR_Registry($phpdir); + $this->_registry[$layer] = new PEAR_Registry($phpdir); $this->_registry[$layer]->setConfig($this, false); $this->_regInitialized[$layer] = false; } else { @@ -39060,20 +39053,12 @@ class PEAR_Config extends PEAR } $size = filesize($file); - if (function_exists('set_magic_quotes_runtime')) { - $rt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } fclose($fp); $contents = file_get_contents($file); if (empty($contents)) { return $this->raiseError('Configuration file "' . $file . '" is empty'); } - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } - $version = false; if (preg_match('/^#PEAR_Config\s+(\S+)\s+/si', $contents, $matches)) { $version = $matches[1]; @@ -39616,7 +39601,7 @@ class PEAR_Config extends PEAR if ($key == 'php_dir' && !$this->_noRegistry) { if (!isset($this->_registry[$layer]) || $value != $this->_registry[$layer]->install_dir) { - $this->_registry[$layer] = &new PEAR_Registry($value); + $this->_registry[$layer] = new PEAR_Registry($value); $this->_regInitialized[$layer] = false; $this->_registry[$layer]->setConfig($this, false); } @@ -39646,7 +39631,7 @@ class PEAR_Config extends PEAR if (!is_object($this->_registry[$layer])) { if ($phpdir = $this->get('php_dir', $layer, 'pear.php.net')) { - $this->_registry[$layer] = &new PEAR_Registry($phpdir); + $this->_registry[$layer] = new PEAR_Registry($phpdir); $this->_registry[$layer]->setConfig($this, false); $this->_regInitialized[$layer] = false; } else { @@ -40077,7 +40062,7 @@ class PEAR_Config extends PEAR require_once 'PEAR/REST/' . $version . '.php'; } - $remote = &new $class($this, $options); + $remote = new $class($this, $options); return $remote; } @@ -40130,14 +40115,14 @@ class PEAR_Config extends PEAR continue; } $this->_registry[$layer] = - &new PEAR_Registry($this->get('php_dir', $layer, 'pear.php.net')); + new PEAR_Registry($this->get('php_dir', $layer, 'pear.php.net')); $this->_registry[$layer]->setConfig($this, false); $this->_regInitialized[$layer] = false; } } } } -PEAR-1.9.5/PEAR/DependencyDB.php0000644000076500000240000005764512461216534015211 0ustar tyraelstaff_depdb)); - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } $this->_cache = $data; return $data; } @@ -40720,14 +40698,7 @@ class PEAR_DependencyDB return PEAR::raiseError("Could not open dependencies file `".$this->_depdb."' for writing"); } - if (function_exists('set_magic_quotes_runtime')) { - $rt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } fwrite($fp, serialize($deps)); - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } fclose($fp); $this->_unlock(); $this->_cache = $deps; @@ -40913,7 +40884,7 @@ class PEAR_DependencyDB ); } } -}PEAR-1.9.5/PEAR/Dependency2.php0000644000076500000240000014243512461216534015055 0ustar tyraelstaffsetPackageFile($downloaded[$i]); - $params[$i] = &$dp; + $params[$i] = $dp; } // check cache @@ -42090,7 +42061,7 @@ class PEAR_Dependency2 require_once 'PEAR/Downloader/Package.php'; } - $dp = &new PEAR_Downloader_Package($dl); + $dp = new PEAR_Downloader_Package($dl); if (is_object($pkg)) { $dp->setPackageFile($pkg); } else { @@ -42114,7 +42085,7 @@ class PEAR_Dependency2 } foreach ($ds as $d) { - $checker = &new PEAR_Dependency2($this->_config, $this->_options, + $checker = new PEAR_Dependency2($this->_config, $this->_options, array('channel' => $channel, 'package' => $package), $this->_state); $dep = $d['dep']; $required = $d['type'] == 'required'; @@ -42271,7 +42242,7 @@ class PEAR_Dependency2 $this->_currentPackage, true))); } } -PEAR-1.9.5/PEAR/Downloader.php0000644000076500000240000020174612461216534015014 0ustar tyraelstaffpushCallback(array('PEAR_ErrorStack', '_handleError')); ?> -PEAR-1.9.5/PEAR/Exception.php0000644000076500000240000003320412461216534014644 0ustar tyraelstaffgetTraceAsString(); } -}PEAR-1.9.5/PEAR/FixPHP5PEARWarnings.php0000644000076500000240000000023112461216534016244 0ustar tyraelstaffPEAR-1.9.5/PEAR/Frontend.php0000644000076500000240000001501612461216534014466 0ustar tyraelstaffPEAR-1.9.5/PEAR/Frontend.php0000644000076500000240000001501512466347403014472 0ustar tyraelstaff $raw) { $tag = str_replace(array($pkg->getTasksNs() . ':', '-'), array('', '_'), $tag); $task = "PEAR_Task_$tag"; - $task = &new $task($this->config, $this, PEAR_TASK_INSTALL); + $task = new $task($this->config, $this, PEAR_TASK_INSTALL); if (!$task->isScript()) { // scripts are only handled after installation $task->init($raw, $attribs, $pkg->getLastInstalledVersion()); $res = $task->startSession($pkg, $contents, $final_dest_file); @@ -46829,7 +46800,7 @@ class PEAR_Installer extends PEAR_Downloader $this->config->setInstallRoot(false); $this->_registry = &$this->config->getRegistry(); if (isset($this->_options['packagingroot'])) { - $installregistry = &new PEAR_Registry($regdir); + $installregistry = new PEAR_Registry($regdir); if (!$installregistry->channelExists($channel, true)) { // we need to fake a channel-discover of this channel $chanobj = $this->_registry->getChannel($channel, true); @@ -46918,7 +46889,7 @@ class PEAR_Installer extends PEAR_Downloader } } - $pfk = &new PEAR_PackageFile($this->config); + $pfk = new PEAR_PackageFile($this->config); $parentpkg = &$pfk->fromArray($parentreg); $installregistry->updatePackage2($parentpkg); } @@ -47182,7 +47153,7 @@ class PEAR_Installer extends PEAR_Downloader { require_once 'PEAR/Builder.php'; $this->log(1, "$this->source_files source files, building"); - $bob = &new PEAR_Builder($this->ui); + $bob = new PEAR_Builder($this->ui); $bob->debug = $this->debug; $built = $bob->build($filelist, array(&$this, '_buildCallback')); if (PEAR::isError($built)) { @@ -47326,7 +47297,7 @@ class PEAR_Installer extends PEAR_Downloader require_once 'PEAR/Dependency2.php'; } - $depchecker = &new PEAR_Dependency2($this->config, $options, + $depchecker = new PEAR_Dependency2($this->config, $options, array('channel' => $channel, 'package' => $package), PEAR_VALIDATE_UNINSTALLING); $e = $depchecker->validatePackageUninstall($this); @@ -47467,7 +47438,7 @@ class PEAR_Installer extends PEAR_Downloader } // }}} -}PEAR-1.9.5/PEAR/PackageFile.php0000644000076500000240000003677112461216534015055 0ustar tyraelstaffconfig, $this->debug); + $pkg = new PEAR_PackageFile($this->config, $this->debug); $pf = &$pkg->fromPackageFile($pkgfile, PEAR_VALIDATE_NORMAL); $main = &$pf; PEAR::staticPopErrorHandling(); @@ -48158,7 +48129,7 @@ class PEAR_Packager extends PEAR_Common return $dest_package; } -}PEAR-1.9.5/PEAR/Registry.php0000644000076500000240000022474512461216534014532 0ustar tyraelstaff_config) { // never used? $file = OS_WINDOWS ? 'pear.ini' : '.pearrc'; - $this->_config = &new PEAR_Config($this->statedir . DIRECTORY_SEPARATOR . + $this->_config = new PEAR_Config($this->statedir . DIRECTORY_SEPARATOR . $file); $this->_config->setRegistry($this); $this->_config->set('php_dir', $this->install_dir); @@ -48942,16 +48913,9 @@ class PEAR_Registry extends PEAR } clearstatcache(); - if (function_exists('set_magic_quotes_runtime')) { - $rt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } $fsize = filesize($this->filemap); fclose($fp); $data = file_get_contents($this->filemap); - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } $tmp = unserialize($data); if (!$tmp && $fsize > 7) { return $this->raiseError('PEAR_Registry: invalid filemap data', PEAR_REGISTRY_ERROR_FORMAT, null, null, $data); @@ -49300,16 +49264,9 @@ class PEAR_Registry extends PEAR return null; } - if (function_exists('set_magic_quotes_runtime')) { - $rt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } clearstatcache(); $this->_closePackageFile($fp); $data = file_get_contents($this->_packageFileName($package, $channel)); - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } $data = unserialize($data); if ($key === null) { return $data; @@ -49343,16 +49300,9 @@ class PEAR_Registry extends PEAR return null; } - if (function_exists('set_magic_quotes_runtime')) { - $rt = get_magic_quotes_runtime(); - set_magic_quotes_runtime(0); - } clearstatcache(); $this->_closeChannelFile($fp); $data = file_get_contents($this->_channelFileName($channel)); - if (function_exists('set_magic_quotes_runtime')) { - set_magic_quotes_runtime($rt); - } $data = unserialize($data); return $data; } @@ -49619,7 +49569,7 @@ class PEAR_Registry extends PEAR $a = $this->_config; if (!$a) { - $this->_config = &new PEAR_Config; + $this->_config = new PEAR_Config; $this->_config->set('php_dir', $this->statedir); } @@ -49627,7 +49577,7 @@ class PEAR_Registry extends PEAR require_once 'PEAR/PackageFile.php'; } - $pkg = &new PEAR_PackageFile($this->_config); + $pkg = new PEAR_PackageFile($this->_config); $pf = &$pkg->fromArray($info); return $pf; } @@ -50564,7 +50514,7 @@ class PEAR_Registry extends PEAR } return $ret; } -}PEAR-1.9.5/PEAR/REST.php0000644000076500000240000004227112461216534013467 0ustar tyraelstaff_dataStack[$this->_depth] .= $cdata; } -}PEAR-1.9.5/scripts/pear.bat0000755000076500000240000001036112461216534014556 0ustar tyraelstaff@ECHO OFF +}PEAR-1.9.5/scripts/pear.bat0000755000076500000240000001036112466347403014563 0ustar tyraelstaff@ECHO OFF REM ---------------------------------------------------------------------- REM PHP version 5 @@ -53027,7 +52976,7 @@ GOTO END :RUN "%PHP_PEAR_PHP_BIN%" -C -d date.timezone=UTC -d output_buffering=1 -d safe_mode=0 -d open_basedir="" -d auto_prepend_file="" -d auto_append_file="" -d variables_order=EGPCS -d register_argc_argv="On" -d "include_path='%PHP_PEAR_INSTALL_DIR%'" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 :END -@ECHO ONPEAR-1.9.5/scripts/peardev.bat0000644000076500000240000001113712461216534015254 0ustar tyraelstaff@ECHO OFF +@ECHO ONPEAR-1.9.5/scripts/peardev.bat0000644000076500000240000001113712466347403015261 0ustar tyraelstaff@ECHO OFF REM ---------------------------------------------------------------------- REM PHP version 5 @@ -53141,7 +53090,7 @@ GOTO END :RUN "%PHP_PEAR_PHP_BIN%" -C -d date.timezone=UTC -d memory_limit="-1" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" -d variables_order=EGPCS -d open_basedir="" -d output_buffering=1 -d "include_path='%PHP_PEAR_INSTALL_DIR%'" -f "%PHP_PEAR_INSTALL_DIR%\pearcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 :END -@ECHO ONPEAR-1.9.5/scripts/pecl.bat0000644000076500000240000001103012461216534014541 0ustar tyraelstaff@ECHO OFF +@ECHO ONPEAR-1.9.5/scripts/pecl.bat0000644000076500000240000001103012466347403014546 0ustar tyraelstaff@ECHO OFF REM ---------------------------------------------------------------------- REM PHP version 5 @@ -53255,7 +53204,7 @@ GOTO END :RUN "%PHP_PEAR_PHP_BIN%" -C -n -d date.timezone=UTC -d output_buffering=1 -d safe_mode=0 -d "include_path='%PHP_PEAR_INSTALL_DIR%'" -d register_argc_argv="On" -d variables_order=EGPCS -f "%PHP_PEAR_INSTALL_DIR%\peclcmd.php" -- %1 %2 %3 %4 %5 %6 %7 %8 %9 :END -@ECHO ONPEAR-1.9.5/scripts/pear.sh0000644000076500000240000000140412461216534014415 0ustar tyraelstaff#!/bin/sh +@ECHO ONPEAR-1.9.5/scripts/pear.sh0000755000076500000240000000140412466347403014425 0ustar tyraelstaff#!/bin/sh # first find which PHP binary to use if test "x$PHP_PEAR_PHP_BIN" != "x"; then @@ -53283,7 +53232,7 @@ else fi exec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file="" $INCDIR/pearcmd.php "$@" -PEAR-1.9.5/scripts/peardev.sh0000644000076500000240000000143112461216534015114 0ustar tyraelstaff#!/bin/sh +PEAR-1.9.5/scripts/peardev.sh0000755000076500000240000000143112466347403015124 0ustar tyraelstaff#!/bin/sh # first find which PHP binary to use if test "x$PHP_PEAR_PHP_BIN" != "x"; then @@ -53311,7 +53260,7 @@ else fi exec $PHP -d date.timezone=UTC -d memory_limit="-1" -C -q $INCARG -d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d register_argc_argv="On" -d auto_prepend_file="" -d variables_order=EGPCS -d auto_append_file="" $INCDIR/pearcmd.php "$@" -PEAR-1.9.5/scripts/pecl.sh0000644000076500000240000000130512461216534014411 0ustar tyraelstaff#!/bin/sh +PEAR-1.9.5/scripts/pecl.sh0000755000076500000240000000130512466347403014421 0ustar tyraelstaff#!/bin/sh # first find which PHP binary to use if test "x$PHP_PEAR_PHP_BIN" != "x"; then @@ -53339,7 +53288,7 @@ else fi exec $PHP -C -n -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d safe_mode=0 -d register_argc_argv="On" $INCDIR/peclcmd.php "$@" -PEAR-1.9.5/scripts/pearcmd.php0000644000076500000240000003643512461216534015272 0ustar tyraelstaff -PEAR-1.9.5/LICENSE0000644000076500000240000000270512461216534012455 0ustar tyraelstaffCopyright (c) 1997-2009, +PEAR-1.9.5/LICENSE0000644000076500000240000000270512466347403012462 0ustar tyraelstaffCopyright (c) 1997-2009, Stig Bakken , Gregory Beaver , Helgi Þormar Þorbjörnsson , @@ -53922,7 +53870,7 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PEAR-1.9.5/INSTALL0000644000076500000240000000417512461216534012504 0ustar tyraelstaffPEAR - The PEAR Installer +PEAR-1.9.5/INSTALL0000644000076500000240000000417512466347403012511 0ustar tyraelstaffPEAR - The PEAR Installer ========================= Installing the PEAR Installer. @@ -53975,7 +53923,7 @@ related issues. Happy PHPing, we hope PEAR will be a great tool for your development work! -$Id$PEAR-1.9.5/package.dtd0000644000076500000240000000647712461216534013552 0ustar tyraelstaff