>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     [email protected]:/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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to