diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-02-01 19:19:44 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-02-01 19:19:44 +0900 |
commit | fe61df7f82aa6e0879476146dbe1da9c89b4946b (patch) | |
tree | d1c7ca42a5f3739bb9e221f8c0130a805267ef30 /doc/src | |
parent | 7c5d57caed4d8af705d0cc3131d0d8ed72b7a41d (diff) | |
download | postgresql-fe61df7f82aa6e0879476146dbe1da9c89b4946b.tar.gz postgresql-fe61df7f82aa6e0879476146dbe1da9c89b4946b.zip |
Introduce --with-ssl={openssl} as a configure option
This is a replacement for the existing --with-openssl, extending the
logic to make easier the addition of new SSL libraries. The grammar is
chosen to be similar to --with-uuid, where multiple values can be
chosen, with "openssl" as the only supported value for now.
The original switch, --with-openssl, is kept for compatibility.
Author: Daniel Gustafsson, Michael Paquier
Reviewed-by: Jacob Champion
Discussion: https://postgr.es/m/FAB21FC8-0F62-434F-AA78-6BD9336D630A@yesql.se
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/installation.sgml | 23 | ||||
-rw-r--r-- | doc/src/sgml/pgcrypto.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/sslinfo.sgml | 2 |
3 files changed, 19 insertions, 8 deletions
diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index a53389b728e..66ad4ba9380 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -967,7 +967,7 @@ build-postgresql: </varlistentry> <varlistentry> - <term><option>--with-openssl</option> + <term><option>--with-ssl=<replaceable>LIBRARY</replaceable></option> <indexterm> <primary>OpenSSL</primary> <seealso>SSL</seealso> @@ -976,11 +976,22 @@ build-postgresql: <listitem> <para> Build with support for <acronym>SSL</acronym> (encrypted) - connections. This requires the <productname>OpenSSL</productname> - package to be installed. <filename>configure</filename> will check - for the required header files and libraries to make sure that - your <productname>OpenSSL</productname> installation is sufficient - before proceeding. + connections. The only <replaceable>LIBRARY</replaceable> + supported is <option>openssl</option>. This requires the + <productname>OpenSSL</productname> package to be installed. + <filename>configure</filename> will check for the required + header files and libraries to make sure that your + <productname>OpenSSL</productname> installation is sufficient + before proceeding. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>--with-openssl</option></term> + <listitem> + <para> + Obsolete equivalent of <literal>--with-ssl=openssl</literal>. </para> </listitem> </varlistentry> diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index 3d74e15ec9b..b6bb23de0f9 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -1154,7 +1154,7 @@ gen_random_uuid() returns uuid <filename>pgcrypto</filename> configures itself according to the findings of the main PostgreSQL <literal>configure</literal> script. The options that affect it are <literal>--with-zlib</literal> and - <literal>--with-openssl</literal>. + <literal>--with-ssl=openssl</literal>. </para> <para> diff --git a/doc/src/sgml/sslinfo.sgml b/doc/src/sgml/sslinfo.sgml index 3213c039ca6..2a9c45a111b 100644 --- a/doc/src/sgml/sslinfo.sgml +++ b/doc/src/sgml/sslinfo.sgml @@ -22,7 +22,7 @@ <para> This extension won't build at all unless the installation was - configured with <literal>--with-openssl</literal>. + configured with <literal>--with-ssl=openssl</literal>. </para> <sect2> |