[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /usr/local/lib file placement



On Tue, Nov 17, 1998 at 02:02:05PM -0700, Theo de Raadt wrote:
> Because not everything gets moved.

> You cannot realistically expect the ports maintainers to move every single
> file for every package they maintain...

What you can do though is 

write some Makefile improvements and submit them to the ports.

You can realistically expect that we won't look down on obvious
improvements.

> > I was looking at what/where the ssh/samba ports dropped files and was not
> > happy with cruft being stuffed into /usr/local/lib. This directory is
> > reserved for libraries (or pseudo libraries) is it not?

> > ssh/samba stuff example files in there. They should instead be in
> > /usr/local/share[/examples] right? I *can* grok tcl8.0 putting files in
> > ./lib just as a counter example. Anyone else feel the same way?

> > Oh, also can anyone elaborate on why we don't use /usr/local/etc for those
> > 3rd party daemons, especially those from the ports collection? Shouldn't
> > there be a Chinese wall between true system stuff and add-ons?

>>  Matthew Patton, 1LT USAF     Webmaster, Resource Analysis

You can't ever have a complete Chinese wall, especially as this is not true
from the point of view of the running system.

In general, ports stuff is not as heavily tested as the main tree.
Anything that needs root rights to run  must be considered carefully.
If you drop everything into /usr/local/etc, you give the false impression
`oh, it's usr/local stuff, it's not important'.

Deadly, from a security point of the view.

I believe that, the official standpoint is that 

we don't ever alter /etc automatically,

people who want /usr/local/ stuff have to run them.
X11 status is somewhere `in the middle'. It's a convenience, but it's
not a part of the packaging system itself.

There are still a few kinks to be worked out.
You're welcome to try, provided you make constructive suggestions...
patches to the current ports Makefiles would be appreciated.

Oops, realize that the above could be construed as meaning I'm in charge.
I'm not, this is just my interpretation of what I believe the current spirit
of the OpenBSD ports to be.
-- 
	Marc Espie		
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'