From owner-freebsd-stable@FreeBSD.ORG Fri Oct 27 07:39:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 880EE16A407 for ; Fri, 27 Oct 2006 07:39:49 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id D641243D7C for ; Fri, 27 Oct 2006 07:39:48 +0000 (GMT) (envelope-from stefan.lambrev@sun-fish.com) Received: from sun-fish.com (localhost.cmotd.com [127.0.0.1]) by sun-fish.com (Postfix) with ESMTP id 27C4638663 for ; Fri, 27 Oct 2006 09:39:46 +0200 (CEST) Received: from [192.168.3.112] (boar.cmotd.com [192.168.3.112]) by sun-fish.com (Postfix) with ESMTP id E05CE38633 for ; Fri, 27 Oct 2006 09:39:45 +0200 (CEST) Message-ID: <4541B7C7.3020600@sun-fish.com> Date: Fri, 27 Oct 2006 10:39:51 +0300 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.7 (X11/20061023) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20061024050431.GA1474@dwpc.dwlabs.ca> <453E662C.6050501@FreeBSD.org> <20061024200409.GE53901@dan.emsphone.com> <20061026100832.GA48810@comp.chem.msu.su> In-Reply-To: <20061026100832.GA48810@comp.chem.msu.su> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV Subject: Standrat way to apply custom patches. WAS [Re: Pleading for commit] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2006 07:39:49 -0000 Hello, While talking about custom patches, what's the best way to apply patches after every cvsup. In my case I'm using custom patches for bktr and network driver nfe from HEAD. As freebsd 6.2 is coming soon and there is work in progress on nfsmb and I would like to test those new features/drivers I cvsup very often and sometimes I forget to apply my custom patches :) The good thing is that all my patches are in kernel sources so pre-compiling kernel after patch solve the problem, but it is nasty when I do this remotely and forget to compile nfe driver ;) I saw few other distributions that have a directory with custom patches that are applied before compilation. What's the FreeBSD way in this direction ? :) Yar Tikhiy wrote: > On Tue, Oct 24, 2006 at 03:04:09PM -0500, Dan Nelson wrote: > >> In the last episode (Oct 24), Doug Barton said: >> >>> Duane Whitty wrote: >>> >>>> Patching it myself after every cvs update is not such a big deal; It >>>> is forgetting to patch it after every update which is a big deal. >>>> >>> Write a little script for yourself that calls cvsup then runs patch >>> so you won't forget. :) >>> >> Or cvsup the CVS repository (instead of using checkout mode), check out >> your working tree from there, and run "cvs update" to update your >> sources, which will preserve local changes. >> > > ... or run a local CVS/SVN/whatever repo and keep your > customized FreeBSD source tree in it and import recent > FreeBSD changes once in a while, as tough guys do... :-) > > Well, returning to the main topic, inability to run Flash > can be a good thing, after all, if your browser doesn't > have a knob to turn the damned thing off. :-) But what > else suffers in an unpatched system? > > -- Best Wishes, Stefan Lambrev ICQ# 24134177