Making pkg_XXX tools smarter about file types...

Tim Kientzle kientzle at acm.org
Fri Mar 28 23:17:54 PST 2003


Bruce A. Mah wrote:

>>The attached patch modifies the pkg_install
>>tools to inspect the file contents--rather than the
>>filename extension--to determine the
>>compression method in use. 
> 
> ... it works great for the case of a package coming in on stdin.  If the
> package comes from a file, ...


Oh, bloody hell.  I overlooked 'pkg_add -r', too, didn't I?

Shouldn't take too long to add the auto-detect
logic to the remote fetch handling, as well.
<sigh>

Tim




More information about the freebsd-hackers mailing list