Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198434 - dev-db/postgresql - add ldap use flag
Summary: dev-db/postgresql - add ldap use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-08 08:18 UTC by Radoslaw Kojdecki
Modified: 2008-06-07 20:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radoslaw Kojdecki 2007-11-08 08:18:06 UTC
Please add LDAP flag to dev-db/postgresql-8.2.4-r1 package. It compiles perfectly and works but isn't in default ebuild.

Reproducible: Always

Actual Results:  
LDAP flag isn't supported

Expected Results:  
If "LDAP" USE-flag is set ebuild should compile package with "--with-ldap" flag
Comment 1 Radoslaw Kojdecki 2008-03-19 03:30:44 UTC
Could You add the flag ?? I have just "emerge world" and of course I've lost my "ldap" flag :(

My proposal is :

--- postgresql-8.2.6.ebuild     2008-01-13 02:44:21.000000000 +0100
+++ /root/postgresql-8.2.6.ebuild       2008-03-19 04:20:58.000000000 +0100
@@ -11,7 +11,7 @@
 SRC_URI="mirror://postgresql/source/v${PV}/${PN}-${PV}.tar.bz2"
 LICENSE="POSTGRESQL"
 SLOT="0"
-IUSE="doc kerberos kernel_linux nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib"
+IUSE="doc kerberos kernel_linux nls pam perl pg-intdatetime python readline selinux ssl tcl test xml zlib ldap"
 
 RDEPEND="~dev-db/libpq-${PV}
                >=sys-libs/ncurses-5.2
@@ -24,7 +24,8 @@
                ssl? ( >=dev-libs/openssl-0.9.6-r1 )
                tcl? ( >=dev-lang/tcl-8 )
                xml? ( dev-libs/libxml2 dev-libs/libxslt )
-               zlib? ( >=sys-libs/zlib-1.1.3 )"
+               zlib? ( >=sys-libs/zlib-1.1.3 )
+               ldap? ( net-nds/openldap )"
 DEPEND="${RDEPEND}
                sys-devel/autoconf
                >=sys-devel/bison-1.875
@@ -91,6 +92,7 @@
                --enable-depend \
                $(use_with kerberos krb5) \
                $(use_enable nls ) \
+               $(use_with ldap) \
                $(use_with pam) \
                $(use_with perl) \
                $(use_enable pg-intdatetime integer-datetimes ) \
Comment 2 Kamil Kisiel 2008-04-16 00:55:43 UTC
I've applied this locally to my 8.3.1 ebuild and it works fine for me. What's holding back the inclusion?
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 20:37:32 UTC
Done in dev-db/postgresql-base-8.{2,3}