[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP SPEC File



On Thursday 29 March 2007, Tony Earnshaw wrote:
> Aaron Richton wrote, on 28. mar 2007 22:09:
> > Buchan Milne does.
> >
> > http://anorien.csc.warwick.ac.uk/mirrors/buchan/openldap/SRPMS/
> >
> > hmmm, I would expect newer than 2.3.24, maybe he'll chime in on that.
> > .34 should be a drop-in (might have to remove some patches that have
> > been upstreamed) though.
>
> FWIW I've built (and am running in production) 2.3.34 using Buchan's
> 2.3.24 spec as is, out of the box, on RHAS4 by just changing "%define
> version 2.3.34" in the spec:

I've updated the binaries there to what I'm running in production, (i.e. built 
from the SRPM that will ship with Mandriva 2007.1).

> rpmbuild -ba openldap.spec --target i686-linux --without test

Yep, building without tests saves a bit of time, but I keep it there by 
default so automated builds on the Mandriva cluster don't get uploaded if 
they don't pass ...

I now usually skip the tests in most cases, and run them manually on a dev box 
(using the new tests subpackage).

> Buchan has his own philosophy about running OpenLDAP on RHAS/RHEL
> without conflicting with existing Red Hat OpenLDAP stuff, and it is as
> well to gen up on that before beginning any build. My experience is that
> his design is (almost ;)) perfect.

I think I've fixed your syslog issue ... if I haven't, please send me your 
syslo..conf ...

> Also worth pointing out is, that one *has* to get the
> /etc/rpm/macros.mdk4rh rpm macros first, as pointed out in the spec
> file, or the build will barf before beginning.

Maybe it's time to start advocating additional standard macro names 
upstream ... the fact that user addition etc. is macro-fied means that I can 
actually build some of my Red Hat/Mandriva/Fedora packages on Solaris 9 (just 
by writing a new set of compat macros that use the flags in the right order 
for various commands).

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpFKhaQnYiPL.pgp
Description: PGP signature