package/postgresql: bump version to 11.0

Release notes: https://www.postgresql.org/about/news/1894/

Added md5 hash provided by upstream.

To fix build errors "MAKELEVEL=0" is required by upstream in MAKE_OPTS:
https://www.postgresql-archive.org/BUG-15407-minor-build-depends-on-MAKELEVEL-being-0-at-top-Makefile-td6047685.html#a6047709

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add a comment in the .mk file about MAKELEVEL=0]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2018-10-21 00:10:56 +02:00 committed by Thomas Petazzoni
parent c500ac897c
commit 49b9ec7d1c
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# From https://ftp.postgresql.org/pub/source/v10.5/postgresql-10.5.tar.bz2.sha256
sha256 6c8e616c91a45142b85c0aeb1f29ebba4a361309e86469e0fb4617b6a73c4011 postgresql-10.5.tar.bz2
# From https://ftp.postgresql.org/pub/source/v11.0/postgresql-11.0.tar.bz2.md5
md5 338ede84c0443db02ff6e8c4c8cbc5e9 postgresql-11.0.tar.bz2
# From https://ftp.postgresql.org/pub/source/v11.0/postgresql-11.0.tar.bz2.sha256
sha256 bf9bba03d0c3902c188af12e454b35343c4a9bf9e377ec2fe50132efb44ef36b postgresql-11.0.tar.bz2
# License file, Locally calculated
sha256 24cfc70cf16b3a23242c49ffce39510683bdd48cbedb8a46fe03976ee5f5c21e COPYRIGHT

View File

@ -4,7 +4,7 @@
#
################################################################################
POSTGRESQL_VERSION = 10.5
POSTGRESQL_VERSION = 11.0
POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2
POSTGRESQL_SITE = http://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION)
POSTGRESQL_LICENSE = PostgreSQL
@ -17,6 +17,11 @@ POSTGRESQL_CONF_ENV = \
pgac_cv_snprintf_size_t_support=yes
POSTGRESQL_CONF_OPTS = --disable-rpath
# https://www.postgresql.org/docs/11/static/install-procedure.html:
# "If you want to invoke the build from another makefile rather than
# manually, you must unset MAKELEVEL or set it to zero"
POSTGRESQL_MAKE_OPTS = MAKELEVEL=0
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
# PostgreSQL does not build against uClibc with locales
# enabled, due to an uClibc bug, see