From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 20:05:28 2008 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 A168A16A41A for ; Sun, 6 Jan 2008 20:05:28 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 448E013C458 for ; Sun, 6 Jan 2008 20:05:28 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.50) id 1JBbkK-0002hd-1b; Sun, 06 Jan 2008 20:05:24 +0000 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m06K5NW9003682; Sun, 6 Jan 2008 20:05:23 GMT Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id D8EDEFCABDF; Sun, 6 Jan 2008 20:05:17 +0000 (GMT) Date: Sun, 6 Jan 2008 20:05:17 +0000 From: Frank Shute To: Walter Jansen Message-ID: <20080106200517.GA42384@melon.esperance-linux.co.uk> References: <000601c85065$94c24de0$0a01a8c0@680nr0j> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c85065$94c24de0$0a01a8c0@680nr0j> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RC1 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Sun, 06 Jan 2008 20:05:23 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: port collection RELEASE6.2 lost after reinstall with CVSUP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 20:05:28 -0000 On Sun, Jan 06, 2008 at 02:10:59PM +0100, Walter Jansen wrote: > > Hi > > Upon reading chapters of the Handbook about the Ports collection and CVSup, > I wanted to CVSup the ports collection for the RELEASE 6.2. Stupidly using > the wrong tag (tag=.), I erroneously but successfully installed the CURRENT > version. I could have used SYSINSTALL for the RELEASE 6.2 ports, but for the > sake of learning and training myself I did not. You used the right tag. There is only a current tag as you only have a current ports tree to be used for all releases ie 6.2,6.3 & 7.0 (The ports might work with older releases too). > > > > Problem: > > - I ran CVSup again with the correct tag but though everything in the > process looked normal, the map usr/ports remains empty and nor with whereis > nor with pkg_xxx any information about ports can be found. You ran cvsup again with the wrong tag. > > Questions: > > - What did I do wrong in the process?. Used the wrong tag second time around. > > - Is cvsup for installation of RELEASE 6.2 ports collection a bad idea > anyway (technically) ? No. Although there is no 6.2 ports collection, just CURRENT. > > > > Proces: > > - I use the recently installed cvsup-without-gui, installed from ports Use csup(1) it's identical to cvsup but no dependencies as it's in base & written in C. > > - I deleted all entries and maps in/under /usr/ports (as recommended in the > Handbook) All you need is the empty dir /usr/ports and c(v)sup will fill it. > > > > - I modified the ports-supfile in usr/share/examples/cvsup and copied it to > portswj-supfile in the same map (not good practice I know now....) > > The settings in the -supfile where: > > *default host=cvsup15.FreeBSD.org > > *default base=/var/db > > *default prefix=/usr > > *default release=cvs tag=RELENG_6_2_0_RELEASE (the handbook suggests > that this is a valid tag for ports) > > *default delete use-rel-suffix (I could not find a meaning for this in > the books, anyone can tell me please?) > > *default compress > > ports-all Try this as your ports-supfile: *default host=cvsup15.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress ports-all and run: csup -L 2 /usr/share/examples/cvsup/ports-supfile and it should download the current ports tree. For the src supfile you should use the tag: *default release=cvs tag=RELENG_6_3 as 6.3 is pretty close to release and you'll get 6.3RC2 probably. or if you want 7.0RC2(?) *default release=cvs tag=RELENG_7_0 For the src-supfile you only need to set that tag and the default host and it should work. Regards, -- Frank Contact info: http://www.esperance-linux.co.uk/misc/contact.html