From owner-freebsd-questions Wed Apr 25 8: 4:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 3B2A137B424 for ; Wed, 25 Apr 2001 08:04:06 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 73535 invoked by uid 100); 25 Apr 2001 15:04:05 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15078.59237.671721.950828@guru.mired.org> Date: Wed, 25 Apr 2001 10:04:05 -0500 To: "Albert D. Cahalan" Cc: questions@freebsd.org Subject: Re: How Is The FeeBSD OS Like and Different Than Say Redhat or Suse LINUX In-Reply-To: <200104250915.f3P9FcB152869@saturn.cs.uml.edu> References: <15077.30207.8849.168351@guru.mired.org> <200104250915.f3P9FcB152869@saturn.cs.uml.edu> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Albert D. Cahalan types: > Mike Meyer writes: > > Albert D. Cahalan types: > > >> Doesn't this make sense? If you compile a home-grown or self-ported > >> app for FreeBSD, where would you put it? I hope you don't dump it > >> in /usr/local with all the stuff provided by FreeBSD! It looks like > >> you need a /usr/local/local or /usr/local_I_REALLY_MEAN_IT for this. > > > > Yes, but "ports are just pre-ported stuff to make your life simple" is > > the counterargument. Unless you want to treat the two differently, it > > really doesn't make any difference. Since I do want to treat them > > differently (because I can restore packages from the CDROM set), I > > agree with you, and set LOCALBASE= /usr/opt in /etc/make.conf. > > That is a very reasonable place. SysV uses /opt and /usr/opt I guess. Actually, that's why I chose it. If I'd been aware that NetBSD used something different, I would have used what they did instead. Either way, it's something that doesn't have any traditional use dating back to at least 4.0 BSD. > > This does bring up a question - how many Linux package distribution > > systems let you change the installation point if you want to? > How many do not? Slackware maybe? My bad. I should have looked at the man page. > The package has to be created properly to be relocatable. The author > of the control file should use relative paths or paths with variables > in them, as appropriate for the packaging system. I seem to recall > that the RPM format even has a flag to indicate if this has been done. This is actually a good idea, and one that the FreeBSD package system should include. I think I'll suggest it... http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message