From owner-freebsd-questions Wed Mar 24 10:30:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 8A3221515C for ; Wed, 24 Mar 1999 10:30:21 -0800 (PST) (envelope-from dkelly@mail.HiWAAY.net) Received: (from dkelly@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) id MAA16885; Wed, 24 Mar 1999 12:30:01 -0600 (CST) Date: Wed, 24 Mar 1999 12:30:01 -0600 (CST) From: David Kelly Message-Id: <199903241830.MAA16885@mail.HiWAAY.net> To: darin@radio-inc.com, questions@FreeBSD.ORG Subject: Re: Question on tar Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Darin Spence" 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