Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] postgresql: enable ldap support for pg_service.conf
Date: Thu, 20 Oct 2016 21:47:55 +0200	[thread overview]
Message-ID: <20161020214755.5e27504b@gmx.net> (raw)
In-Reply-To: <1476893310-25852-2-git-send-email-cdf123@cdf123.net>

Hello Chris,

On Wed, 19 Oct 2016 11:08:30 -0500, Chris Frederick <cdf123@cdf123.net> wrote:

> 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>
> ---
>  package/postgresql/postgresql.mk | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
> index 7179bbe..ab615d0 100644
> --- a/package/postgresql/postgresql.mk
> +++ b/package/postgresql/postgresql.mk
> @@ -57,6 +57,11 @@ POSTGRESQL_DEPENDENCIES += openssl
>  POSTGRESQL_CONF_OPTS += --with-openssl
>  endif
>  
> +ifeq ($(BR2_PACKAGE_OPENLDAP),y)
> +POSTGRESQL_DEPENDENCIES += openldap
> +POSTGRESQL_CONF_OPTS += --with-ldap
> +endif
> +
>  define POSTGRESQL_USERS
>  	postgres -1 postgres -1 * /var/lib/pgsql /bin/sh - PostgreSQL Server
>  endef

Tested-by: Peter Seiderer <ps.report@gmx.net>

Compile tested (and checked for the 'build with LDAP support... yes' configure output).

Regards,
Peter

  reply	other threads:[~2016-10-20 19:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 16:08 [Buildroot] [PATCH 1/2] sudo: Add ldap support for sudoers rules Chris Frederick
2016-10-19 16:08 ` [Buildroot] [PATCH 2/2] postgresql: enable ldap support for pg_service.conf Chris Frederick
2016-10-20 19:47   ` Peter Seiderer [this message]
2016-10-21 19:14   ` Arnout Vandecappelle
2016-10-21 22:39     ` Peter Seiderer
2016-10-21 19:13 ` [Buildroot] [PATCH 1/2] sudo: Add ldap support for sudoers rules Arnout Vandecappelle
2016-10-24 14:10   ` Chris Frederick
2016-10-24 14:52     ` Arnout Vandecappelle
  -- strict thread matches above, loose matches on Subject: below --
2016-10-24 14:13 Chris Frederick
2016-10-24 14:13 ` [Buildroot] [PATCH 2/2] postgresql: enable ldap support for pg_service.conf Chris Frederick
2016-10-24 15:45   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161020214755.5e27504b@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox