pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Added LDAP authentication as an option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fdaafa0a208
branches:  trunk
changeset: 569448:3fdaafa0a208
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jan 16 09:30:31 2010 +0000

description:
Added LDAP authentication as an option

diffstat:

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

diffs (41 lines):

diff -r fdcc3fe49e97 -r 3fdaafa0a208 databases/postgresql83-server/Makefile
--- a/databases/postgresql83-server/Makefile    Sat Jan 16 09:16:12 2010 +0000
+++ b/databases/postgresql83-server/Makefile    Sat Jan 16 09:30:31 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2009/12/16 14:23:13 adam Exp $
+# $NetBSD: Makefile,v 1.7 2010/01/16 09:30:32 adam Exp $
 
 PKGNAME=       postgresql83-server-${BASE_VERS}
 COMMENT=       PostgreSQL database server programs
@@ -46,7 +46,7 @@
 .endif
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.postgresql83-server
-PKG_SUPPORTED_OPTIONS= pam
+PKG_SUPPORTED_OPTIONS= ldap pam
 .include "../../databases/postgresql83/options.mk"
 
 # PGUSER       username of the database administrator
diff -r fdcc3fe49e97 -r 3fdaafa0a208 databases/postgresql83/options.mk
--- a/databases/postgresql83/options.mk Sat Jan 16 09:16:12 2010 +0000
+++ b/databases/postgresql83/options.mk Sat Jan 16 09:30:31 2010 +0000
@@ -1,10 +1,18 @@
-# $NetBSD: options.mk,v 1.1.1.1 2008/03/04 12:41:36 adam Exp $
+# $NetBSD: options.mk,v 1.2 2010/01/16 09:30:31 adam Exp $
 
 PKG_SUPPORTED_OPTIONS+=                # empty
 
 .include "../../mk/bsd.options.mk"
 
 ###
+### LDAP authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mldap)
+.  include "../../databases/openldap-client/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-ldap
+.endif
+
+###
 ### PAM authentication for the PostgreSQL backend.
 ###
 .if !empty(PKG_OPTIONS:Mpam)



Home | Main Index | Thread Index | Old Index