This is an old revision of the document!


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 links: http://www.freebsd.org/projects/ideas/#p-ports-db http://www.freebsd.org/projects/ideas/#p-ports-pkgtools

  • libpkg.1213738669.txt.gz
  • Last modified: 2008/06/17 21:37
  • by 127.0.0.1