From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 04:30:16 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6796F106564A for ; Mon, 11 Jun 2012 04:30:16 +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 0D9E28FC1B for ; Mon, 11 Jun 2012 04:30:16 +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 q5B4UFkQ036349 for ; Mon, 11 Jun 2012 04:30:15 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5B4UFXd036340 for ports@Freebsd.org; Mon, 11 Jun 2012 04:30:15 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 06:30:01 +0200 From: Baptiste Daroussin To: ports@FreeBSD.org Message-ID: <20120611043001.GO60433@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MmQIYbZiCoQ2kDro" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: 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 04:30:16 -0000 --MmQIYbZiCoQ2kDro Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. UNIQUENAME and LATEST_LINK fails in that area because they both can change according to the runtime: py27- for example which will become py30- if you change the default python. LATEST_LINK by default also append the PKGNAMEPREFIX which some ports can be really creative with. should we introduce something new, should we fix one of the above? do you have any suggestion? regards, Bapt --MmQIYbZiCoQ2kDro Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/VdEkACgkQ8kTtMUmk6ExnggCeJtw6PrJXq1mlGIXYPC0xbRb4 rkkAn0vGaDS9SEd7QUk1uhycl7wYqEaQ =yZi+ -----END PGP SIGNATURE----- --MmQIYbZiCoQ2kDro--