git: 180f204723aa - 2023Q3 - security/py-gssapi: enforce that exactly one GSSAPI_* option is set
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 05:55:31 UTC
The branch 2023Q3 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=180f204723aad9bf022fac60b1f3822b2abdad80
commit 180f204723aad9bf022fac60b1f3822b2abdad80
Author: John W. O'Brien <john@saltant.com>
AuthorDate: 2023-09-22 01:19:09 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 05:32:33 +0000
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
(cherry picked from commit c561d3281419fefe3495732244b6a570d0145b74)
---
security/py-gssapi/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/py-gssapi/Makefile b/security/py-gssapi/Makefile
index 616e56d6cec2..f6c3d4deab1e 100644
--- a/security/py-gssapi/Makefile
+++ b/security/py-gssapi/Makefile
@@ -16,8 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
USES= python:3.8-3.11
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