From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 09:02:01 2010 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 214A1106566B for ; Sun, 7 Mar 2010 09:02:01 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id D1CC08FC14 for ; Sun, 7 Mar 2010 09:02:00 +0000 (UTC) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:57232 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1NoCN3-0006MA-6G for freebsd-questions@freebsd.org; Sun, 07 Mar 2010 10:02:00 +0100 Received: (qmail 6729 invoked from network); 7 Mar 2010 10:01:50 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 7 Mar 2010 10:01:50 +0100 Received: (qmail 68720 invoked by uid 1001); 7 Mar 2010 10:01:50 +0100 Date: Sun, 7 Mar 2010 10:01:50 +0100 From: Erik Trulsson To: CyberLeo Kitsana Message-ID: <20100307090149.GA68656@owl.midgard.homeip.net> References: <4B9367B5.4000704@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B9367B5.4000704@cyberleo.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1NoCN3-0006MA-6G. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1NoCN3-0006MA-6G 9a21297d5b8964538ea3c58611da011e Cc: FreeBSD Questions Subject: Re: Ports overlay X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 09:02:01 -0000 On Sun, Mar 07, 2010 at 02:45:41AM -0600, CyberLeo Kitsana wrote: > Hi! > > By necessity and convenience, I have developed a series of additions and > changes to the ports tree. These changes are probably not worthy of > inclusion into the official tree, so I'm looking to maintain an overlay, > of sorts, in the spirit of Gentoo's overlay capability. > > Is there an official method of hooking changes into a ports tree, while > maintaining the ability to csup or portsnap the unmodified version? How > do others tackle this particular problem? I don't know if there is any "official" method, but the method I use to keep local changes in the ports tree is as follows: I use cvsup to maintain a local copy of the whole repository, and then use cvs to checkout/update the ports tree from that copy of the repository. cvs knows how to detect and keep local changes. The disadvantage of this method is that updating the ports tree will be slower. The advantage is much increased flexibility in maintaining local changes or checking the history of any file. -- Erik Trulsson ertr1013@student.uu.se