On Thu, Aug 13, 2009 at 06:31:01AM -0400, Suresh Chandrasekharan wrote:

> Why in many instances the same license seems to be repeating in IPS
> packages ? I find this sort of annoying...

Interesting.  Part of the problem is that the server is doubling the
license text.  For instance, if you do

    pkg info --license SUNWcsd

you get just one copy of the CDDL, but if you cons up the corresponding
info url from the server, you get two copies.  The reason is that the way
we publish the licenses, some of the metadata ends up different for each
architecture, even though the content is the same.  The server doesn't know
what architecture you're interested in, so it spits everything back at you.

Now, in the cases you specified, the reason that you get more than one even
accounting for that doubling is because when the importer pulls in more
than one SVr4 package to construct a single pkg(5) package, it doesn't weed
out duplicate texts, so if each of the SVr4 packages comprising a pkg(5)
package has the same license text, then there will be multiple copies in
the pkg(5) package.  In the case of SUNWfontconfig, they come from
SUNWfontconfig and SUNWfontconfig-root; in the case of SUNWgnome-file-mgr,
they come from the -root and the -devel packages as well the base.

Feel free to file an RFE in the importer component to have it drop
duplicate license texts.

For the architecture doubling, that will go away when we fix the bug that
requires us to change the metadata.  We could hack around it, but I don't
know that it would be a good use of anyone's time.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to