Ø
«
»
0 : pkg_install Rewrite
1 : Feature Set (1)
2 : Feature Set (2)
3 : Structure
4 : Documentation
5 : Regression Tests
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