Date: Wed, 01 Aug 2001 09:37:21 -0700 From: Drew Tomlinson <drewt@writeme.com> To: jim@toxic.magnesium.net Cc: "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.org> Subject: RE: Where Is Source Code Stored? Message-ID: <5CD46247635BD511B6B100A0CC3F023925A02F@ldcmsx01.lc.ca.gov> In-Reply-To: <5CD46247635BD511B6B100A0CC3F0239A97220@ldcmsx01.lc.ca.gov>
index | next in thread | previous in thread | raw e-mail
> -----Original Message----- > From: Jim Mock [mailto:jim@toxic.magnesium.net] > Sent: Tuesday, July 31, 2001 11:05 AM > To: Drew Tomlinson > Cc: FreeBSD Questions (E-mail) > Subject: Re: Where Is Source Code Stored? > > > On Tue, 31 Jul 2001 at 09:06:40 -0700, Drew Tomlinson wrote: > > I'm a little confused. I built a 4.3-R system about 2 > months ago and > > then cvsup'ed the sources and made a custom kernel. I also d'loaded > > the appropriate sources and built a custom version of Apache with > > associated modules. As I remember it, all of my sources were in > > /usr/src, just like the handful of other times I have done this > > similar task. I have not cvsup'ed the sources since (that I > > remember). However, I do cvsup the ports tree nightly. > > > > Today I was reading about the telnetd exploit and attempted to patch > > my system following the instructions on freebsd.org but I could find > > no sources in /usr/src. However, I did find a directory > > /usr/src/usr.sbin. This directory appears to contain all of the > > sources (including the Apache sources) that I used previously. > > > > So I have some questions. Is this correct? > > No, not really. Apache isn't part of the base system, and > isn't in the > source tree. > > > And if not, what is the best way to fix this? Should I just delete > > the whole section and cvsup again? > > That would probably be the best way to do it... > > # rm -rf /usr/src > # cvsup -g -L2 stable-supfile This appears to have worked. Thanks! Drew [snip] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the messagehelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CD46247635BD511B6B100A0CC3F023925A02F>
