From: Armin Kuster <akuster808@gmail.com>
To: akuster@mvista.com, openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH] postgresgl: update to 9.4.10 and build fix
Date: Fri, 3 Feb 2017 18:35:02 -0800 [thread overview]
Message-ID: <1486175702-32039-1-git-send-email-akuster808@gmail.com> (raw)
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@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
reply other threads:[~2017-02-04 2:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1486175702-32039-1-git-send-email-akuster808@gmail.com \
--to=akuster808@gmail.com \
--cc=akuster@mvista.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox