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

Bug 276383

Summary: emerge net-nds/openldap-2.3.43 with USE="odbc"
Product: Gentoo Linux Reporter: Sergey Popov <pinkbyte>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Modified ebuild with back-sql support

Description Sergey Popov gentoo-dev 2009-07-03 17:09:06 UTC
When emerging "net-nds/openldap" with USE="odbc", it must enable support of 'database sql' statement in /etc/openldap/slapd.conf, but it does not!!!

Reproducable: Always

Steps to reproduce:
1. USE="odbc" emerge openldap
2. set CORRECT 'database sql' statement in /etc/openldap/slapd.conf
3. /etc/init.d/slapd restart

What happens: 
Unrecognized database type (sql)

What i expected:
Normal start of OpenLDAP with support of back-sql

When i see ebuild, i discovered that key --enable-sql do no added to configure option, but --enable-sql=mod does. I change ebuild to make this option being set ALWAYS(as for me, it is normal solution).

I attached modified ebuild for openldap 2.3.43

P.S. Sorry for bad english
Comment 1 Sergey Popov gentoo-dev 2009-07-03 17:10:04 UTC
Created attachment 196524 [details]
Modified ebuild with back-sql support
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-04 09:18:13 UTC
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-07-28 19:30:34 UTC
Please retest 2.4.17-r1. Reopen this bug if there's a problem still.