From owner-freebsd-questions Sat Aug 10 15: 0: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CFF337B400 for ; Sat, 10 Aug 2002 15:00:00 -0700 (PDT) Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D27143E7B for ; Sat, 10 Aug 2002 14:59:59 -0700 (PDT) (envelope-from bartequi@neomedia.it) Received: from localhost (aragorn.neomedia.it [195.120.250.6] (may be forged)) by aragorn.neomedia.it (8.12.3/8.12.3) with ESMTP id g7ALxvkQ022981; Sat, 10 Aug 2002 23:59:58 +0200 (CEST) Received: from 213.144.203.134 ([213.144.203.134]) by webmail.neomedia.it (IMP) with HTTP for ; Sat, 10 Aug 2002 23:59:57 +0200 Message-ID: <1029016797.3d558cddba7c7@webmail.neomedia.it> Date: Sat, 10 Aug 2002 23:59:57 +0200 From: Salvo Bartolotta To: robert Backhaus Cc: Ian Moore , bsd-questions Subject: Re: Question on CVSuping ports for first time on a system MIME-Version: 1.0 Content-Type: text/plain; charset=Any Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1.1-cvs X-WebMail-Company: Neomedia X-Originating-IP: 213.144.203.134 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Backhaus wrote: > This may not be correct, but I've usually cv-supped > with the ports-supfile straight from > /usr/share/examples, editing only the mirror. > although I have heard that it is missing in the latest release. Hello Robert, You have been lucky. ;-) The advice contained in J. Polstra's site (cf. Q12, Q13, Q40; cf. the article I wrote on this basis) may seem paranoid, but it allows you to prevent potentially annoying problems; also, you have two methods at your disposal (the double sync method as well as the python script). Consider the following example. You choose a date (say today), add to your ports supfile a date field containing this date, and cvsup your ports tree. Next, you cd to your favo(u)rite port directory, and create a _new_ file. Then you cvsup again using the same supfile. However, since cvsup doesn't know about the file you've just added -- no information about it has been recorded in the ports checkouts file--, cvsup will NOT delete it. Your file, whatever it may contain, WILL remain in the port (sub)directory where you put it. This gives you an idea of what can happen. And accidents will happen... Regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message