Browse Source

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

drop hardcoded PR

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Armin Kuster 7 years ago
parent
commit
2ede2eb6e7

+ 1 - 2
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"

+ 2 - 5
meta-oe/recipes-support/postgresql/postgresql_9.4.8.bb → 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"