[oe] [meta-oe][PATCH] postgresgl: update to 9.4.10 and build fix

Armin Kuster akuster808 at gmail.com
Sat Feb 4 02:35:02 UTC 2017


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 <tcl.h> is required for Tcl

drop hardcoded PR

Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-support/postgresql/postgresql.inc                  | 3 +--
 .../postgresql/{postgresql_9.4.8.bb => postgresql_9.4.10.bb}       | 7 ++-----
 2 files changed, 3 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-support/postgresql/{postgresql_9.4.8.bb => postgresql_9.4.10.bb} (55%)

diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc
index f720cbc..7164bc0 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.8.bb b/meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb
similarity index 55%
rename from meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb
rename to meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb
index 7dba92c..5498350 100644
--- a/meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb
+++ b/meta-oe/recipes-support/postgresql/postgresql_9.4.10.bb
@@ -2,13 +2,10 @@ 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"
-
+SRC_URI[md5sum] = "1171df0426fe4da5a29f6cdaf2e8b812"
+SRC_URI[sha256sum] = "7061678bed1981c681ce54c76b98b6ec17743f090a9775104a45e7e1a8826ecf"
-- 
2.7.4




More information about the Openembedded-devel mailing list