Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 13:13:55 +0000
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to patch the kernel?
Message-ID:  <20080104131355.71a5f5bd@gumby.homeunix.com.>
In-Reply-To: <bef9a7920801032206m6e6f0f57m941ecb6733265355@mail.gmail.com>
References:  <5a1835cd0801031653u34943657x76b80c53ec2a0ae1@mail.gmail.com> <20080104050838.6d47a662@gumby.homeunix.com.> <bef9a7920801032206m6e6f0f57m941ecb6733265355@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jan 2008 01:06:42 -0500
"Aryeh Friedman" <aryeh.friedman@gmail.com> wrote:

> On 1/4/08, RW <fbsd06@mlists.homeunix.com> wrote:
> > On Thu, 3 Jan 2008 19:53:18 -0500
> > "Lyle Scott III" <portcitycs@gmail.com> 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.
> >
> > _______________________________________________
> 
> Keep in mind the next time you do a cvsup it will nuke the patch so
> you will have to reapply it... now if you do this often enough you
> might want to consider keeping a local cvs repository that way when
> you update your sources it will not overwrite the patch

or you could just write a three line script that runs cvsup, then
reapplies the patch



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080104131355.71a5f5bd>