Making pkg_XXX tools smarter about file types...

Tim Kientzle kientzle at acm.org
Sat Mar 29 17:43:25 PST 2003


Brandon D. Valentine wrote:

> On Fri, Mar 28, 2003 at 10:47:43PM -0800, Tim Kientzle wrote:
> 
>>P.S.  It's galled me for a while that pkg_add has to fork 'tar' to
>>extract the archive.  I've started piecing together a library that
>>reads/writes tarfiles. 

> 
> FYI, libtar[0] is BSD-licensed and might be useful to such a project.
> 
> [0] - http://www-dev.cites.uiuc.edu/libtar/


Thanks for the pointer.  I took a look,
and there are some good ideas there,
although my current libtarfile work
has a few features that libtar
lacks.  Cribbing from libtar
could be useful, though. (I'm also using
John Gilmore's old PD tar as
a source of ideas.)

Tim





More information about the freebsd-hackers mailing list