From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 13:34:09 2004 Return-Path: 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 0376216A4D4 for ; Tue, 27 Jan 2004 13:34:09 -0800 (PST) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by mx1.FreeBSD.org (Postfix) with SMTP id A63F143D46 for ; Tue, 27 Jan 2004 13:33:48 -0800 (PST) (envelope-from ertr1013@student.uu.se) Received: (qmail 81415 invoked by uid 1001); 27 Jan 2004 21:33:17 -0000 Date: Tue, 27 Jan 2004 22:33:17 +0100 From: Erik Trulsson To: Rob Ellis , freebsd-questions@freebsd.org Message-ID: <20040127213316.GA81362@falcon.midgard.homeip.net> Mail-Followup-To: Rob Ellis , freebsd-questions@freebsd.org References: <20040127190516.GP57848@web.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040127190516.GP57848@web.ca> User-Agent: Mutt/1.5.5.1i Subject: Re: Tracking local port hacks? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 21:34:09 -0000 On Tue, Jan 27, 2004 at 02:05:16PM -0500, Rob Ellis wrote: > We sometimes find it necessary to make some small change to > a port before installing it, and need a way to track/merge > these changes as ports are updated. Is there a recommended > way of doing that? > > The cvsup faq (http://www.cvsup.org) suggests that it's > possible to get sources in "cvs mode" and it has some > suggestions for managing a local branch. Is that the best > way to do it? Anyone know how BIG the ports tree is if we > get it via cvsup in "cvs mode"? Using cvsup to maintain a copy of the whole (or part of the) CVS repository, and then using cvs to check out the branch/version you want is certainly one way to do it. Cvs (unlike cvsup) understands local changes and can merge changed files (assuming the changes don't conflict of course, then you have to do some editing by hand.) I don't know if it is the *best* way of doing it, but it is the way I do it and it works fairly well. The ports part of the CVS repository uses around 600MB of disk space. -- Erik Trulsson ertr1013@student.uu.se