Date: Sun, 29 Mar 2009 00:05:04 -0400 From: L Campbell <llc2w@virginia.edu> To: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: freebsd-questions@freebsd.org Subject: Re: [pkg_add] PACKAGESITE weirdness - URL not correct for dependencies? Message-ID: <792298050903282105y4ecf7b12y1464d9a6981c035b@mail.gmail.com> In-Reply-To: <200903281237.19203.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> References: <792298050903261237o4d57a47dpb99861279ee9b4f6@mail.gmail.com> <792298050903261238y47cd2c01j6f645ad27d59dd84@mail.gmail.com> <792298050903261346m67896d1eo75694509494ff5f8@mail.gmail.com> <200903281237.19203.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 28, 2009 at 7:37 AM, Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> wrote: > On Thursday 26 March 2009 21:46:07 L Campbell wrote: >> Okay, so apparently there's some serious weirdness in the logic in >> src/usr.sbin/pkg_install/lib/url.c, in fileGetURL. This function takes >> two parameters, base and spec, and has the following behavior -- > > <snip behavior and patch> > > Yes, it is a bit counter-intuitive. However it's documented in the pkg_add(1) > manpage that PACKAGESITE should resolve to the full URL where packages can be > found (even the trailing slash). The additional stipulation that any dependent packages must be in an "../All/" directory relative to the path of the initial package is an undocumented feature. It's a bit counter-intuitive, but once it works, it works.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?792298050903282105y4ecf7b12y1464d9a6981c035b>