CFT: adding configuration file support to pkg_install

Kris Kennaway kris at FreeBSD.org
Sun Jun 1 00:36:34 UTC 2008


Philip M. Gollucci wrote:
> Florent Thoumie wrote:
>> This adds support for /etc/pkg.conf configuration file.
>> Also, this adds support for naive multi-site package fetching.
>>
>> Any comment welcome (and appreciated).
>>
>> Patch is here: 
>> http://people.freebsd.org/~flz/local/ports/pkg-install-config.diff
>> Tarball is here:
>> http://people.freebsd.org/~flz/local/ports/pkg-install-0a553aac.tar.bz2
> Hi flz,
> 
> I don't quite get what the end goal is.  It looks like /etc/pkg.conf is 
> duplicating a lot of things already in /usr/ports/Mk/bsd.port.mk.
> 
> Would not it be better to just have the pkg_install tools read that file 
> instead ?

packages are usually built from the ports tree, but not always, and 
users may use packages without a ports tree present on the local system.

Kris



More information about the freebsd-hackers mailing list