From owner-freebsd-questions Thu May 31 11: 3:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id 982DC37B423 for ; Thu, 31 May 2001 11:03:45 -0700 (PDT) (envelope-from jmcoopr@webmail.bmi.net) Received: from smtp.bmi.net (dsl-154.bmi.net [207.173.60.230]) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with SMTP id LAA12556; Thu, 31 May 2001 11:03:39 -0700 Date: Thu, 31 May 2001 11:03:41 -0700 From: John Merryweather Cooper To: Cynic Cc: freebsd-questions@FreeBSD.ORG Subject: Re: install locations of packages Message-ID: <20010531110341.C23522@johncoop> Reply-To: FreeBSD-QUESTIONS References: <5.1.0.14.2.20010531195121.00b49db8@mail.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <5.1.0.14.2.20010531195121.00b49db8@mail.cz>; from cynic@mail.cz on Thu, May 31, 2001 at 10:54:27 -0700 X-Mailer: Balsa 1.1.4 Lines: 45 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2001.05.31 10:54 Cynic wrote: > Hi there, > > I've installed FreeBSD 4.3, and added bash and tcsh (btw, > /stand/sysinstall didn't mark tcsh as installed though it > was). These got installed to /usr/local/bin/, but I'd > rather have them in /bin/. I could just move them, but > then I won't be able to remove them. I have had a look at > /var/db/pkg/, and it looks like the locations are hashed > with MD5. Will it be enough to edit the + with the > new locations _and_ new hashes, or is the integrity > checked elsewhere? As I said, I want to be able to remove > the packages with pkg_delete(1). > > Better yet -- where will the man page get installed if I > install e. g. bash with # pkg_add -p / bash-2.05.tgz ? > Because normally it goes to /usr/local/bin and > /usr/local/man/man1/ (hope I have the locations right, no > freebsd system around here), while I want it in /bin/ and > /usr/share/man/man1/. I guess I'll have to edit the install > script, right? > > TIA > > > > cynic@mail.cz > ------------- > And the eyes of them both were opened and they saw that their files > were world readable and writable, so they chmoded 600 their files. > - Book of Installation chapt 3 sec 7 > > Upon reading the documentation for the tcsh port, you'll discover that all it does is create a symlink to csh (which is really tcsh). Your hacking is thus unnecessary. jmc P.S. Please excuse the duplicates (if any). After working just fine for quite awhile, something screwy has decided to happen with my sendmail. :) jmc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message