Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 11:05:01 -0700
From:      Jim Mock <jim@toxic.magnesium.net>
To:        Drew Tomlinson <drewt@writeme.com>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.org>
Subject:   Re: Where Is Source Code Stored?
Message-ID:  <20010731110501.B88762@cartman.geekhouse.net>
In-Reply-To: <5CD46247635BD511B6B100A0CC3F023925A02C@ldcmsx01.lc.ca.gov>
References:  <5CD46247635BD511B6B100A0CC3F023925A02C@ldcmsx01.lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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

> If I cvsup again, do I need to rebuild my world and kernel instead of
> just installing the patch?

No, but it probably wouldn't hurt.

> And finally, any speculation on how I might have gotten things out of
> whack?

No idea :-)

- jim

-- 
- jim mock <jim@toxic.magnesium.net>     tech writer | iXsystems, Inc. -
- http://soupnazi.org/       work: jim@ixsystems.net | jim@FreeBSD.org -

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?20010731110501.B88762>