From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 05:30:21 2008 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 5009F16A41A for ; Fri, 4 Jan 2008 05:30:21 +0000 (UTC) (envelope-from fbsd06+R2=a5421b80@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 250B313C442 for ; Fri, 4 Jan 2008 05:30:21 +0000 (UTC) (envelope-from fbsd06+R2=a5421b80@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by turtle-in.mxes.net (Postfix) with ESMTP id 7AEC1164064 for ; Fri, 4 Jan 2008 00:08:43 -0500 (EST) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id AC66723E3AB for ; Fri, 4 Jan 2008 00:08:40 -0500 (EST) Date: Fri, 4 Jan 2008 05:08:38 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080104050838.6d47a662@gumby.homeunix.com.> In-Reply-To: <5a1835cd0801031653u34943657x76b80c53ec2a0ae1@mail.gmail.com> References: <5a1835cd0801031653u34943657x76b80c53ec2a0ae1@mail.gmail.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: How to patch the kernel? 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: Fri, 04 Jan 2008 05:30:21 -0000 On Thu, 3 Jan 2008 19:53:18 -0500 "Lyle Scott III" wrote: > I don't have much experience patching anything, really. > > I was told by the port security/ipsec-tools to patch the kernel if i > wanted to use nat-transversals. > > they provide me with > http://vanhu.free.fr/FreeBSD/patch-natt-freebsd6-2007-05-31.diff, but > I am now sure how to patch up the kernel so I can do a buildworld. > > Any help would be much appreciated. I took a quick read over the > patch manpage, but simply 'patch < file' in /usr/src askes me what > file to patch... Try /usr/src/sys/ instead, that's where the kernel source is.