From nobody Thu Feb 09 17:27:15 2023 X-Original-To: dev-commits-doc-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 4PCP1w02g2z3mwhM for ; Thu, 9 Feb 2023 17:27:16 +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 4PCP1v6fXFz4WcV; Thu, 9 Feb 2023 17:27:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675963635; 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=xEb3eZThu7vAHFX+bJ8Jaj2NFDfHFTv0wU2tfiHQuQg=; b=TdlGF5fWobmFSCK3tMbGPngR46eoZf9KLRTu4T8CuvP5Mr9OE3ynwGr/vNvwHRUPMGdjdW 7dyRv8OhDLoOr6zPV3E6pxrU+PP3eMm+zv7xgm/7P8YI9zQzKBsMLRayMA25oZK6gUCs0i 1dtdmRh0WLBvTFCDn37DGtq9/lZ/qz8k6BVvivKl9S7Q9w+tU7sttoiW5thklfdwoansWj SSb7BSeOaXNL5iiUNcrPvGGpT0TwZL9Kzrg55ZaQzGCH2WCFliyEAnocBfJlAXUtnTPIhZ ii7Y/2aheCJqxoNykFZ2+DHpkNRaHDsHaKjDBCS+QThYeCs+RTJanFEakaVWKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675963635; 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=xEb3eZThu7vAHFX+bJ8Jaj2NFDfHFTv0wU2tfiHQuQg=; b=K9m37yl4ZAV4Y/UBBk938TqrWychPzIckAaz5zCmoadJPpQWSL1C1RscDz3KWw2eYoXXGP LdVuwvmyent1B+mzJGojbLD+rO0zwjIhUB8k0WEYKyO81O385V8ckte8exbTIZYjSLIqyi Gm0wB5Z4ubYFx9ONFshoVMk/yCrsglnK/d/LihDoBGjIcfZeD8Q2cE0pKeTO2qBiDuUTXp HkRSI9BQRWnz/JQSGGHYhCJvdPRWIs9zj1jXZ3PyjvtrRuc+PJMrV/tcga+t2kCUFhDBwS MoBMJJjktXl2fGkI4OB4XOoONo0qLn7asu1ZPQ+Lu+0+SNlLj4QSyKIwGv0Uvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675963635; a=rsa-sha256; cv=none; b=rHeO6DuIZdAzrElomAZpKbihz8UE+an2wIC51EoRGLxbOw9O7m730bEj7wVS+LmLdHrkNE ErTn6dL5awsmfpNh+6TfH4KTWf2S+ZXy0d53f+TRsQ12VvLTFlXKRLL3i7JqiLahAvcDYj 0DcTr4/c7O1vWxy0E8ODhYAR4juxfMFchimAq1w8bYnR+x20sOw3u1/X3Wj80V/uG0w9iB yA1vXvngtMoNLQGTyPASlIK4mbsl20PjRFdXtEY6GHv88uZkkKu4elnaYTb4GBdhDgbIC5 vyBBmk7j4ldkfyiiwHF09bcpsXoymU72E2m0h4E+u5D3K31j/oAXgdezhQFwNA== 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 4PCP1v5jMLzm0f; Thu, 9 Feb 2023 17:27:15 +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 319HRFfd011060; Thu, 9 Feb 2023 17:27:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 319HRFQe011059; Thu, 9 Feb 2023 17:27:15 GMT (envelope-from git) Date: Thu, 9 Feb 2023 17:27:15 GMT Message-Id: <202302091727.319HRFQe011059@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: afa1a31005 - main - [phb]: Document Uses=ldap List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: afa1a31005978bac63874fff8a1833f69a81dae3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=afa1a31005978bac63874fff8a1833f69a81dae3 commit afa1a31005978bac63874fff8a1833f69a81dae3 Author: Fernando ApesteguĂ­a AuthorDate: 2023-02-09 15:21:25 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-02-09 17:22:23 +0000 [phb]: Document Uses=ldap Chasing changes in https://cgit.freebsd.org/ports/commit/?id=6e1233be229212a0496f42d611bd40f3e3a628da Reviewed by: bofh Differential Revision: https://reviews.freebsd.org/D38464 --- .../en/books/porters-handbook/uses/_index.adoc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index 817ed80eb3..e348d7d3ac 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -963,6 +963,28 @@ Fills in the boilerplate for kernel module ports, currently: * Handle cross-referencing kernel modules upon installation and deinstallation, using crossref:plist[plist-keywords-kld,`@kld`]. * If the `debug` argument is given, the port can install a debug version of the module into [.filename]#KERN_DEBUGDIR#/[.filename]#KMODDIR#. By default, `KERN_DEBUGDIR` is copied from `DEBUGDIR` and set to [.filename]#/usr/lib/debug#. The framework will take care of creating and removing any required directories. +[[uses-ldap]] +== `ldap` + +Possible arguments: (none), , client, server + +Registers a dependency on package:net/openldap[]. +It uses the specific `` (without the dot notation) if set. +Otherwise it tries to find the currently installed version. +If necessary it falls back to the default version found in `bsd.default-versions.mk`. +`client` specifies a runtime dependency on the client library. This is also the +default. +`server` specifies a runtime dependency on the server. + +The following variables can be accessed by the port: + +`IGNORE_WITH_OPENLDAP`:: +This variable can be defined if the ports does not support one or more versions of OpenLDAP. +`WITH_OPENLDAP_VER`:: +User defined variable to set OpenLDAP version. +`OPENLDAP_VER`:: +Detected OpenLDAP version. + [[uses-lha]] == `lha`