Adil Mujeeb wrote:
> I would like to create binary pacakge from source package (Using these
> terminology as i have Linux background where i have created binary RPM
> from source RPM). But i am not able to locate any source package. Is
> there any repository which contains source pacakges (similar to src.rpm)
> from which i can generate binary pacakge (IPS)?
I don't think any portion of Solaris is built from source RPMs. The core
part (ON, or OS/Net) is built simply from a source tree. See the ON
community and the onnv project for more information. Other consolidations
use tarballs and recipes -- SFW uses makefiles and SVr4 package manifests,
while JDS uses spec files. Smaller consolidations use various techniques,
though most are still building SVr4 packages natively and will be
converting to native pkg(5) packaging over time. Each consolidation
generally has its own community or project.
To see what consolidation a particular package belongs to, run:
$ pkg contents -H -t set -o value -a name=org.opensolaris.consolidation
<pkg>
> I thought of looking at the core package. for example i check the cp
> command package but the command is not giving me the package name:
>
> r...@opensolaris:~# pkgchk -l -p /usr/bin/cp
That portion of the SVr4 packaging command set won't work properly on an
OpenSolaris system. You want
$ pkg search -l /usr/bin/cp
INDEX ACTION VALUE PACKAGE
path file usr/bin/cp pkg:/[email protected]
which tells you that a file action in the package SUNWcs (at version
0.5.11-0.139) delivers an object whose path is /usr/bin/cp.
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss