From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 25 21:59:52 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67DAD1065689 for ; Thu, 25 Sep 2008 21:59:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (unknown [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 11A178FC25 for ; Thu, 25 Sep 2008 21:59:52 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 0E50D28449 for ; Fri, 26 Sep 2008 05:59:51 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 8A4A9F67811; Fri, 26 Sep 2008 05:59:50 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id MsA5ZHd9qz02; Fri, 26 Sep 2008 05:59:45 +0800 (CST) Received: from charlie.delphij.net (71.5.7.139.ptr.us.xo.net [71.5.7.139]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 39F8FF66E11; Fri, 26 Sep 2008 05:59:44 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=CBX6QpApQv/eVhTb9bkWs45a14+D+C0mXg0zDO+0b4KCAqaZ4jkU98nt5rKkIpi2g BuOkzTvFWhdp69ILyFLVw== Message-ID: <48DC09CC.9010606@delphij.net> Date: Thu, 25 Sep 2008 14:59:40 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.16 (X11/20080725) MIME-Version: 1.0 To: Jordi Espasa Clofent References: <48DC01DA.9040108@minibofh.org> In-Reply-To: <48DC01DA.9040108@minibofh.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org Subject: Re: Regenerate ports tree from installed ports? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 21:59:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jordi Espasa Clofent wrote: > Hi all, > > I suppose it's a dumb (and crazy) question, but as post subject says: > żIs it possible to regenerate the /usr/ports tree _from_ the installed > ports? As long as your ports tree is not very old, you will be able to use it in newer system but this is not always guaranteed. It is, however, possible to checkout ports tree from the date you specified with either cvsup or cvs. My personal suggestion is that when upgrading, try to build a new environment from scratch (say, everything is brand new) with ports named by 'pkg_info -qoa' on old system, and have the new environment reveal potential issues before making major updates to running system. Another possible approach is to update from time to time but this could cause you a lot of downtime. Cheers, - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjcCcsACgkQi+vbBBjt66D+5gCgraZv+FSEuxKFFiPNTan16Oyf HvEAoIt0OWlpSqgYwxo7Og/+7e9WBG2g =DJkP -----END PGP SIGNATURE-----