pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Add an option for LDAP authentication as exp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3e483345e9ed
branches:  trunk
changeset: 538280:3e483345e9ed
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Mon Feb 04 15:29:28 2008 +0000

description:
Add an option for LDAP authentication as explained on
http://www.postgresql.org/docs/8.3/static/auth-methods.html#AUTH-LDAP

diffstat:

 databases/postgresql82-server/Makefile |   4 ++--
 databases/postgresql82/options.mk      |  10 +++++++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r c727055c21fb -r 3e483345e9ed databases/postgresql82-server/Makefile
--- a/databases/postgresql82-server/Makefile    Mon Feb 04 14:42:14 2008 +0000
+++ b/databases/postgresql82-server/Makefile    Mon Feb 04 15:29:28 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/01/18 05:06:31 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2008/02/04 15:29:28 ghen Exp $
 
 PKGNAME=       postgresql82-server-${BASE_VERS}
 PKGREVISION=   1
@@ -46,7 +46,7 @@
 .endif
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.postgresql82-server
-PKG_SUPPORTED_OPTIONS= pam
+PKG_SUPPORTED_OPTIONS= pam ldap
 .include "../../databases/postgresql82/options.mk"
 
 # PGUSER       username of the database administrator
diff -r c727055c21fb -r 3e483345e9ed databases/postgresql82/options.mk
--- a/databases/postgresql82/options.mk Mon Feb 04 14:42:14 2008 +0000
+++ b/databases/postgresql82/options.mk Mon Feb 04 15:29:28 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $
+# $NetBSD: options.mk,v 1.2 2008/02/04 15:29:28 ghen Exp $
 
 PKG_SUPPORTED_OPTIONS+=                # empty
 
@@ -11,3 +11,11 @@
 .  include "../../mk/pam.buildlink3.mk"
 CONFIGURE_ARGS+=       --with-pam
 .endif
+
+###
+### LDAP authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mldap)
+.  include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-ldap
+.endif



Home | Main Index | Thread Index | Old Index