From 06c70849fb26ac431a722b1d10cffe1c65e728a4 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 17 Nov 2023 10:23:02 -0800 Subject: [PATCH] docs: Document --with-selinux/-Dselinux options centrally Previously --with-selinux was documented only in the in the sepgsql documentation and there was no corresponding documentation for meson. There are further improvements that could be made, but this change seems worthwhile even on its own. Reviewed-by: Peter Eisentraut Reported-by: Christoph Berg Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de --- 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 a3dc6eb855..8e926a3a8c 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 b368e587cb..1b848f1977 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.30.2