Re: CFT: adding configuration file support to pkg_install

2008-06-03 Thread Florent Thoumie
On Sat, May 31, 2008 at 10:05 PM, Philip M. Gollucci
<[EMAIL PROTECTED]> 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 ?
>
> I probably missed all the back story here, so feel free to put me in my
> place.

Packages can be used without a full tree (as Kris mentioned). It can
be argued that using only pkg_install to maintain packages is a PITA,
but it's still possible. The fact that there's no proper tool part of
or on top of pkg_install to do it is irrelevant.

> The multi-site package fetching is definitely something I'm interested it,
> but I also figured it would just iterate over the values in PACKAGESITE
>
> PACKAGESITE=ftp://foo/stdpath/base/Latest/ ftp://foo/stdpath/www/Latest
>
> where base would have things like sudo, bash, vim, etc... and could be used
> on multiple computers.
>
> www would have things like apache22 mod_X and would be used on 'www' class
> machines.

I'm not sure what behaviour you're describing there.

-- 
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CFT: adding configuration file support to pkg_install

2008-06-02 Thread John Baldwin
On Saturday 31 May 2008 08:38:27 pm Philip M. Gollucci wrote:
> Kris Kennaway wrote:
> > 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.
>
> short of doing pkg_delete -af then pkg_add /some/dir
> are there any ports-mgmt/* tools for upgrades that don't need the ports
> tree present.  I know portupgrade does.
>
> Thats not an argument for or against, just commentary.

There are proprietary tools that manage packages of proprietary software that 
run on FreeBSD embedded devices.

-- 
John Baldwin
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CFT: adding configuration file support to pkg_install

2008-05-31 Thread Philip M. Gollucci

Kris Kennaway wrote:
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.

short of doing pkg_delete -af then pkg_add /some/dir
are there any ports-mgmt/* tools for upgrades that don't need the ports 
tree present.  I know portupgrade does.


Thats not an argument for or against, just commentary.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CFT: adding configuration file support to pkg_install

2008-05-31 Thread Kris Kennaway

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

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CFT: adding configuration file support to pkg_install

2008-05-31 Thread Philip M. Gollucci

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 ?


I probably missed all the back story here, so feel free to put me in my 
place.


The multi-site package fetching is definitely something I'm interested 
it, but I also figured it would just iterate over the values in PACKAGESITE


PACKAGESITE=ftp://foo/stdpath/base/Latest/ ftp://foo/stdpath/www/Latest

where base would have things like sudo, bash, vim, etc... and could be 
used on multiple computers.


www would have things like apache22 mod_X and would be used on 'www' 
class machines.






--

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CFT: adding configuration file support to pkg_install

2008-05-30 Thread Florent Thoumie
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

-- 
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"