=pod =head1 NAME pkg - Package maintenance utility =head1 SYNOPSIS B I [ I ] =head1 DESCRIPTION B is the basic script for maintaining packages I may be one of: =over =item B, B I fetch given I from the package_root and install it =item B I Show I's changelog (if available) =item B I Change the default source on all packages to I Example: `changeroot ssh://kraftwerk/var/packages_root` will change the source of core to 'ssh://kraftwerk/var/packages_root/core' =item B, B I Remove I from the local packages tree Note: This does not yet remove the symlinks =item B I Show information on I, like dependencies, version, etc =item B List all installed packages =item B List all available (both installed and not installed packages Hint: `diff <(pkg list) <(pkg list-all)` will show all packages that are currently not installed =item B I Show commit history for package =item B [ I ] Check for local changes to the I's files. If no arguments is given, checks all installed packages =item B [ I ] retrieve and install newest available version of I. If no argument is given, updates all installed packages =back =head1 FILES =over =item F<~/.pkg.conf> Contains configuration vars syntax: VAR='argument'. comments with "#" are supported =back =head2 VARIABLES =over =item PKG_ROOT the package root path. Default: ssh://derf.homelinux.org/var/packages_root =item PDIR path for the local package tree. Default: $HOME/packages WARNING: changing this will break everything. Don't do it. =item VCS_CMD Command to invoke the vcs. Default: hg =item VCS_OPTIONS global options to invoke VCS_CMD with. Default: --quiet =item CL_OPTIONS Options to invoke checklinks with. Default: -q =back =head1 AUTHOR Daniel Friesel =cut vim:ft=pod