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>
This commit is contained in:
parent
0f24504771
commit
b101114b82
@ -1,4 +1,5 @@
|
|||||||
# From https://ftp.postgresql.org/pub/source/v9.6.6/postgresql-9.6.6.tar.bz2.sha256
|
# From https://ftp.postgresql.org/pub/source/v10.1/postgresql-10.1.tar.bz2.sha256
|
||||||
sha256 399cdffcb872f785ba67e25d275463d74521566318cfef8fe219050d063c8154 postgresql-9.6.6.tar.bz2
|
sha256 3ccb4e25fe7a7ea6308dea103cac202963e6b746697366d72ec2900449a5e713 postgresql-10.1.tar.bz2
|
||||||
|
|
||||||
# License file, Locally calculated
|
# License file, Locally calculated
|
||||||
sha256 7dc8de32741ad1b03e21710771b55a1b9d460671d47f28a8840f917e38c66676 COPYRIGHT
|
sha256 7dc8de32741ad1b03e21710771b55a1b9d460671d47f28a8840f917e38c66676 COPYRIGHT
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
POSTGRESQL_VERSION = 9.6.6
|
POSTGRESQL_VERSION = 10.1
|
||||||
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
|
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
|
||||||
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
|
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
|
||||||
POSTGRESQL_LICENSE = PostgreSQL
|
POSTGRESQL_LICENSE = PostgreSQL
|
||||||
@ -56,6 +56,11 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
POSTGRESQL_DEPENDENCIES += openssl
|
POSTGRESQL_DEPENDENCIES += openssl
|
||||||
POSTGRESQL_CONF_OPTS += --with-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
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
|
||||||
|
Loading…
Reference in New Issue
Block a user