From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 12:32:33 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 5AA501065673; Mon, 11 Jun 2012 12:32:33 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id B752F8FC17; Mon, 11 Jun 2012 12:32:32 +0000 (UTC) Received: by eabm6 with SMTP id m6so330626eab.13 for ; Mon, 11 Jun 2012 05:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DDsta/7dSqyKsQr5zn6nVPyU1//Z/V13AIXep8ZA6p4=; b=0RLe3bemcY1ymcURG2FN5GmKYNVy8zmoiavVqPXDNuT+fEJxxKmTVBjCpC5bx1AeCv zajhC1toL6+jvG5kGe46OYqTMilCGYPi7MZllNnErJmN0pHje1hU3afW9JAW+E8AbdFY lE3ZK6KR6v6FKUxvnp3Nq20laVw1SJg97P7DZ+yGW4w0xqjB7sye84fSdo1eW/YaskS0 JZYX1sOJRbmp2reBeQmNhnYhd0bldHKBFb4YEP/PTu8YwS3ecQCy5IMsxwaL+5Zs8pIp eQLy4lMVLlaqWC1Nq1T5MKB5M+kY3EeqGasqf0mmoKQgFmo5QehZ+g+RPqrQN8oEhd4h 4veg== Received: by 10.14.47.72 with SMTP id s48mr5997718eeb.130.1339417946266; Mon, 11 Jun 2012 05:32:26 -0700 (PDT) Received: from [172.29.1.142] (altimet-gw.cs2.dp.wnet.ua. [217.20.178.249]) by mx.google.com with ESMTPS id g46sm23950275eea.14.2012.06.11.05.32.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 05:32:25 -0700 (PDT) Message-ID: <4FD5E522.4020506@gmail.com> Date: Mon, 11 Jun 2012 15:31:30 +0300 From: Vitaly Magerya User-Agent: Thunderbird MIME-Version: 1.0 To: Baptiste Daroussin References: <20120611043001.GO60433@ithaqua.etoilebsd.net> <20120611073017.GT60433@ithaqua.etoilebsd.net> In-Reply-To: <20120611073017.GT60433@ithaqua.etoilebsd.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Eitan Adler 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 12:32:33 -0000 Baptiste Daroussin wrote: >> 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. Does pkgng handle MOVED during upgrades? If so, ${ORIGIN}_${SUBPACKAGE} will work fine, if not -- then it should; relying on unique name not to change is fragile. For example when audio/polypaudio was renamed to audio/pulseaudio, it would be unreasonable to keep it's unique name as "polyaudio".