tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bsdtar, pkg_install and archivers/xz



On Wed, 14 Dec 2011, Joerg Sonnenberger wrote:

> On Wed, Dec 14, 2011 at 03:19:59PM +1300, Steven Drake wrote:
> > What should be done in the case of PREFER.xz == "pkgsrc" with bsdtar and
> > pkg_install?
> 
> I don't see why anything special has to be done. 

With 'PREFER_PKGSRC=Yes' in mk.conf this is the result:
# ldd /usr/pkg/bin/bsdtar 
        linux-vdso.so.1 =>  (0x00007fff7b17e000)
        liblzma.so.5 => /usr/pkg/lib/liblzma.so.5 (0x00007fb2ebba5000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fb2eb988000)
        libc.so.6 => /lib/libc.so.6 (0x00007fb2eb5ff000)
        librt.so.1 => /lib/librt.so.1 (0x00007fb2eb3f7000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fb2ebdca000)

The important thing to note is that zlib and bzip2 have been built into
the binary but lzma hasn't. 

> What's the point in arbitrary crippling it?

I don't want to cripple it, that's why my first suggestion was to treat 
lzma like zlib and bzip2 so that it gets built into the binarys.
 
-- 
Steven


Home | Main Index | Thread Index | Old Index