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

  • libpkg.1286824355.txt.gz
  • Last modified: 2010/10/11 19:12
  • by ThierryThomas