Subject: Re: Using pkgsrc for an OpenSolaris distro
To: Hubert Feyrer <hubertf@NetBSD.org>
From: Moinak Ghosh <Moinak.Ghosh@Sun.COM>
List: tech-pkg
Date: 12/30/2005 18:19:27
Hubert Feyrer wrote:

> On Wed, 28 Dec 2005, Moinak Ghosh wrote:
>
>>  Solaris uses the SVR4 packaging mechanism. It is also available in 
>> binary form (open-sourcing will take
>>  some time) for use in OpenSolaris distros. However I wish to have a 
>> more feature-packed packaging
>>  software.
>
>
> FWIW, IIRC there's some hooks in pkgsrc to produce 'native' solaris 
> package. Try "env PACKAGE_NAME_TYPE=svr4 make package". (I've never 
> used this, but I think it's a good start). I think you need to use 
> pkgsrc/pkgtools/gensolpkg to use it... (documentation??? :-()
>
> I guess you already know how to use pkgsrc on Solaris, if not this may 
> be useful: http://www.feyrer.de/Texts/Own/21c3-pkgsrc-paper.pdf (the 
> details have changed, but it gives you a rough idea).

   Thanks for the info. I am actually looking at Pkgsrc to be the native 
packaging mechanism
   for BeleniX with an SVR4 compatibility layer. In addition to the 
ability to generate Solaris
   packages I am also thinking about working on a way to do the reverse. 
That is convert
   SVR4 packages to Pkgsrc format - something like what is done by dpkg 
alien in Debian.

Regards,
Moinak.

> In the long run I'd love to see pkgsrc use different "native" 
> packaging systems (for resolving dependencies and handling of binary 
> packages), but that's a big pie in the sky.
>
>
>  - Hubert