postgresql16: Requires mit-krb5 1.11 for gss_store_cred_into.
This commit is contained in:
parent
2f9c0c4dfc
commit
3e0bb6ad63
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.3 2023/10/24 22:08:37 wiz Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.4 2023/11/30 10:35:44 jperkin Exp $
|
||||
|
||||
BUILDLINK_TREE+= postgresql16-client
|
||||
|
||||
|
@ -30,6 +30,7 @@ pkgbase := postgresql16-client
|
|||
.include "../../security/openssl/buildlink3.mk"
|
||||
|
||||
.if ${PKG_BUILD_OPTIONS.postgresql16-client:Mgssapi}
|
||||
BUILDLINK_API_DEPENDS.mit-krb5+= mit-krb5>=1.11 # gss_store_cred_into
|
||||
. include "../../security/mit-krb5/buildlink3.mk"
|
||||
.endif
|
||||
.endif # POSTGRESQL16_CLIENT_BUILDLINK3_MK
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.3 2023/09/25 07:35:18 adam Exp $
|
||||
# $NetBSD: options.mk,v 1.4 2023/11/30 10:35:44 jperkin Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql16
|
||||
PKG_SUPPORTED_OPTIONS= bonjour dtrace llvm gssapi ldap nls pam lz4
|
||||
|
@ -24,6 +24,7 @@ CONFIGURE_ARGS+= --enable-dtrace
|
|||
|
||||
# GSSAPI (Kerberos5) authentication for the PostgreSQL backend
|
||||
.if !empty(PKG_OPTIONS:Mgssapi)
|
||||
BUILDLINK_API_DEPENDS.mit-krb5+= mit-krb5>=1.11 # gss_store_cred_into
|
||||
. include "../../security/mit-krb5/buildlink3.mk"
|
||||
PLIST.gssapi= yes
|
||||
CONFIGURE_ARGS+= --with-gssapi
|
||||
|
|
Loading…
Reference in New Issue