Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06c7084

Browse files
committed
docs: Document --with-selinux/-Dselinux options centrally
Previously --with-selinux was documented only in the in the sepgsqldocumentation and there was no corresponding documentation for meson. Thereare further improvements that could be made, but this change seems worthwhileeven on its own.Reviewed-by: Peter Eisentraut <peter@eisentraut.org>Reported-by: Christoph Berg <myon@debian.org>Discussion:https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de
1 parentc04f3de commit06c7084

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed

‎doc/src/sgml/installation.sgml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,16 @@ build-postgresql:
11981198
</listitem>
11991199
</varlistentry>
12001200

1201+
<varlistentry id="configure-option-with-sepgsql">
1202+
<term><option>--with-selinux</option></term>
1203+
<listitem>
1204+
<para>
1205+
Build with SElinux support, enabling the <xref linkend="sepgsql"/>
1206+
extension.
1207+
</para>
1208+
</listitem>
1209+
</varlistentry>
1210+
12011211
</variablelist>
12021212

12031213
</sect3>
@@ -2629,6 +2639,17 @@ ninja install
26292639
</para>
26302640
</listitem>
26312641
</varlistentry>
2642+
2643+
<varlistentry id="configure-with-sepgsql-meson">
2644+
<term><option>-Dselinux={ auto | enabled | disabled }</option></term>
2645+
<listitem>
2646+
<para>
2647+
Build with SElinux support, enabling the <xref linkend="sepgsql"/>
2648+
extension. Defaults to auto.
2649+
</para>
2650+
</listitem>
2651+
</varlistentry>
2652+
26322653
</variablelist>
26332654
</sect3>
26342655

‎doc/src/sgml/sepgsql.sgml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,14 @@ Policy from config file: targeted
8787
</para>
8888

8989
<para>
90-
To build this module, include the option <literal>--with-selinux</literal> in
91-
your PostgreSQL <literal>configure</literal> command. Be sure that the
92-
<filename>libselinux-devel</filename> RPM is installed at build time.
90+
To build this module specify <xref
91+
linkend="configure-option-with-sepgsql"/> (when using <link
92+
linkend="install-make">make and autoconf</link> ) or <xref
93+
linkend="configure-with-sepgsql-meson"/> (when using <link
94+
linkend="install-meson">meson</link>).
95+
96+
Be sure that the <filename>libselinux-devel</filename> RPM is installed at
97+
build time.
9398
</para>
9499

95100
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp