From owner-freebsd-questions@FreeBSD.ORG Thu Jan 10 01:50:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B702141A for ; Thu, 10 Jan 2013 01:50:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB90D56 for ; Thu, 10 Jan 2013 01:50:56 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tt7IR-0004op-TO for freebsd-questions@freebsd.org; Thu, 10 Jan 2013 02:51:07 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jan 2013 02:51:07 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Jan 2013 02:51:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkgng - Symlinks created by portupgrade? Date: Thu, 10 Jan 2013 01:50:34 +0000 (UTC) Lines: 39 Message-ID: References: <50EDBCEB.7030403@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 01:50:56 -0000 On Wed, 09 Jan 2013 18:54:35 +0000, Matthew Seaman wrote: > On 09/01/2013 18:31, Walter Hurry wrote: >> I am using pkgng. >> >> When I issue 'portupgrade -p', after build and installation, >> it builds a new package, as advertised. This (by default) is put into >> /usr/ ports/packages/All. >> >> At the same time, it installs a set of symlinks; one for each relevant >> port category, plus one in /usr/ports/packages/Latest. >> >> It is the naming of this last in which I am interested. Sometimes the >> symlink seems to bear the name (absent the version) of the package, and >> sometimes the name of the port (plus '.txz', of course). >> >> Two questions: >> >> 1) Does anyone know the logic used to derive the name of the symlink? >> >> 2) Would it be considered a breach of etiquette to email the port >> maintainer (bdrewery) and ask, or is this regarded as acceptable? >> >> 'man portupgrade' doesn't seem to shed any light on this, and I am >> unaware of where to seek other documentation. > > The layout of /usr/ports/packages is actually down to the ports system > directly and not in the control of any add on software like portupgrade, > portmaster or pkgng. > > The files under /usr/ports/packages/Latest are named according to the > LATEST_LINK variable in each port. It's meant to be unique per-port, > but falls somewhat short. Various ports have NO_LATEST_LINK set which > suppresses creating that link. Thank you yet again, Matthew. As always, you are a fount of knowledge. The guidance on LATEST_LINK has helped a great deal. I still have a further question or two though; I shall follow up within a day or two.