Class Package
A package management object meant for OpenBSD
this object should allow; listing, verifying, updating, removing and installing OpenBSD port packages. Meant to virtualize the base command line tools so we can later port this object to other OSes like Linux, CentOS, etc..
Located at Package.php
public
|
#
__construct( mixed $array_Repositories = null )
Package::__construct() Make sure to instantiate this object with an Array list of Repositories |
public
string
|
|
public
boolean
|
|
public
boolean
|
#
Package_List( mixed $Pkg_Name = null, boolean $use_REST = false, boolean $use_SHORT = false )
Package::Package_List() Obtain a list of installed packages. |
private
string
|
#
Pick_A_Repos( )
Package::Pick_A_Repos() Internal method which returns a random repository from the list. |
public
boolean
|
public
array
|
$SUPPORTED_COMMANDS | array("list"=>"List_Packages","version"=>"Verify_Package","update"=>"Update_Package","delete","install"=>"install") |
|
public
array
|
$Repos | array() |
|
public
array
|
$Digest | array() |