summaryrefslogtreecommitdiffstats
path: root/package/postgresql/postgresql.mk
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2017-11-25 12:12:14 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-11-27 09:44:24 +0100
commitb101114b82dba39cc58b66dbc870f2ef613afbcf (patch)
tree820240e6322dc8c38e57368f480a541bbba82446 /package/postgresql/postgresql.mk
parent0f2450477132e002a445708b78fd173275458300 (diff)
downloadbuildroot-b101114b82dba39cc58b66dbc870f2ef613afbcf.tar.gz
buildroot-b101114b82dba39cc58b66dbc870f2ef613afbcf.zip
postgresql: bump to 10.1
- Add a hash for the license file. - PostgreSQL 10.0 and above will default to checking for /dev/urandom if an SSL library is not found, which will fail when cross compiling. Since /dev/urandom is guaranteed to be provided on Linux systems, add ac_cv_file__dev_urandom=yes to the configure environment if a SSL library is not selected. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> [Thomas: minor tweaks to the /dev/urandom comment in the .mk file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/postgresql/postgresql.mk')
-rw-r--r--package/postgresql/postgresql.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
index 50ce212c1c..4657489a53 100644
--- a/package/postgresql/postgresql.mk
+++ b/package/postgresql/postgresql.mk
@@ -4,7 +4,7 @@
#
################################################################################
-POSTGRESQL_VERSION = 9.6.6
+POSTGRESQL_VERSION = 10.1
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
POSTGRESQL_LICENSE = PostgreSQL
@@ -56,6 +56,11 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
POSTGRESQL_DEPENDENCIES += openssl
POSTGRESQL_CONF_OPTS += --with-openssl
+else
+# PostgreSQL checks for /dev/urandom and fails if it's being cross-compiled and
+# an SSL library isn't found. Since /dev/urandom is guaranteed to be provided
+# on Linux systems, explicitly tell the configure script it's available.
+POSTGRESQL_CONF_ENV += ac_cv_file__dev_urandom=yes
endif
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
OpenPOWER on IntegriCloud