Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 10:04:05 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "Albert D. Cahalan" <acahalan@cs.uml.edu>
Cc:        questions@freebsd.org
Subject:   Re: How Is The FeeBSD OS Like and Different Than Say Redhat or Suse LINUX
Message-ID:  <15078.59237.671721.950828@guru.mired.org>
In-Reply-To: <200104250915.f3P9FcB152869@saturn.cs.uml.edu>
References:  <15077.30207.8849.168351@guru.mired.org> <200104250915.f3P9FcB152869@saturn.cs.uml.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Albert D. Cahalan <acahalan@cs.uml.edu> types:
> Mike Meyer writes:
> > Albert D. Cahalan <acahalan@cs.uml.edu> 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...

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15078.59237.671721.950828>