From nobody Tue Mar 4 17:19:30 2025 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 4Z6j8y45YYz5qPPR for ; Tue, 04 Mar 2025 17:19:30 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z6j8y36BWz3qVj; Tue, 04 Mar 2025 17:19:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741108770; 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=eXSbYT+uWQy/GVH1T1r9mjftp6s6BDoh2UiYNtSmx8Y=; b=X36WE8GXDqYg03srzffYIf0mgqjMoJAhpfQdz+SAJI8y1cQNv2bHMK3Uon0ZV2znpb42LF ovO8BL2KSuyFOk6AQrrmY+/0cPYCUpT4XrpvmRXj2QvWXYNxb55LUJa3OuMabc/fGE0CYw Covmua/NpJybrrI37ofM+C20iIGIwf4X45Fdpn+2/xTGZKjfsJV1kiSAihQTZPJpEtau4O 1QG5e2DrC1bB9BKkroyiD0kD+4zdspY1d83iJFaiHUHmQaaw/xeKBKIPEwGrsVBucUuUil cpHh/aGqhA5xQrUgT2vG25gScU7+vjISDshLRa58JLk3MhZqR+BB1qUSZiO1Iw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741108770; a=rsa-sha256; cv=none; b=ZYNoBKyD7+ILaE4Dd2Nftwjhxr5apbFUbX6kNYeVz7KoGBnmByZK/kPJ8j6ppJIWbaoBJ+ TZLaieOpupnu85Ywuc9sH0lz23Gw37AaZKBj0QGOSeF0ONMSL4W4jvjKMjQ7ZWGvdJVrKM 1aCpAP/KVnVBM7wzHQQVr9enmZ4EHoj8z5KTTKg9uPAJuZVcR0XB1KBrWd+74tHe/pKMI3 z0GVZGUrJ9nGyV8EAMYGAV7g3KuyXkWQA5IyrFtiZQT13+c9V/lknmtRByw4SII3S9iYYO Cq9G3zQCGuTH7tGFJp6siIEFqUOQcrS0KEm4Qmpm0uyOTp93tsOPpCk9UIsBSQ== 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=1741108770; 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=eXSbYT+uWQy/GVH1T1r9mjftp6s6BDoh2UiYNtSmx8Y=; b=L52XDqgrc1ArZpGr7jC7Vp6hxYaojlRikwY6saBdfQzCp9/XSQelLv9nWOs2q34w4VyL+3 SI557OysYU6WQEHEgSQXaijoXZRLNbDKitJNPuIxFirwa5NRYj/B3H8b6nmg2Zq+pm+OFJ byNmr6wOPwybDmPebtazoygmp28qEifZF7c8JSmE/X1tQbSaBDr0zQ4FQiTL7t9Q6NQwgq J113p7yor9WDgm3V9uf+WQ9hSX0eRQ8nF/QKyW8uGz55DICvOKaZt1oibYu080UpS5O8Uf F5CQFtfhVtMqEtjEdTkohv4jlP1B0kZlzqcnZqpjMpVdv8S0k7gdQhOXuPbrgQ== 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 4Z6j8y2ZzKzBFc; Tue, 04 Mar 2025 17:19:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 524HJUBk020389; Tue, 4 Mar 2025 17:19:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 524HJU6r020386; Tue, 4 Mar 2025 17:19:30 GMT (envelope-from git) Date: Tue, 4 Mar 2025 17:19:30 GMT Message-Id: <202503041719.524HJU6r020386@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: a576d08f58 - main - [phb][Uses]: Add missing Uses=apache 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: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-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: a576d08f5821ec79d565ff398ecddc09eb8c5902 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=a576d08f5821ec79d565ff398ecddc09eb8c5902 commit a576d08f5821ec79d565ff398ecddc09eb8c5902 Author: Fernando ApesteguĂ­a AuthorDate: 2025-02-22 19:21:14 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2025-03-04 17:15:46 +0000 [phb][Uses]: Add missing Uses=apache Differential Revision: https://reviews.freebsd.org/D49107 --- .../en/books/porters-handbook/uses/_index.adoc | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index 8ccdc9cfed..38a20b7cbb 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -181,6 +181,58 @@ Path to the directory for local Ansible plugins. `ANSIBLE_PLUGIN_TYPE`:: Ansible plugin type (e.g., "connection", "inventory", or "vars"). +[[uses-apache]] +== `apache` + +Possible arguments: (none), `2.4`, `build`, `run`, `server` + +Provide support for ports depending on the Apache web server. + +The version argument can be used to require a specific Apache httpd version. +It is possible to set a specific version (`USES=apache:2.4`) a minimum version +(`USES=apache:+2.4`) or a maximum version (`USES=-apache:2.4`). + +If the `build` argument is provided a build dependency is added to the port. + +If the `run` argument is provided a run dependency is added to the port. + +If the `server` argument is provided then it indicates the port is a server +port. + +The framework provides the following variables to be set by the port: + +`AP_FAST_BUILD`:: +Automatic module build + +`AP_GENPLIST`:: +Automatic `PLIST` generation plus add the module disabled into [.filename]#httpd.conf# (only if no `pkg-plist` exist) + +`MODULENAME`:: +Name of the Apache module. Default: `${PORTNAME}` + +`SHORTMODNAME`:: +Short name of the Apache module. Default: `${MODULENAME:S/mod_//}` + +`SRC_FILE`:: +Source file of the APACHE module. Default: `${MODULENAME}.c` + +The following variables can be accessed by the port: + +`APACHE_VERSION`:: +The major-minor release version of the chosen Apache server, e.g. 2.4 + +`APACHEETCDIR`:: +Location of the Apache configuration directory. Default: [.filename]#${LOCALBASE}/etc/apache24# + +`APACHEINCLUDEDIR`:: +Location of the Apache include files Default: [.filename]#${LOCALBASE}/include/apache24# + +`APACHEMODDIR`:: +Location of the Apache modules Default: [.filename]#${LOCALBASE}/libxexec/apache24# + +`APACHE_DEFAULT`::Default Apache version + + [[uses-autoreconf]] == `autoreconf`