From nobody Thu Sep 07 20:35:20 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RhWG12hzqz4swtr for ; Thu, 7 Sep 2023 20:35:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RhWG05bCyz4g2J for ; Thu, 7 Sep 2023 20:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694118920; a=rsa-sha256; cv=none; b=LyrpbwdqWQZI4IT3rnsLJmA3ZwDn50s9rZR4vTqKxIG7rCi7t3UWpVqdoUdH7wJYmrjkPW iGzauLT0he+JyhSKYXnqy3NHdaRgJt7+WrEuRyQD+E9pWfvbfo24pPNAs+BTNBGrVAfOCh Zt5JajkO0yEdykPIp+3Z0EPMjt6/zcdvoIDLRzvK29ilhlF+UQn2aMlU37J7qamX/k6X8m 0S97/rjgUxZPweaNVr69KffSYrhi8YqSYen8xsn7sFO6crLpZ8MQQehK6HyjIEKOSqChL0 T1kFkbKzPyVS4spbagTln+cDLGQUq4J1eFnDpo0vOXBOeK7BhDoKrb160WJaAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694118920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gLw4/0cOac5stKAbE81savTGh9t9KRwbK2hkiBjSMZQ=; b=RTVzQA2hTpPZfAA3HxSnTb0juhv7l2yA79BNbRprKb7XMMFS7Jzz9sY84ttttYx0qhJmmy GCBpZ49NnOM4C8aE2AqKCwW9nUT2JIOnqX4kaRG6shVB4d6Yu2TqRNWJmpakgQ0qjL0PP/ wU31hi20AgrpOV6HrvQZxURQO1bXqUfka6d3WmLLIbivvd4Qd+KyG0gSYnhPdLk65Cqyg+ r5fXmpx5EXVEbEDm3D3tomLYRTx9oP0FllW7JssFT3YdzCPs1+frZlhpGHbAiFWZzwbU9F ls4heRXYruME6u6EOaNiFyboOLrybutsTBluLnVp1gWWoJZ+EZ6H5U9T0NgqPw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RhWG04b6LzBR for ; Thu, 7 Sep 2023 20:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 387KZKda014211 for ; Thu, 7 Sep 2023 20:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 387KZKht014210 for ports-bugs@FreeBSD.org; Thu, 7 Sep 2023 20:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247940] Introduce gssapi=.. in DEFAULT_VERSIONS like for ssl=... Date: Thu, 07 Sep 2023 20:35:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrm@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247940 Joseph Mingrone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrm@freebsd.org --- Comment #5 from Joseph Mingrone --- Michael, tl;dr I don't think using Mk/bsd.default-versions.mk for building ports with different Kerberos implementations is feasible. For the default versions feature to make sense, we need ports to have USES=3Dgssapi without specifying a Kerberos implementation. That way, a va= lue set for DEFAULT_VERSIONS+=3Dgssapi=3D can be used, or if that isn't set, we= can fall back to the default of using Kerberos from base. However, this isn't = how our 58 ports with USES=3Dgssapi currently work. Twelve ports have USES=3Dgssapi without an OPTION, but they all hardcode the Kerberos implementation. Of the remaining ports, the ones that have OPTION knobs for all of the Kerb= eros implementations could, in theory, be converted to use a default version, but there are complications. For example, many of them require different confi= gure flags. For example, here is what we have in security/cyrus-sasl2-gssapi/Makefile GSSAPI_HEIMDAL_USES=3D gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON=3D --enable-gssapi=3D"${GSSAPIBASEDIR}" \ --with-gss_impl=3Dheimdal but other ports like security/samba416 have GSSAPI_HEIMDAL_CONFIGURE_ON=3D --with-system-heimdalkrb5 ${GSSAPIBASEDIR} GSSAPI_HEIMDAL_USES=3D gssapi:heimdal GSSAPI_HEIMDAL_PREVENTS=3D AD_DC GSSAPI_HEIMDAL_PREVENTS_MSG=3D GSSAPI_HEIMDAL and AD_DC enable conflicti= ng options A workaround is to specify something like this in /etc/make.conf. .if ${.CURDIR:M*/net/samba*} WITHOUT=3DGSSAPI_BUILTIN WITH=3DGSSAPI_MIT .endif You still have to think about individual ports, but at least you can share = this configuration between systems, and you won't have to go through the configuration dialogs manually. I hope this helps. Joe --=20 You are receiving this mail because: You are on the CC list for the bug.=