mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Use gssapi related descriptions in bsd.options.desc.mk.
This commit is contained in:
parent
765afaf0d5
commit
4bc3dd8ab6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409581
@ -87,15 +87,12 @@ OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT
|
||||
OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE
|
||||
OPTIONS_DEFAULT+= GSSAPI_BASE
|
||||
.endif
|
||||
GSSAPI_BASE_DESC= Use Heimdal in base
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_HEIMDAL_DESC= Use Heimdal from ports
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
|
||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_MIT_DESC= Use MIT Kerberos V5
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
|
@ -100,15 +100,12 @@ OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE
|
||||
OPTIONS_DEFAULT+= GSSAPI_BASE
|
||||
.endif
|
||||
.endif
|
||||
GSSAPI_BASE_DESC= Use Heimdal in base
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_HEIMDAL_DESC= Use Heimdal from ports
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
|
||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_MIT_DESC= Use MIT Kerberos V5
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
|
@ -46,24 +46,21 @@ CONFIGURE_ARGS+=--with-dblib=none \
|
||||
|
||||
MAKE_ENV+= INSTALL_STRIP_FLAG=${STRIP}
|
||||
|
||||
OPTIONS_SINGLE= KERBEROS
|
||||
OPTIONS_SINGLE_KERBEROS=BASE HEIMDAL MIT
|
||||
OPTIONS_DEFAULT= BASE
|
||||
BASE_DESC= Use Heimdal in base
|
||||
BASE_USES= gssapi
|
||||
BASE_CONFIGURE_ENABLE= gssapi
|
||||
HEIMDAL_DESC= Use Heimdal from ports
|
||||
HEIMDAL_USES= gssapi:heimdal,flags
|
||||
HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
HEIMDAL_PLIST_FILES= lib/sasl2/libgs2.a \
|
||||
lib/sasl2/libgs2.so \
|
||||
lib/sasl2/libgs2.so.3 \
|
||||
lib/sasl2/libgs2.so.3.0.0
|
||||
MIT_DESC= Use MIT Kerberos V5
|
||||
MIT_USES= gssapi:mit
|
||||
MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
OPTIONS_SINGLE= GSSAPI
|
||||
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
||||
OPTIONS_DEFAULT= GSSAPI_BASE
|
||||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_BASE_CONFIGURE_ENABLE= gssapi
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
|
||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_HEIMDAL_PLIST_FILES= lib/sasl2/libgs2.a \
|
||||
lib/sasl2/libgs2.so \
|
||||
lib/sasl2/libgs2.so.3 \
|
||||
lib/sasl2/libgs2.so.3.0.0
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
|
||||
PLIST_FILES= lib/sasl2/libgssapiv2.a \
|
||||
lib/sasl2/libgssapiv2.so \
|
||||
|
@ -53,24 +53,21 @@ OPENLDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE}
|
||||
HTTPFORM_DESC= Enable HTTP form authentication
|
||||
HTTPFORM_CONFIGURE_ENABLE=httpform
|
||||
|
||||
OPTIONS_RADIO= KERBEROS
|
||||
OPTIONS_RADIO_KERBEROS= HEIMDAL MIT
|
||||
OPTIONS_RADIO= GSSAPI
|
||||
OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT
|
||||
.if exists(/usr/lib/libkrb5.a)
|
||||
OPTIONS_RADIO_KERBEROS+=BASE
|
||||
OPTIONS_DEFAULT+= BASE
|
||||
OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE
|
||||
OPTIONS_DEFAULT+= GSSAPI_BASE
|
||||
.endif
|
||||
BASE_DESC= Use Heimdal in base
|
||||
BASE_USES= gssapi:base
|
||||
BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
HEIMDAL_DESC= Use Heimdal from ports
|
||||
HEIMDAL_USES= gssapi:heimdal,flags
|
||||
HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
MIT_DESC= Use MIT Kerberos V5
|
||||
MIT_USES= gssapi:mit
|
||||
MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
GSSAPI_BASE_USES= gssapi:base
|
||||
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags
|
||||
GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=heimdal
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
GSSAPI_MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
|
||||
--with-gss_impl=mit
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -84,8 +81,8 @@ WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !${PORT_OPTIONS:MBASE} && !${PORT_OPTIONS:MHEIMDAL} && \
|
||||
!${PORT_OPTIONS:MMIT}
|
||||
.if !${PORT_OPTIONS:MGSSAPI_BASE} && !${PORT_OPTIONS:MGSSAPI_HEIMDAL} && \
|
||||
!${PORT_OPTIONS:MGSSAPI_MIT}
|
||||
CONFIGURE_ARGS+=--disable-gssapi
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user