From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 10:40:15 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B9EE106566C for ; Mon, 5 Dec 2011 10:40:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EE8788FC08 for ; Mon, 5 Dec 2011 10:40:14 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB5AdKu9036453 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 5 Dec 2011 10:39:20 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB5AdKu9036453 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1323081560; bh=Pprh6xAag9BqrCwotPEb2n0TJhZDKegeUTk3g4Nd5n0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=i85NvH2s6XoMQ5BoDlaAA+Kznf9OZgTjRkpcZm/rA54wx+xDHIOr5yxXGKpMj1M6V ElrpTq+rwD1Vcy121ywqRzY/i0NylOBf1qyo27zsFtY/gK6tZKNBl2V2KrdXevncaf 8//KMvN3sH7F21jtHOSlpAgHI7Cjecu42QFt3bM0= Message-ID: <4EDC9F52.6090500@infracaninophile.co.uk> Date: Mon, 05 Dec 2011 10:39:14 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Matthew Pounsett References: <4EDBC65F.8090106@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5105241A41D290F0A2F20772" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Major version changes using portupgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 10:40:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5105241A41D290F0A2F20772 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2011 20:07, Matthew Pounsett wrote: > On 2011/12/04, at 14:13, Matthew Seaman wrote: >=20 >> > 4) Now for the updating bit. I'm going to use portmaster's '-o' >> > functionality to swap out the postgresql versions. (portupgrad= e >> > has very similar functionality if you prefer that.) postgresql >> > is trickier than most, because there have to be both -server an= d >> > -client ports to deal with. I also have postgresql-contrib-9.0= =2E5 >> > installed, which isn't critical but needs similar treatment. >> > Everything depends on the -client port, so we start with that: >> >=20 >> > # portmaster -o databases/postgresql91-client \ >> > postgresql-client-9.0.5 >> > # portmaster -o databases/postgresql91-server \ >> > postgresql-server-9.0.5_1 >> > # portmaster -o databases/postgresql91-contrib \ >> > postgresql-contrib-9.0.5 > This is the problem bit. The -o doesn't work with the ones I'm > dealing with because of conflicts between 8.4 and 9.1. 9.1 *won't > even build*. If you can find a way to get around that, then you can > make life even easier for yourself by doing a recursive build of all > of the things that depend on the client. It's getting around the > conflict that I'm trying to figure out... the rest is handled. Not a problem with portmaster(1) -- it automatically adds DISABLE_CONFLICTS to the make environment if you're using the '-o' flag. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig5105241A41D290F0A2F20772 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7cn1cACgkQ8Mjk52CukIw6RACdHlizTPW7oCNwJgCmaSTeONlW jkgAn171W0MFKyjpLsdnuFpnzyOmBfZG =Udv1 -----END PGP SIGNATURE----- --------------enig5105241A41D290F0A2F20772--