From owner-freebsd-ports@FreeBSD.ORG Tue Jan 18 23:47:49 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14F9D106566B for ; Tue, 18 Jan 2011 23:47:49 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from u18-124.dslaccess.de (unknown [194.231.39.124]) by mx1.freebsd.org (Postfix) with ESMTP id B94718FC15 for ; Tue, 18 Jan 2011 23:47:48 +0000 (UTC) Received: from [172.20.1.100] (unknown [172.20.1.100]) by u18-124.dslaccess.de (Postfix) with ESMTPSA id 2AA8720640; Wed, 19 Jan 2011 00:47:43 +0100 (CET) Message-ID: <4D3626AE.1050709@FreeBSD.org> Date: Wed, 19 Jan 2011 00:47:58 +0100 From: Olli Hauer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, Mark Terribile References: <486530.52770.qm@web110310.mail.gq1.yahoo.com> In-Reply-To: <486530.52770.qm@web110310.mail.gq1.yahoo.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Returning with question about SELECTIVELY updating ports tree X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ohauer@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2011 23:47:49 -0000 On 2011-01-19 00:00, Mark Terribile wrote: > > Hi, > [...] > > If there is a way to do this with portsnap, please tell me how. I've tried the -I option but it seems to want me to do the extract which (according to the man page) will wipe out the whole tree. > > Mark Terribile > Protect your ports tree $> cd /usr/ $> mv ports ports_save && mkdir ports && portsnap extract This way you have your old and a fresh ports tree available. Portsnap checks the file ports/.portsnap.INDEX to see which ports have updates without this file portsnap extracts the whole tree. Now you can check with diff what has changed in your needed ports. In most of the cases you can merge the ports in the saved tree to newer versions.