SILENT KILLERPanel

Current Path: > > opt > cloudlinux > > alt-php52 > root > usr > share > pear > PEAR > Command


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux//alt-php52/root/usr/share/pear/PEAR/Command

NameTypeSizeLast ModifiedActions
Auth.php File 2609 bytes December 12 2019 15:05:42.
Auth.xml File 1228 bytes December 12 2019 15:05:42.
Build.php File 2301 bytes December 12 2019 15:05:42.
Build.xml File 260 bytes December 12 2019 15:05:42.
Channels.php File 33486 bytes December 12 2019 15:05:42.
Channels.xml File 4218 bytes December 12 2019 15:05:42.
Common.php File 8245 bytes December 12 2019 15:05:42.
Config.php File 15423 bytes December 12 2019 15:05:42.
Config.xml File 3382 bytes December 12 2019 15:05:42.
Install.php File 51203 bytes December 12 2019 15:05:42.
Install.xml File 8574 bytes December 12 2019 15:05:42.
Mirror.php File 4548 bytes December 12 2019 15:05:42.
Mirror.xml File 617 bytes December 12 2019 15:05:42.
Package.php File 40217 bytes December 12 2019 15:05:42.
Package.xml File 7222 bytes December 12 2019 15:05:42.
Pickle.php File 15935 bytes December 12 2019 15:05:42.
Pickle.xml File 1179 bytes December 12 2019 15:05:42.
Registry.php File 46301 bytes December 12 2019 15:05:42.
Registry.xml File 1790 bytes December 12 2019 15:05:42.
Remote.php File 30023 bytes December 12 2019 15:05:42.
Remote.xml File 3311 bytes December 12 2019 15:05:42.
Test.php File 11928 bytes December 12 2019 15:05:42.
Test.xml File 1641 bytes December 12 2019 15:05:42.

Reading File: //opt/cloudlinux//alt-php52/root/usr/share/pear/PEAR/Command/Build.php

<?php
/**
 * PEAR_Command_Auth (build command)
 *
 * PHP versions 4 and 5
 *
 * @category   pear
 * @package    PEAR
 * @author     Stig Bakken <ssb@php.net>
 * @author     Tomas V.V.Cox <cox@idecnet.com>
 * @author     Greg Beaver <cellog@php.net>
 * @copyright  1997-2009 The Authors
 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
 * @version    CVS: $Id$
 * @link       http://pear.php.net/package/PEAR
 * @since      File available since Release 0.1
 */

/**
 * base class
 */
require_once 'PEAR/Command/Common.php';

/**
 * PEAR commands for building extensions.
 *
 * @category   pear
 * @package    PEAR
 * @author     Stig Bakken <ssb@php.net>
 * @author     Tomas V.V.Cox <cox@idecnet.com>
 * @author     Greg Beaver <cellog@php.net>
 * @copyright  1997-2009 The Authors
 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
 * @version    Release: 1.9.5
 * @link       http://pear.php.net/package/PEAR
 * @since      Class available since Release 0.1
 */
class PEAR_Command_Build extends PEAR_Command_Common
{
    var $commands = array(
        'build' => array(
            'summary' => 'Build an Extension From C Source',
            'function' => 'doBuild',
            'shortcut' => 'b',
            'options' => array(),
            'doc' => '[package.xml]
Builds one or more extensions contained in a package.'
            ),
        );

    /**
     * PEAR_Command_Build constructor.
     *
     * @access public
     */
    function PEAR_Command_Build(&$ui, &$config)
    {
        parent::PEAR_Command_Common($ui, $config);
    }

    function doBuild($command, $options, $params)
    {
        require_once 'PEAR/Builder.php';
        if (sizeof($params) < 1) {
            $params[0] = 'package.xml';
        }

        $builder = &new PEAR_Builder($this->ui);
        $this->debug = $this->config->get('verbose');
        $err = $builder->build($params[0], array(&$this, 'buildCallback'));
        if (PEAR::isError($err)) {
            return $err;
        }

        return true;
    }

    function buildCallback($what, $data)
    {
        if (($what == 'cmdoutput' && $this->debug > 1) ||
            ($what == 'output' && $this->debug > 0)) {
            $this->ui->outputData(rtrim($data), 'build');
        }
    }
}

SILENT KILLER Tool