From owner-freebsd-questions@FreeBSD.ORG Sun May 25 21:52:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8862F37B401 for ; Sun, 25 May 2003 21:52:13 -0700 (PDT) Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B2C043F3F for ; Sun, 25 May 2003 21:52:09 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip.stjohn.ac.th ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with ESMTP id LAA05444 for ; Mon, 26 May 2003 11:50:21 +0700 (ICT) Message-Id: <5.2.0.9.0.20030526114715.00a544b0@127.0.0.1> X-Sender: stjohn.stjohn.ac.th:mcrogerm@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 26 May 2003 11:52:06 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt In-Reply-To: <032201c32330$66aaae50$1200a8c0@gsicomp.on.ca> References: <200305252244.11802.tsasser@terra.cl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: removing base system software, part 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 04:52:13 -0000 At 09:42 AM 5/26/03, "Matthew Emmerton" 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