From owner-freebsd-ports@FreeBSD.ORG Tue Jan 5 22:37:49 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F5D61065672 for ; Tue, 5 Jan 2010 22:37:49 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 43DBC8FC1B for ; Tue, 5 Jan 2010 22:37:49 +0000 (UTC) Received: by pwi15 with SMTP id 15so11496270pwi.3 for ; Tue, 05 Jan 2010 14:37:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=KzJyA4nA8plz6iG+Gu95SfaZabKgq711RckIuVXHNaI=; b=BFy064ozlKwBolDjACF1YTkr+uOL5zMXaq2fxgYSZdjrgIWY/iWCXIbRHB5ysBAXpt y1erBdPNsVn4sOiwJvJC0hI1Cg0g5cYk6FrR+P+xTc6egazptGhjelO2yR2aQHufFK62 iEVt7jnvnlXEQ7PYDx5kgtiZadCM/EAC4oPNc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=C8d4TVHHSBNopMg3TSg/XM7B5K6uSoNHGnZXb9y/RZF1Ny9ujpZFHQCeqwuFCMHyvB /KC10Rzxmoiym1xld2ZC/R+Gu5oJmVvF40/DWTtVPURAZjINp8a/hNL+WHSieYy7fQ+W 9BSXkAMEJc+ngly6NGcW7MLJlSpg/0FiAYYEc= MIME-Version: 1.0 Received: by 10.142.118.1 with SMTP id q1mr15463651wfc.38.1262731064107; Tue, 05 Jan 2010 14:37:44 -0800 (PST) In-Reply-To: <20100105222134.GA18040@cons.org> References: <20100105200347.GA83318@cons.org> <4B43B621.6070600@FreeBSD.org> <20100105222134.GA18040@cons.org> Date: Tue, 5 Jan 2010 14:37:44 -0800 Message-ID: From: Freddie Cash To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Binary packages for releases and portupgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 22:37:49 -0000 On Tue, Jan 5, 2010 at 2:21 PM, Martin Cracauer 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