From a2aa43811296c92a8d4611c996d4aebcf1b88f31 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 3 Nov 2023 10:21:13 -0700 Subject: [PATCH v2 2/7] docs: Document --with-selinux/-Dselinux options centrally Previously --with-selinux was documented for autoconf in the sepgsql documentation and not at all for meson. There are further improvements related to this that could be made, but this seems like a clear improvement. Author: Reviewed-by: Reported-by: Christoph Berg Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de Backpatch: --- doc/src/sgml/installation.sgml | 21 +++++++++++++++++++++ doc/src/sgml/sepgsql.sgml | 11 ++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index a3dc6eb855f..1bfb27fd38d 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1198,6 +1198,16 @@ build-postgresql: + + + + + Build with selinux support, enabling the + extension. + + + + @@ -2629,6 +2639,17 @@ ninja install + + + + + + Build with selinux support, enabling the + extension. Defaults to auto. + + + + diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml index b368e587cbf..1b848f1977c 100644 --- a/doc/src/sgml/sepgsql.sgml +++ b/doc/src/sgml/sepgsql.sgml @@ -87,9 +87,14 @@ Policy from config file: targeted - To build this module, include the option --with-selinux in - your PostgreSQL configure command. Be sure that the - libselinux-devel RPM is installed at build time. + To build this module specify (when using make and autoconf ) or (when using meson). + + Be sure that the libselinux-devel RPM is installed at + build time. -- 2.38.0