From owner-freebsd-questions@FreeBSD.ORG Thu Dec 3 23:58:50 2009 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 0A0701065670 for ; Thu, 3 Dec 2009 23:58:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 703618FC12 for ; Thu, 3 Dec 2009 23:58:49 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nB3NwhQd092737; Thu, 3 Dec 2009 23:58:44 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nB3NwhQd092737 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1259884724; bh=Vf1+xZofDByDX1f6fjOZOIjlA2rZPYaiUcwx03xdv9s=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B1850AC.1070600@infracaninophile.co.uk>|Date:=20T hu,=2003=20Dec=202009=2023:58:36=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20091129)|MIME-Vers ion:=201.0|To:=20Jay=20Hall=20|CC:=20freebsd-que stions@freebsd.org|Subject:=20Re:=20Source=20Code=20Update=20Quest ion|References:=20<473690D7-CF14-4030-AA7D-A6E7C48A6780@socket.net >|In-Reply-To:=20<473690D7-CF14-4030-AA7D-A6E7C48A6780@socket.net> |X-Enigmail-Version:=200.95.6|Content-Type:=20multipart/signed=3B= 20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signa ture"=3B=0D=0A=20boundary=3D"------------enig1C40992A4770386317E9C 8E4"; b=eAADPEX7sAqdugPABOOk17Z8/m/4fnQ3ogCtsRCuDaYxTvoqvF25XJskccqjecNn9 OetyukP0LyHB+cgMNJcTPPulWva6OyVwr1uMZgHQ4UBLPZzJPwtRrCjN/ugrwoEi/P SaLlJqoiMaKJw+MpSCmucsiP8qTxVS5fJLfPx+9E= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B1850AC.1070600@infracaninophile.co.uk> Date: Thu, 03 Dec 2009 23:58:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20091129) MIME-Version: 1.0 To: Jay Hall References: <473690D7-CF14-4030-AA7D-A6E7C48A6780@socket.net> In-Reply-To: <473690D7-CF14-4030-AA7D-A6E7C48A6780@socket.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1C40992A4770386317E9C8E4" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Source Code Update Question 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: Thu, 03 Dec 2009 23:58:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C40992A4770386317E9C8E4 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Jay Hall wrote: > Ladies and Gentlemen, >=20 > This is the first time I have tried to upgrade FreeBSD's source code,=20 > and I have done something wrong, but I am not sure what. I am upgradin= g=20 > from 6.2 to 8.0. >=20 > First, I upgraded the source code, using csup /root/supfile. >=20 > Here are the contents of /root/supfile. >=20 > # IMPORTANT: Change the next line to use one of the CVSup mirror sites > # listed at http://www.freebsd.org/doc/handbook/mirrors.html. > *default host=3Dcvsup9.us.FreeBSD.org > *default base=3D/var/db > *default prefix=3D/usr > *default release=3Dcvs tag=3D. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is going to get you 9-CURRENT, which is not what you want. Change i= t to read: *default release=3Dcvs tag=3DRELENG_8_0 to get 8.0-RELEASE-p1. Or you could try tag=3DRELENG_8 to get 8.0-STABLE= if you're happy living with a development branch. Handy hint: you can csup your /usr/src and /usr/ports by:=20 # cd /usr/src # make update if you put the following into /etc/make.conf: SUP_UPDATE=3D yes SUP=3D /usr/bin/csup SUPFLAGS=3D -L2 SUPHOST=3D cvsupN.XX.freebsd.org SUPFILE=3D /usr/share/examples/cvsup/standard-supfile PORTSSUPFILE=3D /usr/share/examples/cvsup/ports-supfile Obviously change cvsupN.XX.freebsd.org to a server local to where you are= =2E To change versions, before csup'ing you'ld need to first edit the tag in = /usr/share/examples/cvsup/standard-supfile -- this file will be updated to match the installed OS version when you do the whole {build,install}wo= rld procedure, so don't worry too much about mucking up standard system files= by editing it. Note that you *do* want tag=3D. for ports or docs supfiles. Now, directly updating from 6.2 to 8.0 may not work. You may find it nec= essary to do the update in stages: 6.2 -> 7.0 -> 8.0. Since about 5.4-RELEASE = it has generally been the case that you can update pretty freely within a major = version level (eg. 6.2 -> 6.4) and that you can update to the next highest major = version level (eg 7.2 -> 8.0) by simply csup'ing and doing a normal buildworld cy= cle. It=20 should be possible to do as you want and jump several major versions at o= nce in the same way, but this is not tested anything like as much and may not wo= rk.=20 Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig1C40992A4770386317E9C8E4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksYULMACgkQ8Mjk52CukIybJgCeL/s/VGgX2YXBvqk6EVd6Xlww 9ewAn3jc4eb0PHCYB64uTw45u/EOoxhh =gX8l -----END PGP SIGNATURE----- --------------enig1C40992A4770386317E9C8E4--