libexpat confusion

2007-06-12 Thread Jaap Versteegh
Hello, I am running -current and I'm a little confused about expat. It was removed from the ports tree, with message expat comes with OpenBSD as of release 4.2. Indeed I see it is in /usr/src/lib/libexpat. However it is not in /usr/src/lib/Makefile, so it isn't being built. My direct problem

Re: libexpat confusion

2007-06-12 Thread Stuart Henderson
On 2007/06/12 12:33, Jaap Versteegh wrote: My direct problem is building /usr/ports/devel/apr-util, which aparently looks for expat in $X11BASE (/usr/X11R6). Since I don't have X installed this fails. you'll need to install xbase. the libraries from xbase are needed for quite a few things in

Re: libexpat confusion

2007-06-12 Thread Jaap Versteegh
Thank you for your reponse. Furthermore, I don't want to install X and surely apr-util doesn't need to depend on it. it does, because it uses expat, and that's where expat comes from in -current. That explains the need for the 'depend' from the point of view of the apr-util Makefile

Re: libexpat confusion

2007-06-12 Thread Lars Hansson
Jaap Versteegh wrote: For one: this dependency was never neccessary in the past. Because in the past there was an expat port. Shouldn't expat not just go into /usr/lib ? It's part of Xorg and therefore it belong in /usr/X11R6/lib/. And you are right about the fact that other ports depend

Re: libexpat confusion

2007-06-12 Thread Joachim Schipper
On Tue, Jun 12, 2007 at 02:23:06PM +0200, Jaap Versteegh wrote: Furthermore, I don't want to install X and surely apr-util doesn't need to depend on it. it does, because it uses expat, and that's where expat comes from in -current. That explains the need for the 'depend' from the point of

Re: libexpat confusion

2007-06-12 Thread Jaap Versteegh
Lars Hansson wrote: It's part of Xorg and therefore it belong in /usr/X11R6/lib/. Really ? I see it in extra's: http://xorg.freedesktop.org/releases/X11R7.2/src/extras/ I also see perl in there. So should perl go into /usr/X11R6/bin ? Jaap

Re: libexpat confusion

2007-06-12 Thread Jaap Versteegh
Joachim Schipper wrote: Well, OpenBSD's dual system for dealing with software ('base' and 'ports') could be criticized, but unless you want to do that, there is no more sensible way to do this. The alternative would be to require someone to install a port before installing X, which makes even

Re: libexpat confusion

2007-06-12 Thread Marc Espie
We still haven't enabled expat in base/, because it's not audited enough yet... we `trust' it as an X11 library, but no-one has addressed the multiple security issues it may have. Yes, we do know expat is a problem... we finally removed it from ports/ because it makes no sense to build it once.

Re: libexpat confusion

2007-06-12 Thread Adriaan
On 6/12/07, Joachim Schipper [EMAIL PROTECTED] wrote: On Tue, Jun 12, 2007 at 02:23:06PM +0200, Jaap Versteegh wrote: Furthermore, I don't want to install X and surely apr-util doesn't need to depend on it. it does, because it uses expat, and that's where expat comes from in -current.