Re: People running with LOCALBASE set to something other than /usr/local?
On Wed, Aug 23, 2000 at 10:54:44PM -0700, Satoshi - Ports Wraith - Asami wrote: However, note that you need to move LOCALBASE and X11BASE for *all* ports, not one. (For instance, you can't expect an emacs-lisp package to install correctly if you just try to move it while emacs is still in /usr/local.) Set LOCALBASE and X11BASE in /etc/make.conf and rebuild everything, including X. On the subject of rebuilding everything, is there a tool that will build a dependency-ordered list of all of the ports that are currently installed (or at least the current version of them)? I've been thinking that it would be a nice housekeeping proceedure every so often to move /usr/local aside, and rebuild all of the ports that I use, after a successful build of world and kernel. At least that would help to keep track of things that I've gratuitously added to /usr/local, outside of the ports mechanism. -- Andrew To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Thu 2000-08-24 (20:52), Andrew Reilly wrote: On Wed, Aug 23, 2000 at 10:54:44PM -0700, Satoshi - Ports Wraith - Asami wrote: However, note that you need to move LOCALBASE and X11BASE for *all* ports, not one. (For instance, you can't expect an emacs-lisp package to install correctly if you just try to move it while emacs is still in /usr/local.) Set LOCALBASE and X11BASE in /etc/make.conf and rebuild everything, including X. At least that would help to keep track of things that I've gratuitously added to /usr/local, outside of the ports mechanism. Try /usr/ports/Tools/scripts/consistency-check Neil -- Neil Blakey-Milner Sunesi Clinical Systems [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Satoshi - Ports Wraith - Asami writes: * From: Kris Kennaway [EMAIL PROTECTED] * On Wed, 23 Aug 2000, Mike Meyer wrote: * How does it decide whether or not a package conforms? * Probably by looking for files which get installed in /usr/local or * /usr/X11R6 instead of ${LOCALBASE} or ${X11BASE} :-) Actually, it's easier than that -- just do a "make package". If files go to anyplace else than ${PREFIX}, pkg_create will fail. :) However, note that you need to move LOCALBASE and X11BASE for *all* ports, not one. (For instance, you can't expect an emacs-lisp package to install correctly if you just try to move it while emacs is still in /usr/local.) Set LOCALBASE and X11BASE in /etc/make.conf and rebuild everything, including X. There's a test that's almost that simple that works even if you haven't moved PREFIX for all ports. Since the pkg +CONTENTS list is derived from PREFIX and the PLIST, "make install" followed by "make deinstall" will complain about not being able to delete files that weren't installed in the proper place. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
In message [EMAIL PROTECTED] Sheldon Hearn writes: : On Wed, 23 Aug 2000 13:36:56 +0100, Konstantin Chuguev wrote: : : Just wondering: what is the reason of using /opt instead of /usr/local, : apart from Solaris influence? Do you use /usr/local for anything? : : NetBSD uses /usr/opt . It's a matter of taste. :-) NetBSD uses /usr/pkg. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
In message [EMAIL PROTECTED] "David O'Brien" writes: : Yes, local stuff. IMHO, the Ports Collection using /usr/local was the : biggest mistake of it. The ports collection should have used /usr/pkg/ : as NetBSD does. I have to create /usr/truely-local on my FreeBSD : machines. But the ports collection predated NetBSD's use of /usr/pkg... I have a /local for things that must be local to the machine and /usr/local NFS mounted in one lab. In the other, I don't worry about it and have /usr/local and /packages. In a third I have /usr/local and no central package area. The only thing that seems different is the order of my path variable :-) Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
In list.freebsd-current Warner Losh [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED] Sheldon Hearn writes: : On Wed, 23 Aug 2000 13:36:56 +0100, Konstantin Chuguev wrote: : : Just wondering: what is the reason of using /opt instead of /usr/local, : apart from Solaris influence? Do you use /usr/local for anything? : : NetBSD uses /usr/opt . It's a matter of taste. :-) NetBSD uses /usr/pkg. Just as a side note (I'm not a comitter)... At the university we use /rzdist/FreeBSD for historical reasons. That directory is distributed via rdist to several servers, and then exported via NFS to clients. Of course, there's also /rzdist/linux and others. /usr/local is only used for "real" locally installed software. It is true that there are quite a lot of ports that don't support PREFIXes different from /usr/local correctly. I know, I should have send-pr'ed all of them, but that would have taken me several days... I promise to do it next time I stumble across some, I promise. :-) Even more off-topic: On our Solaris boxes, we use /opt for external packages (such as those that come from Sun itself, like the compiler suite SUNWspro), and we use /usr/local for software that we install ourself manually, i.e. not from a ready-made package. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:[EMAIL PROTECTED]) Addresses will change soon!! If in doubt: www.fromme.com "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Satoshi - Ports Wraith - Asami writes: * However, I was wondering if there was anyone who could fix things that * weren't PREFIX clean who would also find them on a regular * basis. That's not you. I can help you when the new package building cluster (being put together by Paul Saab at the moment) comes up for service. I'll run some builds with LOCALBASE and X11BASE set to someplace other than the default and flag all ports that don't conform. I couldn't do that for a while since I didn't have enough computing power -- the machines were maxed out just squeezing out the weekly (and sometimes biweekly) set of packages. Random though.. this stuff sounds like a good use for snapshots! I.e., snapshot before "make install" and then figure out what got installed by decoding the snapshot file, or something like that. -Archie ___ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
However, I was wondering if there was anyone who could fix things that weren't PREFIX clean who would also find them on a regular basis. That's not you. There is a non-trivial Perl5 LOCALBASE problem that I'm trying to get my head around. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Mark Murray writes: However, I was wondering if there was anyone who could fix things that weren't PREFIX clean who would also find them on a regular basis. That's not you. There is a non-trivial Perl5 LOCALBASE problem that I'm trying to get my head around. If this is the problem with perl modules installing in /usr/local no matter where LOCALBASE points, I reported it at one point. Non-trivial is an understatement. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Mark Murray writes: However, I was wondering if there was anyone who could fix things that weren't PREFIX clean who would also find them on a regular basis. That's not you. There is a non-trivial Perl5 LOCALBASE problem that I'm trying to get my head around. I'm actually discussing one of the PR's related to this now, and had a thought. Is it possible to specify an installation directory in the perl module installation process? If so, then the bsd.port.mk mechanism needs to be tweaked to use that to set things to LOCALBASE (well, PREFIX), and the perl build should add $(LOCALBASE)/lib/5.6.0 to the search path for modules. Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Wed, Aug 23, 2000 at 01:01:59AM -0500, Mike Meyer wrote: Um - why? If you removed the setting of LOCALBASE in that case, you wouldn't change the disk layout at all. I prefer installed executables, data files, and man pages to refer to /opt. Duh. However, I was wondering if there was anyone who could fix things that weren't PREFIX clean who would also find them on a regular basis. That's not you. Sorry to disappoint you. Patches are welcome. -- Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
"Jacques A. Vidrine" wrote: On Wed, Aug 23, 2000 at 01:01:59AM -0500, Mike Meyer wrote: Um - why? If you removed the setting of LOCALBASE in that case, you wouldn't change the disk layout at all. I prefer installed executables, data files, and man pages to refer to /opt. Duh. Just wondering: what is the reason of using /opt instead of /usr/local, apart from Solaris influence? Do you use /usr/local for anything? -- * *Konstantin Chuguev - Application Engineer * * Francis House, 112 Hills Road * Cambridge CB2 1PQ, United Kingdom D A N T E WWW:http://www.dante.net To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Wed, 23 Aug 2000 13:36:56 +0100, Konstantin Chuguev wrote: Just wondering: what is the reason of using /opt instead of /usr/local, apart from Solaris influence? Do you use /usr/local for anything? NetBSD uses /usr/opt . It's a matter of taste. :-) Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Wed, Aug 23, 2000 at 01:36:56PM +0100, Konstantin Chuguev wrote: Just wondering: what is the reason of using /opt instead of /usr/local, apart from Solaris influence? No Solaris influence, actually. Just strlen("/opt") strlen("/usr/local"). It looks nicer to me. Secondarily to see if a ports behaves when ${LOCALBASE} != /usr/local. Do you use /usr/local for anything? Nope. -- Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Wed, Aug 23, 2000 at 01:36:56PM +0100, Konstantin Chuguev wrote: Do you use /usr/local for anything? Yes, local stuff. IMHO, the Ports Collection using /usr/local was the biggest mistake of it. The ports collection should have used /usr/pkg/ as NetBSD does. I have to create /usr/truely-local on my FreeBSD machines. -- -- David ([EMAIL PROTECTED]) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Konstantin Chuguev writes: "Jacques A. Vidrine" wrote: On Wed, Aug 23, 2000 at 01:01:59AM -0500, Mike Meyer wrote: Um - why? If you removed the setting of LOCALBASE in that case, you wouldn't change the disk layout at all. I prefer installed executables, data files, and man pages to refer to /opt. Duh. Ok, that makes sense. I overlooked the man pages. Just wondering: what is the reason of using /opt instead of /usr/local, apart from Solaris influence? Do you use /usr/local for anything? I use /usr/opt instead of /opt. I use /usr/local for things that are local additions to the system, as opposed to things that are gotten through freebsd. They have different update backup policies, which is why they were separated. Ports got moved instead of local because ports has a mechanism for moving them, whereas local things may or may not have that. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Out of the ether, David O'Brien spewed forth the following bitstream: On Wed, Aug 23, 2000 at 01:36:56PM +0100, Konstantin Chuguev wrote: Do you use /usr/local for anything? Yes, local stuff. IMHO, the Ports Collection using /usr/local was the biggest mistake of it. The ports collection should have used /usr/pkg/ as NetBSD does. I have to create /usr/truely-local on my FreeBSD machines. Amen. I would strongly recommend that the "/usr/local" use of ports be re-aimed at something else. "/usr/local" should be the pristine ownership of the LOCAL admin. AlanC {BSD/OS uses /usr/contrib, but that ain't the same thing} To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
* From: Mike Meyer [EMAIL PROTECTED] * However, I was wondering if there was anyone who could fix things that * weren't PREFIX clean who would also find them on a regular * basis. That's not you. I can help you when the new package building cluster (being put together by Paul Saab at the moment) comes up for service. I'll run some builds with LOCALBASE and X11BASE set to someplace other than the default and flag all ports that don't conform. I couldn't do that for a while since I didn't have enough computing power -- the machines were maxed out just squeezing out the weekly (and sometimes biweekly) set of packages. Satoshi To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Satoshi - Ports Wraith - Asami writes: * From: Mike Meyer [EMAIL PROTECTED] * However, I was wondering if there was anyone who could fix things that * weren't PREFIX clean who would also find them on a regular * basis. That's not you. I can help you when the new package building cluster (being put together by Paul Saab at the moment) comes up for service. I'll run some builds with LOCALBASE and X11BASE set to someplace other than the default and flag all ports that don't conform. How does it decide whether or not a package conforms? I'm willing to help if you want to divide this task up. Just let me know what I can do to help. mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than/usr/local?
On Wed, 23 Aug 2000, Mike Meyer wrote: How does it decide whether or not a package conforms? Probably by looking for files which get installed in /usr/local or /usr/X11R6 instead of ${LOCALBASE} or ${X11BASE} :-) Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
* From: Kris Kennaway [EMAIL PROTECTED] * On Wed, 23 Aug 2000, Mike Meyer wrote: * * How does it decide whether or not a package conforms? * * Probably by looking for files which get installed in /usr/local or * /usr/X11R6 instead of ${LOCALBASE} or ${X11BASE} :-) Actually, it's easier than that -- just do a "make package". If files go to anyplace else than ${PREFIX}, pkg_create will fail. :) However, note that you need to move LOCALBASE and X11BASE for *all* ports, not one. (For instance, you can't expect an emacs-lisp package to install correctly if you just try to move it while emacs is still in /usr/local.) Set LOCALBASE and X11BASE in /etc/make.conf and rebuild everything, including X. Satoshi To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
On Mon, Aug 21, 2000 at 11:59:26PM -0500, Mike Meyer wrote: I'm curious - are there any committers who regularly use a system with LOCALBASE set to something other than /usr/local? I have LOCALBASE=/opt for a couple of years now. OTOH, I also have a symlink from /usr/local - /opt due to a small but significant number of ports that are not PREFIX clean. -- Jacques Vidrine / [EMAIL PROTECTED] / [EMAIL PROTECTED] / [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: People running with LOCALBASE set to something other than /usr/local?
Jacques A. Vidrine writes: On Mon, Aug 21, 2000 at 11:59:26PM -0500, Mike Meyer wrote: I'm curious - are there any committers who regularly use a system with LOCALBASE set to something other than /usr/local? I have LOCALBASE=/opt for a couple of years now. OTOH, I also have a symlink from /usr/local - /opt due to a small but significant number of ports that are not PREFIX clean. Um - why? If you removed the setting of LOCALBASE in that case, you wouldn't change the disk layout at all. However, I was wondering if there was anyone who could fix things that weren't PREFIX clean who would also find them on a regular basis. That's not you. Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
People running with LOCALBASE set to something other than /usr/local?
I'm curious - are there any committers who regularly use a system with LOCALBASE set to something other than /usr/local? Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message