From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 07:30:21 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B9301065672 for ; Mon, 11 Jun 2012 07:30:21 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5DF848FC21; Mon, 11 Jun 2012 07:30:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5B7ULm8015078; Mon, 11 Jun 2012 07:30:21 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5B7ULJn015069; Mon, 11 Jun 2012 07:30:21 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Mon, 11 Jun 2012 09:30:18 +0200 From: Baptiste Daroussin To: Eitan Adler Message-ID: <20120611073017.GT60433@ithaqua.etoilebsd.net> References: <20120611043001.GO60433@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k8r0khnpBuGu0wUi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org Subject: Re: ports need a uniq identifier, do you have any suggestion? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 07:30:21 -0000 --k8r0khnpBuGu0wUi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 10, 2012 at 11:23:46PM -0700, Eitan Adler wrote: > On 10 June 2012 21:30, Baptiste Daroussin wrote: > > Hi all, > > > > In the ports tree we lack a unique identifier, while we could live with= out it > > until now, it is more than needed for 2 upcoming features: pkgng and st= age > > directory support. > > > > unique means something that will always be the same what ever the optio= ns are > > and what ever the runtime they use are. But also means unique in term o= f in the > > whole ports no other package will share its identifier. > > > > currently the only equivalent of this in the ports tree is the origin o= f a > > package, which will no more be unique with the upcoming sub package sup= port > > (coming along with stage directory) aka 1 origin to produce n package. >=20 > Perhaps we could introduce UNIQUE_ORIGIN which is > ${ORIGIN}_${SUBPACKAGE} or something of the sort? >=20 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 --k8r0khnpBuGu0wUi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/VnokACgkQ8kTtMUmk6Ew3owCfRo2vGcpYrh1KhJg6Ax6ApC4F mGEAoJ4AnYm50SqlyntKdBS9so3c8C+A =clVK -----END PGP SIGNATURE----- --k8r0khnpBuGu0wUi--