PHPkg

<< back

top

info

docs

files

next >>

about phpkg:

A Powerful Web Interface for Pkg:

  

The Pkg package manager, a tool I wrote to manage the binary packages for a distribution, supports remote package repositories (in their most simple sense). The PHPkg web interface provides a simple, powerful way to browse any remote repository's packages, and even to search for dependencies.

In a nutshell, PHPkg is a set of PHP (4 and 5) scripts that provide a simple, straightforward web interface for any HTTP server that stores Pkg-compliant package repositories.

To see PHPkg in action, visit this link . Again, PHPkg needs repositories which are managed by the Pkg scripts. For more info on Pkg, see http://www.geekysuavo.org/pkg/ .

phpkg docs:

How to Set up PHPkg on a Server:

  

PHPkg requires a web server running PHP4 or PHP5, a few KB of webspace, and one or more hosted Pkg repositories. First, just copy all of the files in src/ into the web server root (or another hosted directory).

The Pkg repositories that PHPkg will interface with must be available on the local filesystem of the web server hosting the PHPkg scripts. On systems whose repositories are being managed by the Pkg scripts (highly recommended), there will be a file called 'repos.conf' in the /etc/pkg directory. You may either copy this file into the directory holding the PHPkg scripts, or leave it where it is. Second, edit the first few lines of the 'phpkg.php' file to point to the 'repos.conf' that you wish to use. (See 'phpkg.php' for more information.

That should do it! Once the above changes have been made, the PHPkg interface should be set up. For any extra info, email me at geekysuavo@gmail.com .

phpkg source files:

PHPkg Source Tarballs:

  

<< back

top

info

docs

files

next >>