From owner-freebsd-questions Sun Mar 12 13:59:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web613.mail.yahoo.com (web613.mail.yahoo.com [216.115.104.82]) by hub.freebsd.org (Postfix) with SMTP id E3E6E37B511 for ; Sun, 12 Mar 2000 13:59:39 -0800 (PST) (envelope-from dennisjun@yahoo.com) Message-ID: <20000312215939.538.qmail@web613.mail.yahoo.com> Received: from [24.114.163.66] by web613.mail.yahoo.com; Sun, 12 Mar 2000 13:59:39 PST Date: Sun, 12 Mar 2000 13:59:39 -0800 (PST) From: Dennis Jun Subject: Re: Uninstalling ports COMPLETELY To: jim@luna.cdrom.com Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thank you for such a quick reply. It was very helpful and answered my question. I also wanted to double check with you, when I do install a port, does it usually make any modifications to scripts files or does it only download, compile, and copy binaries? I'm sorry if I'm asking the same question again but I recently installed ssh2 and in the book "The Complete FreeBSD", Greg Lehey says to add the command "/usr/local/sbin/sshd" to my /etc/rc.local file. Which would be fine but I don't have an rc.local. But for some reason at the time, I rebooted the box not creating that file, but the ssh daemon started. I'm wondering if during the install if the port edited some other script file I don't know bout (because I don't see it in /etc/defaults/rc.conf) or it was already enabled in some other script file. On a sort of related note, how do i restart the /etc/rc.conf file? or any of the rc files? Because, I remember editing that file and I wanted to see if it would work ok but I had to reboot everytime I did it because I didn't know any better (like in Windoze). Much thanx in advance. --- Jim Mock wrote: > On Sun, 12 Mar 2000 at 12:09:34 -0800, Dennis Jun wrote: > [snip..] > > So again, I just wanna know, if I have removed all traces of that > > program being ever on my system by doing a "make deinstall" and > > erasing the "work" directory in that specfic port. > > Yes, as long as nothing is missing from the port's PLIST. If you get a > 'unable to remove blah' message when removing the port, then either > a) something was modified (config file, whatever), or b) something was > installed that wasn't in the PLIST (this doesn't happen all that often, > but it does occasionally). If that's the case, just remove the files > and directory it's telling you it can't remove. > > FYI, you can clean the port's work directory by using > 'make deinstall clean' instead of just 'make deinstall'. If you'd like > to get rid of the source tarball in /usr/ports/distfiles as well, you > can use 'make deinstall distclean' which will remove the work directory > and the tarball. > > - jim > > -- > - jim mock - walnut creek cdrom/freebsd test labs - jim@luna.cdrom.com - > - phone: 1.925.691.2800 x.3814 - fax: 1.925.674.0821 - jim@FreeBSD.org - > - editor - The FreeBSDzine - www.freebsdzine.org - jim@freebsdzine.org - ===== PGP public key: http://i.am/dennisjun/ or ldap://certserver.pgp.com/ _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message