Date: Wed, 24 Mar 1999 12:30:01 -0600 (CST) From: David Kelly <dkelly@mail.HiWAAY.net> To: darin@radio-inc.com, questions@FreeBSD.ORG Subject: Re: Question on tar Message-ID: <199903241830.MAA16885@mail.HiWAAY.net>
next in thread | raw e-mail | index | archive | help
"Darin Spence" <darin@radio-inc.com> writes: > > I just downloaded Samba 2.0.3 (samba.tar) and need to extract it to > /usr/ports/net/samba over the old 2.0.2 version that is in that directory. > How should I go about this? > > Should I delete the 2.0.2 stuff out of there first? When I ran tar -xvf > samba.tar it put everything in my home directory inside of > usr/home/darin/pub/FreeBSD/FreeBSD-current/ports/net/samba/ > > How can I get it all into the /usr/ports/net/samba directory? You are doing it wrong. Put the samba-2.0.3.tar.gz file in /usr/ports/distfiles/. Just to be safe you should make copies of your samba config files. Then use pkg_delete to remove the old installation. Then "cd /usr/ports/net/samba" and do "make clean" to clean up the prior mess. "make install" will build and install samba using the file you moved to /usr/ports/distfiles/. Its actually easier not to download the file and move it to distfiles, "make install" will download it for you if it doesn't exist. If your ports collection is not up to date then start learning about CTM and/or CVS and/or cvsup. As the latest Samba sources will do little good if you don't have the matching port files. I've skipped the part about merging old and new config files, and killing the old samba, and starting the new. -- David Kelly N4HHE, dkelly@hiwaay.net (hm) ====================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. 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?199903241830.MAA16885>