From owner-freebsd-ports Wed Mar 22 10: 9:39 2000 Delivered-To: freebsd-ports@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 5183537BE08 for ; Wed, 22 Mar 2000 10:09:36 -0800 (PST) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel1.hp.com (Postfix) with ESMTP id C2DA5246; Wed, 22 Mar 2000 10:09:32 -0800 (PST) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0.1) id KAA18160; Wed, 22 Mar 2000 10:09:30 -0800 (PST) Message-ID: <38D90C5A.150A6548@cup.hp.com> Date: Wed, 22 Mar 2000 10:09:30 -0800 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Jose M. Alcaide" Cc: Joao Paulo Campello , ports@FreeBSD.ORG Subject: Re: FreeBSD Port: linux_base6.1 References: <38D7BE98.173C0FB9@cup.hp.com> <38D8B2D5.5005198E@we.lc.ehu.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Jose M. Alcaide" wrote: > > Just after finding that /compat/linux/bin/tar was missing, I was > somewhat upset: why tar is not included in linux_base? It's basic, > after all! But then I realized that we cannot include everything > in linux_base. Of course, we could discuss what utilities should be > included, and what shouldn't, but I doubt we could eventually agree. > Conclusion: let's Marcel decide! :-) Ahem :-) The tar(1) command isn't in linux_base because our tar(1) is sufficiently compliant. Unfortunately tar(1) is referenced with an absolute path in this case... > After installing Matlab, I have a question. What is the best procedure > for adding a RPM package to /compat/linux? I used rpm-2.5.6 to install > tar in this way: > > mkdir /compat/linux/var/tmp > rpm -U --ignoreos --root /compat/linux --dbpath /var/lib/rpm --nodeps --replacepkgs tar-1.13.11-1.i386.rpm > rmdir /compat/linux/var/tmp [just to leave things as before] > > I figured the options reading the linux_base's Makefile. Anyway, > this is somewhat tricky... Is there a better (i.e., easier) solution? > (for example, using /compat/linux/bin/rpm...) I think this is the safest for now, because linux_base-6.1 installs rpm 3.x which, guess what, has a backward incompatible database format. If you use the Linux rpm, the database will be converted and from that moment on you can only use the Linux rpm. After we have upgraded our rpm port, I'd say that using the Linux rpm is more easy (``rpm -i tar-1.13.11-1.i386.rpm'' would probably be enough)... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message