ports need a uniq identifier, do you have any suggestion?

Baptiste Daroussin bapt at freebsd.org
Mon Jun 11 07:30:21 UTC 2012


On Sun, Jun 10, 2012 at 11:23:46PM -0700, Eitan Adler wrote:
> On 10 June 2012 21:30, Baptiste Daroussin <bapt at freebsd.org> wrote:
> > Hi all,
> >
> > In the ports tree we lack a unique identifier, while we could live without it
> > until now, it is more than needed for 2 upcoming features: pkgng and stage
> > directory support.
> >
> > unique means something that will always be the same what ever the options are
> > and what ever the runtime they use are. But also means unique in term of in the
> > whole ports no other package will share its identifier.
> >
> > currently the only equivalent of this in the ports tree is the origin of a
> > package, which will no more be unique with the upcoming sub package support
> > (coming along with stage directory) aka 1 origin to produce n package.
> 
> Perhaps we could introduce UNIQUE_ORIGIN which is
> ${ORIGIN}_${SUBPACKAGE} or something of the sort?
> 

I thought about this one, but while here we should think about package move
which keeps being the same package, in that case origin will change, and the
uniquename will change which is no good for binary world.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120611/cfe5a293/attachment.pgp


More information about the freebsd-ports mailing list