Date: Wed, 13 May 1998 09:30:44 +0930 From: Greg Lehey <grog@lemis.com> To: geoffr@globalserve.net, questions@FreeBSD.ORG Subject: Re: How do I Apply a Patch? Message-ID: <19980513093044.U20153@freebie.lemis.com> In-Reply-To: <3558B23D.CB36CF95@globalserve.net>; from Geoffrey Robinson on Tue, May 12, 1998 at 04:34:06PM -0400 References: <3558B23D.CB36CF95@globalserve.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 May 1998 at 16:34:06 -0400, Geoffrey Robinson wrote: > I've gotten a number of patches over the last few months that I would like > to apply to my server for security reasons. How is this done? Dose the full > FreeBSD source code have to be on the system? You certainly need the source code that you're going to patch. There's a man page which explains how to use it. Typically, change to the directory you want (for the base system, it's /usr/src) and enter # patch -p0 < patchfile 2>&1 | tee patch.log Make sure to keep a log. The stuff flies past too fast to notice any errors, and you often get some kind of error. See "Porting UNIX Software" (O'Reilly) for a more detailled description. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980513093044.U20153>