Re: [Helidelinux-devel] Package manager
Status: Abandoned
Brought to you by:
rveen
From: Rolf V. <rol...@he...> - 2004-03-16 13:50:35
|
Hui Zhou wrote: >>Control: >> >> PKG -c <start|stop|status> name > > For services? Yes. > >>Configuration: >> >> PKG -d name Return configuration (in OGDL) >> PKG -e expression name >> Modify configuration > > A specific example? PKG -d apache could return http_conf.g PKG -e "DocumentRoot = /var/www2" apache would change that attribute. >>Additional operations: >> >> PKG --target name >> Execute a task defined in a >> targets.g file. > > A specific example? You do not know in advance what functions a package will need, besides some standard ones. It is easy to supply a file with embedded scripts (or a directory with scripts) for each package that needs extra functions. For example, a package named pop3d wants to specify a function that permits to print a summary of disk usage: pkg --summary pop3d > Before installation, deal with source packages, after installations > deal with installed binary. But I think it can use binary packages > also. The installation of a binary is simpler compared to source > packages. I'm leaning toward using the same tool but with different names and different exposed functionality, 'pkg' and 'src'. The first one oriented to package management in a running system, and the second oriented to build a system. Rolf. |