OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
php80
/
usr
/
share
/
pear
/
PEAR
/
Command
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/16/2024 09:37:36 PM
rwxr-xr-x
📄
Auth.php
2.51 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Auth.xml
1.2 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Build.php
2.58 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Build.xml
388 bytes
04/19/2021 12:04:49 PM
rw-r--r--
📄
Channels.php
32.66 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Channels.xml
4.12 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Common.php
8.02 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Config.php
15.1 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Config.xml
3.3 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Install.php
49.81 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Install.xml
8.49 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Mirror.php
4.4 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Mirror.xml
617 bytes
04/19/2021 12:04:49 PM
rw-r--r--
📄
Package.php
39.21 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Package.xml
7.05 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Pickle.php
15.52 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Pickle.xml
1.15 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Registry.php
45.2 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Registry.xml
1.75 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Remote.php
29.28 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Remote.xml
3.23 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Test.php
11.85 KB
04/19/2021 12:04:49 PM
rw-r--r--
📄
Test.xml
1.6 KB
04/19/2021 12:04:49 PM
rw-r--r--
Editing: Build.php
Close
<?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 * @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.10.10 * @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( 'configureoptions' => array( 'shortopt' => 'D', 'arg' => 'OPTION1=VALUE[ OPTION2=VALUE]', 'doc' => 'space-delimited list of configure options', ), ), 'doc' => '[package.xml] Builds one or more extensions contained in a package.' ), ); /** * PEAR_Command_Build constructor. * * @access public */ function __construct(&$ui, &$config) { parent::__construct($ui, $config); } function doBuild($command, $options, $params) { require_once 'PEAR/Builder.php'; if (sizeof($params) < 1) { $params[0] = 'package.xml'; } $configureoptions = empty($options['configureoptions']) ? '' : $options['configureoptions']; $builder = new PEAR_Builder($configureoptions, $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'); } } }