[OpenIndiana-discuss] The Illumos pkgsrc project

Alasdair Lumsden alasdairrr at gmail.com
Mon Feb 7 22:23:11 UTC 2011


On 2 Feb 2011, at 19:30, Mads Worsøe Duun wrote:

> *The Illumos pkgsrc project*
> 
> I have created Illumos pkgsrc project at
> http://www.illumos.org/projects/worsoe.

Great stuff!

> The is about making NetBSD's pkgsrc http://www.pkgsrc.org shine on
> Illumos/Openindiana. Pkgsrc already work on Illumos/Openindiana, but really
> need some love to make it shine. Below are some ideas of what is needed:
> 
> *Script to bootstrap pkgsrc under Illumos/Openindiana (WIP)*
> I already have a script to bootstrap pkgsrc, but some of it need to be
> rewritten. It also need some more testing.
> 
> *Pkgsrc patches for Solaris/Illumos pkgsrc*
> A lot of packages will not build, or do not work very well on
> Illumos/Openindiana, so patches need to be written. This is probably the
> most needed and demanding task. Therefore I call for volunteers to help with
> this. For commiting patches to pkgsrc, we can do one of too things:
> 
> 1. Commit the patches to the official pkgsrc repo.
> 2. Host our own repo, wich is in sync with the official repo
> 
> With the second solution, we can have patches committed faster.
> 
> *Pkgsrc2ips script*
> Develop a script to convert pkgsrc to IPS packages. Creation of SVR4
> packages is not needed, as a utility for this already exist in pkgsrc.

I've already written a proof of concept for this.

The biggest challenge is dealing with package dependencies - NetBSD allows strings as versions, such as 0.9.8g, 1.2rc2, 4.5alpha1 or whatever - and has some stupidly complicated (and as far as I'm concerned, stupid) method of comparing versions called dewey.

So I decided in my proof of concept just to have dependencies based on package name, not version, and to leave dependencies to pkgsrc itself.

> *Build bulk*
> Creation of a build bulk system, to create binary packages (we also need a
> host to provide binaries).

OpenIndiana will happily host any repos, build zones or download sites (eg dlc.openindian.org) for this work. Please do join #oi-dev on irc.freenode.net to discuss this.

Thanks!

Alasdair


More information about the OpenIndiana-discuss mailing list