Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2012 00:20:47 GMT
From:      Michael Carlson <mike@bayphoto.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/165602: pkg_add - extend PACKAGESITE lookup to include rc.conf.local
Message-ID:  <201203020020.q220Klum002339@red.freebsd.org>
Resent-Message-ID: <201203020030.q220UCjX059298@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         165602
>Category:       bin
>Synopsis:       pkg_add - extend PACKAGESITE lookup to include rc.conf.local
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 02 00:30:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Michael Carlson
>Release:        9.0-RELEASE
>Organization:
Bay Photo Lab
>Environment:
FreeBSD b-bot.bayphoto.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Hey FreeBSD Dev's!

We have a local Tinderbox server to build packages from ports, and then we use Puppet to install said packages.

When puppet uses pkg_add, it does not grab the PACKAGESITE environment variable, and defaults to using the hard-coded value of ftp.freebsd.org in pkg_add itself.

It would be preferable if pkg_add was able to look up PACKAGESITE in any one of the system configuration file locations like rc.conf, rc.conf.local, etc...

Or, even something like /etc/pkg.conf.

This seems like it would be a nice enhancement to a core FreeBSD tool, and FreeBSD is always really good at being super flexible.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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