Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 2009 16:02:49 -0700
From:      perryh@pluto.rain.com
To:        cwhiteh@onetel.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: new package system proposal
Message-ID:  <49d7e719.Ck/vxbahdDom2nM0%perryh@pluto.rain.com>
In-Reply-To: <49D76B02.4060201@onetel.com>
References:  <49D76B02.4060201@onetel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Whitehouse <cwhiteh@onetel.com> wrote:
> My suggestion is to start with a ports tree that is fixed in time.
> Make that ports tree available as part of this package system and
> compile a typical desktop set of ports ...

Isn't this exactly what is currently done as part of a release?  The
ports tree is tagged so that a snapshot can be retrieved using csup,
and packages are built for publication on (for example)
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/

Granted this includes all package-distributable ports rather than a
"typical desktop" subset.

> Modify pkg_add so that it can be told to use this 'snapshot'
> including downloading the fixed ports tree that was used.

AFAIK pkg_add currently does not download the ports tree at all --
that is done using csup or portsnap -- but it can be directed to
a release set or other remote package repository via the -r flag.
My only issue with that approach is that, last I knew, there was
no way to specify a mix of local and remote repositories (to deal
with the case where I have already downloded some subset of what
I end up needing, so I want pkg_add to search locally first and
use the remote repository only for packages that it can't find
locally).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49d7e719.Ck/vxbahdDom2nM0%perryh>