From owner-freebsd-hackers Fri Mar 7 14:20:22 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11CD337B401 for ; Fri, 7 Mar 2003 14:20:20 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7352143F75 for ; Fri, 7 Mar 2003 14:20:19 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from dialup-209.244.106.70.dial1.sanjose1.level3.net ([209.244.106.70] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18rQCL-0003Ee-00; Fri, 07 Mar 2003 14:20:14 -0800 Message-ID: <3E691AAC.F7AE8A31@mindspring.com> Date: Fri, 07 Mar 2003 14:18:20 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Brian Reichert Cc: freebsd-hackers@freebsd.org Subject: Re: seeking advice WRT maintaining private FreeBSD ports branch References: <20030307215517.GD41124@numachi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a43c24112485b94454e11edf6918291dd23ca473d225a0f487350badd9bab72f9c350badd9bab72f9c Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian Reichert wrote: > I'm exploring tweaks to various ports, for my private use. Some > of these tweaks can't be addressed via pkgtools.conf or abuse of > environment variables, and instead required actual modifications > to files. [ ... ] > What I want is to somehow preserve my local tweaks, such that they > get reapplied to my working copy upon a checkout. [ ... ] > So, does anyone have any concrete examples of how I can accomplish > this, or at least provide some magic terminology, such that I can > better pursue web research? This doesn't directly answer your question, but it does directly address your problem... Submit your tweaks back to the port maintainer. If they are tweaks to the software the port represents, rather than tweaks to the port, then submit them back to the original author of the software in question, and they will come in through the FreeBSD port that way. I've actually spent a substantial amount of time, on various occasions, going through the patches in the ports tree, and, as long as they don't do something like break the ability of the code to run on non-FreeBSD platforms, cleaned the patches up and submitted them back to the original vendors. Mostly things that don't require a big pipe to download before I can do the work. For example, I've submitted a number of patches to "bind", "MySQL", and so on, this way. I like to do this, because I like to see code compile and run on FreeBSD "out of the box", without having to be filtered through the ports system. If you are building an embedded product, and want to use software for which a port, with patches, exists, then it really sucks to use the port, because you need to include a copy of the software in your local repository, and that's pretty immiscible with the way the ports system works. Sending patches back so that ports are as "vanilla" as possible lets me keep my options open that way. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message