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.
Thanks in advance, Joe _________________________________________________________________ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PI...
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:
http://staff.telkomsa.net/packages/rhel5/openldap/
Regards, Buchan
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_... If not, what does the '2' designate?
Joe
Regards, Buchan
_________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
On Wed, Apr 21, 2010 at 10:04 AM, Joe Friedeggs friedeggs44@hotmail.comwrote:
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_... )? If not, what does the '2' designate?
Joe
Regards, Buchan
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
More then likely the '2' is just a way of resolving name collisions. If you work with RPM for a while your realize that slight variations in distributions "messes" with the portability of a package.
For example, I was looking for a gnome-applet that I only found a Mandriva RPM for. In RPM speak it makes sense to have a GUI-APPLET depend on x-windows. So the author put something like "depends: free-86". Now on redhat the x11 packes are called "X11" . Really this is a generic dependency it does not link to or compile off xwindows, put reasonably you could not use it without xwindows. My rpm manager was asking me to install things I already had, but it just did not know about.
So really the things inside an RPM are usually much more portable then the depends: definitions. As for the RPM you found. There are likely many things that have run time depends on the openldap client. If this new package was named openldap it would collide with the distribution openldap. So the author probably gave it a different name so it is a separate entity. System stuff compiled against openldap use the distribution version in /usr , but the openldap server installed in /opt/whatever or /usr/lib/whatever is a separate entity (even though they may be compatible). Makse sense? :)
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_... 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)?
Thanks, Joe
Regards, Buchan
The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
_________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
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
Hi, I'm quite sure that Buchan chose to not incur in conflicts with openldap package provided by RH. If the package was called the same as the RH one, you could be in trouble in trying to install/upgrade your system.
Me too I'm using Buchan's package and initially found this approach counter-intuitive, but it was only at the beginning... :-)
Regards Marco
On Wed, Apr 21, 2010 at 4:12 PM, Joe Friedeggs friedeggs44@hotmail.comwrote:
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_... )?
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)?
Thanks, Joe
Regards, Buchan
The New Busy is not the old busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
openldap-technical@openldap.org