summaryrefslogtreecommitdiff
path: root/databases/postgresql84
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-01-22 20:12:11 +0000
committeradam <adam@pkgsrc.org>2010-01-22 20:12:11 +0000
commitcc201583efa027e1bf3941b73d8cdff86dd3701a (patch)
tree9270777f725e53fb47cf7c0a9e1487f21184d8c2 /databases/postgresql84
parent1e69ccb6bae14ce8d2b5eda3f9333362744bdf82 (diff)
downloadpkgsrc-cc201583efa027e1bf3941b73d8cdff86dd3701a.tar.gz
Added support for gssapi and krb5 authentication as options
Diffstat (limited to 'databases/postgresql84')
-rw-r--r--databases/postgresql84/options.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/databases/postgresql84/options.mk b/databases/postgresql84/options.mk
index b30f68551f6..78fbdb4ed92 100644
--- a/databases/postgresql84/options.mk
+++ b/databases/postgresql84/options.mk
@@ -1,10 +1,25 @@
-# $NetBSD: options.mk,v 1.2 2010/01/16 09:16:12 adam Exp $
+# $NetBSD: options.mk,v 1.3 2010/01/22 20:12:11 adam Exp $
PKG_SUPPORTED_OPTIONS+= # empty
.include "../../mk/bsd.options.mk"
###
+### GSSAPI authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mgssapi)
+CONFIGURE_ARGS+= --with-gssapi
+.endif
+
+###
+### Kerberos5 authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mkrb5)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-krb5
+.endif
+
+###
### LDAP authentication for the PostgreSQL backend.
###
.if !empty(PKG_OPTIONS:Mldap)