pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases Added support for gssapi and krb5 authentica...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e0673b98b97
branches: trunk
changeset: 569999:9e0673b98b97
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 22 20:12:11 2010 +0000
description:
Added support for gssapi and krb5 authentication as options
diffstat:
databases/postgresql82-server/Makefile | 6 +++---
databases/postgresql82/options.mk | 18 +++++++++++++-----
databases/postgresql83-server/Makefile | 6 +++---
databases/postgresql83/options.mk | 17 ++++++++++++++++-
databases/postgresql84-server/Makefile | 6 +++---
databases/postgresql84/options.mk | 17 ++++++++++++++++-
6 files changed, 54 insertions(+), 16 deletions(-)
diffs (174 lines):
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql82-server/Makefile
--- a/databases/postgresql82-server/Makefile Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql82-server/Makefile Fri Jan 22 20:12:11 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/01/17 12:02:10 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/22 20:12:11 adam Exp $
PKGNAME= postgresql82-server-${BASE_VERS}
PKGREVISION= 1
@@ -46,7 +46,7 @@
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql82-server
-PKG_SUPPORTED_OPTIONS= pam ldap
+PKG_SUPPORTED_OPTIONS= krb5 pam ldap
.include "../../databases/postgresql82/options.mk"
# PGUSER username of the database administrator
@@ -92,6 +92,6 @@
../../src/include/utils/fmgroids.h
${RUN} ${_ULIMIT_CMD} \
cd ${WRKSRC}/src/port && \
- env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
.include "../../mk/bsd.pkg.mk"
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql82/options.mk
--- a/databases/postgresql82/options.mk Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql82/options.mk Fri Jan 22 20:12:11 2010 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: options.mk,v 1.2 2008/02/04 15:29:28 ghen Exp $
+# $NetBSD: options.mk,v 1.3 2010/01/22 20:12:11 adam Exp $
PKG_SUPPORTED_OPTIONS+= # empty
.include "../../mk/bsd.options.mk"
###
-### PAM authentication for the PostgreSQL backend.
+### Kerberos5 authentication for the PostgreSQL backend.
###
-.if !empty(PKG_OPTIONS:Mpam)
-. include "../../mk/pam.buildlink3.mk"
-CONFIGURE_ARGS+= --with-pam
+.if !empty(PKG_OPTIONS:Mkrb5)
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-krb5
.endif
###
@@ -19,3 +19,11 @@
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap
.endif
+
+###
+### PAM authentication for the PostgreSQL backend.
+###
+.if !empty(PKG_OPTIONS:Mpam)
+. include "../../mk/pam.buildlink3.mk"
+CONFIGURE_ARGS+= --with-pam
+.endif
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql83-server/Makefile
--- a/databases/postgresql83-server/Makefile Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql83-server/Makefile Fri Jan 22 20:12:11 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2010/01/21 12:45:28 adam Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/22 20:12:11 adam Exp $
PKGNAME= postgresql83-server-${BASE_VERS}
PKGREVISION= 2
@@ -47,7 +47,7 @@
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql83-server
-PKG_SUPPORTED_OPTIONS= ldap pam
+PKG_SUPPORTED_OPTIONS= gssapi krb5 ldap pam
.include "../../databases/postgresql83/options.mk"
# PGUSER username of the database administrator
@@ -93,6 +93,6 @@
../../src/include/utils/fmgroids.h
${RUN}${_ULIMIT_CMD} \
cd ${WRKSRC}/src/port && \
- env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
.include "../../mk/bsd.pkg.mk"
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql83/options.mk
--- a/databases/postgresql83/options.mk Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql83/options.mk Fri Jan 22 20:12:11 2010 +0000
@@ -1,10 +1,25 @@
-# $NetBSD: options.mk,v 1.2 2010/01/16 09:30:31 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)
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql84-server/Makefile
--- a/databases/postgresql84-server/Makefile Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql84-server/Makefile Fri Jan 22 20:12:11 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2010/01/17 12:02:12 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/22 20:12:11 adam Exp $
PKGNAME= postgresql84-server-${BASE_VERS}
PKGREVISION= 1
@@ -47,7 +47,7 @@
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql84-server
-PKG_SUPPORTED_OPTIONS= ldap pam
+PKG_SUPPORTED_OPTIONS= gssapi krb5 ldap pam
.include "../../databases/postgresql84/options.mk"
# PGUSER username of the database administrator
@@ -87,6 +87,6 @@
pre-build:
${RUN}${_ULIMIT_CMD} \
cd ${WRKSRC}/src/port && \
- env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
+ env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS}
.include "../../mk/bsd.pkg.mk"
diff -r 7bf269d03b17 -r 9e0673b98b97 databases/postgresql84/options.mk
--- a/databases/postgresql84/options.mk Fri Jan 22 19:55:07 2010 +0000
+++ b/databases/postgresql84/options.mk Fri Jan 22 20:12:11 2010 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index