From owner-freebsd-questions Thu May 31 10:46:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id A1F5F37B43E for ; Thu, 31 May 2001 10:46:54 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 13043 invoked by uid 202); 31 May 2001 17:46:52 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 31 May 2001 17:46:52 -0000 Message-Id: <5.1.0.14.2.20010531195121.00b49db8@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 31 May 2001 19:54:27 +0200 To: freebsd-questions@freebsd.org From: Cynic Subject: install locations of packages Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message