![]() |
FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
prepare a system for source install testing. More...
Go to the source code of this file.
Classes | |
| class | ConfigSys |
Functions | |
| configFossology ($objRef) | |
| Config fossology. More... | |
| copyFiles ($files, $dest) | |
| copyFiles, copy one or more files to the destination, throws exception if file is not copied. More... | |
| configDebian ($osType, $osVersion) | |
| config a debian based system to install fossology. More... | |
| configYum ($objRef) | |
| config redhat based system to install fossology. More... | |
Variables | |
| global | $Debian |
| global | $RedHat |
| $debian = NULL | |
| $redHat = NULL | |
| $fedora = NULL | |
| $ubuntu = NULL | |
| $euid = posix_getuid() | |
| if($euid!=0) | $distros = array() |
| $f = exec('cat /etc/issue', $dist, $dRtn) | |
prepare a system for source install testing.
srcConfig prepares a system for the installation of fossology from source
Definition in file srcConfig.php.
| configDebian | ( | $osType, | |
| $osVersion | |||
| ) |
config a debian based system to install fossology.
copy postgres, php config files so that fossology can run.
| string | $osType | either Debian or Ubuntu |
| string | $osVersion | the particular version to install |
Definition at line 440 of file srcConfig.php.
| configFossology | ( | $objRef | ) |
Config fossology.
| object | $objRef | an object reference (should be to ConfigSys) |
Definition at line 282 of file srcConfig.php.
| configYum | ( | $objRef | ) |
config redhat based system to install fossology.
Copies the Yum configuration file for fossology to
| object | $objRef,a | reference to the ConfigSys object |
Definition at line 490 of file srcConfig.php.
| copyFiles | ( | $files, | |
| $dest | |||
| ) |
copyFiles, copy one or more files to the destination, throws exception if file is not copied.
The method can be used to rename a single file, but not a directory. It cannot rename multiple files.
| mixed | $file | the file to copy (string), use an array for multiple files. |
| string | $dest | the destination path (must exist, must be writable). |
boolean
Definition at line 367 of file srcConfig.php.