Re: Installing ports to /usr

2007-11-15 Thread Matt Fioravante
Well I was just comtemplating the idea of setting up a freebsd load at
my workplace. They already run linux and solaris and because of bad
decisions in the past, they mount their afs shares on /usr/local. So I
would have to install ports in /usr or some other prefix.

On Nov 14, 2007 2:38 PM, Lars Eighner [EMAIL PROTECTED] wrote:

 On Wed, 14 Nov 2007, Matt Fioravante wrote:

  Would there be any negative ramifications to installing ports in /usr
  instead of /usr/local? Like could they potentially clobber system
  binaries and other files or is this pretty safe to do?

 I know of a few name conflicts that can occur in certain circumstances (such
 as the system lpr and hplip lpr).  You may be lucky and avoid these.  It is
 also possible that some ports will not find one another or that wrong
 locations may be hard coded --- this should not happen, but there should not
 be any broken ports, unfetchable sources and so forth.

 Such an arrangement would require extreme vigilance, beyond what the ports
 management software can do (if they can be persuaded to work at all in such
 an environment).  I cannot think of a good reason to do what you want to do,
 but you ought to be very clear that somehow there is no other way and be
 prepared for the consequences.

 --
 Lars Eighner
 http://www.larseighner.com/index.html
 8800 N IH35 APT 1191 AUSTIN TX 78753-5266


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-15 Thread Robert Huff

Matt Fioravante writes:

  Well I was just comtemplating the idea of setting up a freebsd
  load at my workplace. They already run linux and solaris and
  because of bad decisions in the past, they mount their afs shares
  on /usr/local. So I would have to install ports in /usr or some
  other prefix.

Nobody's saying you can't put them somewhere else, only that
the specific location /usr (and by extension anywhere that already
has a function under hier) is a Really Bad Idea.



Robert Huff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-15 Thread Philip M. Gollucci
Matt Fioravante wrote:
 Well I was just comtemplating the idea of setting up a freebsd load at
 my workplace. They already run linux and solaris and because of bad
 decisions in the past, they mount their afs shares on /usr/local. So I
 would have to install ports in /usr or some other prefix.
Why repeat past mistakes :) ?

just make /usr and /usr/local on the freebsd box different partitions.
(otional)

Then mount it as
mount -t nfs feebsd-host:/usr/local /usr/local/freebsd

and add /usr/local/freebsd/{sbin,bin} to the $PATH


-- 

Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing ports to /usr

2007-11-14 Thread Matt Fioravante
Would there be any negative ramifications to installing ports in /usr
instead of /usr/local? Like could they potentially clobber system
binaries and other files or is this pretty safe to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-14 Thread Jonathan Chen
On Wed, Nov 14, 2007 at 01:05:39PM -0500, Matt Fioravante wrote:
 Would there be any negative ramifications to installing ports in /usr
 instead of /usr/local? Like could they potentially clobber system
 binaries and other files or is this pretty safe to do?

It's not safe, for the reasons that you have specified.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-14 Thread Jerry McAllister
On Wed, Nov 14, 2007 at 01:05:39PM -0500, Matt Fioravante wrote:

 Would there be any negative ramifications to installing ports in /usr
 instead of /usr/local? Like could they potentially clobber system
 binaries and other files or is this pretty safe to do?

You break the 'standard' file/directory hierarchy.   Even though it is
not supposed to be so, there may be some things out there that make the
assumption that stuff will be found in its standard place.

See   man hier  

jerry

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-14 Thread Josh Carroll
 Would there be any negative ramifications to installing ports in /usr
 instead of /usr/local? Like could they potentially clobber system
 binaries and other files or is this pretty safe to do?

More importantly, why do you want/need to do this? I personally like
the separation of world and ports. It keeps things nice and tidy, and
that's I'm sure a major reason why it was done that way (obviously,
clobbering things in /usr is the main reason).

Josh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports to /usr

2007-11-14 Thread Lars Eighner

On Wed, 14 Nov 2007, Matt Fioravante wrote:


Would there be any negative ramifications to installing ports in /usr
instead of /usr/local? Like could they potentially clobber system
binaries and other files or is this pretty safe to do?


I know of a few name conflicts that can occur in certain circumstances (such
as the system lpr and hplip lpr).  You may be lucky and avoid these.  It is
also possible that some ports will not find one another or that wrong
locations may be hard coded --- this should not happen, but there should not
be any broken ports, unfetchable sources and so forth.

Such an arrangement would require extreme vigilance, beyond what the ports
management software can do (if they can be persuaded to work at all in such
an environment).  I cannot think of a good reason to do what you want to do,
but you ought to be very clear that somehow there is no other way and be
prepared for the consequences.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Installing ports into /usr/pkg

2002-07-22 Thread Eirik Nygaard

Hello...

I am trying to install the ports into /usr/pkg instead of /usr/local, I am setting 
LOCALBASE and PREFIX to /usr/pkg in the /etc/make.conf it installes where I want it 
but when I install a port that depends on a already installed port it does not see 
that it is installed and trys to install it agian, anyone know how I can fix that?

-- 

Eirik Nygaard [EMAIL PROTECTED]
Http://kverka.org/~eirik/
PGP Key: 83C55EDE




msg01137/pgp0.pgp
Description: PGP signature