From owner-freebsd-questions@FreeBSD.ORG Wed Jan 11 22:48:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76FC6106566B for ; Wed, 11 Jan 2012 22:48:09 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 509508FC17 for ; Wed, 11 Jan 2012 22:48:09 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id F3DBF6EE2AC; Wed, 11 Jan 2012 14:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:organization:in-reply-to:content-disposition :content-type:content-type:mime-version:references:message-id :subject:subject:from:from:date:date:received:received:received; s=ee; t=1326321005; x=1328135405; bh=D9xOo21PH3rNr4c3ebBUBVhAzd rNpllwXdh9VsPCKs4=; b=Ue1/o/ymQFrjiHPn4vgWp+QEbr1HM7GRMJSTieN3Su wQErk6QB/XmY192d7AOaAJBLRflsnJy/iV8MhBJiNfzsyvykx9fKAqZN46QD1Uee wP6MalgPplvk7Cj7T7TfFWpBVB/EFMCNRQa7q9IMJLsbkbOQ9cA/6yKGtV18RssM 0= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CvUXlyZ+MaD5; Wed, 11 Jan 2012 14:30:05 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.120]) by mail.experts-exchange.com (Postfix) with SMTP id CEE556EE2A4; Wed, 11 Jan 2012 14:30:05 -0800 (PST) Received: (nullmailer pid 45682 invoked by uid 1001); Wed, 11 Jan 2012 22:29:24 -0000 Date: Wed, 11 Jan 2012 14:29:24 -0800 From: Jason Helfman To: Chuck Swiger Message-ID: <20120111222924.GA76679@dormouse.experts-exchange.com> References: <86sjjloq0o.fsf@red.stonehenge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: Experts-Exchange, LLC. http://www.experts-exchange.com X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org, "Randal L. Schwartz" Subject: Re: pkg_add -r and a local package repo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 22:48:09 -0000 On Wed, Jan 11, 2012 at 02:23:48PM -0800, Chuck Swiger thus spake: >On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote: >> First, it looks like pkg_add -r needs the full package name. Is there >> any way to give it "zsh" instead of "zsh-4.3.15"? > >Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server. >You can also control this at the time of building the package via: > > www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647 > >"5.2.4 LATEST_LINK > >LATEST_LINK is used during package building to determine a shortened name to create links that can be used by pkg_add -r. This makes it possible to, for example, install the latest perl version by running pkg_add -r perl without knowing the exact version number. This name needs to be unique and obvious to users." > >> Second, it looks like it won't install dependencies. This is a problem. >> Can I get it to search and install dependencies somehow? > >Does the package in question have its dependencies properly specified? > >Regards, >-- >-Chuck > Why not just point the PACKAGESITE to the Latest directory of the tree you want to install? -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5