All of this is provided by pkgng

libpkg

Goal: reorganize common functionality among pkg_* tools into a single library. Provide the pkg_* tools similarly to the way fetch/libfetch exist?

Some thoughts from WesleyShields:

  1. move the shared code of pkg_* into a library
  2. make pkg_* use said library
  3. optimize the internals of the library
  4. at this point you should have a good understanding of pkg internals and what's good and bad about them
  5. possibly re-write pkg_* and libpkg to remove the ugly parts or make them better

Related link: http://www.freebsd.org/projects/ideas/#p-ports-pkgtools

Interesting design choices from OpenBSD pkg_add:

libpkg (last edited 2011-09-12 13:46:30 by BaptisteDaroussin)