diff options
author | Chris Frederick <cdf123@cdf123.net> | 2016-10-24 09:13:18 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-10-24 17:44:54 +0200 |
commit | 548b0d541c8bdd890d7af5eb3094c4a606304c63 (patch) | |
tree | ed277dca01c7f4b04319bfc612b39183b3895d0e /package/postgresql/postgresql.mk | |
parent | 90e38737a699a25f577684742c767375e74683c5 (diff) | |
download | buildroot-548b0d541c8bdd890d7af5eb3094c4a606304c63.tar.gz buildroot-548b0d541c8bdd890d7af5eb3094c4a606304c63.zip |
postgresql: enable ldap support for pg_service.conf
Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap
to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on
Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/postgresql.mk')
-rw-r--r-- | package/postgresql/postgresql.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index e2756bf10d..1b184e71e1 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -57,6 +57,13 @@ POSTGRESQL_DEPENDENCIES += openssl POSTGRESQL_CONF_OPTS += --with-openssl endif +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +POSTGRESQL_DEPENDENCIES += openldap +POSTGRESQL_CONF_OPTS += --with-ldap +else +POSTGRESQL_CONF_OPTS += --without-ldap +endif + define POSTGRESQL_USERS postgres -1 postgres -1 * /var/lib/pgsql /bin/sh - PostgreSQL Server endef |