Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 14:37:44 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Binary packages for releases and portupgrade
Message-ID:  <b269bc571001051437v456ad44aled3ce73750656928@mail.gmail.com>
In-Reply-To: <20100105222134.GA18040@cons.org>
References:  <20100105200347.GA83318@cons.org> <4B43B621.6070600@FreeBSD.org> <20100105222134.GA18040@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 5, 2010 at 2:21 PM, Martin Cracauer <cracauer@cons.org> wrote:

> Doug Barton wrote on Tue, Jan 05, 2010 at 01:58:57PM -0800:
> > Martin Cracauer wrote:
> > > It's time to bite the bullet.  My 1.3 GHz Pentium-M Notebook just
> > > can't keep up with the port building.  I need OpenOffice and stuff and
> > > the party is really over at that point.  I need something with binary
> > > packages.
> > >
> > > Do I understand that correctly if I run 8.0 release I get to have
> > > prebuilt binaries as recognized by portupgrade?
> >
> > Well, 8-release or 8-stable should both be fine for this purpose, for
> > most packages, with portupgrade or portmaster. My understanding is
> > that we've given up trying to produce packages for openoffice on all
> > branches.
>
> Are you saying there are binary packages for 8-stable?
>
> I thought I can only have them for -RELEASE?
>
> > > What happens to the minor security updates? Can I follow TRELENG_8_0
> > > and port portsupgrade recognize this as something that uses 8-release
> > > binary packages?
> >
> > RELENG_8_0 is _exactly_  8.0-RELEASE, and will never change. If you
> > want 8-stable, RELENG_8 is the way to go. Otherwise you will need to
> > update the tag each time a new security branch is created.
>
> RELENG_8 will lift be out of binary ports, at least as far as
> portupgrade is concerned.
>
> RELENG_8_0 will have emergency fixes AFAIK and I was hoping that I
> could run that and make portupgrade to the right thing (recognize the
> binary packages a insert them appropriately).
>
> If we have binary packages for 8-stable and/or if I can coerce
> portupgrade to use 8-release packages on 8-stable that would be fine,
> too.
>
> Have a read through the ports man page and the pkg_add man page.  Pay
attention to the PACKAGESITE environment variable.

This variable tells pkg_add (and portupgrade, and portmaster) where to
search for binary packages.

By default, this is set to
  ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-X-release/Latest/

where X is the version of FreeBSD installed (7.0, 7.1, 7.2, 8.0, etc).

All you have to do is change it to use "packages-8-stable" instead of
"packages-8.0-release", and it will search for, and install, binary packages
that were built on 8-STABLE.

Note:  one should be using a release version that is as close to -STABLE as
possible.  IOW, the latest release on that branch (6.4 if you want 6-stable
packages, 7.2 if you want 7-stable packages, 8.0 if you want 8-stable
packages).  That minimises the number and size of changes between -release
and -stable, and will keep things running smoothly.


-- 
Freddie Cash
fjwcash@gmail.com



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