From owner-freebsd-ports Sat Mar 31 0:16:16 2001 Delivered-To: freebsd-ports@freebsd.org Received: from dagobert.skystream.nl (smtp.uwnet.nl [195.7.130.55]) by hub.freebsd.org (Postfix) with ESMTP id 1C92437B71B for ; Sat, 31 Mar 2001 00:16:13 -0800 (PST) (envelope-from abgoeree@uwnet.nl) Received: from dyn.dailup.c227140136.isd.to (dyn.dailup.c227140136.isd.to [213.227.140.136]) by dagobert.skystream.nl (8.11.3/8.11.0) with ESMTP id f2V8KTA15994 for ; Sat, 31 Mar 2001 10:20:29 +0200 Received: (qmail 5274 invoked by uid 1000); 31 Mar 2001 08:13:56 -0000 From: "Andre Goeree" Date: Sat, 31 Mar 2001 10:13:56 +0200 To: Dan Langille Cc: ports@freebsd.org Subject: Re: Error: your port uses an old layout. Message-ID: <20010331101356.A5253@mandark.attica.home> Reply-To: abgoeree@uwnet.nl References: <200103310749.f2V7mxf78610@ns1.unixathome.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103310749.f2V7mxf78610@ns1.unixathome.org>; from dan@langille.org on Sat, Mar 31, 2001 at 07:48:58PM +1200 X-Sender: abgoeree@uwnet.nl Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Mar 31, 2001 at 07:48:58PM +1200, Dan Langille wrote: > This is getting to be a common error message and many users are > seeking help for it: > > Error: your port uses an old layout. Please update it to match this > bsd.port.mk. If you have updated your ports collection via cvsup and > are still getting this error, see Q12 and Q13 in the cvsup FAQ on > http://www.polstra.com for further information. > > Problem is, I've read Q12 and Q13 and I can't figure out what to do. So > if I can't, what chance does a newbie? > > 1 - what should people be doing with Q12 and Q13 given that a person > is now on 4.3-RC2 and were on 4.0R? > > 2 - Perhaps this will be answered by Q1, but: Lately, the most common > solution I've seen hadned out is rm -rf /usr/ports and cvsup again. Not > only is that a huge waste of bandwidth, it's also a huge burdon on those > with dial up connections. Is there a more practical solution? I use this little filter to convert a checkouts file to a file list of the files that should be on disk (live files): # convert the checkout file to a file-list cat checkouts_file | sed 's/^C /XXX /' |grep -w XXX | \ awk '{print $2}' |sed 's/,v//' |sort |uniq Then i roll a tarball: tar cvf /wherever/tarball --files-from /list/created/above It works great :-) Suppose you had a out of date ports tree: roll a tarball of the directory as described above, rm -f your portsdir and untar the tarball you created, ready! If someone is interested i could mail them the complete script. I use it to make backups of my CVSupped stuff, you could make a backup of /usr/src while building world without missing a file or adding too much, it's way cool! (only thing is i should optimize the script). --Andre. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message