Jens Elkner wrote:
> BTW: Wondering, whether there is a way to find out, to which
> consolidation a file belongs to?

With recent builds using IPS packages, yes, by finding out which package
it's in, and then which consolidation delivers that package:

% pkg search -l libcurl.so.3
INDEX      ACTION VALUE                                            PACKAGE
basename   link   usr/lib/libcurl.so.3
pkg:/sunwc...@7.19.5-0.132
basename   link   usr/lib/amd64/libcurl.so.3
pkg:/sunwc...@7.19.5-0.132
basename   link   opt/openoffice.org/basis3.1/program/libcurl.so.3
pkg:/openoff...@3.1.0-0.111

% pkg contents -t set -o action.raw SUNWcurl
ACTION.RAW
set name=pkg.fmri
value=pkg://opensolaris.org/sunwc...@7.19.5,5.11-0.132:20100130T065919Z
set name=pkg.summary value="The C-URL Wrappers Library"
set name=org.opensolaris.consolidation value=sfw
set name=pkg.description value="CURL - The C-URL Wrappers Library (7.19.5)"
set name=info.classification 
value=org.opensolaris.category.2008:System/Libraries
set name=variant.opensolaris.zone value=global value=nonglobal
set name=description value="The C-URL Wrappers Library"
set name=variant.arch value=sparc value=i386

You can see the consolidation value in there is sfw.   If you just wanted
to see it and not all the other metadata:

% pkg contents -H -t set -o value -a name=org.opensolaris.consolidation SUNWcurl
sfw

-- 
        -Alan Coopersmith-           alan.coopersm...@sun.com
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to