1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/py-gssapi: enforce that exactly one GSSAPI_* option is set

You must set exactly one OPTION from among GSSAPI_BASE, GSSAPI_HEIMDAL,
and GSSAPI_MIT. This patch, converting that OPTION group from
RADIO to SINGLE will make the error much clearer in this case.

PR:		273769
Reported by:	Oclair <jason@aventia.pw>
MFH:		2023Q3
This commit is contained in:
John W. O'Brien 2023-09-22 03:19:09 +02:00 committed by Robert Clausecker
parent d9f262d600
commit c561d32814

View File

@ -16,8 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist cython distutils
OPTIONS_RADIO= GSSAPI
OPTIONS_RADIO_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
OPTIONS_DEFAULT= GSSAPI_BASE
GSSAPI_BASE_USES= gssapi ssl