There is a tool in the SFW gate that will automatically generate a first 
pass at packaging of an open source component (pkgtemplate.pl).  It 
doesn't do depend files right now, but I have changes to it to generate 
a dependency list as well.  I use "dump -Lv file" and look for the 
"NEEDED" files in the packages in an install image (or optionally a 
contents (/var/sadm/install/contents) file).

    -Norm


Bruce Rothermal wrote:
> Hi All
>
> I know that you can run ldd <exec> to find out what lib's are  
> dependancies for the exec.
>
> How do you figure out what package these libraries belong to so that  
> it can be listed in the depend file of the new package being created.
>
> Thanks for any suggestions.
>
> Bruce
>
> _______________________________________________
> sfwnv-discuss mailing list
> sfwnv-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/sfwnv-discuss
>   


Reply via email to