From 2ede2eb6e73ef2118f138b75663e61689b57de3e Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Fri, 3 Feb 2017 18:35:02 -0800 Subject: postgresgl: update to 9.4.10 and build fix 9.4.10 contains: CVE-2016-5423, CVE-2016-5424 see https://www.postgresql.org/docs/current/static/release-9-4-10.html and build failure: checking for tcl.h... no | configure: error: header file is required for Tcl drop hardcoded PR Signed-off-by: Armin Kuster Signed-off-by: Martin Jansa --- meta-oe/recipes-support/postgresql/postgresql.inc | 3 +-- meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb | 11 +++++++++++ meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb | 14 -------------- 3 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb delete mode 100644 meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc index f720cbca27..7164bc0370 100644 --- a/meta-oe/recipes-support/postgresql/postgresql.inc +++ b/meta-oe/recipes-support/postgresql/postgresql.inc @@ -20,7 +20,6 @@ DESCRIPTION = "\ HOMEPAGE = "http://www.postgresql.com" LICENSE = "BSD" DEPENDS = "zlib readline tzcode-native" -INC_PR = "r0" ARM_INSTRUCTION_SET = "arm" @@ -40,7 +39,7 @@ export LDFLAGS_SL = "${LDFLAGS}" inherit autotools pkgconfig perlnative pythonnative useradd update-rc.d systemd -CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}" +CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" SYSTEMD_SERVICE_${PN} = "postgresql.service" SYSTEMD_AUTO_ENABLE_${PN} = "disable" diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb b/meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb new file mode 100644 index 0000000000..5498350bbe --- /dev/null +++ b/meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb @@ -0,0 +1,11 @@ +require postgresql.inc + +LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a9c1120056a102a8c8c4013cd828dce" + +SRC_URI += "\ + file://remove.autoconf.version.check.patch \ + file://not-check-libperl.patch \ +" + +SRC_URI[md5sum] = "1171df0426fe4da5a29f6cdaf2e8b812" +SRC_URI[sha256sum] = "7061678bed1981c681ce54c76b98b6ec17743f090a9775104a45e7e1a8826ecf" diff --git a/meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb b/meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb deleted file mode 100644 index 7dba92cbf7..0000000000 --- a/meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb +++ /dev/null @@ -1,14 +0,0 @@ -require postgresql.inc - -LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a9c1120056a102a8c8c4013cd828dce" - -PR = "${INC_PR}.0" - -SRC_URI += "\ - file://remove.autoconf.version.check.patch \ - file://not-check-libperl.patch \ -" - -SRC_URI[md5sum] = "a1a2e8014b2b4c49fc58fe2e2fe83681" -SRC_URI[sha256sum] = "4a10640e180e0d9adb587bc25a82dcce6bf507b033637e7fb9d4eeffa33a6b4c" - -- cgit v1.2.3-54-g00ecf