From nobody Sun Oct 16 01:52:50 2022 X-Original-To: dev-commits-ports-all@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 4MqjnH2Fggz4gDDn; Sun, 16 Oct 2022 01:52:51 +0000 (UTC) (envelope-from git@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 4MqjnH1fZJz3dGf; Sun, 16 Oct 2022 01:52:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665885171; 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; bh=jqgqa8Vc+4Er0+pWfewncvdQFrA8TzYpzo1Wzg3+XXk=; b=QhBgZYC2uCLi+aKboE5v3QyV3jvEEMhfw7DoiNeGhjKfbYXAnx4yEgHMwwUH0GOUqcNlqn xu0n59Xr95ojCDf0BDXVJUHxrw4N0YyID2rsL6QR4C96yelWgMCDFTxc6W8tNAzVtl6dx9 hX7sTjc950hy6/tFA00D4YbmzG85ihCQ74yXQ3xEzhwReKJFAW92inD/JOfYAQzFnToWpI /9+TViKmlym3V/cxMwqnC/QmmiFpBLzA2gwJMG40sxkgf4AYPy2cINEN9A1bywCpLS1iic E6OFAx3eh411cTzxHlXQf/ilAd2pcqURq0pqGDWNTva8DguOcIgZ4uwdToiczA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4MqjnH0h6tzJns; Sun, 16 Oct 2022 01:52:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29G1qo1m083994; Sun, 16 Oct 2022 01:52:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29G1qoZt083993; Sun, 16 Oct 2022 01:52:50 GMT (envelope-from git) Date: Sun, 16 Oct 2022 01:52:50 GMT Message-Id: <202210160152.29G1qoZt083993@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: de29d5bd2acd - main - net/openldap26-{server,client}: fix proper usage of FETCH/GSSAPI options List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de29d5bd2acda093fe3a5472df80c7cbd5a7b794 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665885171; 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; bh=jqgqa8Vc+4Er0+pWfewncvdQFrA8TzYpzo1Wzg3+XXk=; b=rxZibGqTpbrnYyLp1YkTHmrBTclmQZbfCt8DL/zLrJ0M+m4SrtBSGfnSPypSEm54LmouZ+ +ETJORU0K0pQk3pOYVTz5Rt+TtKde4kDlItTUrdtzrYtWN58YWQi9u/rCChB0xHjVekOuc 18IrxKpoAnaFM8gQ5ZxkvSQhBbx1ZGoWQVKk9OKjoA2yWfldTgGIktLxv9peZEFNusgzdz A4UKnBORhgQCwr5dAk8II+xeEC1SW8ZKPCu90OZFfr8oZHHW6wq+VzwGSCF5okpic35HJ1 z/vJvQMCpyjrkkHZrVw5tf6BmJT9hD/d9p3gpO3PU+twzm+6RUrpXitPrdKF9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665885171; a=rsa-sha256; cv=none; b=TdDtwMHT6jLpXCdiHWIvcojC6Fm11FXyikqhP6fgQFYNhJNM4Knq4sAMvspjnMp0N+4MWU Ho4rnBG0wo+GGq7V8/lUEGv5kBO4E7J0ZbvCNPEkTIJmmUryJ6Uh8JRpuRjT6rjFRhKNxO puhO47/O/4RTr6bLI0giu7brJuzbMKfDXzZ3ExhXMRmJZYxncsPRnztnZkeLOMDtjGKIAW NxFLf0zGVcc/WLr63k5p/DOuJPiIA0YMd9/I0SJCrGULU3JtVTx09UGqgTDRs2krBTq79b X64XeBfXigPuSvC2Fq9lo+Qfd8JvD/0BYOS0FeNJG0AUsW37tSAQ305/gbelxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=de29d5bd2acda093fe3a5472df80c7cbd5a7b794 commit de29d5bd2acda093fe3a5472df80c7cbd5a7b794 Author: Michael Osipov AuthorDate: 2022-10-14 16:54:06 +0000 Commit: Xin LI CommitDate: 2022-10-16 01:02:32 +0000 net/openldap26-{server,client}: fix proper usage of FETCH/GSSAPI options * FETCH_DESC is not present with client * FETCH applies to *both* client and server since both slapd and client tools use ldif_parse_line2() via libldap which can use libfetch * GSSAPI is also required for the client as well since ldap*(1) commands can be used to connect and authenticate to directory servers like Active Directory and OpenLDAP with Kerberos via SASL GSSAPI mechanism PR: ports/267056 --- net/openldap26-server/Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/net/openldap26-server/Makefile b/net/openldap26-server/Makefile index 471db2373595..c9f459b996e7 100644 --- a/net/openldap26-server/Makefile +++ b/net/openldap26-server/Makefile @@ -50,13 +50,18 @@ PORTREVISION_SERVER= 0 OPENLDAP_SHLIB_MAJOR= 2 OPENLDAP_SHLIB_MINOR= 0.200 -OPTIONS_DEFINE= DEBUG +OPTIONS_DEFINE= DEBUG FETCH GSSAPI OPTIONS_DEFAULT+= DEBUG -.if defined(CLIENT_ONLY) -OPTIONS_DEFINE+= DOCS FETCH +FETCH_DESC= Enable fetch(3) support +GSSAPI_DESC= With GSSAPI support FETCH_CONFIGURE_WITH= fetch + +GSSAPI_RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi + +.if defined(CLIENT_ONLY) +OPTIONS_DEFINE+= DOCS .else OPTIONS_GROUP= BKNDS OVLYS BKNDS_DESC= OpenLDAP backends @@ -102,7 +107,6 @@ OPTIONS_GROUP_OVLYS+= TRANSLUCENT OPTIONS_GROUP_OVLYS+= UNIQUE OPTIONS_GROUP_OVLYS+= VALSORT -OPTIONS_DEFINE+= GSSAPI OPTIONS_DEFINE+= DYNACL ACI OPTIONS_DEFINE+= RLOOKUPS SLP SLAPI OPTIONS_DEFINE+= PBKDF2 @@ -119,8 +123,6 @@ OPTIONS_SUB= yes ACI_DESC= Per-object ACI (experimental) ARGON2_DESC= Argon2 password hashing module DYNACL_DESC= Run-time loadable ACL (experimental) -FETCH_DESC= Enable fetch(3) support -GSSAPI_DESC= With GSSAPI support LLOADD_DESC= Enable load balancer OUTLOOK_DESC= Force caseIgnoreOrderingMatch on name attribute (experimental) RLOOKUPS_DESC= With reverse lookups of client hostnames @@ -193,7 +195,6 @@ DNSSRV_CONFIGURE_ENABLE= dnssrv=mod DYNACL_CONFIGURE_ENABLE= dynacl DYNGROUP_CONFIGURE_ENABLE= dyngroup=mod DYNLIST_CONFIGURE_ENABLE= dynlist=mod -GSSAPI_RUN_DEPENDS= cyrus-sasl-gssapi>0:security/cyrus-sasl2-gssapi HOMEDIR_CONFIGURE_ENABLE= homedir=mod LLOADD_CONFIGURE_ENABLE= balancer=mod LLOADD_LIB_DEPENDS= libevent.so:devel/libevent