From owner-freebsd-newbies Thu May 31 6:18:51 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from k0r3.reflektor.cz (k0r3.reflektor.cz [212.24.129.54]) by hub.freebsd.org (Postfix) with SMTP id 71D7B37B423 for ; Thu, 31 May 2001 06:18:45 -0700 (PDT) (envelope-from cynic@mail.cz) Received: (qmail 8018 invoked by uid 202); 31 May 2001 13:18:43 -0000 Received: from unknown (HELO zvahlav.mail.cz) (212.24.143.100) by k0r3.reflektor.cz with SMTP; 31 May 2001 13:18:43 -0000 Message-Id: <5.1.0.14.2.20010530191722.01ef1008@mail.cz> X-Sender: cynic@mail.cz X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 31 May 2001 15:26:21 +0200 To: freebsd-newbies@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-newbies@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 (hope I have it right)? Because normally it goes to /usr/local/bin and /usr/local/man/man1/, 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-newbies" in the body of the message