removing base system software, part 2

Roger Merritt mcrogerm at stjohn.ac.th
Sun May 25 21:52:13 PDT 2003


At 09:42 AM 5/26/03, "Matthew Emmerton" <matt at 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



More information about the freebsd-questions mailing list