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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 5, 2010 at 2:37 PM, Freddie Cash <fjwcash@gmail.com> wrote:

> 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.
>
> Note 2:  be sure to set the correct architecture as well.  Change the
"i386" to "amd64" if you have the 64-bit amd64/x86_64 version of FreeBSD
installed.

-- 
Freddie Cash
fjwcash@gmail.com



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