On Wednesday, 21 April 2010 15:12:13 Joe Friedeggs wrote:
On Thursday, 15 April 2010 15:38:05 Joe Friedeggs wrote:
I need to build a Red Hat rpm for the latest OpenLDAP release. I am looking for spec file, howto page, or anything else that might speed up this project. Any advice/suggestions would be greatly appreciated.
There is also:
Thanks Buchan. I see RPMs of the later OpenLDAP versions are labeled 'openldap2'. Is this just a naming convention change, a work-around done for Red Hat, due to configuration file changes (similar to freeradius' explanation for freeradius2 at http://wiki.freeradius.org/Red_Hat_FAQ#Current_Pre-built_RPM.27s_for_RHEL _5_and_CentOS_5)? If not, what does the '2' designate?
Oops. I see now that is not 'openldap2' but 'openldap2.4'. I see you are now just adding the version in the name? Why the change? Why openldap2.4-2.4.20-1.el5.i386 instead of just openldap-2.4.20-1.el5.i386 (seems redundant)?
Parallel installation of OpenLDAP 2.4 without affecting any other RedHat- provided packages.
Note that on Mandriva (e.g. 2010.0) we ship 2.4 (e.g. openldap- servers-2.4.19-2mdv2010.0.x86_64.rpm) in "main", with newer versions in backports (e.g. openldap-servers-2.4.21-1mdv2010.0.x86_64.rpm) and 2.3 in contrib (e.g. openldap2.3-servers-2.3.43-1mdv2009.0.x86_64.rpm), so people who have upgraded (from a 2.3 server) for who data migration failed for some reason, and who may not have had an ldif backup, to be able to easily retrieve their data.
This also even allows parallel installation of 2.3 and 2.4.
A similar strategy is used by the postgresql package.
This also happened to be quite convenient in supporting systems running RHEL or CentOS.
BTW, note that SRPMS are on Mandriva mirrors, and the spec files etc. are in svn:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/openldap/current/
Regards, Buchan