pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix building with LibreSSL.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix building with LibreSSL.
@ 2016-09-15 19:54  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2016-09-15 19:54 UTC (permalink / raw)
  To: pgsql-committers

Fix building with LibreSSL.

LibreSSL defines OPENSSL_VERSION_NUMBER to claim that it is version 2.0.0,
but it doesn't have the functions added in OpenSSL 1.1.0. Add autoconf
checks for the individual functions we need, and stop relying on
OPENSSL_VERSION_NUMBER.

Backport to 9.5 and 9.6, like the patch that broke this. In the
back-branches, there are still a few OPENSSL_VERSION_NUMBER checks left,
to check for OpenSSL 0.9.8 or 0.9.7. I left them as they were - LibreSSL
has all those functions, so they work as intended.

Per buildfarm member curculio.

Discussion: <2442.1473957669@sss.pgh.pa.us>

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9895818d5656e3fe775af05df3e2b2cce7346962

Modified Files
--------------
configure                                | 31 +++++++++++++++++++++++++++++++
configure.in                             | 10 ++++++++++
contrib/pgcrypto/openssl.c               | 10 ++++++----
src/backend/libpq/be-secure-openssl.c    |  6 +++---
src/include/pg_config.h.in               | 18 ++++++++++++++++++
src/interfaces/libpq/fe-secure-openssl.c | 31 +++++++++++++++++--------------
6 files changed, 85 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix building with LibreSSL.
@ 2016-09-15 19:54  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2016-09-15 19:54 UTC (permalink / raw)
  To: pgsql-committers

Fix building with LibreSSL.

LibreSSL defines OPENSSL_VERSION_NUMBER to claim that it is version 2.0.0,
but it doesn't have the functions added in OpenSSL 1.1.0. Add autoconf
checks for the individual functions we need, and stop relying on
OPENSSL_VERSION_NUMBER.

Backport to 9.5 and 9.6, like the patch that broke this. In the
back-branches, there are still a few OPENSSL_VERSION_NUMBER checks left,
to check for OpenSSL 0.9.8 or 0.9.7. I left them as they were - LibreSSL
has all those functions, so they work as intended.

Per buildfarm member curculio.

Discussion: <2442.1473957669@sss.pgh.pa.us>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5c6df67e0c961f68e73e7c1e6312211ed59da00a

Modified Files
--------------
configure                                | 31 +++++++++++++++++++++++++++++++
configure.in                             | 10 ++++++++++
contrib/pgcrypto/openssl.c               | 10 ++++++----
src/backend/libpq/be-secure-openssl.c    |  6 +++---
src/include/pg_config.h.in               | 18 ++++++++++++++++++
src/interfaces/libpq/fe-secure-openssl.c | 31 +++++++++++++++++--------------
6 files changed, 85 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix building with LibreSSL.
@ 2016-09-15 19:54  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 3+ messages in thread

From: Heikki Linnakangas @ 2016-09-15 19:54 UTC (permalink / raw)
  To: pgsql-committers

Fix building with LibreSSL.

LibreSSL defines OPENSSL_VERSION_NUMBER to claim that it is version 2.0.0,
but it doesn't have the functions added in OpenSSL 1.1.0. Add autoconf
checks for the individual functions we need, and stop relying on
OPENSSL_VERSION_NUMBER.

Backport to 9.5 and 9.6, like the patch that broke this. In the
back-branches, there are still a few OPENSSL_VERSION_NUMBER checks left,
to check for OpenSSL 0.9.8 or 0.9.7. I left them as they were - LibreSSL
has all those functions, so they work as intended.

Per buildfarm member curculio.

Discussion: <2442.1473957669@sss.pgh.pa.us>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/48e5ba61e6ad1773820794835132823a54d6aa8e

Modified Files
--------------
configure                                | 31 +++++++++++++++++++++++++++++++
configure.in                             | 10 ++++++++++
contrib/pgcrypto/openssl.c               | 10 ++++++----
src/backend/libpq/be-secure-openssl.c    |  6 +++---
src/include/pg_config.h.in               | 18 ++++++++++++++++++
src/interfaces/libpq/fe-secure-openssl.c | 31 +++++++++++++++++--------------
6 files changed, 85 insertions(+), 21 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2016-09-15 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-15 19:54 pgsql: Fix building with LibreSSL. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2016-09-15 19:54 pgsql: Fix building with LibreSSL. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2016-09-15 19:54 pgsql: Fix building with LibreSSL. Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox