[geeks] freebsd and package tools
Shannon Hendrix
shannon at widomaker.com
Wed Mar 11 17:37:22 CDT 2009
On Mar 11, 2009, at 18:18 , Michael-John Turner wrote:
> On Wed, Mar 11, 2009 at 04:37:02PM -0400, Shannon Hendrix wrote:
>> Does anyone know where this URL is generated and what to change so
>> that it
>> will fetch packages from packages-7.0-release instead?
>
> I don't have access to a FreeBSD system at the moment, but you used
> to be
> able to default the master site in /etc/make.conf. Setting PACKAGEROOT
> and/or PACKAGESITE there should do it.
Doesn't help.
PACKAGEROOT just gives the base site to start with. pkg_add uses
internal logic to compute the full URL unless you set PACKAGESITE in
your shell.
I can't do that in our situation, so that's why I'm trying to figure
out what pkg_add uses to determine the URL, so I can change that.
I'm probably going to read through the pkg_add source code and see if
I can figure out what it uses to determine the release name.
Hopefully it isn't too complicated.
--
Shannon Hendrix
shannon at widomaker.com
More information about the geeks
mailing list