pkg_add -r and a local package repo

Jason Helfman jhelfman at e-e.com
Wed Jan 11 22:48:09 UTC 2012


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


More information about the freebsd-questions mailing list