Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2012 14:29:24 -0800
From:      Jason Helfman <jhelfman@e-e.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org, "Randal L. Schwartz" <merlyn@stonehenge.com>
Subject:   Re: pkg_add -r and a local package repo
Message-ID:  <20120111222924.GA76679@dormouse.experts-exchange.com>
In-Reply-To: <F77B4845-2A9E-4CE8-8E48-77F511B2389F@mac.com>
References:  <86sjjloq0o.fsf@red.stonehenge.com> <F77B4845-2A9E-4CE8-8E48-77F511B2389F@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120111222924.GA76679>