Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 11:52:06 +0700
From:      Roger Merritt <mcrogerm@stjohn.ac.th>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: removing base system software, part 2
Message-ID:  <5.2.0.9.0.20030526114715.00a544b0@127.0.0.1>
In-Reply-To: <032201c32330$66aaae50$1200a8c0@gsicomp.on.ca>
References:  <200305252244.11802.tsasser@terra.cl>

next in thread | previous in thread | raw e-mail | index | archive | help
At 09:42 AM 5/26/03, "Matthew Emmerton" <matt@gsicomp.on.ca> wrote:
> > hi all,
> >
> > i followed the procedure in the handbook for the make
>buildworld/installworld
> > after editing make.conf.  everything worked fine.
> >
> > however, sendmail is still present on the system, as are other utilities
>like
> > telnet.  disabling them is not a problem;  i want them to be removed
>safely.
> >
> > pkg_* utilities are not used to do this.  i have no packages installed
>except
> > for the man pages ( on top of the base system installation ).  how do i
> > control what the base system installs?
>
>The base system includes lots of things, including sendmail (all version of
>FreeBSD) and perl (FreeBSD 4 and earlier.)  The only way to remove these
>things entirely is to delete them by hand.

Not quite. If you look at /etc/defaults/make.conf, you will find it 
contains a number of lines, commented out, which start with NO_PERL, 
NO_SENDMAIL, etc. You should copy those lines to your etc/make.conf file 
and uncomment the lines for the software packages you do not want 
installed. Then, each time you build world these programs will *not* be 
installed.

Unfortunately, as far as I know, you would have to remove existing programs 
from your system by hand.


-- 
Roger



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