pkg_install Rewrite
Dieter Baron < dillo@NetBSD.org >
Thomas Klausner < wiz@NetBSD.org >
Feature Set (1)
- (most of) what we have now
- pkg_delete sorts packages to be deleted
- safe in-place update of one package
- safe update of (part of) the package tree
- handling of automatically installed packages
- backwards compatibility
- installed packages
- old binary packages
Feature Set (2)
- config file (current environment variables)
- non-root DESTDIR installs
- PLIST
- list of files and directories
- special ownership and permissions
- no commands
- central place for INSTALL shell scripts
Structure
- C library
- language bindings (for tools and prototyping)
- allows GUI frontend
- command line interface
Documentation
- format and contents of a binary package
- contents of /var/db/pkg
- library API
- command line interface
Regression Tests
- unit tests of library API
- tests for command line tools