Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132263

Summary: openldap 2.3.21 does not install optional overlays
Product: Gentoo Linux Reporter: Chris Covington <chris.covington>
Component: New packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 2.3.21 ppolicy patch (openldap ITS#4434)

Description Chris Covington 2006-05-04 09:08:05 UTC
Hello,

I would like to install the translucent overlay for openldap 2.3.21 but there are no use flags to build the optional overlays located in the source tarball under openldap-2.3.21/servers/slapd/overlays/.  I looked in the source tarball and ran ./configure --help and noted the --enable-translucent option.  I had to manually edit the ebuild and add --enable-translucent.

Is there a better way to do this?

Chris
Comment 1 Chris Covington 2006-05-04 11:32:23 UTC
Perhaps all the additional overlays can be added with an overlays USE flag?  To do this compile with --enable-overlays.  Then the end user can activate any overlay that comes with openldap in their slapd.conf.  That way we also wouldn't need a bug filed for each invidual overlay.

Chris
Comment 2 Dean Baender 2006-05-05 01:00:28 UTC
Created attachment 86188 [details, diff]
2.3.21 ppolicy patch (openldap ITS#4434)

When compiled with --enable-overlays and USE=test openldap-2.3.21 fails test022-ppolicy.  This patch from CVS HEAD fixes it.

http://www.openldap.org/lists/openldap-bugs/200604/msg00015.html
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-05-06 04:25:47 UTC
Tested it here and works fine for me -> added as 2.3.21-r1 to cvs.

we have now USE="overlays"

Thanks for providing the patch :)
Comment 4 Chris Covington 2006-05-06 08:07:51 UTC
Thanks a lot guys!

Chris
Comment 5 Dean Baender 2006-05-15 17:48:41 UTC
Chris: Thanks for getting this included.

And an off-topic question for you... Maintaining my patches against current portage is starting to drive me nuts.  Do you have any pointers or portage specific links that would help me setup a RCS (or svn, bzr, etc...) system?

Thanks,
-dean