FreeBSD Bugzilla – Attachment 185529 Details for
Bug 220325
databases/postgresql*-{client,server}: Poudriere build broken with GSSAPI option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Sample patch
gss.diff (text/plain), 3.08 KB, created by
Christian Ullrich
on 2017-08-17 15:18:19 UTC
(
hide
)
Description:
Sample patch
Filename:
MIME Type:
Creator:
Christian Ullrich
Created:
2017-08-17 15:18:19 UTC
Size:
3.08 KB
patch
obsolete
>diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile >index 6c4b74d03e70..0550a304a34c 100644 >--- a/databases/postgresql92-server/Makefile >+++ b/databases/postgresql92-server/Makefile >@@ -97,18 +97,41 @@ OPTIONS_DEFAULT+= XML TZDATA INTDATE > .endif > > .if !defined(SLAVE_ONLY) >-OPTIONS_DEFINE+= NLS PAM GSSAPI OPTIMIZED_CFLAGS DEBUG >+OPTIONS_DEFINE+= NLS PAM OPTIMIZED_CFLAGS DEBUG > . if ${DISTVERSION:R} == 9.2 || ${DISTVERSION:R} == 9.3 >+ # Select optional Kerberos, optional GSSAPI >+ OPTIONS_DEFINE+= GSSAPI > OPTIONS_RADIO= KRB5 >- OPTIONS_RADIO_KRB5= MIT_KRB5 HEIMDAL_KRB5 >+ OPTIONS_RADIO_KRB5= BASE_KRB5 MIT_KRB5 HEIMDAL_KRB5 >+ BASE_KRB5_USES= gssapi:base >+ MIT_KRB5_USES= gssapi:mit >+ HEIMDAL_KRB5_USES= gssapi:heimdal,flags >+ BASE_KRB5_CONFIGURE_ON= --with-krb5 >+ MIT_KRB5_CONFIGURE_ON= --with-krb5 >+ HEIMDAL_KRB5_CONFIGURE_ON= --with-krb5 >+ GSSAPI_CONFIGURE_WITH= gssapi >+. else >+ # Select Kerberos for optional GSSAPI >+ OPTIONS_RADIO+= GSSAPI >+ OPTIONS_RADIO_GSSAPI= GSSAPI_BASE GSSAPI_MIT GSSAPI_HEIMDAL >+ GSSAPI_BASE_USES= gssapi:base >+ GSSAPI_MIT_USES= gssapi:mit >+ GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags >+ GSSAPI_BASE_CONFIGURE_ON= --with-gssapi >+ GSSAPI_MIT_CONFIGURE_ON= --with-gssapi >+ GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gssapi > . endif > > KRB5_DESC= Build with kerberos provider support > NLS_DESC= Use internationalized messages > PAM_DESC= Build with PAM Support >+BASE_KRB5_DESC= Build with Heimdal Kerberos from base > MIT_KRB5_DESC= Build with MIT kerberos support > HEIMDAL_KRB5_DESC= Builds with Heimdal kerberos > GSSAPI_DESC= Build with GSSAPI support >+GSSAPI_BASE_DESC= Build with GSSAPI from base >+GSSAPI_MIT_DESC= Build with GSSAPI from MIT Kerberos >+GSSAPI_HEIMDAL_DESC= Build with GSSAPI from Heimdal Kerberos > OPTIMIZED_CFLAGS_DESC= Builds with compiler optimizations (-O3) > > OPTIONS_DEFINE+= SSL >@@ -173,36 +196,6 @@ LDFLAGS+=-lelf > INSTALL_TARGET=install > . endif > >-.if ${PORT_OPTIONS:MGSSAPI} >-CONFIGURE_ARGS+=--with-gssapi >-.if empty(PORT_OPTIONS:MMIT_KRB5) && empty(PORT_OPTIONS:MHEIMDAL_KRB5) >-# Kerberos libraries will pull the proper GSSAPI library >-# via linker dependencies, but otherwise we must specify >-# it explicitely: ld --as-needed is used for compilation, >-# so configure's -lgssapi_krb5 won't go. >-LDFLAGS+= -lgssapi >-LDFLAGS_SL+= -lgssapi >-.endif >-.else >-CONFIGURE_ARGS+=--without-gssapi >-.endif >- >-. if ${PORT_OPTIONS:MMIT_KRB5} >-. if defined(IGNORE_WITH_SRC_KRB5) && (exists(/usr/lib/libkrb5.so) || exists(/usr/bin/krb5-config)) >-IGNORE= requires that you remove heimdal's /usr/bin/krb5-config and /usr/lib/libkrb5.so*, and set NO_KERBEROS=true in /etc/src.conf to build successfully with MIT-KRB >-. else >-CONFIGURE_ARGS+=--with-krb5 >-# Allow defining a home built MIT Kerberos by setting KRB5_HOME >-. if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a) && exists(${KRB5_HOME}/bin/krb5-config) >-LIB_DEPENDS+= libkrb5.so.3:security/krb5 >-. endif >-. endif >-. endif >- >-. if ${PORT_OPTIONS:MHEIMDAL_KRB5} >-CONFIGURE_ARGS+=--with-krb5 >-. endif >- > .endif # !SLAVE_ONLY > > # For testing files in FILESDIR
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220325
:
185529
|
190807