Re: How to patch the kernel?

2008-01-04 Thread RW
On Fri, 4 Jan 2008 01:06:42 -0500
Aryeh Friedman [EMAIL PROTECTED] wrote:

 On 1/4/08, RW [EMAIL PROTECTED] wrote:
  On Thu, 3 Jan 2008 19:53:18 -0500
  Lyle Scott III [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to patch the kernel?

2008-01-03 Thread Lyle Scott III
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...

This is on freebsd 6.2-release-p9 BTW.  thanks

-- 
Lyle Scott, III
http://www.lylescott.ws
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to patch the kernel?

2008-01-03 Thread RW
On Thu, 3 Jan 2008 19:53:18 -0500
Lyle Scott III [EMAIL PROTECTED] 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to patch the kernel?

2008-01-03 Thread Aryeh Friedman
On 1/4/08, RW [EMAIL PROTECTED] wrote:
 On Thu, 3 Jan 2008 19:53:18 -0500
 Lyle Scott III [EMAIL PROTECTED] 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... see
develop(8) for some ideas on how to set this up (even though the
source tree layout they suggest is a little weird you just better off
doing cvs -d /home/ncvs update in /usr/src)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]