diff options
author | adam <adam> | 2010-01-16 09:30:31 +0000 |
---|---|---|
committer | adam <adam> | 2010-01-16 09:30:31 +0000 |
commit | eab6adc694a39a9670cfffedde5ff2420f5c5353 (patch) | |
tree | 2300a5b8a17a519ea7e45c3db5c3af398ad25b3e /databases | |
parent | 291c1b9c26a7b9ef26b7752b94ff8fb7b75eb055 (diff) | |
download | pkgsrc-eab6adc694a39a9670cfffedde5ff2420f5c5353.tar.gz |
Added LDAP authentication as an option
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql83-server/Makefile | 4 | ||||
-rw-r--r-- | databases/postgresql83/options.mk | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/databases/postgresql83-server/Makefile b/databases/postgresql83-server/Makefile index 9db98373396..a6fc3080e99 100644 --- a/databases/postgresql83-server/Makefile +++ b/databases/postgresql83-server/Makefile @@ -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 @@ DL_LIBS+= -lltdl .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 --git a/databases/postgresql83/options.mk b/databases/postgresql83/options.mk index 5284019fe88..63e9278a5f7 100644 --- a/databases/postgresql83/options.mk +++ b/databases/postgresql83/options.mk @@ -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) |